comparison 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
comparison
equal deleted inserted replaced
11348:3c624d573966 11349:33f8308382f5
372 int use_weight; 372 int use_weight;
373 int use_weight_chroma; 373 int use_weight_chroma;
374 int luma_log2_weight_denom; 374 int luma_log2_weight_denom;
375 int chroma_log2_weight_denom; 375 int chroma_log2_weight_denom;
376 //The following 2 can be changed to int8_t but that causes 10cpu cycles speedloss 376 //The following 2 can be changed to int8_t but that causes 10cpu cycles speedloss
377 int luma_weight[2][48][2]; 377 int luma_weight[48][2][2];
378 int chroma_weight[2][48][2][2]; 378 int chroma_weight[48][2][2][2];
379 int implicit_weight[48][48]; 379 int implicit_weight[48][48];
380 380
381 int direct_spatial_mv_pred; 381 int direct_spatial_mv_pred;
382 int col_parity; 382 int col_parity;
383 int col_fieldoff; 383 int col_fieldoff;