FFmpeg
Macros | Variables
clearvideodata.h File Reference
#include "libavutil/common.h"

Go to the source code of this file.

Macros

#define MAX_VLC_ENTRIES   1370
 
#define NUM_DC_CODES   127
 
#define NUM_AC_CODES   104
 
#define MV_ESC   0x13
 
#define BIAS_ESC   1
 

Variables

static const uint8_t clv_dc_lens [NUM_DC_CODES]
 
static const uint8_t clv_dc_syms [NUM_DC_CODES]
 
static const uint16_t clv_ac_syms [NUM_AC_CODES]
 
static const uint8_t clv_ac_bits [NUM_AC_CODES]
 
static const uint8_t clv_flags_bits [][16]
 
static const uint8_t clv_flags_syms [][16]
 
static const uint8_t clv_mv_len_counts [][16]
 
static const uint16_t clv_mv_syms []
 
static const uint8_t clv_bias_len_counts [][16]
 
static const uint16_t clv_bias_syms []
 

Macro Definition Documentation

◆ MAX_VLC_ENTRIES

#define MAX_VLC_ENTRIES   1370

Definition at line 27 of file clearvideodata.h.

◆ NUM_DC_CODES

#define NUM_DC_CODES   127

Definition at line 28 of file clearvideodata.h.

◆ NUM_AC_CODES

#define NUM_AC_CODES   104

Definition at line 29 of file clearvideodata.h.

◆ MV_ESC

#define MV_ESC   0x13

Definition at line 111 of file clearvideodata.h.

◆ BIAS_ESC

#define BIAS_ESC   1

Definition at line 619 of file clearvideodata.h.

Variable Documentation

◆ clv_dc_lens

const uint8_t clv_dc_lens[NUM_DC_CODES]
static
Initial value:
= {
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
21, 21, 21, 20, 20, 20, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18, 18, 18, 18,
17, 17, 17, 17, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 14, 14, 14, 14, 14,
13, 13, 12, 12, 12, 12, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10,
10, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 7, 7,
7, 7, 7, 7, 6, 6, 5, 5, 5, 5, 3, 3, 1,
}

Definition at line 31 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_dc_syms

const uint8_t clv_dc_syms[NUM_DC_CODES]
static
Initial value:
= {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x14, 0x15, 0x6E, 0x6F, 0x70,
0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7A, 0x7B, 0x7C,
0x7D, 0x7E, 0x13, 0x68, 0x6D, 0x17, 0x18, 0x6A, 0x16, 0x19, 0x64, 0x65,
0x66, 0x67, 0x69, 0x6B, 0x6C, 0x1A, 0x1B, 0x62, 0x63, 0x1D, 0x1E, 0x5F,
0x61, 0x1F, 0x5E, 0x60, 0x1C, 0x21, 0x5C, 0x5D, 0x20, 0x24, 0x25, 0x26,
0x58, 0x59, 0x5A, 0x5B, 0x23, 0x57, 0x22, 0x27, 0x28, 0x29, 0x53, 0x54,
0x55, 0x56, 0x2A, 0x2B, 0x2C, 0x4F, 0x51, 0x52, 0x2D, 0x2E, 0x2F, 0x30,
0x31, 0x32, 0x4E, 0x50, 0x33, 0x34, 0x35, 0x4A, 0x4B, 0x4C, 0x4D, 0x36,
0x37, 0x47, 0x48, 0x49, 0x38, 0x39, 0x3A, 0x44, 0x45, 0x46, 0x3B, 0x43,
0x3C, 0x3D, 0x41, 0x42, 0x3E, 0x40, 0x3F,
}

Definition at line 41 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_ac_syms

const uint16_t clv_ac_syms[NUM_AC_CODES]
static
Initial value:
= {
0x0000, 0x1012, 0x1003, 0x000B, 0x000A, 0x11C1, 0x11B1, 0x11A1, 0x1191,
0x0092, 0x0082, 0x0072, 0x0062, 0x0052, 0x0033, 0x0023, 0x0014, 0x000C,
0x0015, 0x0171, 0x0181, 0x11D1, 0x11E1, 0x11F1, 0x1201, 0x0016, 0x0024,
0x0043, 0x0053, 0x0063, 0x00A2, 0x0191, 0x01A1, 0x1211, 0x1221, 0x1231,
0x1241, 0x1251, 0x1261, 0x1271, 0x1281, 0x1BFF, 0x0009, 0x0008, 0x1181,
0x1171, 0x1161, 0x1151, 0x1141, 0x1131, 0x1121, 0x1111, 0x1002, 0x0161,
0x0151, 0x0141, 0x0131, 0x0121, 0x0111, 0x0101, 0x00F1, 0x0042, 0x0032,
0x0007, 0x0006, 0x1101, 0x10F1, 0x10E1, 0x10D1, 0x10C1, 0x10B1, 0x10A1,
0x1091, 0x00E1, 0x00D1, 0x0022, 0x0013, 0x0005, 0x1081, 0x1071, 0x1061,
0x1051, 0x00C1, 0x00B1, 0x00A1, 0x0004, 0x1041, 0x1031, 0x1021, 0x1011,
0x0091, 0x0081, 0x0071, 0x0061, 0x0012, 0x0003, 0x0051, 0x0041, 0x0031,
0x1001, 0x0001, 0x0011, 0x0021, 0x0002
}

