FFmpeg
Macros | Variables
tscc2data.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define NUM_VLC_SETS   13
 
#define DC_VLC_COUNT   47
 

Variables

static const uint16_t tscc2_quants [NUM_VLC_SETS][3]
 
static const uint16_t tscc2_dc_vlc_syms [DC_VLC_COUNT]
 
static const uint8_t tscc2_dc_vlc_lens [DC_VLC_COUNT]
 
static const uint8_t tscc2_nc_vlc_syms [NUM_VLC_SETS][16]
 
static const uint8_t tscc2_nc_vlc_lens [NUM_VLC_SETS][16]
 
static const uint16_t tscc2_ac_vlc_syms []
 
static const uint8_t tscc2_ac_vlc_lens []
 
static const int tscc2_ac_vlc_sizes [NUM_VLC_SETS]
 

Macro Definition Documentation

◆ NUM_VLC_SETS

#define NUM_VLC_SETS   13

Definition at line 27 of file tscc2data.h.

◆ DC_VLC_COUNT

#define DC_VLC_COUNT   47

Definition at line 37 of file tscc2data.h.

Variable Documentation

◆ tscc2_quants

const uint16_t tscc2_quants[NUM_VLC_SETS][3]
static
Initial value:
= {
{ 655, 861, 1130 }, { 983, 1291, 1695 }, { 1311, 1721, 2260 },
{ 1638, 2151, 2825 }, { 1966, 2582, 3390 }, { 2294, 3012, 3955 },
{ 2621, 3442, 4520 }, { 2949, 3872, 5085 }, { 3277, 4303, 5650 },
{ 3604, 4733, 6215 }, { 3932, 5163, 6780 }, { 4260, 5593, 7345 },
{ 4588, 6024, 7910 },
}

Definition at line 29 of file tscc2data.h.

Referenced by tscc2_decode_frame().

◆ tscc2_dc_vlc_syms

const uint16_t tscc2_dc_vlc_syms[DC_VLC_COUNT]
static
Initial value:
= {
0x0FF, 0x001, 0x0FC, 0x0F1, 0x0EA, 0x017, 0x00E, 0x016, 0x0EB, 0x009,
0x0F6, 0x004, 0x006, 0x0F2, 0x015, 0x014, 0x00D, 0x0EC, 0x0ED, 0x100,
0x0FA, 0x0F7, 0x008, 0x00C, 0x013, 0x0EE, 0x0F3, 0x0F4, 0x005, 0x0FE,
0x002, 0x0FB, 0x0F8, 0x012, 0x011, 0x00B, 0x0FD, 0x003, 0x007, 0x0EF,
0x0F0, 0x0F5, 0x0F9, 0x00F, 0x010, 0x00A, 0x000,
}

Definition at line 39 of file tscc2data.h.

Referenced by tscc2_init_vlcs().

◆ tscc2_dc_vlc_lens

const uint8_t tscc2_dc_vlc_lens[DC_VLC_COUNT]
static
Initial value:
= {
3, 3, 6, 9, 10, 10, 9, 10, 10, 8, 8, 6, 7, 9, 10, 10, 9, 10,
10, 5, 7, 8, 8, 9, 10, 10, 9, 9, 7, 5, 5, 7, 8, 10, 10, 9,
6, 6, 8, 10, 10, 9, 8, 10, 10, 9, 1,
}

Definition at line 47 of file tscc2data.h.

Referenced by tscc2_init_vlcs().

◆ tscc2_nc_vlc_syms

