mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +09:00
aom: update libaom to 0ec86ac7ae1e32a7e70410fa4972a655ec3670a4
This commit is contained in:
parent
bc3f20e378
commit
eb361970c5
438 changed files with 52661 additions and 21905 deletions
6
third_party/aom/test/y4m_video_source.h
vendored
6
third_party/aom/test/y4m_video_source.h
vendored
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue