Rename I420VideoFrame to VideoFrame.
This is a mechanical change since it affects so many files. I420VideoFrame -> VideoFrame and reformatted. Rationale: in the next CL I420VideoFrame will get an indication of Pixel Format (I420 for starters) and of storage type: usually UNOWNED, could be SHMEM, and in the near future will be possibly TEXTURE. See https://codereview.chromium.org/1154153003 for the change that happened in Cr. BUG=4730, chromium:440843 R=jiayl@webrtc.org, niklas.enbom@webrtc.org, pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/52629004 Cr-Commit-Position: refs/heads/master@{#9339}
This commit is contained in:
@ -30,15 +30,15 @@ class QualityScaler {
|
||||
void ReportQP(int qp);
|
||||
void ReportDroppedFrame();
|
||||
void Reset(int framerate, int bitrate, int width, int height);
|
||||
Resolution GetScaledResolution(const I420VideoFrame& frame);
|
||||
const I420VideoFrame& GetScaledFrame(const I420VideoFrame& frame);
|
||||
Resolution GetScaledResolution(const VideoFrame& frame);
|
||||
const VideoFrame& GetScaledFrame(const VideoFrame& frame);
|
||||
|
||||
private:
|
||||
void AdjustScale(bool up);
|
||||
void ClearSamples();
|
||||
|
||||
Scaler scaler_;
|
||||
I420VideoFrame scaled_frame_;
|
||||
VideoFrame scaled_frame_;
|
||||
|
||||
size_t num_samples_;
|
||||
int low_qp_threshold_;
|
||||
|
||||
Reference in New Issue
Block a user