aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1data.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-23 21:21:47 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-25 12:24:15 +0200
commit6d797ac70ff6d88f547c64317363cc16cf0f0add (patch)
tree336f6b2c8f50da8ae96a05e512c1da00326a2591 /libavcodec/vc1data.h
parent31ff2cb266832a82ac4b5aaa2947719f47e4b425 (diff)
downloadandroid_external_ffmpeg-6d797ac70ff6d88f547c64317363cc16cf0f0add.tar.gz
android_external_ffmpeg-6d797ac70ff6d88f547c64317363cc16cf0f0add.tar.bz2
android_external_ffmpeg-6d797ac70ff6d88f547c64317363cc16cf0f0add.zip
VC1: Do not needlessly use signed types.
This might even have prevented the compiler from some optimizations, since both signed and unsigned types are used for the dezigzag tables/ table pointers, and if a branches uses both the compiler needs to create more complex code. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/vc1data.h')
-rw-r--r--libavcodec/vc1data.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/vc1data.h b/libavcodec/vc1data.h
index fbcda6c54b..eecb0457f3 100644
--- a/libavcodec/vc1data.h
+++ b/libavcodec/vc1data.h
@@ -183,15 +183,15 @@ extern const uint8_t ff_vc1_2ref_mvdata_bits[8][126];
/* DC differentials low+hi-mo, p217 are the same as in msmpeg4data .h */
/* Scantables/ZZ scan are at 11.9 (p262) and 8.1.1.12 (p10) */
-extern const int8_t ff_vc1_simple_progressive_4x4_zz [16];
-extern const int8_t ff_vc1_adv_progressive_8x4_zz [32];
-extern const int8_t ff_vc1_adv_progressive_4x8_zz [32];
-extern const int8_t ff_vc1_adv_interlaced_8x8_zz [64];
-extern const int8_t ff_vc1_adv_interlaced_8x4_zz [32];
-extern const int8_t ff_vc1_adv_interlaced_4x8_zz [32];
-extern const int8_t ff_vc1_adv_interlaced_4x4_zz [16];
-extern const int8_t ff_vc1_intra_horz_8x8_zz [64];
-extern const int8_t ff_vc1_intra_vert_8x8_zz [64];
+extern const uint8_t ff_vc1_simple_progressive_4x4_zz [16];
+extern const uint8_t ff_vc1_adv_progressive_8x4_zz [32];
+extern const uint8_t ff_vc1_adv_progressive_4x8_zz [32];
+extern const uint8_t ff_vc1_adv_interlaced_8x8_zz [64];
+extern const uint8_t ff_vc1_adv_interlaced_8x4_zz [32];
+extern const uint8_t ff_vc1_adv_interlaced_4x8_zz [32];
+extern const uint8_t ff_vc1_adv_interlaced_4x4_zz [16];
+extern const uint8_t ff_vc1_intra_horz_8x8_zz [64];
+extern const uint8_t ff_vc1_intra_vert_8x8_zz [64];
/* DQScale as specified in 8.1.3.9 - almost identical to 0x40000/i */
extern const int32_t ff_vc1_dqscale[63];