From af2b0df40f07ee71e6c6defc5c2e0b4f343b2fd0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 3 Mar 2010 19:31:58 +0000 Subject: [PATCH] Note about luma/chroma_weight tables and their datatype. Originally committed as revision 22177 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index c0619a1f20..f254b92a1a 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -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];