Revert "Add Profile 2 configuration to VP9 Encoder and Decoder"
This reverts commit fc9c4e88b5569f0d2cd1c64cbc27fd969ce2db17. Reason for revert: Speculative revert. I suspect this breaks the internal importing tests. Will reland it if it is not the culprit. Original change's description: > Add Profile 2 configuration to VP9 Encoder and Decoder > > Bug: webrtc:9376 > Change-Id: I4f627fb2b6c146a90cfcaa815da459b09dc00003 > Reviewed-on: https://webrtc-review.googlesource.com/81980 > Commit-Queue: Emircan Uysaler <emircan@webrtc.org> > Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org> > Reviewed-by: Erik Språng <sprang@webrtc.org> > Reviewed-by: Jerome Jiang <jianj@google.com> > Cr-Commit-Position: refs/heads/master@{#23917} TBR=niklase@google.com,jianj@google.com,sprang@webrtc.org,marpan@google.com,niklas.enbom@webrtc.org,emircan@webrtc.org Change-Id: I6a8c851827707eb861776591087e595de7206ae4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:9376 Reviewed-on: https://webrtc-review.googlesource.com/88100 Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Commit-Queue: Qingsi Wang <qingsi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23920}
This commit is contained in:
@ -64,7 +64,6 @@ rtc_source_set("video_test_common") {
|
||||
"../:typedefs",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api/video:video_frame",
|
||||
"../api/video:video_frame_i010",
|
||||
"../api/video:video_frame_i420",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../call:video_stream_api",
|
||||
|
||||
@ -15,7 +15,6 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "api/video/i010_buffer.h"
|
||||
#include "api/video/i420_buffer.h"
|
||||
#include "common_video/include/video_frame_buffer.h"
|
||||
#include "common_video/libyuv/include/webrtc_libyuv.h"
|
||||
@ -69,8 +68,7 @@ class SquareGenerator : public FrameGenerator {
|
||||
|
||||
rtc::scoped_refptr<VideoFrameBuffer> buffer = nullptr;
|
||||
switch (type_) {
|
||||
case OutputType::I420:
|
||||
case OutputType::I010: {
|
||||
case OutputType::I420: {
|
||||
buffer = CreateI420Buffer(width_, height_);
|
||||
break;
|
||||
}
|
||||
@ -92,10 +90,6 @@ class SquareGenerator : public FrameGenerator {
|
||||
for (const auto& square : squares_)
|
||||
square->Draw(buffer);
|
||||
|
||||
if (type_ == OutputType::I010) {
|
||||
buffer = I010Buffer::Copy(*buffer->ToI420());
|
||||
}
|
||||
|
||||
frame_.reset(
|
||||
new VideoFrame(buffer, webrtc::kVideoRotation_0, 0 /* timestamp_us */));
|
||||
return frame_.get();
|
||||
|
||||
@ -58,7 +58,7 @@ class FrameGenerator {
|
||||
RTC_NOTREACHED();
|
||||
}
|
||||
|
||||
enum class OutputType { I420, I420A, I010 };
|
||||
enum class OutputType { I420, I420A };
|
||||
|
||||
// Creates a frame generator that produces frames with small squares that
|
||||
// move randomly towards the lower right corner.
|
||||
|
||||
Reference in New Issue
Block a user