#include "media/filters/vpx_video_decoder.h"
#include <memory>
#include <string>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "media/base/decoder_buffer.h"
#include "media/base/limits.h"
#include "media/base/test_data_util.h"
#include "media/base/test_helpers.h"
#include "media/base/video_frame.h"
#include "media/ffmpeg/ffmpeg_common.h"
#include "media/ffmpeg/scoped_av_packet.h"
#include "media/filters/in_memory_url_protocol.h"
#include "testing/gmock/include/gmock/gmock.h"
_;
namespace media {
class VpxVideoDecoderTest : public testing::Test { … };
TEST_F(VpxVideoDecoderTest, Initialize_Normal) { … }
TEST_F(VpxVideoDecoderTest, Reinitialize_AfterReset) { … }
TEST_F(VpxVideoDecoderTest, DecodeFrame_Normal) { … }
TEST_F(VpxVideoDecoderTest, DecodeFrame_OOM) { … }
TEST_F(VpxVideoDecoderTest, DecodeFrame_LargerWidth) { … }
TEST_F(VpxVideoDecoderTest, Offloaded_DecodeFrame_LargerWidth) { … }
TEST_F(VpxVideoDecoderTest, Reset_Initialized) { … }
TEST_F(VpxVideoDecoderTest, Reset_Decoding) { … }
TEST_F(VpxVideoDecoderTest, Reset_EndOfStream) { … }
TEST_F(VpxVideoDecoderTest, Destroy_Initialized) { … }
TEST_F(VpxVideoDecoderTest, Destroy_Decoding) { … }
TEST_F(VpxVideoDecoderTest, Destroy_EndOfStream) { … }
TEST_F(VpxVideoDecoderTest, SimpleFrameReuse) { … }
TEST_F(VpxVideoDecoderTest, SimpleFormatChange) { … }
TEST_F(VpxVideoDecoderTest, FrameValidAfterPoolDestruction) { … }
#if !defined(LIBVPX_NO_HIGH_BIT_DEPTH) && !defined(ARCH_CPU_ARM_FAMILY)
TEST_F(VpxVideoDecoderTest, MemoryPoolAllowsMultipleDisplay) { … }
#endif
}