Add k prefix to FrameGenerator::OutputType enum values

This prepares for using VideoFrameBuffer::Type as
FrameGenerator::OutputType, which will reduce the
number of redundant enums in the code.

Bug: webrtc:9883
Change-Id: I253f5f1ea7181e02a5cf1a92925f51da8ada6aa2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146982
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28696}
This commit is contained in:
Sebastian Jansson
2019-07-26 15:58:11 +02:00
committed by Commit Bot
parent 366ac4d84e
commit ed0febf573
8 changed files with 23 additions and 15 deletions

View File

@ -75,7 +75,7 @@ void VideoCodecUnitTest::SetUp() {
input_frame_generator_ = test::FrameGenerator::CreateSquareGenerator(
codec_settings_.width, codec_settings_.height,
test::FrameGenerator::OutputType::I420, absl::optional<int>());
test::FrameGenerator::OutputType::kI420, absl::optional<int>());
encoder_ = CreateEncoder();
decoder_ = CreateDecoder();

View File

@ -491,7 +491,7 @@ TEST_F(TestVp8Impl, DontDropKeyframes) {
// details and high probability of overshoot.
input_frame_generator_ = test::FrameGenerator::CreateSquareGenerator(
codec_settings_.width, codec_settings_.height,
test::FrameGenerator::OutputType::I420,
test::FrameGenerator::OutputType::kI420,
/* num_squares = */ absl::optional<int>(300));
EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK,

View File

@ -1374,7 +1374,7 @@ class TestVp9ImplProfile2 : public TestVp9Impl {
TestVp9Impl::SetUp();
input_frame_generator_ = test::FrameGenerator::CreateSquareGenerator(
codec_settings_.width, codec_settings_.height,
test::FrameGenerator::OutputType::I010, absl::optional<int>());
test::FrameGenerator::OutputType::kI010, absl::optional<int>());
}
std::unique_ptr<VideoEncoder> CreateEncoder() override {