|
|
@@ -6651,8 +6651,10 @@ decode_intra_mb: |
|
|
for( i4x4 = 0; i4x4 < 4; i4x4++ ) { |
|
|
for( i4x4 = 0; i4x4 < 4; i4x4++ ) { |
|
|
const int index = 4*i8x8 + i4x4; |
|
|
const int index = 4*i8x8 + i4x4; |
|
|
//av_log( s->avctx, AV_LOG_ERROR, "Luma4x4: %d\n", index ); |
|
|
//av_log( s->avctx, AV_LOG_ERROR, "Luma4x4: %d\n", index ); |
|
|
|
|
|
//START_TIMER |
|
|
if( decode_cabac_residual(h, h->mb + 16*index, 2, index, scan, h->dequant4_coeff[IS_INTRA( mb_type ) ? 0:3][s->qscale], 16) < 0 ) |
|
|
if( decode_cabac_residual(h, h->mb + 16*index, 2, index, scan, h->dequant4_coeff[IS_INTRA( mb_type ) ? 0:3][s->qscale], 16) < 0 ) |
|
|
return -1; |
|
|
return -1; |
|
|
|
|
|
//STOP_TIMER("decode_residual") |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
uint8_t * const nnz= &h->non_zero_count_cache[ scan8[4*i8x8] ]; |
|
|
uint8_t * const nnz= &h->non_zero_count_cache[ scan8[4*i8x8] ]; |
|
|
|