Home
last modified time | relevance | path

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

/external/libavc/encoder/
Dirc_rate_control_api.c146 void irc_initialise_rate_control(rate_control_api_t *ps_rate_control_api, in irc_initialise_rate_control() argument
167 ps_rate_control_api->e_rc_type = e_rate_control_type; in irc_initialise_rate_control()
168 ps_rate_control_api->u1_is_mb_level_rc_on = u1_is_mb_level_rc_on; in irc_initialise_rate_control()
175 ps_rate_control_api->au1_avg_bitrate_changed[i] = 0; in irc_initialise_rate_control()
179 irc_init_pic_handling(ps_rate_control_api->ps_pic_handling, in irc_initialise_rate_control()
185 if(ps_rate_control_api->e_rc_type != CONST_QP) in irc_initialise_rate_control()
192 irc_init_frm_rc_rd_model(ps_rate_control_api->aps_rd_model[i], in irc_initialise_rate_control()
197 if((ps_rate_control_api->e_rc_type == VBR_STORAGE) in irc_initialise_rate_control()
198 || (ps_rate_control_api->e_rc_type in irc_initialise_rate_control()
207 irc_init_vbr_vbv(ps_rate_control_api->ps_vbr_storage_vbv, in irc_initialise_rate_control()
[all …]
Dirc_rate_control_api.h36 void irc_initialise_rate_control(rate_control_handle ps_rate_control_api,
58 void irc_flush_buf_frames(rate_control_handle ps_rate_control_api);
60 void irc_post_encode_frame_skip(rate_control_handle ps_rate_control_api,
85 WORD32 irc_get_prev_frm_est_bits(rate_control_handle ps_rate_control_api);
87 void irc_update_pic_handling_state(rate_control_handle ps_rate_control_api,
90 void irc_update_frame_level_info(rate_control_handle ps_rate_control_api,
108 void irc_init_mb_rc_frame_level(rate_control_handle ps_rate_control_api,
111 void irc_get_mb_level_qp(rate_control_handle ps_rate_control_api,
116 WORD32 irc_get_bits_to_stuff(rate_control_handle ps_rate_control_api,
126 void irc_change_inter_frm_int_call(rate_control_handle ps_rate_control_api,
[all …]
Dih264e_rate_control.c332 WORD32 ih264e_update_rc_framerates(void *ps_rate_control_api, in ih264e_update_rc_framerates() argument
374 irc_change_frm_rate_for_bit_alloc(ps_rate_control_api, i4_avg_frm_rate); in ih264e_update_rc_framerates()
542 WORD32 ih264e_rc_post_enc(void * ps_rate_control_api, in ih264e_rc_post_enc() argument
599 if (irc_get_rc_type(ps_rate_control_api) == CBR_NLDRC) in ih264e_rc_post_enc()
605 ih264e_rc_get_buffer_status(ps_rate_control_api, i4_total_frame_bits, in ih264e_rc_post_enc()
613 irc_post_encode_frame_skip(ps_rate_control_api, (picture_type_e)pe_vop_coding_type[0]); in ih264e_rc_post_enc()
621 irc_force_I_frame(ps_rate_control_api); in ih264e_rc_post_enc()
627 irc_get_buffer_status(ps_rate_control_api, i4_total_frame_bits, in ih264e_rc_post_enc()
643 …i4_cbr_bits_to_stuff = irc_get_bits_to_stuff(ps_rate_control_api, i4_total_frame_bits, pe_vop_codi… in ih264e_rc_post_enc()
678 irc_update_frame_level_info(ps_rate_control_api, /* RC state */ in ih264e_rc_post_enc()
Dih264e_rate_control.h183 WORD32 ih264e_update_rc_framerates(void *ps_rate_control_api,
305 WORD32 ih264e_rc_post_enc(void *ps_rate_control_api,
/external/libhevc/encoder/
Drate_control_api.c222 rate_control_api_t *ps_rate_control_api, in initialise_rate_control() argument
283 ps_rate_control_api->i4_is_hbr = 1; in initialise_rate_control()
287 ps_rate_control_api->i4_is_hbr = 0; in initialise_rate_control()
289 ps_rate_control_api->e_rc_type = e_rate_control_type; in initialise_rate_control()
290 ps_rate_control_api->i4_capped_vbr_flag = i4_capped_vbr_flag; in initialise_rate_control()
291 ps_rate_control_api->u1_is_mb_level_rc_on = u1_is_mb_level_rc_on; in initialise_rate_control()
292 ps_rate_control_api->i4_num_active_pic_type = i4_num_active_pic_type; in initialise_rate_control()
293 ps_rate_control_api->i4_quality_preset = i4_quality_preset; in initialise_rate_control()
294 ps_rate_control_api->i4_scd_I_frame_estimated_tot_bits = 0; in initialise_rate_control()
295 ps_rate_control_api->i4_I_frame_qp_model = 0; in initialise_rate_control()
[all …]
Drate_control_api.h57 rate_control_handle ps_rate_control_api,
101 void flush_buf_frames(rate_control_handle ps_rate_control_api);
103 void post_encode_frame_skip(rate_control_handle ps_rate_control_api, picture_type_e e_pic_type);
121 rate_control_handle ps_rate_control_api,
172 WORD32 get_prev_frm_est_bits(rate_control_handle ps_rate_control_api);
175 rate_control_handle ps_rate_control_api,
180 void rc_reset_pic_model(rate_control_handle ps_rate_control_api, picture_type_e pic_type);
184 rate_control_handle ps_rate_control_api, picture_type_e pic_type);
188 rate_control_handle ps_rate_control_api,
198 void update_pic_handling_state(rate_control_handle ps_rate_control_api, picture_type_e e_pic_type);
[all …]
Dihevce_rc_interface.c258 rate_control_handle ps_rate_control_api; in ihevce_rc_get_num_mem_recs() local
261 rate_control_num_fill_use_free_memtab(&ps_rate_control_api, ps_memtab, GET_NUM_MEMTAB); in ihevce_rc_get_num_mem_recs()
282 rate_control_handle ps_rate_control_api; in ihevce_rc_get_mem_recs() local
320 rate_control_num_fill_use_free_memtab(&ps_rate_control_api, ps_itt_memtab, GET_NUM_MEMTAB); in ihevce_rc_get_mem_recs()
323 rate_control_num_fill_use_free_memtab(&ps_rate_control_api, as_rc_mem_tab, FILL_MEMTAB); in ihevce_rc_get_mem_recs()
363 rate_control_handle ps_rate_control_api; in ihevce_rc_mem_init() local
390 rate_control_num_fill_use_free_memtab(&ps_rate_control_api, ps_itt_memtab, GET_NUM_MEMTAB); in ihevce_rc_mem_init()
393 rate_control_num_fill_use_free_memtab(&ps_rate_control_api, as_rc_mem_tab, FILL_MEMTAB); in ihevce_rc_mem_init()
399 rate_control_num_fill_use_free_memtab(&ps_rate_control_api, as_rc_mem_tab, USE_BASE); in ihevce_rc_mem_init()
402 ps_rate_control_api; /*handle to entire RC structure private to RC library*/ in ihevce_rc_mem_init()