FFmpeg
Functions | Variables
msmpeg4_vc1_data.c File Reference
#include "msmpeg4_vc1_data.h"
#include "vlc.h"
#include "libavutil/attributes.h"
#include "libavutil/thread.h"

Go to the source code of this file.

Functions

static av_cold void msmp4_vc1_vlcs_init (void)
 
av_cold void ff_msmp4_vc1_vlcs_init_once (void)
 

Variables

VLCElem ff_msmp4_mb_i_vlc [536]
 
const VLCElemff_msmp4_dc_vlc [2][2]
 
const uint16_t ff_msmp4_mb_i_table [64][2]
 
const uint32_t ff_msmp4_dc_tables [2][2][120][2]
 
const uint8_t ff_wmv1_scantable [WMV1_SCANTABLE_COUNT][64]
 

Detailed Description

Common MSMPEG-4 and VC-1 tables and VLC init code

Definition in file msmpeg4_vc1_data.c.

Function Documentation

◆ msmp4_vc1_vlcs_init()

static av_cold void msmp4_vc1_vlcs_init ( void  )
static

Definition at line 38 of file msmpeg4_vc1_data.c.

Referenced by ff_msmp4_vc1_vlcs_init_once().

◆ ff_msmp4_vc1_vlcs_init_once()

av_cold void ff_msmp4_vc1_vlcs_init_once ( void  )

Definition at line 56 of file msmpeg4_vc1_data.c.

Referenced by msmpeg4_decode_init_static(), and vc1_init_static().

Variable Documentation

◆ ff_msmp4_mb_i_vlc

VLCElem ff_msmp4_mb_i_vlc[536]

◆ ff_msmp4_dc_vlc

const VLCElem* ff_msmp4_dc_vlc[2][2]

◆ ff_msmp4_mb_i_table

const uint16_t ff_msmp4_mb_i_table[64][2]
Initial value:
= {
{ 0x1, 1 }, { 0x17, 6 }, { 0x9, 5 }, { 0x5, 5 },
{ 0x6, 5 }, { 0x47, 9 }, { 0x20, 7 }, { 0x10, 7 },
{ 0x2, 5 }, { 0x7c, 9 }, { 0x3a, 7 }, { 0x1d, 7 },
{ 0x2, 6 }, { 0xec, 9 }, { 0x77, 8 }, { 0x0, 8 },
{ 0x3, 5 }, { 0xb7, 9 }, { 0x2c, 7 }, { 0x13, 7 },
{ 0x1, 6 }, { 0x168, 10 }, { 0x46, 8 }, { 0x3f, 8 },
{ 0x1e, 6 }, { 0x712, 13 }, { 0xb5, 9 }, { 0x42, 8 },
{ 0x22, 7 }, { 0x1c5, 11 }, { 0x11e, 10 }, { 0x87, 9 },
{ 0x6, 4 }, { 0x3, 9 }, { 0x1e, 7 }, { 0x1c, 6 },
{ 0x12, 7 }, { 0x388, 12 }, { 0x44, 9 }, { 0x70, 9 },
{ 0x1f, 6 }, { 0x23e, 11 }, { 0x39, 8 }, { 0x8e, 9 },
{ 0x1, 7 }, { 0x1c6, 11 }, { 0xb6, 9 }, { 0x45, 9 },
{ 0x14, 6 }, { 0x23f, 11 }, { 0x7d, 9 }, { 0x18, 9 },
{ 0x7, 7 }, { 0x1c7, 11 }, { 0x86, 9 }, { 0x19, 9 },
{ 0x15, 6 }, { 0x1db, 10 }, { 0x2, 9 }, { 0x46, 9 },
{ 0xd, 8 }, { 0x713, 13 }, { 0x1da, 10 }, { 0x169, 10 },
}

Definition at line 63 of file msmpeg4_vc1_data.c.

Referenced by ff_msmpeg4_encode_mb(), ff_wmv2_encode_mb(), and msmp4_vc1_vlcs_init().

◆ ff_msmp4_dc_tables

const uint32_t ff_msmp4_dc_tables[2][2][120][2]

Definition at line 83 of file msmpeg4_vc1_data.c.

Referenced by msmp4_vc1_vlcs_init(), and msmpeg4_encode_dc().

◆ ff_wmv1_scantable

const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64]