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

Go to the source code of this file.

Macros

#define MPC7_SCFI_SIZE   4
 
#define MPC7_SCFI_BITS   3
 
#define MPC7_DSCF_SIZE   16
 
#define MPC7_DSCF_BITS   6
 
#define MPC7_HDR_SIZE   10
 
#define MPC7_HDR_BITS   9
 
#define MPC7_QUANT_VLC_TABLES   7
 

Variables

static const int8_t mpc7_idx30 [] = { -1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1}
 
static const int8_t mpc7_idx31 [] = { -1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1}
 
static const int8_t mpc7_idx32 [] = { -1,-1,-1,-1,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1}
 
static const int8_t mpc7_idx50 [] = { -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2}
 
static const int8_t mpc7_idx51 [] = { -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2}
 
static const uint8_t mpc7_scfi [MPC7_SCFI_SIZE *2]
 
static const uint8_t mpc7_dscf [MPC7_DSCF_SIZE *2]
 
static const uint8_t mpc7_hdr [MPC7_HDR_SIZE *2]
 
static const uint8_t mpc7_quant_vlc_sizes [MPC7_QUANT_VLC_TABLES]
 
static const int8_t mpc7_quant_vlc_off [MPC7_QUANT_VLC_TABLES]
 
static const uint8_t mpc7_quant_vlcs [177 *2 *2]
 

Macro Definition Documentation

◆ MPC7_SCFI_SIZE

#define MPC7_SCFI_SIZE   4

Definition at line 33 of file mpc7data.h.

◆ MPC7_SCFI_BITS

#define MPC7_SCFI_BITS   3

Definition at line 34 of file mpc7data.h.

◆ MPC7_DSCF_SIZE

#define MPC7_DSCF_SIZE   16

Definition at line 39 of file mpc7data.h.

◆ MPC7_DSCF_BITS

#define MPC7_DSCF_BITS   6

Definition at line 40 of file mpc7data.h.

◆ MPC7_HDR_SIZE

#define MPC7_HDR_SIZE   10

Definition at line 46 of file mpc7data.h.

◆ MPC7_HDR_BITS

#define MPC7_HDR_BITS   9

Definition at line 47 of file mpc7data.h.

◆ MPC7_QUANT_VLC_TABLES

#define MPC7_QUANT_VLC_TABLES   7

Definition at line 53 of file mpc7data.h.

Variable Documentation

◆ mpc7_idx30

const int8_t mpc7_idx30[] = { -1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1}
static

Definition at line 27 of file mpc7data.h.

Referenced by idx_to_quant().

◆ mpc7_idx31

const int8_t mpc7_idx31[] = { -1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1}
static

Definition at line 28 of file mpc7data.h.

Referenced by idx_to_quant().

◆ mpc7_idx32

const int8_t mpc7_idx32[] = { -1,-1,-1,-1,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1}
static

Definition at line 29 of file mpc7data.h.

Referenced by idx_to_quant().

◆ mpc7_idx50

const int8_t mpc7_idx50[] = { -2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2}
static

Definition at line 30 of file mpc7data.h.

Referenced by idx_to_quant().

◆ mpc7_idx51

const int8_t mpc7_idx51[] = { -2,-2,-2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2}
static

Definition at line 31 of file mpc7data.h.

Referenced by idx_to_quant().

◆ mpc7_scfi

const uint8_t mpc7_scfi[MPC7_SCFI_SIZE *2]
static
Initial value:
= {
0x03, 2, 0x00, 3, 0x02, 3, 0x01, 1,
}

Definition at line 35 of file mpc7data.h.

Referenced by mpc7_init_static().

◆ mpc7_dscf

const uint8_t mpc7_dscf[MPC7_DSCF_SIZE *2]
static
Initial value:
= {
0x05, 3, 0x01, 5, 0x0D, 5, 0x0B, 4, 0x09, 3, 0x06, 3, 0x00, 6, 0x0E, 6,
0x02, 5, 0x07, 4, 0x08, 3, 0x0F, 4, 0x04, 4, 0x0A, 4, 0x03, 5, 0x0C, 5,
}

Definition at line 41 of file mpc7data.h.

Referenced by mpc7_init_static().

◆ mpc7_hdr

const uint8_t mpc7_hdr[MPC7_HDR_SIZE *2]
static
Initial value:
= {
0x04, 2, 0x03, 4, 0x02, 5, 0x07, 6, 0x00, 8,
0x09, 9, 0x08, 9, 0x01, 7, 0x06, 3, 0x05, 1,
}

Definition at line 48 of file mpc7data.h.

Referenced by mpc7_init_static().

◆ mpc7_quant_vlc_sizes

const uint8_t mpc7_quant_vlc_sizes[MPC7_QUANT_VLC_TABLES]
static
Initial value:
= {
27, 25, 7, 9, 15, 31, 63
}

Definition at line 54 of file mpc7data.h.

Referenced by mpc7_init_static().

◆ mpc7_quant_vlc_off

const int8_t mpc7_quant_vlc_off[MPC7_QUANT_VLC_TABLES]
static
Initial value:
= {
0, 0, -3, -4, -7, -15, -31
}

Definition at line 58 of file mpc7data.h.

Referenced by mpc7_init_static().

◆ mpc7_quant_vlcs

const uint8_t mpc7_quant_vlcs[177 *2 *2]
static

Definition at line 62 of file mpc7data.h.

Referenced by mpc7_init_static().