Lines Matching refs:u4_lev_prefix
338 UWORD32 u4_lev_prefix; in ih264d_cavlc_4x4res_block_totalcoeff_1() local
342 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_cavlc_4x4res_block_totalcoeff_1()
344 u2_lev_code = (2 + MIN(u4_lev_prefix, 15)); in ih264d_cavlc_4x4res_block_totalcoeff_1()
346 if(14 == u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_1()
348 else if(15 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_1()
351 u4_lev_suffix_size = u4_lev_prefix - 3; in ih264d_cavlc_4x4res_block_totalcoeff_1()
357 if(16 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_1()
359 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_cavlc_4x4res_block_totalcoeff_1()
492 UWORD32 u4_lev_prefix; in ih264d_cavlc_4x4res_block_totalcoeff_2to10() local
497 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
503 u2_lev_code = MIN(15, u4_lev_prefix); in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
507 if(14 == u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
509 else if(15 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
512 u4_lev_suffix_size = u4_lev_prefix - 3; in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
518 if(16 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
520 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
546 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
550 (15 <= u4_lev_prefix) ? in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
551 (u4_lev_prefix - 3) : u4_suffix_len; in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
558 u2_lev_code = (MIN(15,u4_lev_prefix) << u4_suffix_len) in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
562 if(16 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
564 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
773 UWORD32 u4_lev_prefix; in ih264d_cavlc_4x4res_block_totalcoeff_11to16() local
783 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
787 (15 <= u4_lev_prefix) ? (u4_lev_prefix - 3) : 1; in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
791 u2_lev_code = 2 + (MIN(u4_lev_prefix,15) << 1) + u4_lev_suffix; in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
794 if(16 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
796 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
807 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
813 u2_lev_code = MIN(15, u4_lev_prefix); in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
817 if(14 == u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
819 else if(15 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
822 u4_lev_suffix_size = (u4_lev_prefix - 3); in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
828 if(16 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
830 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
857 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
861 (15 <= u4_lev_prefix) ? in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
862 (u4_lev_prefix - 3) : u4_suffix_len; in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
869 u2_lev_code = (MIN(15,u4_lev_prefix) << u4_suffix_len) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
873 if(16 <= u4_lev_prefix) in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
875 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
1049 UWORD32 u4_lev_prefix; in ih264d_rest_of_residual_cav_chroma_dc_block() local
1054 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_rest_of_residual_cav_chroma_dc_block()
1060 u2_lev_code = MIN(15, u4_lev_prefix); in ih264d_rest_of_residual_cav_chroma_dc_block()
1064 if(14 == u4_lev_prefix) in ih264d_rest_of_residual_cav_chroma_dc_block()
1066 else if(15 <= u4_lev_prefix) in ih264d_rest_of_residual_cav_chroma_dc_block()
1069 u4_lev_suffix_size = u4_lev_prefix - 3; in ih264d_rest_of_residual_cav_chroma_dc_block()
1075 if(16 <= u4_lev_prefix) in ih264d_rest_of_residual_cav_chroma_dc_block()
1077 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_rest_of_residual_cav_chroma_dc_block()
1103 FIND_ONE_IN_STREAM_32(u4_lev_prefix, u4_bitstream_offset, in ih264d_rest_of_residual_cav_chroma_dc_block()
1107 (15 <= u4_lev_prefix) ? in ih264d_rest_of_residual_cav_chroma_dc_block()
1108 (u4_lev_prefix - 3) : u4_suffix_len; in ih264d_rest_of_residual_cav_chroma_dc_block()
1115 u2_lev_code = (MIN(u4_lev_prefix,15) << u4_suffix_len) in ih264d_rest_of_residual_cav_chroma_dc_block()
1119 if(16 <= u4_lev_prefix) in ih264d_rest_of_residual_cav_chroma_dc_block()
1121 u2_lev_code += ((1 << (u4_lev_prefix - 3)) - 4096); in ih264d_rest_of_residual_cav_chroma_dc_block()