diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-03-03 21:10:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-03-03 21:10:08 +0000 |
commit | 3d9137c8830bce3521a2249c02e2f96aefd7742c (patch) | |
tree | 0206aced22820499d7aaf2cea15a96aa1b42e888 /libavcodec/h264.h | |
parent | b9b8ed2a0294e00a5415232912c08cf92d5387f4 (diff) | |
download | ffmpeg-3d9137c8830bce3521a2249c02e2f96aefd7742c.tar.gz |
Reorder indexes in weight tables.
5 cpu cycles faster.
Originally committed as revision 22183 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 1ebe081675..842088b7cd 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -374,8 +374,8 @@ typedef struct H264Context{ 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 luma_weight[48][2][2]; + int chroma_weight[48][2][2][2]; int implicit_weight[48][48]; int direct_spatial_mv_pred; |