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:
@ -61,7 +61,7 @@ class QualityScalerTest : public ::testing::Test {
|
||||
|
||||
void ExpectScaleUsingReportedResolution() {
|
||||
QualityScaler::Resolution res = qs_.GetScaledResolution(input_frame_);
|
||||
const I420VideoFrame& scaled_frame = qs_.GetScaledFrame(input_frame_);
|
||||
const VideoFrame& scaled_frame = qs_.GetScaledFrame(input_frame_);
|
||||
EXPECT_EQ(res.width, scaled_frame.width());
|
||||
EXPECT_EQ(res.height, scaled_frame.height());
|
||||
}
|
||||
@ -71,7 +71,7 @@ class QualityScalerTest : public ::testing::Test {
|
||||
void DoesNotDownscaleFrameDimensions(int width, int height);
|
||||
|
||||
QualityScaler qs_;
|
||||
I420VideoFrame input_frame_;
|
||||
VideoFrame input_frame_;
|
||||
};
|
||||
|
||||
TEST_F(QualityScalerTest, UsesOriginalFrameInitially) {
|
||||
|
||||
Reference in New Issue
Block a user