diff h264.h @ 11349:33f8308382f5 libavcodec

Reorder indexes in weight tables. 5 cpu cycles faster.
author michael
date Wed, 03 Mar 2010 21:10:08 +0000
parents 3c624d573966
children 2a9acfd46715
line wrap: on
line diff
--- a/h264.h	Wed Mar 03 20:36:56 2010 +0000
+++ b/h264.h	Wed Mar 03 21:10:08 2010 +0000
@@ -374,8 +374,8 @@
     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;