Home
last modified time | relevance | path

Searched refs:u4_bits_gen (Results 1 – 6 of 6) sorted by relevance

/external/libavc/encoder/
Dih264e_cabac.c251 UWORD32 u4_bits_gen = ps_cab_enc_env->u4_bits_gen; in ih264e_cabac_flush() local
262 WORD32 carry = (u4_low >> (u4_bits_gen + CABAC_BITS)) & 0x1; in ih264e_cabac_flush()
298 u4_low &= ((1 << (u4_bits_gen + CABAC_BITS)) - 1); in ih264e_cabac_flush()
302 bits_left = u4_bits_gen + 1; in ih264e_cabac_flush()
303 rem_bits = (u4_low >> (u4_bits_gen + CABAC_BITS - bits_left)); in ih264e_cabac_flush()
356 UWORD32 u4_bits_gen = ps_cab_enc_env->u4_bits_gen; in ih264e_cabac_put_byte() local
358 WORD32 lead_byte = u4_low >> (u4_bits_gen + CABAC_BITS - 8); in ih264e_cabac_put_byte()
364 ASSERT((u4_bits_gen >= 8)); in ih264e_cabac_put_byte()
367 u4_bits_gen -= 8; in ih264e_cabac_put_byte()
368 ps_cab_enc_env->u4_code_int_low &= ((1 << (CABAC_BITS + u4_bits_gen)) - 1); in ih264e_cabac_put_byte()
[all …]
Dih264e_cabac_structs.h151 UWORD32 u4_bits_gen; member
Dih264e_cabac_init.c131 ps_cab_enc_env->u4_bits_gen = 0; in ih264e_init_cabac_enc_envirnoment()
Dih264e_cabac_encode.c296 ps_cab_enc_env->u4_bits_gen += shift; in ih264e_cabac_enc_intra_mb_type()
301 if (ps_cab_enc_env->u4_bits_gen > CABAC_BITS) in ih264e_cabac_enc_intra_mb_type()
/external/libhevc/encoder/
Dihevce_cabac.c134 ps_cabac->u4_bits_gen = 0; in ihevce_cabac_reset()
219 ps_cabac->u4_bits_gen = 0; in ihevce_cabac_init()
274 UWORD32 u4_bits_gen = ps_cabac->u4_bits_gen; in ihevce_cabac_put_byte() local
275 WORD32 lead_byte = u4_low >> (u4_bits_gen + CABAC_BITS - 8); in ihevce_cabac_put_byte()
279 ASSERT((u4_bits_gen >= 8)); in ihevce_cabac_put_byte()
282 u4_bits_gen -= 8; in ihevce_cabac_put_byte()
283 ps_cabac->u4_low &= ((1 << (CABAC_BITS + u4_bits_gen)) - 1); in ihevce_cabac_put_byte()
284 ps_cabac->u4_bits_gen = u4_bits_gen; in ihevce_cabac_put_byte()
407 ps_cabac->u4_bits_gen++; in ihevce_cabac_encode_bypass_bin()
411 if(ps_cabac->u4_bits_gen > CABAC_BITS) in ihevce_cabac_encode_bypass_bin()
[all …]
Dihevce_cabac.h150 UWORD32 u4_bits_gen; member
296 ps_cabac->u4_bits_gen += shift; in ihevce_cabac_encode_bin()
301 if(ps_cabac->u4_bits_gen > CABAC_BITS) in ihevce_cabac_encode_bin()
375 ps_cabac->u4_bits_gen += 8; in ihevce_cabac_encode_bypass_bins()
377 if(ps_cabac->u4_bits_gen > CABAC_BITS) in ihevce_cabac_encode_bypass_bins()
389 ps_cabac->u4_bits_gen += num_bins; in ihevce_cabac_encode_bypass_bins()
391 if(ps_cabac->u4_bits_gen > CABAC_BITS) in ihevce_cabac_encode_bypass_bins()