diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-03-03 17:41:43 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-03-03 17:41:43 +0300 |
commit | 70118abd687be136b5ae9fdc7cd75dfa002677ee (patch) | |
tree | a8e877e1295c47862189339fba843b0f48fb06d5 /libavcodec/h264.h | |
parent | 72f86ec013714d15cdef4e9e541ab87f34b670ec (diff) |
Merge weight & offset tables, 15 cpu cycles faster.
Originally committed as revision 22169 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 2144e942d5..f70118f0a7 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -417,10 +417,8 @@ typedef struct H264Context{ int use_weight_chroma; int luma_log2_weight_denom; int chroma_log2_weight_denom; - int luma_weight[2][48]; - int luma_offset[2][48]; - int chroma_weight[2][48][2]; - int chroma_offset[2][48][2]; + int luma_weight[2][48][2]; + int chroma_weight[2][48][2][2]; int implicit_weight[48][48]; //deblock |