Home
last modified time | relevance | path

Searched refs:ps_bit_allocation (Results 1 – 8 of 8) sorted by relevance

/external/libhevc/encoder/
Dbit_allocation.c181 float get_cur_peak_factor_2pass(bit_allocation_t *ps_bit_allocation) in get_cur_peak_factor_2pass() argument
183 return (ps_bit_allocation->f_cur_peak_factor_2pass); in get_cur_peak_factor_2pass()
185 float get_cur_min_complexity_factor_2pass(bit_allocation_t *ps_bit_allocation) in get_cur_min_complexity_factor_2pass() argument
187 return (ps_bit_allocation->f_min_complexity_cross_peak_rate); in get_cur_min_complexity_factor_2pass()
189 void set_2pass_total_gops(bit_allocation_t *ps_bit_allocation, WORD32 i4_num_gop) in set_2pass_total_gops() argument
191 ps_bit_allocation->i4_num_gop = i4_num_gop; in set_2pass_total_gops()
411 bit_allocation_t *ps_bit_allocation, in get_bits_based_on_complexity() argument
421 WORD32 i4_num_scd_in_LAP_window = ps_bit_allocation->i4_num_scd_in_lap_window; in get_bits_based_on_complexity()
422 WORD32 i4_active_pic_types = ps_bit_allocation->i4_num_active_pic_type, in get_bits_based_on_complexity()
423 i4_field_pic = ps_bit_allocation->i4_field_pic; in get_bits_based_on_complexity()
[all …]
Dbit_allocation.h59 bit_allocation_handle ps_bit_allocation,
76 bit_allocation_handle ps_bit_allocation,
80 bit_allocation_handle ps_bit_allocation, float af_sum_weigh[MAX_PIC_TYPE][3]);
83 bit_allocation_handle ps_bit_allocation, pic_handling_handle ps_pic_handling);
86 bit_allocation_handle ps_bit_allocation,
99 bit_allocation_handle ps_bit_allocation,
112 get_cur_frm_est_header_bits(bit_allocation_handle ps_bit_allocation, picture_type_e e_pic_type);
116 bit_allocation_handle ps_bit_allocation, pic_handling_handle ps_pic_handling);
118 WORD32 ba_get_frame_rate(bit_allocation_handle ps_bit_allocation);
120 WORD32 get_bits_per_frame(bit_allocation_handle ps_bit_allocation);
[all …]
Drate_control_api.c169 &pps_rate_control_api[0]->ps_bit_allocation, &ps_memtab[i4_mem_tab_idx], e_func_type); in rate_control_num_fill_use_free_memtab()
443 ps_rate_control_api->ps_bit_allocation, in initialise_rate_control()
462 ps_rate_control_api->ps_bit_allocation, in initialise_rate_control()
997 return (get_cur_frm_est_header_bits(ps_rate_control_api->ps_bit_allocation, e_pic_type)); in get_est_hdr_bits()
1032 WORD32 Kp_kb_factor = get_Kp_Kb(ps_rate_control_api->ps_bit_allocation, e_pic_type); in clip_qp_based_on_prev_ref()
1034 get_Kp_Kb(ps_rate_control_api->ps_bit_allocation, ps_rate_control_api->prev_ref_pic_type); in clip_qp_based_on_prev_ref()
1179 assign_complexity_coeffs(ps_rate_control_api->ps_bit_allocation, af_sum_weigh); in get_frame_level_qp()
1190 get_cur_frm_est_header_bits(ps_rate_control_api->ps_bit_allocation, e_pic_type); in get_frame_level_qp()
1200 ps_rate_control_api->ps_bit_allocation, in get_frame_level_qp()
1240 ps_rate_control_api->ps_bit_allocation, in get_frame_level_qp()
[all …]
Drate_control_api_structs.h60 bit_allocation_handle ps_bit_allocation; /* Allocation of bits for each frame */ member
/external/libavc/encoder/
Dirc_bit_allocation.c284 void irc_ba_init_bit_allocation(bit_allocation_t *ps_bit_allocation, in irc_ba_init_bit_allocation() argument
303 ps_bit_allocation->i4_bits_per_frm = i4_bits_per_frm; in irc_ba_init_bit_allocation()
306 ps_bit_allocation->i4_max_bits_per_frm[i] = i4_max_bits_per_frm[i]; in irc_ba_init_bit_allocation()
309 ps_bit_allocation->i4_min_bits_per_frm); in irc_ba_init_bit_allocation()
316 init_rbip(&ps_bit_allocation->s_rbip, ps_pic_handling, i4_bits_per_frm, in irc_ba_init_bit_allocation()
320 ps_bit_allocation->i4_num_gops_in_period = i4_num_intra_frm_interval; in irc_ba_init_bit_allocation()
321 ps_bit_allocation->i4_actual_num_gops_in_period = i4_num_intra_frm_interval; in irc_ba_init_bit_allocation()
324 ps_bit_allocation->i2_K[I_PIC] = (1 << K_Q); in irc_ba_init_bit_allocation()
325 ps_bit_allocation->i2_K[P_PIC] = I_TO_P_RATIO; in irc_ba_init_bit_allocation()
326 ps_bit_allocation->i2_K[B_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in irc_ba_init_bit_allocation()
[all …]
Dirc_bit_allocation.h30 void irc_ba_init_bit_allocation(bit_allocation_handle ps_bit_allocation,
39 WORD32 irc_ba_get_cur_frm_est_texture_bits(bit_allocation_handle ps_bit_allocation,
46 WORD32 irc_ba_get_cur_frm_est_header_bits(bit_allocation_handle ps_bit_allocation,
50 WORD32 irc_ba_get_rem_bits_in_period(bit_allocation_handle ps_bit_allocation,
53 WORD32 irc_ba_get_frame_rate(bit_allocation_handle ps_bit_allocation);
55 WORD32 irc_ba_get_bit_rate(bit_allocation_handle ps_bit_allocation);
56 void irc_ba_get_peak_bit_rate(bit_allocation_handle ps_bit_allocation,
60 void irc_ba_update_cur_frm_consumed_bits(bit_allocation_handle ps_bit_allocation,
68 void irc_ba_check_and_update_bit_allocation(bit_allocation_handle ps_bit_allocation,
76 void irc_ba_change_remaining_bits_in_period(bit_allocation_handle ps_bit_allocation,
[all …]
Dirc_rate_control_api.c101 &pps_rate_control_api[0]->ps_bit_allocation, in irc_rate_control_num_fill_use_free_memtab()
256 irc_ba_init_bit_allocation(ps_rate_control_api->ps_bit_allocation, in irc_initialise_rate_control()
265 irc_ba_init_bit_allocation(ps_rate_control_api->ps_bit_allocation, in irc_initialise_rate_control()
410 ps_rate_control_api->ps_bit_allocation, in irc_get_frame_level_qp()
418 ps_rate_control_api->ps_bit_allocation, in irc_get_frame_level_qp()
425 ps_rate_control_api->ps_bit_allocation, e_pic_type); in irc_get_frame_level_qp()
818 ps_rate_control_api->ps_bit_allocation, in irc_update_frame_level_info()
829 ps_rate_control_api->ps_bit_allocation, in irc_update_frame_level_info()
885 ps_rate_control_api->ps_bit_allocation, in irc_update_frame_level_info()
1197 ps_rate_control_api->ps_bit_allocation, in irc_change_avg_bit_rate()
[all …]
Dirc_rate_control_api_structs.h55 bit_allocation_handle ps_bit_allocation; member