[SCM] libav/experimental: Note about luma/chroma_weight tables and their datatype.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:02:41 UTC 2013


The following commit has been merged in the experimental branch:
commit af2b0df40f07ee71e6c6defc5c2e0b4f343b2fd0
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Mar 3 19:31:58 2010 +0000

    Note about luma/chroma_weight tables and their datatype.
    
    Originally committed as revision 22177 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index c0619a1..f254b92 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];

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list