FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
rv30data.h File Reference

miscellaneous RV30 tables More...

#include <stdint.h>

Go to the source code of this file.

Variables

static const uint8_t rv30_luma_dc_quant [32]
 DC quantizer mapping for RV30. More...
 
static const uint8_t rv30_itype_code [9 *9 *2]
 This table is used for storing the differences between the predicted and the real intra type. More...
 
static const uint8_t rv30_itype_from_context [900]
 This table is used for retrieving the current intra type based on its neighbors and adjustment provided by code read and decoded before. More...
 
static const uint8_t rv30_loop_filt_lim [32]
 Loop filter limits are taken from this table. More...
 

Detailed Description

miscellaneous RV30 tables

Definition in file rv30data.h.

Variable Documentation

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

DC quantizer mapping for RV30.

Definition at line 33 of file rv30data.h.

Referenced by rv30_decode_init().

const uint8_t rv30_itype_code[9 *9 *2]
static
Initial value:
= {
0, 0, 0, 1, 1, 0, 1, 1, 0, 2, 2, 0, 0, 3, 3, 0, 1, 2,
2, 1, 0, 4, 4, 0, 3, 1, 1, 3, 0, 5, 5, 0, 2, 2, 1, 4,
4, 1, 0, 6, 3, 2, 1, 5, 2, 3, 5, 1, 6, 0, 0, 7, 4, 2,
2, 4, 3, 3, 6, 1, 1, 6, 7, 0, 0, 8, 5, 2, 4, 3, 2, 5,
3, 4, 1, 7, 4, 4, 7, 1, 8, 0, 6, 2, 3, 5, 5, 3, 2, 6,
1, 8, 2, 7, 7, 2, 8, 1, 5, 4, 4, 5, 3, 6, 6, 3, 8, 2,
4, 6, 5, 5, 6, 4, 2, 8, 7, 3, 3, 7, 6, 5, 5, 6, 7, 4,
4, 7, 8, 3, 3, 8, 7, 5, 8, 4, 5, 7, 4, 8, 6, 6, 7, 6,
5, 8, 8, 5, 6, 7, 8, 6, 7, 7, 6, 8, 8, 7, 7, 8, 8, 8,
}

This table is used for storing the differences between the predicted and the real intra type.

Definition at line 42 of file rv30data.h.

Referenced by rv30_decode_intra_types().

const uint8_t rv30_itype_from_context[900]
static

This table is used for retrieving the current intra type based on its neighbors and adjustment provided by code read and decoded before.

This is really a three-dimensional matrix with dimensions [-1..9][-1..9][0..9]. The first and second coordinates are determined by the top and left neighbors (-1 if unavailable).

Definition at line 63 of file rv30data.h.

Referenced by rv30_decode_intra_types().

const uint8_t rv30_loop_filt_lim[32]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5
}

Loop filter limits are taken from this table.

Definition at line 178 of file rv30data.h.

Referenced by rv30_loop_filter().