Searched refs:bits_left (Results 1 – 8 of 8) sorted by relevance
42 const int bits_left = (int)((buffer_end - buffer) * CHAR_BIT); in vp9_reader_fill() local43 const int x = shift + CHAR_BIT - bits_left; in vp9_reader_fill()50 if (x < 0 || bits_left) { in vp9_reader_fill()
44 size_t bits_left = bytes_left * CHAR_BIT; in vp8dx_bool_decoder_fill() local45 int x = (int)(shift + CHAR_BIT - bits_left); in vp8dx_bool_decoder_fill()61 if (x < 0 || bits_left) in vp8dx_bool_decoder_fill()
52 int64_t bits_left; member
973 twopass->bits_left = in vp9_init_second_pass()979 twopass->bits_left = (int64_t)(twopass->total_stats.duration * in vp9_init_second_pass()2017 if (twopass->bits_left > 0 && twopass->modified_error_left > 0.0) { in find_next_key_frame()2026 twopass->kf_group_bits = (int64_t)(twopass->bits_left * in find_next_key_frame()2156 double alt_kf_grp_bits = ((double)twopass->bits_left * in find_next_key_frame()2169 alt_kf_bits = (int)((double)twopass->bits_left * (kf_mod_err / in find_next_key_frame()2247 const int section_target_bandwidth = (int)(twopass->bits_left / in vp9_rc_get_second_pass_params()2334 cpi->twopass.bits_left -= bits_used; in vp9_twopass_postencode_update()2335 cpi->twopass.bits_left = MAX(cpi->twopass.bits_left, 0); in vp9_twopass_postencode_update()
2210 cpi->twopass.bits_left,2212 cpi->twopass.bits_left /
385 …max_bits = (int)(((double)cpi->twopass.bits_left / (cpi->twopass.total_stats.count - (double)cpi->… in frame_max_bits()1357 …cpi->twopass.bits_left = (int64_t)(cpi->twopass.total_stats.duration * cpi->oxcf.target_bandwidth … in vp8_init_second_pass()1358 …cpi->twopass.bits_left -= (int64_t)(cpi->twopass.total_stats.duration * two_pass_min_rate / 100000… in vp8_init_second_pass()2117 (cpi->twopass.bits_left > 0) ? cpi->twopass.bits_left : 0; in define_gf_group()2559 (int)(cpi->twopass.bits_left / frames_left), in vp8_second_pass()2574 (int)(cpi->twopass.bits_left / frames_left), in vp8_second_pass()2608 (int)(cpi->twopass.bits_left / frames_left), in vp8_second_pass()2893 if ((cpi->twopass.bits_left > 0) && (cpi->twopass.modified_error_left > 0.0)) in find_next_key_frame()2904 cpi->twopass.kf_group_bits = (int64_t)( cpi->twopass.bits_left * in find_next_key_frame()3155 ((double)cpi->twopass.bits_left * in find_next_key_frame()[all …]
578 int64_t bits_left; member
4649 cpi->twopass.bits_left, in encode_frame_to_data_rate()4651 (double)cpi->twopass.bits_left / in encode_frame_to_data_rate()4670 cpi->twopass.bits_left, in encode_frame_to_data_rate()4810 cpi->twopass.bits_left -= 8 * *size; in Pass2Encode()4816 cpi->twopass.bits_left += (int64_t)(two_pass_min_rate / cpi->framerate); in Pass2Encode()