Lines Matching refs:cabac_state
1279 h->cabac_state[i] = pre;
1292 return get_cabac_noinline( &h->cabac, &(h->cabac_state+70)[ctx] );
1296 uint8_t *state= &h->cabac_state[ctx_base];
1358 return get_cabac_noinline( &h->cabac, &h->cabac_state[11+ctx] );
1364 if( get_cabac( &h->cabac, &h->cabac_state[68] ) )
1367 mode += 1 * get_cabac( &h->cabac, &h->cabac_state[69] );
1368 mode += 2 * get_cabac( &h->cabac, &h->cabac_state[69] );
1369 mode += 4 * get_cabac( &h->cabac, &h->cabac_state[69] );
1387 if( get_cabac_noinline( &h->cabac, &h->cabac_state[64+ctx] ) == 0 )
1390 if( get_cabac_noinline( &h->cabac, &h->cabac_state[64+3] ) == 0 )
1392 if( get_cabac_noinline( &h->cabac, &h->cabac_state[64+3] ) == 0 )
1405 cbp += get_cabac_noinline(&h->cabac, &h->cabac_state[73 + ctx]);
1407 cbp += get_cabac_noinline(&h->cabac, &h->cabac_state[73 + ctx]) << 1;
1409 cbp += get_cabac_noinline(&h->cabac, &h->cabac_state[73 + ctx]) << 2;
1411 cbp += get_cabac_noinline(&h->cabac, &h->cabac_state[73 + ctx]) << 3;
1424 if( get_cabac_noinline( &h->cabac, &h->cabac_state[77 + ctx] ) == 0 )
1430 return 1 + get_cabac_noinline( &h->cabac, &h->cabac_state[77 + ctx] );
1434 if( get_cabac( &h->cabac, &h->cabac_state[21] ) )
1436 if( !get_cabac( &h->cabac, &h->cabac_state[22] ) )
1438 if( get_cabac( &h->cabac, &h->cabac_state[23] ) )
1444 if( !get_cabac( &h->cabac, &h->cabac_state[36] ) )
1446 if( !get_cabac( &h->cabac, &h->cabac_state[37] ) )
1447 return 1 + get_cabac( &h->cabac, &h->cabac_state[39] ); /* B_L0_8x8, B_L1_8x8 */
1449 if( get_cabac( &h->cabac, &h->cabac_state[38] ) ) {
1450 if( get_cabac( &h->cabac, &h->cabac_state[39] ) )
1451 return 11 + get_cabac( &h->cabac, &h->cabac_state[39] ); /* B_L1_4x4, B_Bi_4x4 */
1454 type += 2*get_cabac( &h->cabac, &h->cabac_state[39] );
1455 type += get_cabac( &h->cabac, &h->cabac_state[39] );
1477 while( get_cabac( &h->cabac, &h->cabac_state[54+ctx] ) ) {
1490 if(!get_cabac(&h->cabac, &h->cabac_state[ctxbase+((amvd-3)>>(INT_BIT-1))+((amvd-33)>>(INT_BIT-1))+2])){
1491 // if(!get_cabac(&h->cabac, &h->cabac_state[ctxbase+(amvd>2)+(amvd>32)])){
1498 while( mvd < 9 && get_cabac( &h->cabac, &h->cabac_state[ctxbase] ) ) {
1637 significant_coeff_ctx_base = h->cabac_state
1639 last_coeff_ctx_base = h->cabac_state
1641 abs_level_m1_ctx_base = h->cabac_state
1783 if( get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 1 ) ] ) == 0 ) {
1796 if (get_cabac(&h->cabac, &h->cabac_state[get_cabac_cbf_ctx(h, cat, n, max_coeff, 1)]) == 0) {
1805 if( (cat != 5 || CHROMA444) && get_cabac( &h->cabac, &h->cabac_state[get_cabac_cbf_ctx( h, cat, n, max_coeff, 0 ) ] ) == 0 ) {
1926 if( !get_cabac_noinline( &h->cabac, &h->cabac_state[27+ctx] ) ){
1928 }else if( !get_cabac_noinline( &h->cabac, &h->cabac_state[27+3] ) ) {
1929 mb_type= 1 + get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] ); /* B_L[01]_16x16 */
1932 bits = get_cabac_noinline( &h->cabac, &h->cabac_state[27+4] ) << 3;
1933 bits+= get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] ) << 2;
1934 bits+= get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] ) << 1;
1935 bits+= get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] );
1946 bits= ( bits<<1 ) + get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] );
1953 if( get_cabac_noinline( &h->cabac, &h->cabac_state[14] ) == 0 ) {
1955 if( get_cabac_noinline( &h->cabac, &h->cabac_state[15] ) == 0 ) {
1957 mb_type= 3 * get_cabac_noinline( &h->cabac, &h->cabac_state[16] );
1960 mb_type= 2 - get_cabac_noinline( &h->cabac, &h->cabac_state[17] );
2027 if( dct8x8_allowed && get_cabac_noinline( &h->cabac, &h->cabac_state[399 + h->neighbor_transform_size] ) ) {
2284 mb_type |= MB_TYPE_8x8DCT * get_cabac_noinline( &h->cabac, &h->cabac_state[399 + h->neighbor_transform_size] );
2324 if(get_cabac_noinline( &h->cabac, &h->cabac_state[60 + (h->last_qscale_diff != 0)])){
2329 while( get_cabac_noinline( &h->cabac, &h->cabac_state[60 + ctx] ) ) {