Lines Matching refs:ps_cur_gop
2631 gop_level_stat_t *ps_cur_gop; in rc_update_bit_distribution_gop_level_2pass() local
2660 ps_cur_gop = (gop_level_stat_t *)((gop_level_stat_t *)pv_gop_stat + temp_i); in rc_update_bit_distribution_gop_level_2pass()
2692 ps_cur_gop = (gop_level_stat_t *)((gop_level_stat_t *)pv_gop_stat + i4_cur_gop_num); in rc_update_bit_distribution_gop_level_2pass()
2693 ps_cur_gop->f_bits_complexity_l1_based_peak_factor = in rc_update_bit_distribution_gop_level_2pass()
2694 ps_cur_gop->f_bits_complexity_l1_based * cur_peak_factor; in rc_update_bit_distribution_gop_level_2pass()
2703 ps_cur_gop = (gop_level_stat_t *)((gop_level_stat_t *)pv_gop_stat + i4_cur_gop_num); in rc_update_bit_distribution_gop_level_2pass()
2704 if(!ps_cur_gop->i4_peak_br_clip) in rc_update_bit_distribution_gop_level_2pass()
2707 (ps_cur_gop->f_bits_complexity_l1_based * ps_cur_gop->i4_tot_frm_in_gop); in rc_update_bit_distribution_gop_level_2pass()
2708 i8_num_frame_remaining += ps_cur_gop->i4_tot_frm_in_gop; in rc_update_bit_distribution_gop_level_2pass()
2720 ps_cur_gop = (gop_level_stat_t *)((gop_level_stat_t *)pv_gop_stat + i4_cur_gop_num); in rc_update_bit_distribution_gop_level_2pass()
2722 if(ps_cur_gop->i4_peak_br_clip) in rc_update_bit_distribution_gop_level_2pass()
2725 total_nbp_bits_allocated += ps_cur_gop->i8_bits_allocated_to_gop; in rc_update_bit_distribution_gop_level_2pass()
2728 ps_cur_gop->f_buffer_play_complexity = 0.; in rc_update_bit_distribution_gop_level_2pass()
2731 ps_cur_gop->i8_buffer_play_bits_allocated_to_gop = 0; in rc_update_bit_distribution_gop_level_2pass()
2732 i4_num_frames_in_gop = ps_cur_gop->i4_tot_frm_in_gop; in rc_update_bit_distribution_gop_level_2pass()
2740 ps_cur_gop->i8_bits_allocated_to_gop = (LWORD64)( in rc_update_bit_distribution_gop_level_2pass()
2741 (ps_cur_gop->f_bits_complexity_l1_based / (f_avg_bits_complexity_based)) * in rc_update_bit_distribution_gop_level_2pass()
2746 ps_cur_gop->i8_bits_allocated_to_gop = in rc_update_bit_distribution_gop_level_2pass()
2757 ps_cur_gop->i8_bits_allocated_to_gop += (LWORD64)( in rc_update_bit_distribution_gop_level_2pass()
2758 (ps_cur_gop->f_bits_complexity_l1_based / (f_avg_bits_complexity_based)) * in rc_update_bit_distribution_gop_level_2pass()
2766 ps_cur_gop->i8_actual_bits_allocated_to_gop = ps_cur_gop->i8_bits_allocated_to_gop; in rc_update_bit_distribution_gop_level_2pass()
2769 ps_cur_gop->i8_max_bit_for_gop = i8_max_bit_for_gop; in rc_update_bit_distribution_gop_level_2pass()
2770 ps_cur_gop->i4_peak_br_clip = 0; in rc_update_bit_distribution_gop_level_2pass()
2771 if(ps_cur_gop->i8_bits_allocated_to_gop > i8_max_bit_for_gop) in rc_update_bit_distribution_gop_level_2pass()
2773 ps_cur_gop->i8_bits_allocated_to_gop = i8_max_bit_for_gop; in rc_update_bit_distribution_gop_level_2pass()
2774 ps_cur_gop->i4_peak_br_clip = 1; in rc_update_bit_distribution_gop_level_2pass()
2783 ps_cur_gop->i4_is_below_avg_rate_gop_frame = 0; in rc_update_bit_distribution_gop_level_2pass()
2784 if(ps_cur_gop->i8_bits_allocated_to_gop < in rc_update_bit_distribution_gop_level_2pass()
2785 (MIN(i8_curr_bit_rate_bits, ps_cur_gop->i8_minimum_gop_bits))) in rc_update_bit_distribution_gop_level_2pass()
2787 ps_cur_gop->i4_is_below_avg_rate_gop_frame = 1; in rc_update_bit_distribution_gop_level_2pass()
2788 ps_cur_gop->i8_bits_allocated_to_gop = in rc_update_bit_distribution_gop_level_2pass()
2789 MIN(i8_curr_bit_rate_bits, ps_cur_gop->i8_minimum_gop_bits); in rc_update_bit_distribution_gop_level_2pass()
2792 total_nbp_bits_allocated += ps_cur_gop->i8_bits_allocated_to_gop; in rc_update_bit_distribution_gop_level_2pass()
2809 ps_cur_gop = (gop_level_stat_t *)((gop_level_stat_t *)pv_gop_stat + temp_i); in rc_update_bit_distribution_gop_level_2pass()
2810 ps_cur_gop->i8_bits_allocated_to_gop += (LWORD64)( in rc_update_bit_distribution_gop_level_2pass()
2811 (error_bits * ps_cur_gop->i8_bits_allocated_to_gop / total_bits_allocated)); in rc_update_bit_distribution_gop_level_2pass()
2816 ps_cur_gop = (gop_level_stat_t *)((gop_level_stat_t *)pv_gop_stat + temp_i); in rc_update_bit_distribution_gop_level_2pass()
2817 ps_cur_gop->f_avg_complexity_factor = (ps_cur_gop->f_bits_complexity_l1_based / in rc_update_bit_distribution_gop_level_2pass()
2818 ps_cur_gop->i8_bits_allocated_to_gop) * in rc_update_bit_distribution_gop_level_2pass()
2820 (ps_cur_gop->i4_tot_frm_in_gop); in rc_update_bit_distribution_gop_level_2pass()