Searched refs:target_frame_size (Results 1 – 2 of 2) sorted by relevance
2201 int target_frame_size; in assign_std_frame_bits() local2219 target_frame_size = (int)((double)cpi->twopass.gf_group_bits * err_fraction); in assign_std_frame_bits()2224 if (target_frame_size < 0) { in assign_std_frame_bits()2225 target_frame_size = 0; in assign_std_frame_bits()2227 if (target_frame_size > max_bits) target_frame_size = max_bits; in assign_std_frame_bits()2229 if (target_frame_size > cpi->twopass.gf_group_bits) { in assign_std_frame_bits()2230 target_frame_size = (int)cpi->twopass.gf_group_bits; in assign_std_frame_bits()2236 cpi->twopass.gf_group_bits -= target_frame_size; in assign_std_frame_bits()2241 target_frame_size += cpi->min_frame_bandwidth; in assign_std_frame_bits()2246 target_frame_size += cpi->twopass.alt_extra_bits; in assign_std_frame_bits()[all …]
2144 int target_frame_size; in allocate_gf_group_bits() local2251 target_frame_size = (i == (normal_frames - 1)) in allocate_gf_group_bits()2258 mid_boost_bits += (target_frame_size >> 4); in allocate_gf_group_bits()2259 target_frame_size -= (target_frame_size >> 4); in allocate_gf_group_bits()2266 target_frame_size = in allocate_gf_group_bits()2267 clamp(target_frame_size, 0, VPXMIN(max_bits, (int)total_group_bits)); in allocate_gf_group_bits()2272 gf_group->bit_allocation[frame_index] = target_frame_size; in allocate_gf_group_bits()