Home
last modified time | relevance | path

Searched refs:target_frame_size (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c2202 int target_frame_size; in assign_std_frame_bits() local
2220 target_frame_size = (int)((double)cpi->twopass.gf_group_bits * err_fraction); in assign_std_frame_bits()
2225 if (target_frame_size < 0) { in assign_std_frame_bits()
2226 target_frame_size = 0; in assign_std_frame_bits()
2228 if (target_frame_size > max_bits) target_frame_size = max_bits; in assign_std_frame_bits()
2230 if (target_frame_size > cpi->twopass.gf_group_bits) { in assign_std_frame_bits()
2231 target_frame_size = (int)cpi->twopass.gf_group_bits; in assign_std_frame_bits()
2237 cpi->twopass.gf_group_bits -= target_frame_size; in assign_std_frame_bits()
2242 target_frame_size += cpi->min_frame_bandwidth; in assign_std_frame_bits()
2247 target_frame_size += cpi->twopass.alt_extra_bits; in assign_std_frame_bits()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c2253 int target_frame_size; in allocate_gf_group_bits() local
2334 target_frame_size = normal_frame_bits; in allocate_gf_group_bits()
2335 target_frame_size = in allocate_gf_group_bits()
2336 clamp(target_frame_size, 0, VPXMIN(max_bits, (int)total_group_bits)); in allocate_gf_group_bits()
2348 default: gf_group->bit_allocation[idx] = target_frame_size; break; in allocate_gf_group_bits()
2371 target_frame_size = normal_frame_bits; in allocate_gf_group_bits()
2374 target_frame_size -= last_frame_reduction; in allocate_gf_group_bits()
2377 target_frame_size = in allocate_gf_group_bits()
2378 clamp(target_frame_size, 0, VPXMIN(max_bits, (int)total_group_bits)); in allocate_gf_group_bits()
2380 gf_group->bit_allocation[frame_index] = target_frame_size; in allocate_gf_group_bits()
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c646 const int target_frame_size = in allocate_gf_group_bits() local
657 gf_group->bit_allocation[arf_pos] = target_frame_size; in allocate_gf_group_bits()
661 gf_group->bit_allocation[frame_index] = target_frame_size; in allocate_gf_group_bits()
664 (int)(target_frame_size * LEAF_REDUCTION_FACTOR); in allocate_gf_group_bits()