/external/libavc/encoder/ |
D | irc_picture_type.c | 211 static void irc_update_pic_distbn(pic_handling_t *ps_pic_handling, 254 void irc_init_pic_handling(pic_handling_t *ps_pic_handling, in irc_init_pic_handling() argument 265 ps_pic_handling->i4_intra_frm_int = i4_intra_frm_int; in irc_init_pic_handling() 266 ps_pic_handling->i4_inter_frm_int = i4_inter_frm_int; in irc_init_pic_handling() 267 ps_pic_handling->i4_max_inter_frm_int = i4_max_inter_frm_int; in irc_init_pic_handling() 268 ps_pic_handling->i4_is_gop_closed = i4_is_gop_closed; in irc_init_pic_handling() 271 memset(ps_pic_handling->as_pic_stack, 0, in irc_init_pic_handling() 272 sizeof(ps_pic_handling->as_pic_stack)); in irc_init_pic_handling() 273 memset(&ps_pic_handling->s_prev_pic_details, 0, in irc_init_pic_handling() 274 sizeof(ps_pic_handling->s_prev_pic_details)); in irc_init_pic_handling() [all …]
|
D | irc_picture_type.h | 35 void irc_init_pic_handling(pic_handling_handle ps_pic_handling, 41 void irc_add_pic_to_stack(pic_handling_handle ps_pic_handling, 44 WORD32 irc_add_pic_to_stack_re_enc(pic_handling_handle ps_pic_handling, 48 void irc_get_pic_from_stack(pic_handling_handle ps_pic_handling, 53 WORD32 irc_is_last_frame_in_gop(pic_handling_handle ps_pic_handling); 55 void irc_flush_frame_from_pic_stack(pic_handling_handle ps_pic_handling); 58 void irc_skip_encoded_frame(pic_handling_handle ps_pic_handling, 61 void irc_update_pic_handling(pic_handling_handle ps_pic_handling, 68 WORD32 irc_pic_type_get_frms_in_gop_force_I_frm(pic_handling_handle ps_pic_handling); 70 void irc_set_force_I_frame_flag(pic_handling_handle ps_pic_handling); [all …]
|
D | irc_bit_allocation.c | 88 static WORD32 get_number_of_frms_in_a_gop(pic_handling_handle ps_pic_handling) in get_number_of_frms_in_a_gop() argument 94 irc_pic_type_get_frms_in_gop(ps_pic_handling, ai4_frms_in_gop); in get_number_of_frms_in_a_gop() 106 pic_handling_handle ps_pic_handling, in init_rbip() argument 110 WORD32 i4_tot_frms_in_gop = get_number_of_frms_in_a_gop(ps_pic_handling); in init_rbip() 140 pic_handling_handle ps_pic_handling) in check_update_rbip() argument 147 ps_pic_handling); in check_update_rbip() 174 pic_handling_handle ps_pic_handling, in irc_ba_update_rbip() argument 179 check_update_rbip(ps_rbip, ps_pic_handling); in irc_ba_update_rbip() 188 pic_handling_handle ps_pic_handling, in irc_ba_change_rbip() argument 193 irc_pic_type_get_rem_frms_in_gop(ps_pic_handling, ai4_rem_frms_in_period); in irc_ba_change_rbip() [all …]
|
D | irc_bit_allocation.h | 31 pic_handling_handle ps_pic_handling, 42 pic_handling_handle ps_pic_handling, 51 pic_handling_handle ps_pic_handling); 61 pic_handling_handle ps_pic_handling, 69 pic_handling_handle ps_pic_handling, 77 pic_handling_handle ps_pic_handling, 95 pic_handling_handle ps_pic_handling);
|
D | irc_rate_control_api.c | 127 &pps_rate_control_api[0]->ps_pic_handling, in irc_rate_control_num_fill_use_free_memtab() 179 irc_init_pic_handling(ps_rate_control_api->ps_pic_handling, in irc_initialise_rate_control() 257 ps_rate_control_api->ps_pic_handling, in irc_initialise_rate_control() 266 ps_rate_control_api->ps_pic_handling, in irc_initialise_rate_control() 323 irc_add_pic_to_stack(rate_control_api->ps_pic_handling, i4_enc_pic_id); in irc_add_picture_to_stack() 334 irc_add_pic_to_stack_re_enc(rate_control_api->ps_pic_handling, in irc_add_picture_to_stack_re_enc() 347 irc_get_pic_from_stack(rate_control_api->ps_pic_handling, pi4_pic_id, in irc_get_picture_details() 379 ps_rate_control_api->ps_pic_handling) in irc_get_frame_level_qp() 407 ps_rate_control_api->ps_pic_handling) == 1) in irc_get_frame_level_qp() 411 ps_rate_control_api->ps_pic_handling); in irc_get_frame_level_qp() [all …]
|
D | irc_rate_control_api_structs.h | 43 pic_handling_handle ps_pic_handling; member
|
/external/libhevc/encoder/ |
D | picture_type.c | 157 pic_handling_t *ps_pic_handling, 206 pic_handling_t *ps_pic_handling, in init_pic_handling() argument 217 ps_pic_handling->i4_num_active_pic_type = i4_num_active_pic_type; in init_pic_handling() 218 ps_pic_handling->i4_idr_period = i4_idr_period; in init_pic_handling() 222 ps_pic_handling->i4_num_gop_in_idr_period = 1; in init_pic_handling() 225 else if(!ps_pic_handling->i4_idr_period) in init_pic_handling() 227 ps_pic_handling->i4_num_gop_in_idr_period = 1; in init_pic_handling() 229 else if(ps_pic_handling->i4_idr_period > 0) in init_pic_handling() 231 ps_pic_handling->i4_num_gop_in_idr_period = in init_pic_handling() 232 (ps_pic_handling->i4_idr_period + i4_max_inter_frm_int - 1) / i4_intra_frm_int; in init_pic_handling() [all …]
|
D | picture_type.h | 54 pic_handling_handle ps_pic_handling, 63 pic_handling_handle ps_pic_handling, WORD32 i4_enc_pic_id, WORD32 i4_rc_in_pic); 65 pic_handling_handle ps_pic_handling, WORD32 i4_enc_pic_id, picture_type_e e_pic_type); 68 pic_handling_handle ps_pic_handling, 74 WORD32 is_last_frame_in_gop(pic_handling_handle ps_pic_handling); 75 void flush_frame_from_pic_stack(pic_handling_handle ps_pic_handling); 78 void skip_encoded_frame(pic_handling_handle ps_pic_handling, picture_type_e e_pic_type); 80 pic_handling_handle ps_pic_handling, 87 WORD32 pic_type_get_frms_in_gop_force_I_frm(pic_handling_handle ps_pic_handling); 88 void set_force_I_frame_flag(pic_handling_handle ps_pic_handling); [all …]
|
D | bit_allocation.c | 168 static WORD32 get_actual_num_frames_in_gop(pic_handling_handle ps_pic_handling) in get_actual_num_frames_in_gop() argument 173 pic_type_get_actual_frms_in_gop(ps_pic_handling, ai4_actual_frms_in_gop); in get_actual_num_frames_in_gop() 207 pic_handling_handle ps_pic_handling, in init_rbip() argument 211 WORD32 i4_tot_frms_in_gop = get_actual_num_frames_in_gop(ps_pic_handling); in init_rbip() 238 static void check_update_rbip(rem_bit_in_prd_t *ps_rbip, pic_handling_handle ps_pic_handling) in check_update_rbip() argument 241 WORD32 i4_new_tot_frms_in_gop = get_actual_num_frames_in_gop(ps_pic_handling); in check_update_rbip() 261 ret_rbip_default_preenc(rem_bit_in_prd_t *ps_rbip, pic_handling_handle ps_pic_handling) in ret_rbip_default_preenc() argument 264 pic_type_get_intra_frame_interval(ps_pic_handling) * ps_rbip->i4_bits_per_frm; in ret_rbip_default_preenc() 276 rem_bit_in_prd_t *ps_rbip, pic_handling_handle ps_pic_handling, WORD32 i4_num_of_bits) in update_rbip() argument 278 check_update_rbip(ps_rbip, ps_pic_handling); in update_rbip() [all …]
|
D | bit_allocation.h | 60 pic_handling_handle ps_pic_handling, 77 pic_handling_handle ps_pic_handling, 83 bit_allocation_handle ps_bit_allocation, pic_handling_handle ps_pic_handling); 89 pic_handling_handle ps_pic_handling, 100 pic_handling_handle ps_pic_handling, 116 bit_allocation_handle ps_bit_allocation, pic_handling_handle ps_pic_handling); 132 pic_handling_handle ps_pic_handling, 153 pic_handling_handle ps_pic_handling, 178 bit_allocation_handle ps_bit_allocation, pic_handling_handle ps_pic_handling); 207 pic_handling_handle ps_pic_handling, [all …]
|
D | rate_control_api.c | 195 &pps_rate_control_api[0]->ps_pic_handling, &ps_memtab[i4_mem_tab_idx], e_func_type); in rate_control_num_fill_use_free_memtab() 337 ps_rate_control_api->ps_pic_handling, /*ps_pic_handling*/ in initialise_rate_control() 444 ps_rate_control_api->ps_pic_handling, in initialise_rate_control() 463 ps_rate_control_api->ps_pic_handling, in initialise_rate_control() 576 add_pic_to_stack(rate_control_api->ps_pic_handling, i4_enc_pic_id, i4_rc_in_pic); in add_picture_to_stack() 597 add_pic_to_stack_re_enc(rate_control_api->ps_pic_handling, i4_enc_pic_id, e_pic_type); in add_picture_to_stack_re_enc() 622 rate_control_api->ps_pic_handling, in get_picture_details() 663 i4_rem_frms_in_gop = pic_type_get_rem_frms_in_gop(ps_rate_control_api->ps_pic_handling); in get_min_max_bits_based_on_buffer() 708 if(pic_type_get_intra_frame_interval(ps_rate_control_api->ps_pic_handling) == 1) in is_first_frame_coded() 714 if(pic_type_get_field_pic(ps_rate_control_api->ps_pic_handling)) in is_first_frame_coded() [all …]
|
D | rate_control_api_structs.h | 56 pic_handling_handle ps_pic_handling; /* Picture handling struct */ member
|