Definition at line 55 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_ac_bits

const uint8_t clv_ac_bits[NUM_AC_CODES]
static
Initial value:
= {
-9, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11,
11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
12, 12, 12, 7, 10, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 5, 5, 5, 4, 2, 3, 4, 4
}

Definition at line 71 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_flags_bits

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

Definition at line 80 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_flags_syms

const uint8_t clv_flags_syms[][16]
static
Initial value:
= {
{ 15, 0, 3, 5, 12, 1, 10, 2, 4, 8, 7, 11, 14, 6, 9, 13 },
{ 0, 15, 3, 12, 5, 1, 4, 2, 8, 10, 11, 7, 9, 6, 13, 14 },
{ 0, 3, 12, 4, 2, 1, 8, 5, 7, 10, 9, 6, 11, 13, 14, 15 },
{ 0, 15, 3, 12, 1, 10, 2, 5, 4, 8, 11, 7, 14, 13, 9, 6 },
{ 0, 2, 12, 3, 4, 1, 8, 5, 10, 7, 9, 6, 11, 14, 13, 15 },
{ 0, 15, 1, 12, 3, 10, 2, 5, 8, 4, 11, 14, 6, 9, 7, 13 },
{ 0, 8, 3, 4, 2, 1, 12, 5, 10, 7, 9, 6, 14, 11, 13, 15 }
}

Definition at line 90 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_mv_len_counts

const uint8_t clv_mv_len_counts[][16]
static
Initial value:
= {
{ 1, 0, 0, 2, 2, 6, 13, 6, 14, 28, 38, 38, 58, 56, 20, 8 },
{ 1, 0, 0, 2, 3, 4, 8, 10, 20, 30, 37, 63, 84, 68, 32, 0 },
{ 0, 1, 0, 4, 0, 6, 9, 24, 32, 48, 112, 142, 232, 166, 142, 44 },
{ 0, 1, 0, 2, 2, 6, 9, 16, 40, 82, 146, 228, 191, 255, 244, 100 },
{ 0, 0, 2, 5, 2, 12, 6, 15, 14, 24, 37, 33, 24, 28, 8, 16 },
{ 1, 0, 0, 2, 2, 5, 10, 12, 19, 19, 37, 74, 69, 120, 48, 24 },
{ 0, 0, 2, 3, 8, 7, 8, 8, 23, 37, 30, 36, 28, 16, 12, 8 },
{ 1, 0, 0, 0, 4, 5, 14, 18, 20, 39, 6, 80, 75, 112, 36, 32 },
}

Definition at line 100 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_mv_syms

const uint16_t clv_mv_syms[]
static

Definition at line 112 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_bias_len_counts

const uint8_t clv_bias_len_counts[][16]
static
Initial value:
= {
{ 1, 1, 1, 0, 2, 0, 4, 3, 3, 6, 5, 10, 16, 7, 17, 2 },
{ 1, 0, 2, 2, 0, 4, 2, 6, 4, 8, 6, 10, 9, 7, 23, 14 },
{ 0, 2, 1, 3, 2, 3, 4, 4, 8, 8, 8, 7, 7, 10, 21, 6 },
{ 1, 1, 1, 0, 2, 1, 3, 2, 4, 4, 2, 8, 6, 2, 3, 2 },
{ 1, 0, 2, 2, 1, 3, 2, 4, 4, 4, 4, 4, 2, 7, 6, 8 },
{ 1, 1, 1, 0, 2, 2, 1, 3, 2, 4, 3, 5, 6, 6, 3, 2 },
{ 1, 0, 2, 2, 2, 1, 3, 2, 4, 5, 1, 4, 10, 2, 3, 2 },
}

Definition at line 609 of file clearvideodata.h.

Referenced by clv_init_static().

◆ clv_bias_syms

const uint16_t clv_bias_syms[]
static

Definition at line 620 of file clearvideodata.h.

Referenced by clv_init_static().