Lines Matching defs:bit_allocation_t
76 typedef struct bit_allocation_t struct
78 rem_bit_in_prd_t s_rbip;
80 … i2_K[MAX_PIC_TYPE]; /* A universal constant giving the relative complexity between pictures */
81 … WORD32 i4_prev_frm_header_bits[MAX_PIC_TYPE]; /* To get a estimate of the header bits consumed */
82 WORD32 ai4_prev_frm_tot_bits[MAX_PIC_TYPE];
83 WORD32 ai4_prev_frm_tot_est_bits[MAX_PIC_TYPE];
84 WORD32 i4_bits_per_frm;
85 WORD32 i4_num_gops_in_period;
87 i4_actual_num_gops_in_period; /* Num gops as set by rate control module */
88 WORD32 i4_saved_bits;
89 WORD32 i4_max_bits_per_frm[MAX_NUM_DRAIN_RATES];
90 WORD32 i4_min_bits_per_frm;
92 error_bits_handle ps_error_bits;
94 WORD32 i4_frame_rate;
95 WORD32 i4_bit_rate;
96 WORD32 ai4_peak_bit_rate[MAX_NUM_DRAIN_RATES];
97 WORD32 i4_max_tex_bits_for_i;
98 WORD32 i4_pels_in_frame;
100 WORD32 i4_gop_level_bit_error;
101 WORD32 i4_frame_level_bit_error;
102 WORD32 ai4_cur_frm_est_tex_bits[MAX_NUM_FRAME_PARALLEL];
103 WORD32 ai4_cur_frm_est_hdr_bits[MAX_NUM_FRAME_PARALLEL];
104 WORD32 i4_buffer_based_bit_error;
105 WORD32 i4_bits_from_buffer_in_cur_gop;
106 WORD32 i4_excess_bits_from_buffer;
108 WORD32 i4_is_hbr;
109 WORD32 i4_rem_frame_in_period;
112 WORD32 i4_num_scd_in_lap_window;
113 WORD32 i4_num_frm_b4_scd;
114 WORD32 i4_num_active_pic_type;
115 WORD32 i4_lap_window;
116 WORD32 i4_field_pic;
117 WORD32 i4_ba_rc_pass;
118 void *pv_gop_stat;
119 LWORD64 i8_cur_gop_num;
121 …e needs to maintained outside rate control since qp will not be queried in actual bitstream order*/
122 float af_sum_weigh[MAX_PIC_TYPE][3];
123 LWORD64 i8_cur_gop_bit_consumption; /*To calculate the deviaiton in 2 pass*/
126 i8_2pass_alloc_per_frm_bits; /*Per frame bits allocated to GOP in 2 pass*/
129 …mplexity_cross_peak_rate; /*complexity of gop beyond which it is clipped to peak rate in 2ns pass*/
130 WORD32 i4_next_sc_i_in_rc_look_ahead;
132 float f_cur_peak_factor_2pass;
133 LWORD64 i8_total_bits_allocated;
134 WORD32 i4_luma_pels;
135 WORD32 i4_num_gop;
137 LWORD64 i8_current_bitrate_2_pass;
140 WORD32 i4_flag_no_more_set_rbip;
166 } bit_allocation_t; argument