Home
last modified time | relevance | path

Searched refs:LWORD64 (Results 1 – 25 of 68) sorted by relevance

123

/external/libhevc/encoder/
Drc_frame_info_collector.h60 LWORD64 i8_frame_num;
69 LWORD64 i8_cl_sad;
70 LWORD64 i8_tex_bits;
71 LWORD64 i8_header_bits;
72 LWORD64 i8_L1_me_sad;
73 LWORD64 i8_L1_ipe_raw_sad;
74 LWORD64 i8_L1_me_or_ipe_raw_sad;
75 LWORD64 i8_L0_open_cost;
76 LWORD64 i8_est_texture_bits;
80 LWORD64 i8_frame_acc_coarse_me_cost;
[all …]
Drc_look_ahead_params.h47 LWORD64 i8_8x8_var_lum;
83 LWORD64 i8_frame_satd_act_accum;
84 LWORD64 i8_est_I_pic_header_bits;
91 LWORD64 i8_frame_acc_coarse_me_cost;
93 LWORD64 ai8_frame_acc_coarse_me_sad[52];
95 LWORD64 i8_pre_intra_satd;
97 LWORD64 ai8_pre_intra_sad[52];
99 LWORD64 i8_raw_pre_intra_sad;
101 LWORD64 i8_raw_l1_coarse_me_sad;
103 LWORD64 i8_frame_satd_by_act_L1_accum;
[all …]
Dihevce_rc_interface.h109 LWORD64 *pi8_sad_by_qscale,
114 LWORD64 i8_total_ssd_frame,
128 void *pv_ctxt, LWORD64 i8_cur_frm_intra_satd, WORD32 i4_enc_frm_id);
147 LWORD64 i8_satd_by_act_accum,
158 LWORD64 i8_est_L0_satd_act,
162 LWORD64 ihevce_get_L0_satd_based_on_L1(
163 LWORD64 i8_satd_by_act_L1, WORD32 i4_num_pixel, WORD32 i4_cur_q_scale);
172 LWORD64 i8_est_L0_satd_by_act,
173 LWORD64 i8_pre_intra_sad,
174 LWORD64 i8_l1_hme_sad);
[all …]
Dihevce_rc_structs.h98 LWORD64 ai8_L1_prev_I_intra_raw_satd[MAX_PIC_TYPE];
99 LWORD64 ai8_L1_prev_pic_coarse_me_cost[MAX_PIC_TYPE];
100 LWORD64 ai8_L1_prev_pic_coarse_me_sad[MAX_PIC_TYPE];
163 LWORD64 i8_bits_from_finalQP;
231 LWORD64 i8_num_frms_to_encode;
243 LWORD64 i8_num_gop_mem_alloc;
253 LWORD64 i8_est_I_pic_header_bits;
255 LWORD64 ai8_prev_frame_est_L0_satd[MAX_PIC_TYPE];
257 LWORD64 ai8_prev_frame_pre_intra_sad[MAX_PIC_TYPE];
259 LWORD64 ai8_prev_frame_hme_sad[MAX_PIC_TYPE];
[all …]
Dcbr_buffer_control.c68 LWORD64
70 LWORD64 i8_credit_level;
88 LWORD64 i8_tot_frm_to_be_encoded;
89 LWORD64
96 LWORD64 i4_ebf_estimate;
132 (WORD32)(((LWORD64)ps_cbr_buffer->i4_buffer_size >> 4) * UPPER_THRESHOLD_EBF_Q4); in set_upper_lower_vbv_threshold()
185 LWORD64 i8_num_frames_to_encode, in init_cbr_buffer()
242 (((LWORD64)u4_bit_rate * 1000) / i4_tgt_frm_rate) * i8_num_frames_to_encode); in init_cbr_buffer()
522 LWORD64 i8_max_bit_dev_allowed = ps_cbr_buffer->ai4_bit_rate[0]; in update_cbr_buffer()
523 LWORD64 approx_file_size = ps_cbr_buffer->i8_num_frames_encoded * in update_cbr_buffer()
[all …]
Dihevce_enc_structs.h864 LWORD64 i8_best_rdopt_cost;
993 LWORD64 i8_cost;
1139 LWORD64 i8_cl_ssd_lambda_qf;
1141 LWORD64 i8_cl_ssd_type2_lambda_qf;
1148 LWORD64 i8_cl_ssd_lambda_chroma_qf;
1150 LWORD64 i8_cl_ssd_type2_lambda_chroma_qf;
1623 LWORD64 i8_frame_acc_satd_cost;
1626 LWORD64 i8_acc_frame_coarse_me_cost;
1631 LWORD64 i8_acc_frame_coarse_me_sad;
1648 LWORD64 i8_curr_frame_8x8_avg_act[2];
[all …]
Dihevce_stasino_helpers.c144 LWORD64 mean; in ihevce_calc_variance()
237 LWORD64 mean; in ihevce_calc_variance_signed()
238 LWORD64 variance; in ihevce_calc_variance_signed()
239 LWORD64 sum; in ihevce_calc_variance_signed()
240 LWORD64 sq_sum; in ihevce_calc_variance_signed()
322 LWORD64 mean; in ihevce_calc_chroma_variance()
324 LWORD64 sum; in ihevce_calc_chroma_variance()
325 LWORD64 sq_sum; in ihevce_calc_chroma_variance()
361 LWORD64 ihevce_inject_stim_into_distortion( in ihevce_inject_stim_into_distortion()
366 LWORD64 i8_distortion, in ihevce_inject_stim_into_distortion()
[all …]
Dia_basic_ops40.h235 LWORD64 temp_result; in mult32x16in32_shl()
237 temp_result = (LWORD64)a * (LWORD64)b; in mult32x16in32_shl()
274 LWORD64 temp_result; in mult32x16in32()
276 temp_result = (LWORD64)a * (LWORD64)b; in mult32x16in32()
359 LWORD64 temp_result; in mult32_shl()
361 temp_result = (LWORD64)a * (LWORD64)b; in mult32_shl()
397 LWORD64 temp_result; in mult32()
399 temp_result = (LWORD64)a * (LWORD64)b; in mult32()
Dihevce_enc_loop_structs.h242 LWORD64 *pi8_cost);
565 LWORD64 i8_cu_ssd;
672 LWORD64 i8_best_rdopt_cost;
677 LWORD64 i8_curr_rdopt_cost;
679 LWORD64 i8_best_distortion;
1198 LWORD64 i8_frame_open_loop_ssd;
1228 LWORD64 i8_frame_cost_acc;
1233 LWORD64 i8_frame_inter_cost_acc;
1238 LWORD64 i8_frame_intra_cost_acc;
1264 LWORD64 i8_sad_by_qscale[2];
[all …]
Dihevce_ipe_structs.h374 LWORD64 i8_curr_frame_8x8_avg_act[2];
379 LWORD64 i8_curr_frame_16x16_avg_act[3];
384 LWORD64 i8_curr_frame_32x32_avg_act[3];
387 LWORD64 i8_frame_acc_satd_cost;
390 LWORD64 i8_frame_acc_satd;
393 LWORD64 i8_frame_acc_act_factor;
396 LWORD64 i8_frame_acc_mode_bits_cost;
402 LWORD64 i8_frame_acc_satd_by_modqp_q10;
461 LWORD64 i8_curr_frame_avg_mean_act;
Dihevce_enc_loop_utils.h56 LWORD64 temp3_m; \
57 LWORD64 temp; \
61 ((((LWORD64)(temp3_m) + ((LWORD64)CABAC_FRAC_BITS_Q_SHIFT << LAMDA_Q_SHIFT_FACT)) / \
161 LWORD64 *pi8_cost,
224 LWORD64 ihevce_intra_rdopt_cu_ntu(
243 LWORD64 ihevce_inter_rdopt_cu_ntu(
256 LWORD64 ihevce_inter_tu_tree_selector_and_rdopt_cost_computer(
269 LWORD64 ihevce_inter_rdopt_cu_mc_mvp(
289 LWORD64 ihevce_chroma_cu_prcs_rdopt(
381 LWORD64 ihevce_it_recon_ssd(
[all …]
Drate_control_api.h83 LWORD64 i8_num_frames_to_encode,
89 LWORD64 i8_num_gop_mem_alloc,
124 LWORD64 *pi8_bits_from_finalQP,
200 LWORD64 get_gop_sad(rate_control_handle ps_rate_control_api);
202 LWORD64 get_gop_bits(rate_control_handle ps_rate_control_api);
210 LWORD64 *pi8_mb_type_sad, /* Frame level SAD for each type of MB[Intra/Inter] */
215 LWORD64 *pi8_tot_mb_type_qp, /* Total qp of all MBs based on mb type */
260 LWORD64 i8_satd_act_accum,
276 LWORD64 *pi8_i_tex_bits,
295 LWORD64 i8_satd_by_act_accum,
[all …]
Dihevce_ipe_pass.h165 LWORD64 ihevce_ipe_get_frame_intra_satd_cost(
167 LWORD64 *pi8_frame_satd_by_qpmod,
168 LWORD64 *pi8_frame_acc_mode_bits_cost,
169 LWORD64 *pi8_frame_acc_activity_factor,
170 LWORD64 *pi8_frame_l0_acc_satd);
Dbit_allocation.c119 LWORD64 i8_cur_gop_num;
120 LWORD64
123 LWORD64 i8_cur_gop_bit_consumption; /*To calculate the deviaiton in 2 pass*/
125 LWORD64
133 LWORD64 i8_total_bits_allocated;
137 LWORD64 i8_current_bitrate_2_pass;
154 LWORD64 i8_first_pic_bits_pictype[MAX_PIC_TYPE];
155 LWORD64 i8_avg_bits_pictype[MAX_PIC_TYPE];
162 LWORD64 i8_bit_consumption_so_far;
164 LWORD64 i8_2pass_avg_bit_rate;
[all …]
Dihevce_stasino_helpers.h113 LWORD64 ihevce_inject_stim_into_distortion(
118 LWORD64 i8_distortion,
156 LWORD64 ihevce_psy_rd_cost_croma(
157 LWORD64 *pui4_source_satd,
172 LWORD64 ihevce_psy_rd_cost(
173 LWORD64 *pui4_source_satd,
Dihevce_coarse_me_pass.h215 LWORD64 *i8_acc_frame_hme_cost,
216 LWORD64 *i8_acc_frame_hme_sad,
217 LWORD64 *i8_acc_num_blks_higher_sad,
218 LWORD64 *i8_total_blks,
Dihevce_lap_enc_structs.h430 LWORD64 i8_curr_frame_8x8_avg_act[2];
431 LWORD64 i8_curr_frame_16x16_avg_act[3];
432 LWORD64 i8_curr_frame_32x32_avg_act[3];
443 LWORD64 i8_frame_l0_acc_satd;
446 LWORD64 i8_frame_level_activity_fact;
Dihevce_tu_tree_selector.h93 extern LWORD64 ihevce_tu_tree_selector(
108 extern LWORD64 ihevce_topDown_tu_tree_selector(
127 LWORD64 *pi8_total_cost,
128 LWORD64 *pi8_total_non_coded_cost,
Dbit_allocation.h75 LWORD64 ba_get_rbip_and_num_frames(
125 LWORD64 ba_get_buffer_play_bits_for_cur_gop(bit_allocation_handle ps_bit_allocation);
126 LWORD64 ba_get_gop_bits(bit_allocation_handle ps_bit_allocation);
127 LWORD64 ba_get_gop_sad(bit_allocation_handle ps_bit_allocation);
262 LWORD64 i8_tot_bits_sequence,
265 LWORD64 bit_alloc_get_gop_num(bit_allocation_handle ps_bit_allocation);
330 bit_allocation_handle ps_bit_allocation, LWORD64 i8_2pass_avg_bit_rate);
Drate_control_api.c248 LWORD64 i8_num_frames_to_encode, in initialise_rate_control()
254 LWORD64 i8_num_gop_mem_alloc, in initialise_rate_control()
775 prev_qp_q6 = (ps_rate_control_api->i4_P_to_I_ratio * (LWORD64)prev_qp_q6) >> in get_min_max_qp()
781 prev_qp_q6 = (I_TO_P_RATIO * (LWORD64)prev_qp_q6) >> K_Q; in get_min_max_qp()
790 prev_qp_q6 = (P_TO_B_RATIO * (LWORD64)prev_qp_q6) >> (K_Q); in get_min_max_qp()
794 prev_qp_q6 = (P_TO_B_RATIO_HBR * (LWORD64)prev_qp_q6) >> (K_Q); in get_min_max_qp()
803 prev_qp_q6 = (P_TO_B_RATIO * I_TO_P_RATIO * (LWORD64)prev_qp_q6) >> (K_Q + K_Q); in get_min_max_qp()
807 prev_qp_q6 = (P_TO_B_RATIO_HBR * I_TO_P_RATIO * (LWORD64)prev_qp_q6) >> (K_Q + K_Q); in get_min_max_qp()
840 hi_dev_qp_q6 = ((LWORD64)hi_dev_qp_q6 * 18) >> 4; in get_min_max_qp()
845 lo_dev_qp_q6 = ((LWORD64)lo_dev_qp_q6 * 14) >> 4; in get_min_max_qp()
[all …]
Dihevce_rc_interface.c1227 LWORD64 i8_average_pre_intra_sad = 0, i8_average_est_l0_satd_by_act = 0; in ihevce_rc_get_bpp_based_frame_qp()
1688 LWORD64 i8_est_L0_satd_act, in ihevce_get_L0_est_satd_based_scd_qp()
1971 LWORD64 ihevce_get_L0_satd_based_on_L1( in ihevce_get_L0_satd_based_on_L1()
1972 LWORD64 i8_satd_by_act_L1, WORD32 i4_num_pixel, WORD32 i4_cur_q_scale) in ihevce_get_L0_satd_based_on_L1()
1974 LWORD64 est_L0_satd_by_act; in ihevce_get_L0_satd_based_on_L1()
1998 est_L0_satd_by_act = (LWORD64)(i8_satd_by_act_L1 / i4_cur_q_scale * m + c) * i4_cur_q_scale; in ihevce_get_L0_satd_based_on_L1()
2025 LWORD64 i8_est_L0_satd_by_act, in ihevce_rc_register_L1_analysis_data()
2026 LWORD64 i8_pre_intra_sad, in ihevce_rc_register_L1_analysis_data()
2027 LWORD64 i8_l1_hme_sad) in ihevce_rc_register_L1_analysis_data()
2298 LWORD64 i8_l1_analysis_lap_comp = 0; in ihevce_rc_get_pic_quant()
[all …]
Dihevce_sub_pic_rc.c212 LWORD64 i8_nctb_l1_me_sad = 0, i8_nctb_l1_ipe_sad = 0; in ihevce_sub_pic_rc_in_data()
213 LWORD64 i8_nctb_l0_ipe_satd = 0, i8_nctb_l1_activity_fact = 0; in ihevce_sub_pic_rc_in_data()
214 LWORD64 i8_nctb_hdr_bits_consumed = 0, i8_nctb_l0_mpm_bits = 0; in ihevce_sub_pic_rc_in_data()
215 LWORD64 i8_nctb_bits_consumed = 0, i8_acc_bits_consumed = 0, in ihevce_sub_pic_rc_in_data()
217 LWORD64 i8_frame_l1_ipe_sad, i8_frame_l0_ipe_satd, i8_frame_l1_me_sad; in ihevce_sub_pic_rc_in_data()
218 LWORD64 i8_frame_l1_activity_fact, i8_frame_bits_estimated; in ihevce_sub_pic_rc_in_data()
/external/libhevc/common/
Dihevc_trans_macros.h39LWORD64 tmp; …
53 …tmp = (LWORD64)(abs(inp)); …
55 …tmp = tmp + (((LWORD64)q_add) << (q_bits - QUANT_ROUND_FACTOR_Q)); …
64LWORD64 tmp; …
78 …tmp = (LWORD64)(abs(inp)); …
80 …tmp = tmp + (((LWORD64)q_add) << (q_bits - QUANT_ROUND_FACTOR_Q)); …
Dihevc_typedefs.h58 typedef signed long long LWORD64; typedef
62 typedef __int64 LWORD64; typedef
/external/libhevc/common/x86/
Dihevc_deblk_ssse3_intr.c253 LWORD64 mask, tc2; in ihevc_deblk_luma_vert_ssse3()
255 mask = (((LWORD64)filter_flag_q) << 63) | (((LWORD64)filter_flag_p) << 31); in ihevc_deblk_luma_vert_ssse3()
256 tc2 = ((LWORD64)tc); in ihevc_deblk_luma_vert_ssse3()
392 LWORD64 mask1; in ihevc_deblk_luma_vert_ssse3()
393 …mask1 = (((LWORD64)(filter_flag_q & deq)) << 63) | (((LWORD64)filter_flag_q) << 47) | (((LWORD64)f… in ihevc_deblk_luma_vert_ssse3()
709 LWORD64 mask, tc2; in ihevc_deblk_luma_horz_ssse3()
711 mask = (((LWORD64)filter_flag_q) << 63) | (((LWORD64)filter_flag_p) << 31); in ihevc_deblk_luma_horz_ssse3()
712 tc2 = ((LWORD64)tc); in ihevc_deblk_luma_horz_ssse3()
831 LWORD64 maskp0, maskp1, maskq0, maskq1; in ihevc_deblk_luma_horz_ssse3()
832 maskp0 = (LWORD64)filter_flag_p; in ihevc_deblk_luma_horz_ssse3()
[all …]

123