Note about luma/chroma_weight tables and their datatype.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Mar 2010 19:31:58 +0000 (19:31 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Mar 2010 19:31:58 +0000 (19:31 +0000)
Originally committed as revision 22177 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.h

index c0619a1..f254b92 100644 (file)
@@ -411,6 +411,7 @@ typedef struct H264Context{
     int use_weight_chroma;
     int luma_log2_weight_denom;
     int chroma_log2_weight_denom;
+    //The following 2 can be changed to int8_t but that causes 10cpu cycles speedloss
     int luma_weight[2][48][2];
     int chroma_weight[2][48][2][2];
     int implicit_weight[48][48];