Home
last modified time | relevance | path

Searched refs:i4_value (Results 1 – 7 of 7) sorted by relevance

/external/libhevc/test/encoder/
Dmain.c260 WORD32 i4_value = 0; in parse_argument() local
283 sscanf(value, "%d", &i4_value); in parse_argument()
284 if(i4_value < 0) in parse_argument()
287 ps_static_prms->s_config_prms.i4_num_frms_to_encode = i4_value; in parse_argument()
291 sscanf(value, "%d", &i4_value); in parse_argument()
292 ps_static_prms->i4_log_dump_level = i4_value; in parse_argument()
295 sscanf(value, "%d", &i4_value); in parse_argument()
296 ps_static_prms->s_src_prms.i4_width = i4_value; in parse_argument()
300 sscanf(value, "%d", &i4_value); in parse_argument()
301 ps_static_prms->s_src_prms.i4_height = i4_value; in parse_argument()
[all …]
/external/libavc/common/
Dih264_resi_trans_quant.c126 WORD32 i4_value, i4_sign; in ih264_resi_trans_quant_4x4() local
174 i4_value = x0 + x1; in ih264_resi_trans_quant_4x4()
178 (*pi2_alt_dc_addr) = i4_value; in ih264_resi_trans_quant_4x4()
181 …FWD_QUANT(i4_value, u4_abs_value, i4_sign, pu2_threshold_matrix[0], pu2_scale_matrix[0], u4_round_… in ih264_resi_trans_quant_4x4()
182 pi2_out_tmp[0] = i4_value; in ih264_resi_trans_quant_4x4()
185 i4_value = (x3 << 1) + x2; in ih264_resi_trans_quant_4x4()
186 …FWD_QUANT(i4_value, u4_abs_value, i4_sign, pu2_threshold_matrix[4], pu2_scale_matrix[4], u4_round_… in ih264_resi_trans_quant_4x4()
187 pi2_out_tmp[4] = i4_value; in ih264_resi_trans_quant_4x4()
190 i4_value = x0 - x1; in ih264_resi_trans_quant_4x4()
191 …FWD_QUANT(i4_value, u4_abs_value, i4_sign, pu2_threshold_matrix[8], pu2_scale_matrix[8], u4_round_… in ih264_resi_trans_quant_4x4()
[all …]
Dih264_trans_macros.h54 #define FWD_QUANT(i4_value, u4_abs_value, i4_sign, threshold, scale, rndfactor, qbits, u4_nnz) … argument
56 if (i4_value < 0)\
58 u4_abs_value = -i4_value;\
63 u4_abs_value = i4_value;\
68 i4_value = 0;\
75 i4_value = u4_abs_value * i4_sign;\
76 if (i4_value)\
98 #define INV_QUANT(i4_value, quant_scale, weight_scale, u4_qp_div_6, rndfactor, qbits)\ argument
100 i4_value *= quant_scale;\
101 i4_value *= weight_scale;\
[all …]
/external/libhevc/decoder/
Dihevcd_parse_slice_header.c222 WORD32 i4_value; in ihevcd_parse_slice_header() local
689 SEV_PARSE("slice_qp_delta", i4_value, ps_bitstrm); in ihevcd_parse_slice_header()
690 if((i4_value < (MIN_HEVC_QP - ps_pps->i1_pic_init_qp)) || in ihevcd_parse_slice_header()
691 (i4_value > (MAX_HEVC_QP - ps_pps->i1_pic_init_qp))) in ihevcd_parse_slice_header()
695 ps_slice_hdr->i1_slice_qp_delta = i4_value; in ihevcd_parse_slice_header()
699 SEV_PARSE("slice_cb_qp_offset", i4_value, ps_bitstrm); in ihevcd_parse_slice_header()
700 if(i4_value < -12 || i4_value > 12) in ihevcd_parse_slice_header()
704 ps_slice_hdr->i1_slice_cb_qp_offset = i4_value; in ihevcd_parse_slice_header()
706 SEV_PARSE("slice_cr_qp_offset", i4_value, ps_bitstrm); in ihevcd_parse_slice_header()
707 if(i4_value < -12 || i4_value > 12) in ihevcd_parse_slice_header()
[all …]
Dihevcd_parse_headers.c2045 WORD32 i4_value; in ihevcd_parse_pps() local
2125 SEV_PARSE("pic_init_qp_minus26", i4_value, ps_bitstrm); in ihevcd_parse_pps()
2126 if(i4_value < -26 || i4_value > 25) in ihevcd_parse_pps()
2130 ps_pps->i1_pic_init_qp = i4_value + 26; in ihevcd_parse_pps()
2156 SEV_PARSE("cb_qp_offset", i4_value, ps_bitstrm); in ihevcd_parse_pps()
2157 if(i4_value < -12 || i4_value > 12) in ihevcd_parse_pps()
2161 ps_pps->i1_pic_cb_qp_offset = i4_value; in ihevcd_parse_pps()
2164 SEV_PARSE("cr_qp_offset", i4_value, ps_bitstrm); in ihevcd_parse_pps()
2165 if(i4_value < -12 || i4_value > 12) in ihevcd_parse_pps()
2169 ps_pps->i1_pic_cr_qp_offset = i4_value; in ihevcd_parse_pps()
[all …]
/external/libhevc/encoder/
Dihevce_tile_interface.c230 WORD32 i4_value = 0; in ihevce_update_tile_params() local
234 i4_value = ((i4_i + 1) * i4_pic_wd_in_ctb) / i4_num_tile_cols - in ihevce_update_tile_params()
241 ps_tile_params->i4_curr_tile_width = (i4_value << i4_max_log2_cu_size); in ihevce_update_tile_params()
253 i4_start += i4_value; in ihevce_update_tile_params()
260 i4_value = ((i4_i + 1) * i4_pic_ht_in_ctb) / i4_num_tile_rows - in ihevce_update_tile_params()
267 ps_tile_params->i4_curr_tile_height = (i4_value << i4_max_log2_cu_size); in ihevce_update_tile_params()
279 i4_start += i4_value; in ihevce_update_tile_params()
/external/libavc/common/arm/
Dih264_resi_trans_quant_a9.s519 vshrn.s32 d0, q0, #1 @i4_value = (x0 + x1) >> 1;
520 vshrn.s32 d1, q1, #1 @i4_value = (x3 + x2) >> 1;
521 vshrn.s32 d2, q2, #1 @i4_value = (x0 - x1) >> 1;
522 vshrn.s32 d3, q3, #1 @i4_value = (x3 - x2) >> 1;