aom: update libaom to 0ec86ac7ae1e32a7e70410fa4972a655ec3670a4

This commit is contained in:
Roy Tam 2019-02-22 21:52:01 +08:00
commit eb361970c5
438 changed files with 52661 additions and 21905 deletions

View file

@ -11,6 +11,7 @@
#ifndef AOM_TEST_Y4M_VIDEO_SOURCE_H_
#define AOM_TEST_Y4M_VIDEO_SOURCE_H_
#include <algorithm>
#include <memory>
#include <string>
#include "common/y4minput.h"
@ -41,7 +42,8 @@ class Y4mVideoSource : public VideoSource {
virtual void ReadSourceToStart() {
ASSERT_TRUE(input_file_ != NULL);
ASSERT_FALSE(y4m_input_open(&y4m_, input_file_, NULL, 0, 0));
ASSERT_FALSE(
y4m_input_open(&y4m_, input_file_, NULL, 0, AOM_CSP_UNKNOWN, 0));
framerate_numerator_ = y4m_.fps_n;
framerate_denominator_ = y4m_.fps_d;
frame_ = 0;
@ -109,7 +111,7 @@ class Y4mVideoSource : public VideoSource {
std::string file_name_;
FILE *input_file_;
testing::internal::scoped_ptr<aom_image_t> img_;
std::unique_ptr<aom_image_t> img_;
unsigned int start_;
unsigned int limit_;
unsigned int frame_;