const uint8_t tscc2_nc_vlc_syms[NUM_VLC_SETS][16]
static
Initial value:
= {
{ 0x00, 0x08, 0x0C, 0x0B, 0x0D, 0x07, 0x06, 0x04,
0x02, 0x0E, 0x0F, 0x09, 0x0A, 0x05, 0x03, 0x01 },
{ 0x0A, 0x0C, 0x07, 0x0F, 0x0B, 0x0D, 0x04, 0x02,
0x06, 0x0E, 0x05, 0x09, 0x08, 0x03, 0x01, 0x00 },
{ 0x08, 0x0D, 0x04, 0x0C, 0x07, 0x0A, 0x0E, 0x02,
0x0B, 0x06, 0x05, 0x0F, 0x09, 0x03, 0x01, 0x00 },
{ 0x04, 0x0E, 0x0C, 0x09, 0x08, 0x07, 0x0A, 0x02,
0x06, 0x0B, 0x05, 0x0F, 0x0D, 0x03, 0x01, 0x00 },
{ 0x0D, 0x0C, 0x04, 0x09, 0x08, 0x0B, 0x07, 0x02,
0x06, 0x0A, 0x0F, 0x0E, 0x05, 0x03, 0x01, 0x00 },
{ 0x01, 0x0A, 0x06, 0x07, 0x05, 0x03, 0x0D, 0x0C,
0x04, 0x0F, 0x0E, 0x0B, 0x09, 0x08, 0x02, 0x00 },
{ 0x01, 0x08, 0x06, 0x07, 0x0D, 0x0C, 0x05, 0x04,
0x0F, 0x0E, 0x0B, 0x09, 0x0A, 0x03, 0x02, 0x00 },
{ 0x01, 0x0D, 0x0C, 0x08, 0x06, 0x07, 0x05, 0x0F,
0x0E, 0x0B, 0x04, 0x0A, 0x09, 0x03, 0x02, 0x00 },
{ 0x01, 0x0D, 0x0F, 0x0E, 0x08, 0x07, 0x06, 0x0C,
0x0B, 0x05, 0x04, 0x0A, 0x09, 0x03, 0x02, 0x00 },
{ 0x03, 0x02, 0x09, 0x08, 0x0C, 0x0B, 0x07, 0x06,
0x05, 0x04, 0x0D, 0x0F, 0x0E, 0x0A, 0x01, 0x00 },
{ 0x03, 0x02, 0x09, 0x0C, 0x0B, 0x08, 0x07, 0x06,
0x0D, 0x0F, 0x0E, 0x0A, 0x05, 0x04, 0x01, 0x00 },
{ 0x03, 0x02, 0x09, 0x0C, 0x0B, 0x08, 0x07, 0x06,
0x0D, 0x0F, 0x0E, 0x0A, 0x04, 0x05, 0x01, 0x00 },
{ 0x03, 0x02, 0x09, 0x0C, 0x0B, 0x08, 0x07, 0x0D,
0x0F, 0x0E, 0x0A, 0x06, 0x05, 0x04, 0x01, 0x00 },
}

Definition at line 53 of file tscc2data.h.

Referenced by tscc2_init_vlcs().

◆ tscc2_nc_vlc_lens

const uint8_t tscc2_nc_vlc_lens[NUM_VLC_SETS][16]
static
Initial value:
= {
{ 1, 6, 6, 6, 6, 6, 6, 5, 3, 6, 6, 7, 7, 6, 4, 3 },
{ 6, 6, 6, 6, 6, 6, 5, 3, 6, 6, 6, 7, 7, 4, 3, 1 },
{ 6, 6, 5, 6, 6, 6, 6, 3, 6, 6, 6, 7, 7, 4, 3, 1 },
{ 5, 6, 6, 6, 6, 6, 6, 3, 6, 6, 6, 7, 7, 4, 3, 1 },
{ 6, 6, 5, 6, 6, 6, 6, 3, 6, 6, 7, 7, 6, 4, 3, 1 },
{ 2, 6, 6, 6, 6, 4, 7, 7, 6, 8, 8, 7, 7, 7, 4, 1 },
{ 2, 6, 6, 6, 7, 7, 6, 6, 8, 8, 7, 7, 7, 4, 4, 1 },
{ 2, 7, 7, 6, 6, 6, 6, 8, 8, 7, 6, 7, 7, 4, 4, 1 },
{ 2, 7, 8, 8, 6, 6, 6, 7, 7, 6, 6, 7, 7, 4, 4, 1 },
{ 3, 3, 6, 6, 7, 7, 6, 6, 6, 6, 8, 9, 9, 7, 3, 1 },
{ 3, 3, 6, 7, 7, 6, 6, 6, 8, 9, 9, 7, 6, 6, 3, 1 },
{ 3, 3, 6, 7, 7, 6, 6, 6, 8, 9, 9, 7, 6, 6, 3, 1 },
{ 3, 3, 6, 7, 7, 6, 6, 8, 9, 9, 7, 6, 6, 6, 3, 1 },
}

Definition at line 82 of file tscc2data.h.

Referenced by tscc2_init_vlcs().

◆ tscc2_ac_vlc_syms

const uint16_t tscc2_ac_vlc_syms[]
static

Definition at line 98 of file tscc2data.h.

Referenced by tscc2_init_vlcs().

◆ tscc2_ac_vlc_lens

const uint8_t tscc2_ac_vlc_lens[]
static

Definition at line 312 of file tscc2data.h.

Referenced by tscc2_init_vlcs().

◆ tscc2_ac_vlc_sizes

const int tscc2_ac_vlc_sizes[NUM_VLC_SETS]
static
Initial value:
= {
172, 169, 165, 162, 131, 132, 130, 125, 121, 114, 110, 101, 96
}

Definition at line 431 of file tscc2data.h.

Referenced by tscc2_init_vlcs().