rv34vlc.h File Reference

RV30/40 VLC tables. More...

#include <stdint.h>
Include dependency graph for rv34vlc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NUM_INTRA_TABLES   5
 
#define NUM_INTER_TABLES   7
 
#define CBPPAT_VLC_SIZE   1296
 
#define CBP_VLC_SIZE   16
 
#define FIRSTBLK_VLC_SIZE   864
 
#define OTHERBLK_VLC_SIZE   108
 
#define COEFF_VLC_SIZE   32
 
#define MAX_VLC_SIZE   1296
 

Variables

static const uint8_t rv34_table_intra_cbppat [NUM_INTRA_TABLES][2][CBPPAT_VLC_SIZE]
 
static const uint8_t rv34_table_intra_cbp [NUM_INTRA_TABLES][8][CBP_VLC_SIZE]
 
static const uint8_t rv34_table_intra_firstpat [NUM_INTRA_TABLES][4][FIRSTBLK_VLC_SIZE]
 
static const uint8_t rv34_table_intra_secondpat [NUM_INTRA_TABLES][2][OTHERBLK_VLC_SIZE]
 
static const uint8_t rv34_table_intra_thirdpat [NUM_INTRA_TABLES][2][OTHERBLK_VLC_SIZE]
 
static const uint8_t rv34_intra_coeff [NUM_INTRA_TABLES][COEFF_VLC_SIZE]
 
static const uint8_t rv34_inter_cbppat [NUM_INTER_TABLES][CBPPAT_VLC_SIZE]
 
static const uint8_t rv34_inter_cbp [NUM_INTER_TABLES][4][CBP_VLC_SIZE]
 
static const uint8_t rv34_table_inter_firstpat [NUM_INTER_TABLES][2][FIRSTBLK_VLC_SIZE]
 
static const uint8_t rv34_table_inter_secondpat [NUM_INTER_TABLES][2][OTHERBLK_VLC_SIZE]
 
static const uint8_t rv34_table_inter_thirdpat [NUM_INTER_TABLES][2][OTHERBLK_VLC_SIZE]
 
static const uint8_t rv34_inter_coeff [NUM_INTER_TABLES][COEFF_VLC_SIZE]
 

Detailed Description

RV30/40 VLC tables.

Definition in file rv34vlc.h.

Macro Definition Documentation

#define CBP_VLC_SIZE   16

Definition at line 36 of file rv34vlc.h.

Referenced by rv34_init_tables().

#define CBPPAT_VLC_SIZE   1296

Definition at line 35 of file rv34vlc.h.

Referenced by rv34_init_tables().

#define COEFF_VLC_SIZE   32

Definition at line 39 of file rv34vlc.h.

Referenced by rv34_init_tables().

#define FIRSTBLK_VLC_SIZE   864

Definition at line 37 of file rv34vlc.h.

Referenced by rv34_init_tables().

#define MAX_VLC_SIZE   1296

Definition at line 40 of file rv34vlc.h.

Referenced by rv34_gen_vlc().

#define NUM_INTER_TABLES   7

Definition at line 33 of file rv34vlc.h.

Referenced by rv34_init_tables().

#define NUM_INTRA_TABLES   5

Definition at line 32 of file rv34vlc.h.

Referenced by rv34_init_tables().

#define OTHERBLK_VLC_SIZE   108

Definition at line 38 of file rv34vlc.h.

Referenced by rv34_init_tables().

Variable Documentation

const uint8_t rv34_inter_cbp[NUM_INTER_TABLES][4][CBP_VLC_SIZE]
static

Definition at line 2890 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_inter_cbppat[NUM_INTER_TABLES][CBPPAT_VLC_SIZE]
static

Definition at line 2305 of file rv34vlc.h.

Referenced by rv34_init_tables().

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

Definition at line 4024 of file rv34vlc.h.

Referenced by rv34_init_tables().

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

Definition at line 2281 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_inter_firstpat[NUM_INTER_TABLES][2][FIRSTBLK_VLC_SIZE]
static

Definition at line 2936 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_inter_secondpat[NUM_INTER_TABLES][2][OTHERBLK_VLC_SIZE]
static

Definition at line 3737 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_inter_thirdpat[NUM_INTER_TABLES][2][OTHERBLK_VLC_SIZE]
static

Definition at line 3880 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_intra_cbp[NUM_INTRA_TABLES][8][CBP_VLC_SIZE]
static

Definition at line 886 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_intra_cbppat[NUM_INTRA_TABLES][2][CBPPAT_VLC_SIZE]
static

Definition at line 42 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_intra_firstpat[NUM_INTRA_TABLES][4][FIRSTBLK_VLC_SIZE]
static

Definition at line 940 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_intra_secondpat[NUM_INTRA_TABLES][2][OTHERBLK_VLC_SIZE]
static

Definition at line 2074 of file rv34vlc.h.

Referenced by rv34_init_tables().

const uint8_t rv34_table_intra_thirdpat[NUM_INTRA_TABLES][2][OTHERBLK_VLC_SIZE]
static

Definition at line 2177 of file rv34vlc.h.

Referenced by rv34_init_tables().