Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f9f0419be2
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (40 sloc) 1.242 kb
#ifndef MPEGTABLES_HPP
#define MPEGTABLES_HPP
static const uint8_t default_intra_quantiser_matrix[ 64 ] = {
8,
16, 16,
19, 16, 19,
22, 22, 22, 22,
22, 22, 26, 24, 26,
27, 27, 27, 26, 26, 26,
26, 27, 27, 27, 29, 29, 29,
34, 34, 34, 29, 29, 29, 27, 27,
29, 29, 32, 32, 34, 34, 37,
38, 37, 35, 35, 34, 35,
38, 38, 40, 40, 40,
48, 48, 46, 46,
56, 56, 58,
69, 69,
83
};
/*
static const uint8_t mpeg2_normal_scan[ 64 ] = {
0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5,
12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28,
35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30, 37, 44, 51,
58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63
};
*/
static const uint8_t mpeg2_normal_scan[ 64 ] ATTR_ALIGN(16) = {
0, 4, 8, 16, 12, 1, 5, 9, 20, 24, 32, 28, 17, 13, 2, 6, 10, 21,
25, 36, 40, 48, 44, 33, 29, 18, 14, 3, 7, 11, 22, 26, 37, 41, 52,
56, 60, 49, 45, 34, 30, 19, 15, 23, 27, 38, 42, 53, 57, 61, 50, 46,
35, 31, 39, 43, 54, 58, 62, 51, 47, 55, 59, 63
};
static const uint64_t sequence_numerators[] = {
0, 24000, 24, 25, 30000, 30, 50, 60000, 60
};
static const uint64_t sequence_denominators[] = {
1, 1001, 1, 1, 1001, 1, 1, 1001, 1
};
#endif
Jump to Line
Something went wrong with that request. Please try again.