Home
last modified time | relevance | path

Searched refs:ps_rate_control_api (Results 1 – 11 of 11) 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()
/external/libavc/encoder/svc/
Dirc_svc_rate_control_api.c61 UWORD8 irc_get_frame_level_init_qp(rate_control_handle *ps_rate_control_api, rc_type_e e_rc_type, in irc_get_frame_level_init_qp() argument
67 ((rate_control_api_t *) (ps_rate_control_api))->au1_min_max_avc_qp[(e_pic_type << 1)]; in irc_get_frame_level_init_qp()
69 ((rate_control_api_t *) (ps_rate_control_api))->au1_min_max_avc_qp[(e_pic_type << 1) + 1]; in irc_get_frame_level_init_qp()
99 void irc_change_qp_constraints(rate_control_api_t *ps_rate_control_api, UWORD8 *pu1_min_max_qp, in irc_change_qp_constraints() argument
106 ps_rate_control_api->au1_min_max_qp[(i << 1)] = pu1_min_max_qp[(i << 1)]; in irc_change_qp_constraints()
107 ps_rate_control_api->au1_min_max_qp[(i << 1) + 1] = pu1_min_max_qp[(i << 1) + 1]; in irc_change_qp_constraints()
108 ps_rate_control_api->au1_min_max_avc_qp[(i << 1)] = pu1_min_max_avc_qp[(i << 1)]; in irc_change_qp_constraints()
109 ps_rate_control_api->au1_min_max_avc_qp[(i << 1) + 1] = pu1_min_max_avc_qp[(i << 1) + 1]; in irc_change_qp_constraints()
113 UWORD8 irc_is_scenecut(rate_control_api_t *ps_rate_control_api) in irc_is_scenecut() argument
115 return ((rate_control_api_t *) (ps_rate_control_api))->u1_scd_detected; in irc_is_scenecut()
Disvce_rate_control.c296 WORD32 isvce_update_rc_framerates(void *ps_rate_control_api, void *ps_pd_frm_rate, in isvce_update_rc_framerates() argument
333 irc_change_frm_rate_for_bit_alloc(ps_rate_control_api, i4_avg_frm_rate); in isvce_update_rc_framerates()
497 WORD32 isvce_rc_post_enc(void *ps_rate_control_api, frame_info_t *ps_frame_info, in isvce_rc_post_enc() argument
553 if(irc_get_rc_type(ps_rate_control_api) == CBR_NLDRC) in isvce_rc_post_enc()
559 isvce_rc_get_buffer_status(ps_rate_control_api, i4_total_frame_bits, pe_vop_coding_type[0], in isvce_rc_post_enc()
569 irc_post_encode_frame_skip(ps_rate_control_api, (picture_type_e) pe_vop_coding_type[0]); in isvce_rc_post_enc()
576 if(*pe_vop_coding_type == I_PIC) irc_force_I_frame(ps_rate_control_api); in isvce_rc_post_enc()
583 irc_get_buffer_status(ps_rate_control_api, i4_total_frame_bits, in isvce_rc_post_enc()
613 irc_get_buffer_status(ps_rate_control_api, i4_total_frame_bits, in isvce_rc_post_enc()
631 i4_cbr_bits_to_stuff = irc_get_bits_to_stuff(ps_rate_control_api, i4_total_frame_bits, in isvce_rc_post_enc()
[all …]
Dirc_svc_rate_control_api.h38 UWORD8 irc_get_frame_level_init_qp(rate_control_api_t *ps_rate_control_api, rc_type_e e_rc_type,
41 void irc_change_qp_constraints(rate_control_api_t *ps_rate_control_api, UWORD8 *pu1_min_max_qp,
44 extern UWORD8 irc_is_scenecut(rate_control_api_t *ps_rate_control_api);
Disvce_rate_control.h174 WORD32 isvce_update_rc_framerates(void *ps_rate_control_api, void *ps_pd_frm_rate,
292 WORD32 isvce_rc_post_enc(void *ps_rate_control_api, frame_info_t *ps_frame_info,
299 WORD32 isvce_rc_post_enc(void *ps_rate_control_api, frame_info_t *ps_frame_info,