Commit fb17a6b5 authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Henrik Gramner
Browse files

Fix CAVLC+RDO in 4:4:4

parent 303c484e
......@@ -292,7 +292,7 @@ static ALWAYS_INLINE void cavlc_macroblock_luma_residual( x264_t *h, int plane_c
static ALWAYS_INLINE void cavlc_partition_luma_residual( x264_t *h, int i8, int p )
if( h->mb.b_transform_8x8 && h->mb.cache.non_zero_count[x264_scan8[i8*4]] )
if( h->mb.b_transform_8x8 && h->mb.cache.non_zero_count[x264_scan8[i8*4+p*16]] )
h->zigzagf.interleave_8x8_cavlc( h->dct.luma4x4[i8*4+p*16], h->dct.luma8x8[i8+p*4],
&h->mb.cache.non_zero_count[x264_scan8[i8*4+p*16]] );
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