Searched refs:buffer_level_bits (Results 1 – 3 of 3) sorted by relevance
83 int64_t* buffer_level_bits) const { in HandleEncodedFrame()90 const int64_t bitsum = frame_size_bits + *buffer_level_bits; in HandleEncodedFrame()94 std::min(*buffer_level_bits, bitsum - ideal_frame_size_bits); in HandleEncodedFrame()112 *buffer_level_bits -= overshoot_bits; in HandleEncodedFrame()113 *buffer_level_bits += frame_size_bits; in HandleEncodedFrame()
50 int64_t* buffer_level_bits) const;
181 float buffer_level_bits = 0.0f; in SliceAndCalcVideoStatistic() local223 buffer_level_bits -= time_since_prev_frame_sec * 1000 * target_bitrate_kbps; in SliceAndCalcVideoStatistic()224 buffer_level_bits = std::max(0.0f, buffer_level_bits); in SliceAndCalcVideoStatistic()225 buffer_level_bits += 8.0 * frame_stat.length_bytes; in SliceAndCalcVideoStatistic()226 buffer_level_sec.AddSample(buffer_level_bits / in SliceAndCalcVideoStatistic()