Commit 12104b22 authored by Fiona Glaser's avatar Fiona Glaser
Browse files

Add fenc prefetching to adaptive quant

Many fewer cache misses, faster adaptive quant.
parent 9bbfc302
......@@ -247,6 +247,7 @@ static NOINLINE uint32_t x264_ac_energy_mb( x264_t *h, int mb_x, int mb_y, x264_
* function and make sure that its always called before the float math. Noinline makes
* sure no reordering goes on. */
uint32_t var;
x264_prefetch_fenc( h, frame, mb_x, mb_y );
if( h->mb.b_adaptive_mbaff )
/* We don't know the super-MB mode we're going to pick yet, so
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment