[FFmpeg-cvslog] r21111 - in trunk/libavcodec: h263data.h mpeg4data.h mpeg4video.h
michael
subversion
Sat Jan 9 18:22:37 CET 2010
Author: michael
Date: Sat Jan 9 18:22:37 2010
New Revision: 21111
Log:
Make some tables static again, i mistakely thought they would be used in several
places.
Modified:
trunk/libavcodec/h263data.h
trunk/libavcodec/mpeg4data.h
trunk/libavcodec/mpeg4video.h
Modified: trunk/libavcodec/h263data.h
==============================================================================
--- trunk/libavcodec/h263data.h Sat Jan 9 17:20:41 2010 (r21110)
+++ trunk/libavcodec/h263data.h Sat Jan 9 18:22:37 2010 (r21111)
@@ -127,7 +127,7 @@ const uint16_t inter_vlc[103][2] = {
{ 0x5e, 12 },{ 0x5f, 12 },{ 0x3, 7 },
};
-const int8_t inter_level[102] = {
+static const int8_t inter_level[102] = {
1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 1, 2, 3, 4,
5, 6, 1, 2, 3, 4, 1, 2,
@@ -143,7 +143,7 @@ const int8_t inter_level[102] = {
1, 1, 1, 1, 1, 1,
};
-const int8_t inter_run[102] = {
+static const int8_t inter_run[102] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 3, 3,
Modified: trunk/libavcodec/mpeg4data.h
==============================================================================
--- trunk/libavcodec/mpeg4data.h Sat Jan 9 17:20:41 2010 (r21110)
+++ trunk/libavcodec/mpeg4data.h Sat Jan 9 18:22:37 2010 (r21111)
@@ -161,7 +161,7 @@ const uint16_t inter_rvlc[170][2]={
{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,
@@ -186,7 +186,7 @@ const int8_t inter_rvlc_run[169]={
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,
@@ -265,7 +265,7 @@ const uint16_t intra_rvlc[170][2]={
{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,
@@ -290,7 +290,7 @@ const int8_t intra_rvlc_run[169]={
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,
Modified: trunk/libavcodec/mpeg4video.h
==============================================================================
--- trunk/libavcodec/mpeg4video.h Sat Jan 9 17:20:41 2010 (r21110)
+++ trunk/libavcodec/mpeg4video.h Sat Jan 9 18:22:37 2010 (r21111)
@@ -58,19 +58,13 @@ extern const uint8_t ff_mpeg4_DCtab_lum[
extern const uint8_t ff_mpeg4_DCtab_chrom[13][2];
extern const uint16_t ff_mpeg4_intra_vlc[103][2];
-extern const int8_t ff_mpeg4_intra_level[102];
-extern const int8_t ff_mpeg4_intra_run[102];
extern RLTable ff_mpeg4_rl_intra;
/* Note this is identical to the intra rvlc except that it is reordered. */
extern const uint16_t inter_rvlc[170][2];
-extern const int8_t inter_rvlc_run[169];
-extern const int8_t inter_rvlc_level[169];
extern RLTable rvlc_rl_inter;
extern const uint16_t intra_rvlc[170][2];
-extern const int8_t intra_rvlc_run[169];
-extern const int8_t intra_rvlc_level[169];
extern RLTable rvlc_rl_intra;
extern const uint16_t sprite_trajectory_tab[15][2];
More information about the ffmpeg-cvslog
mailing list