Home
last modified time | relevance | path

Searched refs:scan_pos (Results 1 – 3 of 3) sorted by relevance

/external/libhevc/encoder/
Dihevce_cabac_tu.c1307 WORD32 scan_pos; in ihevce_cabac_residue_encode() local
1318 scan_pos = 15; in ihevce_cabac_residue_encode()
1327 scan_pos = WORD_SIZE - next_sig; in ihevce_cabac_residue_encode()
1330 EXTRACT_BIT(bit, gt1_flags, scan_pos); in ihevce_cabac_residue_encode()
1336 EXTRACT_BIT(bit, sign_flags, scan_pos); in ihevce_cabac_residue_encode()
1341 sig_coeff_map = CLEAR_BIT(sig_coeff_map, scan_pos); in ihevce_cabac_residue_encode()
1344 last_scan_pos = scan_pos; in ihevce_cabac_residue_encode()
1346 scan_pos--; in ihevce_cabac_residue_encode()
1354 while(scan_pos >= 0) in ihevce_cabac_residue_encode()
1361 EXTRACT_BIT(sig_coeff, sig_coeff_map, scan_pos); in ihevce_cabac_residue_encode()
[all …]
Dihevce_enc_loop_utils.c1522 WORD32 scan_pos; in ihevce_quant_rounding_factor_gen() local
1618 for(scan_pos = 0; scan_pos < 16; scan_pos++) in ihevce_quant_rounding_factor_gen()
1620 *(pi4_quant_round_1_2 + scan_pos) = temp2; in ihevce_quant_rounding_factor_gen()
1623 for(scan_pos = 0; scan_pos < 16; scan_pos++) in ihevce_quant_rounding_factor_gen()
1627 UWORD8 y_pos_x_pos = scan_pos; //gu1_hevce_scan4x4[i4_scan_idx][scan_pos]; in ihevce_quant_rounding_factor_gen()
1647 *(pi4_quant_round_0_1 + scan_pos) = temp2; in ihevce_quant_rounding_factor_gen()
1686 for(scan_pos = 0; scan_pos < (16 * (i4_trans_size * i4_trans_size >> 4)); scan_pos++) in ihevce_quant_rounding_factor_gen()
1688 *(pi4_quant_round_1_2 + scan_pos) = temp2; in ihevce_quant_rounding_factor_gen()
1710 for(scan_pos = 0; scan_pos < 16; scan_pos++) in ihevce_quant_rounding_factor_gen()
1712 *(pi4_quant_round_1_2 + ((scan_pos % 4) + ((scan_pos >> 2) * i4_trans_size))) = temp2; in ihevce_quant_rounding_factor_gen()
[all …]
/external/libhevc/decoder/
Dihevcd_parse_residual.c367 WORD32 scan_pos; in ihevcd_parse_residual_coding() local
375 scan_pos = ((last_significant_coeff_y >> 2) * scan_mat_size) + in ihevcd_parse_residual_coding()
378 last_sub_blk = pu1_scan_blk[scan_pos]; in ihevcd_parse_residual_coding()
383 WORD32 scan_pos; in ihevcd_parse_residual_coding() local
385 scan_pos = ((last_significant_coeff_y & 3) << 2) + in ihevcd_parse_residual_coding()
388 last_scan_pos = pu1_scan_coeff[scan_pos]; in ihevcd_parse_residual_coding()