FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
binkdata.h File Reference
#include <stdint.h>

Go to the source code of this file.

Variables

static const uint8_t bink_scan [64]
 Bink DCT and residue 8x8 block scan order.
 
static const uint8_t bink_tree_bits [16][16]
 
static const uint8_t bink_tree_lens [16][16]
 
static const uint8_t bink_patterns [16][64]
 
static const int32_t bink_intra_quant [16][64]
 
static const int32_t bink_inter_quant [16][64]
 
static const uint8_t binkb_runbits [64]
 
static const uint8_t binkb_intra_seed [64]
 
static const uint8_t binkb_inter_seed [64]
 
static const uint8_t binkb_num [16]
 
static const uint8_t binkb_den [16]
 

Variable Documentation

const uint8_t bink_scan[64]
static
Initial value:
= {
0, 1, 8, 9, 2, 3, 10, 11,
4, 5, 12, 13, 6, 7, 14, 15,
20, 21, 28, 29, 22, 23, 30, 31,
16, 17, 24, 25, 32, 33, 40, 41,
34, 35, 42, 43, 48, 49, 56, 57,
50, 51, 58, 59, 18, 19, 26, 27,
36, 37, 44, 45, 38, 39, 46, 47,
52, 53, 60, 61, 54, 55, 62, 63
}

Bink DCT and residue 8x8 block scan order.

Definition at line 28 of file binkdata.h.

Referenced by bink_decode_plane(), binkb_calc_quant(), binkb_decode_plane(), and read_residue().

const uint8_t bink_tree_bits[16][16]
static

Definition at line 39 of file binkdata.h.

Referenced by decode_init().

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

Definition at line 106 of file binkdata.h.

Referenced by decode_init().

const uint8_t bink_patterns[16][64]
static

Definition at line 125 of file binkdata.h.

Referenced by bink_decode_plane(), and binkb_decode_plane().

const int32_t bink_intra_quant[16][64]
static

Definition at line 288 of file binkdata.h.

Referenced by bink_decode_plane().

const int32_t bink_inter_quant[16][64]
static

Definition at line 451 of file binkdata.h.

Referenced by bink_decode_plane().

const uint8_t binkb_runbits[64]
static
Initial value:
= {
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5,
4, 4, 4, 4, 4, 4, 4, 4,
3, 3, 3, 3, 2, 2, 1, 0,
}

Definition at line 614 of file binkdata.h.

Referenced by binkb_decode_plane().

const uint8_t binkb_intra_seed[64]
static
Initial value:
= {
16, 16, 16, 19, 16, 19, 22, 22,
22, 22, 26, 24, 26, 22, 22, 27,
27, 27, 26, 26, 26, 29, 29, 29,
27, 27, 27, 26, 34, 34, 34, 29,
29, 29, 27, 27, 37, 34, 34, 32,
32, 29, 29, 38, 37, 35, 35, 34,
35, 40, 40, 40, 38, 38, 48, 48,
46, 46, 58, 56, 56, 69, 69, 83,
}

Definition at line 625 of file binkdata.h.

Referenced by binkb_calc_quant().

const uint8_t binkb_inter_seed[64]
static
Initial value:
= {
16, 17, 17, 18, 18, 18, 19, 19,
19, 19, 20, 20, 20, 20, 20, 21,
21, 21, 21, 21, 21, 22, 22, 22,
22, 22, 22, 22, 23, 23, 23, 23,
23, 23, 23, 23, 24, 24, 24, 25,
24, 24, 24, 25, 26, 26, 26, 26,
25, 27, 27, 27, 27, 27, 28, 28,
28, 28, 30, 30, 30, 31, 31, 33,
}

Definition at line 636 of file binkdata.h.

Referenced by binkb_calc_quant().

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

Definition at line 647 of file binkdata.h.

Referenced by binkb_calc_quant().

const uint8_t binkb_den[16]
static
Initial value:
= {
1, 3, 3, 1, 3, 3, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1
}

Definition at line 651 of file binkdata.h.

Referenced by binkb_calc_quant().