FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cfhddata.c File Reference
#include <stdint.h>
#include "libavutil/attributes.h"
#include "cfhd.h"

Go to the source code of this file.

Macros

#define TABLE_9_BAND_END1   0x1C7859Eh
 
#define TABLE_9_BAND_END_LEN1   25
 
#define TABLE_9_BAND_END2   0x38F0B3Fh
 
#define TABLE_9_BAND_END_LEN2   26
 
#define TABLE_9_BAND_END3   0x38F0B3Eh
 
#define TABLE_9_BAND_END_LEN3   26
 
#define NB_VLC_TABLE_9   (71 + 3)
 
#define NB_VLC_TABLE_18   (263 + 1)
 

Functions

av_cold int ff_cfhd_init_vlcs (CFHDContext *s)
 

Variables

static const uint32_t table_9_vlc_bits [NB_VLC_TABLE_9]
 
static const uint8_t table_9_vlc_len [NB_VLC_TABLE_9]
 
static const uint16_t table_9_vlc_run [NB_VLC_TABLE_9]
 
static const uint8_t table_9_vlc_level [NB_VLC_TABLE_9]
 
static const uint32_t table_18_vlc_bits [NB_VLC_TABLE_18]
 
static const uint8_t table_18_vlc_len [NB_VLC_TABLE_18]
 
static const uint16_t table_18_vlc_run [NB_VLC_TABLE_18]
 
static const uint8_t table_18_vlc_level [NB_VLC_TABLE_18]
 

Macro Definition Documentation

#define TABLE_9_BAND_END1   0x1C7859Eh

Definition at line 28 of file cfhddata.c.

#define TABLE_9_BAND_END_LEN1   25

Definition at line 29 of file cfhddata.c.

#define TABLE_9_BAND_END2   0x38F0B3Fh

Definition at line 30 of file cfhddata.c.

#define TABLE_9_BAND_END_LEN2   26

Definition at line 31 of file cfhddata.c.

#define TABLE_9_BAND_END3   0x38F0B3Eh

Definition at line 32 of file cfhddata.c.

#define TABLE_9_BAND_END_LEN3   26

Definition at line 33 of file cfhddata.c.

#define NB_VLC_TABLE_9   (71 + 3)

Definition at line 35 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

#define NB_VLC_TABLE_18   (263 + 1)

Definition at line 36 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

Function Documentation

av_cold int ff_cfhd_init_vlcs ( CFHDContext s)

Similar to dv.c, generate signed VLC tables

Definition at line 276 of file cfhddata.c.

Referenced by cfhd_init().

Variable Documentation

const uint32_t table_9_vlc_bits[NB_VLC_TABLE_9]
static
Initial value:
= {
0, 0x2, 0xc, 0x1a,
0x1d, 0x1e, 0x39, 0x3e,
0x37, 0x7e, 0x6c, 0xe2,
0xfe, 0xdb, 0xe0, 0x1c3,
0x1c6, 0x1ff, 0x1fe, 0x1b5,
0x369, 0x385, 0x71d, 0x6d0,
0x708, 0x71f, 0xe3d, 0xe39,
0xe13, 0xe12, 0x1c71, 0x1b45,
0x1b47, 0x3689, 0x38f2, 0x38e1,
0x38e0, 0x38f1, 0x3688, 0x6d1b,
0x71e0, 0x6d19, 0x71e7, 0xe3cd,
0xda35, 0xda30, 0xe3c3, 0x1b469,
0x1b462, 0x1c798, 0x1b463, 0x1c799,
0x38f08, 0x38f09, 0x38f0a, 0x6d1a0,
0x6d1a3, 0x6d1a1, 0xda345, 0xda344,
0xe3c2d, 0xe3c2f, 0xe3c2e, 0x38f0b2,
0x71e160, 0x71e162, 0x71e166, 0x71e161,
0xe3c2ce, 0xe3c2c6, 0xe3c2c7, 0x1C7859E,
0x38F0B3F, 0x38F0B3E,
}

Definition at line 38 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint8_t table_9_vlc_len[NB_VLC_TABLE_9]
static
Initial value:
= {
1, 2, 4, 5, 5, 5, 6, 6,
6, 7, 7, 8, 8, 8, 8, 9,
9, 9, 9, 9, 10, 10, 11, 11,
11, 11, 12, 12, 12, 12, 13, 13,
13, 14, 14, 14, 14, 14, 14, 15,
15, 15, 15, 16, 16, 16, 16, 17,
17, 17, 17, 17, 18, 18, 18, 19,
19, 19, 20, 20, 20, 20, 20, 22,
23, 23, 23, 23, 24, 24, 24, 25,
26, 26,
}

Definition at line 60 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint16_t table_9_vlc_run[NB_VLC_TABLE_9]
static
Initial value:
= {
1, 1, 1, 1, 12, 1, 32, 160,
1, 1, 1, 320, 1, 1, 80, 120,
1, 1, 100, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1
}

Definition at line 73 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint8_t table_9_vlc_level[NB_VLC_TABLE_9]
static
Initial value:
= {
0, 1, 2, 3, 0, 4, 0, 0,
5, 7, 6, 0, 9, 8, 0, 0,
11, 12, 0, 10, 13, 14, 17, 15,
16, 18, 22, 21, 20, 19, 25, 23,
24, 27, 31, 29, 28, 30, 26, 33,
34, 32, 35, 39, 37, 36, 38, 42,
40, 43, 41, 44, 45, 46, 47, 48,
50, 49, 52, 51, 53, 55, 54, 56,
57, 59, 60, 58, 61, 62, 63, 64,
64, 64,
}

Definition at line 86 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint32_t table_18_vlc_bits[NB_VLC_TABLE_18]
static

Definition at line 99 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint8_t table_18_vlc_len[NB_VLC_TABLE_18]
static

Definition at line 168 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint16_t table_18_vlc_run[NB_VLC_TABLE_18]
static

Definition at line 204 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().

const uint8_t table_18_vlc_level[NB_VLC_TABLE_18]
static

Definition at line 240 of file cfhddata.c.

Referenced by ff_cfhd_init_vlcs().