*/
/**
- * @file libavcodec/mpeg4data.h
+ * @file
* mpeg4 tables.
*/
#include "mpegvideo.h"
/* dc encoding for mpeg4 */
-const uint8_t DCtab_lum[13][2] =
+const uint8_t ff_mpeg4_DCtab_lum[13][2] =
{
{3,3}, {3,2}, {2,2}, {2,3}, {1,3}, {1,4}, {1,5}, {1,6}, {1,7},
{1,8}, {1,9}, {1,10}, {1,11},
};
-const uint8_t DCtab_chrom[13][2] =
+const uint8_t ff_mpeg4_DCtab_chrom[13][2] =
{
{3,2}, {2,2}, {1,2}, {1,3}, {1,4}, {1,5}, {1,6}, {1,7}, {1,8},
{1,9}, {1,10}, {1,11}, {1,12},
};
-const uint16_t intra_vlc[103][2] = {
+const uint16_t ff_mpeg4_intra_vlc[103][2] = {
{ 0x2, 2 },
{ 0x6, 3 },{ 0xf, 4 },{ 0xd, 5 },{ 0xc, 5 },
{ 0x15, 6 },{ 0x13, 6 },{ 0x12, 6 },{ 0x17, 7 },
{ 0x5f, 12 },{ 0x3, 7 },
};
-const int8_t intra_level[102] = {
+const int8_t ff_mpeg4_intra_level[102] = {
1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24,
1, 1, 1, 1, 1, 1,
};
-const int8_t intra_run[102] = {
+const int8_t ff_mpeg4_intra_run[102] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
15, 16, 17, 18, 19, 20,
};
-RLTable rl_intra = {
+RLTable ff_mpeg4_rl_intra = {
102,
67,
- intra_vlc,
- intra_run,
- intra_level,
+ ff_mpeg4_intra_vlc,
+ ff_mpeg4_intra_run,
+ ff_mpeg4_intra_level,
};
/* Note this is identical to the intra rvlc except that it is reordered. */
{0x3F7C, 15},{0x3F7D, 15},{0x0000, 4}
};
-const int8_t inter_rvlc_run[169]={
+static const int8_t inter_rvlc_run[169]={
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 1, 1, 1, 1,
43, 44,
};
-const int8_t inter_rvlc_level[169]={
+static const int8_t inter_rvlc_level[169]={
1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 1, 2, 3, 4, 5,
{0x3F7C, 15},{0x3F7D, 15},{0x0000, 4}
};
-const int8_t intra_rvlc_run[169]={
+static const int8_t intra_rvlc_run[169]={
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
43, 44,
};
-const int8_t intra_rvlc_level[169]={
+static const int8_t intra_rvlc_level[169]={
1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24,