Lines Matching refs:cabac
1301 return get_cabac_noinline( &sl->cabac, &(sl->cabac_state+70)[ctx] ); in decode_cabac_field_decoding_flag()
1316 if( get_cabac_noinline( &sl->cabac, &state[ctx] ) == 0 ) in decode_cabac_intra_mb_type()
1320 if( get_cabac_noinline( &sl->cabac, state ) == 0 ) in decode_cabac_intra_mb_type()
1324 if( get_cabac_terminate( &sl->cabac ) ) in decode_cabac_intra_mb_type()
1328 mb_type += 12 * get_cabac_noinline( &sl->cabac, &state[1] ); /* cbp_luma != 0 */ in decode_cabac_intra_mb_type()
1329 if( get_cabac_noinline( &sl->cabac, &state[2] ) ) /* cbp_chroma */ in decode_cabac_intra_mb_type()
1330 mb_type += 4 + 4 * get_cabac_noinline( &sl->cabac, &state[2+intra_slice] ); in decode_cabac_intra_mb_type()
1331 mb_type += 2 * get_cabac_noinline( &sl->cabac, &state[3+intra_slice] ); in decode_cabac_intra_mb_type()
1332 mb_type += 1 * get_cabac_noinline( &sl->cabac, &state[3+2*intra_slice] ); in decode_cabac_intra_mb_type()
1370 return get_cabac_noinline( &sl->cabac, &sl->cabac_state[11+ctx] ); in decode_cabac_mb_skip()
1377 if( get_cabac( &sl->cabac, &sl->cabac_state[68] ) ) in decode_cabac_mb_intra4x4_pred_mode()
1380 mode += 1 * get_cabac( &sl->cabac, &sl->cabac_state[69] ); in decode_cabac_mb_intra4x4_pred_mode()
1381 mode += 2 * get_cabac( &sl->cabac, &sl->cabac_state[69] ); in decode_cabac_mb_intra4x4_pred_mode()
1382 mode += 4 * get_cabac( &sl->cabac, &sl->cabac_state[69] ); in decode_cabac_mb_intra4x4_pred_mode()
1401 if( get_cabac_noinline( &sl->cabac, &sl->cabac_state[64+ctx] ) == 0 ) in decode_cabac_mb_chroma_pre_mode()
1404 if( get_cabac_noinline( &sl->cabac, &sl->cabac_state[64+3] ) == 0 ) in decode_cabac_mb_chroma_pre_mode()
1406 if( get_cabac_noinline( &sl->cabac, &sl->cabac_state[64+3] ) == 0 ) in decode_cabac_mb_chroma_pre_mode()
1420 cbp += get_cabac_noinline(&sl->cabac, &sl->cabac_state[73 + ctx]); in decode_cabac_mb_cbp_luma()
1422 cbp += get_cabac_noinline(&sl->cabac, &sl->cabac_state[73 + ctx]) << 1; in decode_cabac_mb_cbp_luma()
1424 cbp += get_cabac_noinline(&sl->cabac, &sl->cabac_state[73 + ctx]) << 2; in decode_cabac_mb_cbp_luma()
1426 cbp += get_cabac_noinline(&sl->cabac, &sl->cabac_state[73 + ctx]) << 3; in decode_cabac_mb_cbp_luma()
1440 if( get_cabac_noinline( &sl->cabac, &sl->cabac_state[77 + ctx] ) == 0 ) in decode_cabac_mb_cbp_chroma()
1446 return 1 + get_cabac_noinline( &sl->cabac, &sl->cabac_state[77 + ctx] ); in decode_cabac_mb_cbp_chroma()
1451 if( get_cabac( &sl->cabac, &sl->cabac_state[21] ) ) in decode_cabac_p_mb_sub_type()
1453 if( !get_cabac( &sl->cabac, &sl->cabac_state[22] ) ) in decode_cabac_p_mb_sub_type()
1455 if( get_cabac( &sl->cabac, &sl->cabac_state[23] ) ) in decode_cabac_p_mb_sub_type()
1462 if( !get_cabac( &sl->cabac, &sl->cabac_state[36] ) ) in decode_cabac_b_mb_sub_type()
1464 if( !get_cabac( &sl->cabac, &sl->cabac_state[37] ) ) in decode_cabac_b_mb_sub_type()
1465 return 1 + get_cabac( &sl->cabac, &sl->cabac_state[39] ); /* B_L0_8x8, B_L1_8x8 */ in decode_cabac_b_mb_sub_type()
1467 if( get_cabac( &sl->cabac, &sl->cabac_state[38] ) ) { in decode_cabac_b_mb_sub_type()
1468 if( get_cabac( &sl->cabac, &sl->cabac_state[39] ) ) in decode_cabac_b_mb_sub_type()
1469 return 11 + get_cabac( &sl->cabac, &sl->cabac_state[39] ); /* B_L1_4x4, B_Bi_4x4 */ in decode_cabac_b_mb_sub_type()
1472 type += 2*get_cabac( &sl->cabac, &sl->cabac_state[39] ); in decode_cabac_b_mb_sub_type()
1473 type += get_cabac( &sl->cabac, &sl->cabac_state[39] ); in decode_cabac_b_mb_sub_type()
1496 while( get_cabac( &sl->cabac, &sl->cabac_state[54+ctx] ) ) { in decode_cabac_mb_ref()
1510 …if(!get_cabac(&sl->cabac, &sl->cabac_state[ctxbase+((amvd-3)>>(INT_BIT-1))+((amvd-33)>>(INT_BIT-1)… in decode_cabac_mb_mvd()
1518 while( mvd < 9 && get_cabac( &sl->cabac, &sl->cabac_state[ctxbase] ) ) { in decode_cabac_mb_mvd()
1526 while( get_cabac_bypass( &sl->cabac ) ) { in decode_cabac_mb_mvd()
1535 mvd += get_cabac_bypass( &sl->cabac )<<k; in decode_cabac_mb_mvd()
1540 return get_cabac_bypass_sign( &sl->cabac, -mvd ); in decode_cabac_mb_mvd()
1651 cc.range = sl->cabac.range; in decode_cabac_residual_internal()
1652 cc.low = sl->cabac.low; in decode_cabac_residual_internal()
1653 cc.bytestream= sl->cabac.bytestream; in decode_cabac_residual_internal()
1655 cc.bytestream_end = sl->cabac.bytestream_end; in decode_cabac_residual_internal()
1658 #define CC &sl->cabac in decode_cabac_residual_internal()
1771 sl->cabac.range = cc.range ; in decode_cabac_residual_internal()
1772 sl->cabac.low = cc.low ; in decode_cabac_residual_internal()
1773 sl->cabac.bytestream= cc.bytestream; in decode_cabac_residual_internal()
1829 … if( get_cabac( &sl->cabac, &sl->cabac_state[get_cabac_cbf_ctx(sl, cat, n, max_coeff, 1)]) == 0 ) { in decode_cabac_residual_dc()
1843 if (get_cabac(&sl->cabac, &sl->cabac_state[get_cabac_cbf_ctx(sl, cat, n, max_coeff, 1)]) == 0) { in decode_cabac_residual_dc_422()
1859 …if( (cat != 5 || CHROMA444(h)) && get_cabac( &sl->cabac, &sl->cabac_state[get_cabac_cbf_ctx(sl, ca… in decode_cabac_residual_nondc()
1977 if( !get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+ctx] ) ){ in ff_h264_decode_mb_cabac()
1979 }else if( !get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+3] ) ) { in ff_h264_decode_mb_cabac()
1980 … mb_type= 1 + get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+5] ); /* B_L[01]_16x16 */ in ff_h264_decode_mb_cabac()
1983 bits = get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+4] ) << 3; in ff_h264_decode_mb_cabac()
1984 bits+= get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+5] ) << 2; in ff_h264_decode_mb_cabac()
1985 bits+= get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+5] ) << 1; in ff_h264_decode_mb_cabac()
1986 bits+= get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+5] ); in ff_h264_decode_mb_cabac()
1997 bits= ( bits<<1 ) + get_cabac_noinline( &sl->cabac, &sl->cabac_state[27+5] ); in ff_h264_decode_mb_cabac()
2004 if( get_cabac_noinline( &sl->cabac, &sl->cabac_state[14] ) == 0 ) { in ff_h264_decode_mb_cabac()
2006 if( get_cabac_noinline( &sl->cabac, &sl->cabac_state[15] ) == 0 ) { in ff_h264_decode_mb_cabac()
2008 mb_type= 3 * get_cabac_noinline( &sl->cabac, &sl->cabac_state[16] ); in ff_h264_decode_mb_cabac()
2011 mb_type= 2 - get_cabac_noinline( &sl->cabac, &sl->cabac_state[17] ); in ff_h264_decode_mb_cabac()
2044 ptr= sl->cabac.bytestream; in ff_h264_decode_mb_cabac()
2045 if(sl->cabac.low&0x1) ptr--; in ff_h264_decode_mb_cabac()
2047 if(sl->cabac.low&0x1FF) ptr--; in ff_h264_decode_mb_cabac()
2051 if ((int) (sl->cabac.bytestream_end - ptr) < mb_size) in ff_h264_decode_mb_cabac()
2056 ret = ff_init_cabac_decoder(&sl->cabac, ptr, sl->cabac.bytestream_end - ptr); in ff_h264_decode_mb_cabac()
2077 …if (dct8x8_allowed && get_cabac_noinline(&sl->cabac, &sl->cabac_state[399 + sl->neighbor_transform… in ff_h264_decode_mb_cabac()
2348 …mb_type |= MB_TYPE_8x8DCT * get_cabac_noinline(&sl->cabac, &sl->cabac_state[399 + sl->neighbor_tra… in ff_h264_decode_mb_cabac()
2399 if(get_cabac_noinline( &sl->cabac, &sl->cabac_state[60 + (sl->last_qscale_diff != 0)])){ in ff_h264_decode_mb_cabac()
2404 while( get_cabac_noinline( &sl->cabac, &sl->cabac_state[60 + ctx] ) ) { in ff_h264_decode_mb_cabac()