Home
last modified time | relevance | path

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

/external/webrtc/webrtc/test/
Dfake_encoder.cc66 size_t bits_available = in Encode() local
70 if (bits_available < min_bits) in Encode()
71 bits_available = min_bits; in Encode()
74 if (max_bits > 0 && max_bits < bits_available) in Encode()
75 bits_available = max_bits; in Encode()
88 size_t stream_bits = (bits_available > max_stream_bits) ? max_stream_bits : in Encode()
89 bits_available; in Encode()
108 if (min_stream_bits > bits_available && i > 0) in Encode()
113 bits_available -= std::min(encoded._length * 8, bits_available); in Encode()