Home
last modified time | relevance | path

Searched refs:u4_trailing_ones (Results 1 – 2 of 2) sorted by relevance

/external/libavc/decoder/
Dih264d_parse_cavlc.c309 UWORD32 u4_trailing_ones = u4_total_coeff_trail_one & 0xFFFF; in ih264d_cavlc_4x4res_block_totalcoeff_1() local
322 if(u4_trailing_ones) in ih264d_cavlc_4x4res_block_totalcoeff_1()
444 UWORD32 u4_trailing_ones = u4_total_coeff_trail_one & 0xFFFF; in ih264d_cavlc_4x4res_block_totalcoeff_2to10() local
462 if(u4_trailing_ones) in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
468 UWORD32 u4_signs, u4_cnt = u4_trailing_ones; in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
508 u2_lev_code += (3 == u4_trailing_ones) ? 0 : 2; in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
732 UWORD32 u4_trailing_ones = u4_total_coeff_trail_one & 0xFFFF; in ih264d_cavlc_4x4res_block_totalcoeff_11to16() local
749 if(u4_trailing_ones) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
755 UWORD32 u4_signs, u4_cnt = u4_trailing_ones; in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
784 if(u4_trailing_ones < 3) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
[all …]
/external/libavc/encoder/
Dih264e_cavlc.c250 UWORD32 u4_trailing_ones = 0; in ih264e_write_coeff4x4_cavlc() local
320 u4_trailing_ones = u4_totzero_sign_trailone & 0xFF; in ih264e_write_coeff4x4_cavlc()
323 u4_remaining_coeff = u4_total_coeff - u4_trailing_ones; in ih264e_write_coeff4x4_cavlc()
331 u4_codeword = gu1_code_coeff_token_table_chroma[u4_trailing_ones][u4_total_coeff-1]; in ih264e_write_coeff4x4_cavlc()
332 u4_codesize = gu1_size_coeff_token_table_chroma[u4_trailing_ones][u4_total_coeff-1]; in ih264e_write_coeff4x4_cavlc()
334 DEBUG("\n[%d numcoeff, %d numtrailing ones]",u4_total_coeff, u4_trailing_ones); in ih264e_write_coeff4x4_cavlc()
336 ENTROPY_TRACE("\tnumber of trailing ones ",u4_trailing_ones); in ih264e_write_coeff4x4_cavlc()
345 u4_codeword = ((u4_total_coeff-1) << 2 ) + u4_trailing_ones; in ih264e_write_coeff4x4_cavlc()
355 … u4_codeword = gu1_code_coeff_token_table[u4_vlcnum][u4_trailing_ones][u4_total_coeff-1]; in ih264e_write_coeff4x4_cavlc()
356 … u4_codesize = gu1_size_coeff_token_table[u4_vlcnum][u4_trailing_ones][u4_total_coeff-1]; in ih264e_write_coeff4x4_cavlc()
[all …]