Prevent bitrate overshoot for HD layer in VP8.

BUG=chromium:487648
R=mflodman@webrtc.org, stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/55469004

Cr-Commit-Position: refs/heads/master@{#9394}
This commit is contained in:
Peter Boström
2015-06-08 22:52:33 +02:00
parent 61715ecf24
commit 1b9add9df9
2 changed files with 56 additions and 82 deletions

View File

@ -83,12 +83,6 @@ class VP8EncoderImpl : public VP8Encoder {
int GetEncodedPartitions(const VideoFrame& input_image,
bool only_predicting_from_key_frame);
// Get the stream bitrate, for the stream |stream_idx|, given the bitrate
// |new_bitrate_kbit|.
int GetStreamBitrate(int stream_idx,
uint32_t new_bitrate_kbit,
bool* send_stream) const;
// Set the stream state for stream |stream_idx|.
void SetStreamState(bool send_stream, int stream_idx);