Searched refs:target_frame_size (Results 1 – 2 of 2) sorted by relevance
2194 int target_frame_size; in assign_std_frame_bits() local2212 target_frame_size = (int)((double)cpi->twopass.gf_group_bits * err_fraction); in assign_std_frame_bits()2217 if (target_frame_size < 0) { in assign_std_frame_bits()2218 target_frame_size = 0; in assign_std_frame_bits()2220 if (target_frame_size > max_bits) target_frame_size = max_bits; in assign_std_frame_bits()2222 if (target_frame_size > cpi->twopass.gf_group_bits) { in assign_std_frame_bits()2223 target_frame_size = (int)cpi->twopass.gf_group_bits; in assign_std_frame_bits()2229 cpi->twopass.gf_group_bits -= target_frame_size; in assign_std_frame_bits()2234 target_frame_size += cpi->min_frame_bandwidth; in assign_std_frame_bits()2239 target_frame_size += cpi->twopass.alt_extra_bits; in assign_std_frame_bits()[all …]
2293 int target_frame_size; in allocate_gf_group_bits() local2374 target_frame_size = normal_frame_bits; in allocate_gf_group_bits()2375 target_frame_size = in allocate_gf_group_bits()2376 clamp(target_frame_size, 0, VPXMIN(max_bits, (int)total_group_bits)); in allocate_gf_group_bits()2388 default: gf_group->bit_allocation[idx] = target_frame_size; break; in allocate_gf_group_bits()2411 target_frame_size = normal_frame_bits; in allocate_gf_group_bits()2414 target_frame_size -= last_frame_reduction; in allocate_gf_group_bits()2417 target_frame_size = in allocate_gf_group_bits()2418 clamp(target_frame_size, 0, VPXMIN(max_bits, (int)total_group_bits)); in allocate_gf_group_bits()2420 gf_group->bit_allocation[frame_index] = target_frame_size; in allocate_gf_group_bits()