Home
last modified time | relevance | path

Searched refs:B_PIC (Results 1 – 22 of 22) sorted by relevance

/external/libavc/encoder/
Dirc_picture_type.c424 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC]; in irc_add_pic_to_stack()
454 e_cur_pic_type = B_PIC; in irc_add_pic_to_stack()
616 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC]; in irc_add_pic_to_stack()
663 ps_pic_handling->as_pic_stack[i4_b_pic_idx].e_pic_type = B_PIC; in irc_add_pic_to_stack()
668 e_previous_pic_type = B_PIC; in irc_add_pic_to_stack()
886 && (ps_pic_handling->i4_rem_frms_in_gop[B_PIC] in irc_add_pic_to_stack()
889 ps_pic_handling->i4_rem_frms_in_gop[B_PIC] = in irc_add_pic_to_stack()
890 ps_pic_handling->i4_frms_in_cur_gop[B_PIC] in irc_add_pic_to_stack()
1092 ps_pic_handling->i4_frms_in_cur_gop[B_PIC] += in irc_update_pic_distbn()
1171 i4_frms_in_gop[B_PIC] = 0; in find_pic_distbn_in_gop()
[all …]
Dirc_bit_allocation.c326 ps_bit_allocation->i2_K[B_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in irc_ba_init_bit_allocation()
404 mult32_var_q(vq_prev_hdr_bits[B_PIC], vq_rem_frms_in_period[B_PIC], in irc_ba_get_cur_frm_est_texture_bits()
429 mult32_var_q(vq_rem_frms_in_period[B_PIC], vq_max_bits_per_frm[1], in irc_ba_get_cur_frm_est_texture_bits()
464 if(i4_frms_in_period[B_PIC] == 0) in irc_ba_get_cur_frm_est_texture_bits()
473 && vq_complexity_estimate[B_PIC]); in irc_ba_get_cur_frm_est_texture_bits()
497 add32_var_q(vq_rem_frms_in_period[I_PIC], vq_rem_frms_in_period[B_PIC], in irc_ba_get_cur_frm_est_texture_bits()
518 add32_var_q(vq_rem_frms_in_period[B_PIC], vq_rem_frms, &vq_rem_frms); in irc_ba_get_cur_frm_est_texture_bits()
Dirc_est_sad.c128 else if(e_pic_type == B_PIC) in irc_get_est_sad()
130 u4_estimated_sad = ps_est_sad->au4_prev_frm_sad[B_PIC]; in irc_get_est_sad()
Dirc_cntrl_param.h41 BUF_PIC = -1, I_PIC = 0, P_PIC, B_PIC, MAX_PIC_TYPE enumerator
Dih264e_utils.c310 case B_PIC: in ih264e_input_queue_update()
1313 au1_min_max_qp[2 * B_PIC] = in ih264e_codec_init()
1315 au1_min_max_qp[2 * B_PIC + 1] = in ih264e_codec_init()
Dirc_rate_control_api.c383 if(e_pic_type != B_PIC) in irc_get_frame_level_qp()
Dih264e_api.c2684 au1_min_max_qp[2 * B_PIC] = in ih264e_codec_update_config()
2686 au1_min_max_qp[2 * B_PIC + 1] = in ih264e_codec_update_config()
2797 au1_min_max_qp[2 * B_PIC] = in ih264e_codec_update_config()
2799 au1_min_max_qp[2 * B_PIC + 1] = in ih264e_codec_update_config()
Dih264e_process.c2482 rc_pic_type = B_PIC; in ih264e_update_rc_post_enc()
/external/libhevc/encoder/
Dpicture_type.c431 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC]; in add_pic_to_stack()
462 e_cur_pic_type = B_PIC; in add_pic_to_stack()
608 i4_b_frms_in_prd = ps_pic_handling->i4_frms_in_cur_gop[B_PIC]; in add_pic_to_stack()
656 ps_pic_handling->as_pic_stack[i4_b_pic_idx].e_pic_type = B_PIC; in add_pic_to_stack()
661 e_previous_pic_type = B_PIC; in add_pic_to_stack()
818 (ps_pic_handling->i4_frms_in_cur_gop[B_PIC] > in add_pic_to_stack()
1049 ps_pic_handling->i4_frms_in_cur_gop[B_PIC] += ps_pic_handling->i4_b_count_in_gop; in update_pic_distbn()
1142 i4_frms_in_gop[B_PIC] = 0; in find_pic_distbn_in_gop()
1604 if(s_prev_pic_details.e_pic_type == B_PIC) in flush_frame_from_pic_stack()
1700 if(e_pic_type == B_PIC) in add_pic_to_stack_re_enc()
[all …]
Dinit_qp.c143 if(e_pic_type >= B_PIC && e_pic_type != P1_PIC) in get_init_qp_using_pels_bits_per_frame()
157 if(e_pic_type >= B_PIC && e_pic_type != P1_PIC) in get_init_qp_using_pels_bits_per_frame()
Dest_sad.c148 else if(e_pic_type == B_PIC) in get_est_sad()
150 u4_estimated_sad = ps_est_sad->au4_prev_frm_sad[B_PIC]; in get_est_sad()
Dbit_allocation.c594 SET_VAR_Q(avq_complexity_estimate[B_PIC], (B_TO_B1_BIT_RATO0 * B1_TO_B2_BIT_RATIO), 0); in init_prev_header_bits()
648 ai4_header_bits_percentage[B_PIC] = ((-3308 * i4_bpp) >> FRAME_HEADER_BITS_Q_FACTOR) + 1135; in init_prev_header_bits()
653 ai4_header_bits_percentage[B_PIC] = (ai4_header_bits_percentage[B_PIC] * 12) >> 4; in init_prev_header_bits()
654 ai4_header_bits_percentage[BB_PIC] = (ai4_header_bits_percentage[B_PIC] * 12) >> 4; in init_prev_header_bits()
656 ai4_header_bits_percentage[B1_PIC] = ai4_header_bits_percentage[B_PIC]; in init_prev_header_bits()
657 ai4_header_bits_percentage[B11_PIC] = ai4_header_bits_percentage[B_PIC]; in init_prev_header_bits()
658 ai4_header_bits_percentage[B2_PIC] = ai4_header_bits_percentage[B_PIC]; in init_prev_header_bits()
659 ai4_header_bits_percentage[B22_PIC] = ai4_header_bits_percentage[B_PIC]; in init_prev_header_bits()
775 ps_bit_allocation->i2_K[B_PIC] = (P_TO_B_RATIO * I_TO_P_RATIO) >> K_Q; in init_bit_allocation()
847 SET_VAR_Q(avq_complexity_estimate[B_PIC], STATIC_B_TO_B2_RATIO, 0); in init_bit_allocation()
[all …]
Drc_cntrl_param.h96 B_PIC, enumerator
Dihevce_lap_interface.c94 { P_PIC, B_PIC, P_PIC, B_PIC, P_PIC, B_PIC, P_PIC, B_PIC },
95 { P_PIC, B_PIC, B1_PIC, B1_PIC, P_PIC, B_PIC, B1_PIC, B1_PIC },
96 { P_PIC, B_PIC, B1_PIC, B2_PIC, B2_PIC, B1_PIC, B2_PIC, B2_PIC },
1451 ps_lap_struct->ai4_pic_type_to_be_removed[ps_lap_struct->i4_enq_idx] = B_PIC; in update_rc_num_pic_type()
Drate_control_api.c1057 case B_PIC: in clip_qp_based_on_prev_ref()
1397 case B_PIC: in get_frame_level_qp()
2140 if(e_pic_type != B_PIC || e_pic_type != B1_PIC || e_pic_type != B2_PIC) in update_frame_level_info()
2336 else if(e_pic_type == B_PIC || e_pic_type == BB_PIC) in update_frame_rc_get_frame_qp_info()
Dihevce_rc_interface.c1037 ps_rc_ctxt->ai4_init_pre_enc_qp[B_PIC] = I_frame_qp + 2; in ihevce_rc_init()
1255 lambda_modifier[B_PIC] = in ihevce_rc_get_bpp_based_frame_qp()
1257 (WORD8)B_PIC, 1, (ps_rc_ctxt->i4_max_temporal_lyr > 1), 1, i4_num_b) * in ihevce_rc_get_bpp_based_frame_qp()
3062 else if((rc_pic_type == B_PIC) || (rc_pic_type == BB_PIC)) in ihevce_rc_get_pic_quant()
3451 if(curr_rc_pic_type < B_PIC) in ihevce_get_i_to_avg_ratio()
3957 else if(rc_pic_type == B_PIC || rc_pic_type == BB_PIC) in ihevce_rc_get_pic_param()
/external/libmpeg2/decoder/
Dimpeg2d_pic_proc.c506 case B_PIC: in impeg2d_pre_pic_dec_proc()
541 else if(ps_dec->e_pic_type == B_PIC) in impeg2d_pre_pic_dec_proc()
642 if(ps_dec->e_pic_type != B_PIC) in impeg2d_post_pic_dec_proc()
678 if(ps_dec->e_pic_type != B_PIC) in impeg2d_post_pic_dec_proc()
Dimpeg2d_decoder.c321 case B_PIC: in impeg2d_dec_frm()
Dimpeg2d_pnb_pic.c546 if(ps_dec->e_pic_type == B_PIC) in impeg2d_dec_p_b_slice()
Dimpeg2d_dec_hdr.c708 if(ps_dec->e_pic_type == P_PIC || ps_dec->e_pic_type == B_PIC) in impeg2d_dec_pic_hdr()
713 if(ps_dec->e_pic_type == B_PIC) in impeg2d_dec_pic_hdr()
Dimpeg2d_api_main.c3321 … ps_dec_op->s_ivd_video_decode_op_t.u4_is_ref_flag = (B_PIC != ps_dec_state->e_pic_type); in impeg2d_api_entity()
3404 ps_dec_op->s_ivd_video_decode_op_t.u4_is_ref_flag = (B_PIC != ps_dec_state->e_pic_type); in impeg2d_api_entity()
3482 case B_PIC: in impeg2d_api_entity()
/external/libmpeg2/common/
Dimpeg2_defs.h237 B_PIC, enumerator