Home
last modified time | relevance | path

Searched refs:libvpx_test (Results 1 – 25 of 103) sorted by relevance

12345

/external/libvpx/libvpx/test/
Dtest_vector_test.cc40 class TestVectorTest : public ::libvpx_test::DecoderTest,
41 public ::libvpx_test::CodecTestWithParam<DecodeParam> {
45 resize_clips_.insert(::libvpx_test::kVP9TestVectorsResize, in TestVectorTest()
46 ::libvpx_test::kVP9TestVectorsResize + in TestVectorTest()
47 ::libvpx_test::kNumVP9TestVectorsResize); in TestVectorTest()
56 md5_file_ = libvpx_test::OpenTestDataFile(md5_file_name_); in OpenMD5File()
63 const libvpx_test::CompressedVideoSource &video, in PreDecodeFrameHook()
64 libvpx_test::Decoder *decoder) { in PreDecodeFrameHook()
91 ::libvpx_test::MD5 md5_res; in DecompressedFrameHook()
128 std::unique_ptr<libvpx_test::CompressedVideoSource> video; in TEST_P()
[all …]
Dvp9_end_to_end_test.cc63 const libvpx_test::TestMode kEncodingModeVectors[] = {
64 ::libvpx_test::kTwoPassGood, ::libvpx_test::kOnePassGood,
65 ::libvpx_test::kRealTime
81 : public ::libvpx_test::EncoderTest,
82 public ::libvpx_test::CodecTestWith2Params<int, int> {
92 SetMode(::libvpx_test::kRealTime); in SetUp()
101 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
102 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
118 : public ::libvpx_test::EncoderTest,
119 public ::libvpx_test::CodecTestWith3Params<libvpx_test::TestMode,
[all …]
Dvp9_ethread_test.cc34 : public ::libvpx_test::EncoderTest,
35 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
71 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource * /*video*/, in PreEncodeFrameHook()
72 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
83 if (encoding_mode_ == ::libvpx_test::kTwoPassGood) in PreEncodeFrameHook()
108 ::libvpx_test::TestMode encoding_mode_;
152 ::libvpx_test::MD5 md5_row_mt_0, md5_row_mt_1; in compare_fp_stats_md5()
170 ::libvpx_test::Y4mVideoSource video("niklas_1280_720_30.y4m", 0, 60); in TEST_P()
221 : public ::libvpx_test::EncoderTest,
222 public ::libvpx_test::CodecTestWith4Params<libvpx_test::TestMode, int,
[all …]
Dlevel_test.cc18 : public ::libvpx_test::EncoderTest,
19 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
30 if (encoding_mode_ != ::libvpx_test::kRealTime) { in SetUp()
44 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
45 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
50 if (encoding_mode_ != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
62 ::libvpx_test::TestMode encoding_mode_;
70 ASSERT_NE(encoding_mode_, ::libvpx_test::kRealTime); in TEST_P()
71 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
80 ASSERT_NE(encoding_mode_, ::libvpx_test::kRealTime); in TEST_P()
[all …]
Dvp9_motion_vector_test.cc25 const libvpx_test::TestMode kEncodingModeVectors[] = {
26 ::libvpx_test::kTwoPassGood, ::libvpx_test::kOnePassGood,
27 ::libvpx_test::kRealTime
37 : public ::libvpx_test::EncoderTest,
38 public ::libvpx_test::CodecTestWith3Params<libvpx_test::TestMode, int,
50 if (encoding_mode_ != ::libvpx_test::kRealTime) { in SetUp()
62 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
63 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
67 if (encoding_mode_ != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
76 libvpx_test::TestMode encoding_mode_;
[all …]
Ddecode_svc_test.cc24 class DecodeSvcTest : public ::libvpx_test::DecoderTest,
25 public ::libvpx_test::CodecTestWithParam<const char *> {
27 DecodeSvcTest() : DecoderTest(GET_PARAM(::libvpx_test::kCodecFactoryParam)) {} in DecodeSvcTest()
31 const libvpx_test::CompressedVideoSource &video, in PreDecodeFrameHook()
32 libvpx_test::Decoder *decoder) { in PreDecodeFrameHook()
57 std::unique_ptr<libvpx_test::CompressedVideoSource> video; in TEST_P()
58 video.reset(new libvpx_test::IVFVideoSource(filename)); in TEST_P()
74 std::unique_ptr<libvpx_test::CompressedVideoSource> video; in TEST_P()
75 video.reset(new libvpx_test::IVFVideoSource(filename)); in TEST_P()
91 std::unique_ptr<libvpx_test::CompressedVideoSource> video; in TEST_P()
[all …]
Daltref_test.cc23 class AltRefTest : public ::libvpx_test::EncoderTest,
24 public ::libvpx_test::CodecTestWithParam<int> {
31 SetMode(libvpx_test::kTwoPassGood); in SetUp()
36 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
37 libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
60 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
72 : public ::libvpx_test::EncoderTest,
73 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
87 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
88 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
[all …]
Dcpu_speed_test.cc22 : public ::libvpx_test::EncoderTest,
23 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
34 if (encoding_mode_ != ::libvpx_test::kRealTime) { in SetUp()
45 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
46 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
50 if (encoding_mode_ != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
63 ::libvpx_test::TestMode encoding_mode_;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
90 ::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 25); in TEST_P()
105 ::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 25); in TEST_P()
[all …]
Ddecode_corrupted.cc24 : public ::libvpx_test::EncoderTest,
26 std::tuple<const libvpx_test::CodecFactory *> > {
35 SetMode(::libvpx_test::kRealTime); in SetUp()
47 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
48 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
70 const libvpx_test::VideoSource & /*video*/, in HandleDecodeResult()
71 libvpx_test::Decoder *decoder) { in HandleDecodeResult()
83 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
93 static_cast<const libvpx_test::CodecFactory *>(&libvpx_test::kVP9)));
100 static_cast<const libvpx_test::CodecFactory *>(&libvpx_test::kVP8)));
Dvp9_lossless_test.cc25 : public ::libvpx_test::EncoderTest,
26 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
39 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
40 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
64 libvpx_test::TestMode encoding_mode_;
78 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
86 libvpx_test::Y4mVideoSource video("rush_hour_444.y4m", 0, 10); in TEST_P()
114 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
122 ::testing::Values(::libvpx_test::kRealTime,
123 ::libvpx_test::kOnePassGood,
[all …]
Dvp9_arf_freq_test.cc43 libvpx_test::TestMode mode;
60 { ::libvpx_test::kOnePassGood, 2 }, { ::libvpx_test::kOnePassGood, 5 },
61 { ::libvpx_test::kTwoPassGood, 1 }, { ::libvpx_test::kTwoPassGood, 2 },
62 { ::libvpx_test::kTwoPassGood, 5 }, { ::libvpx_test::kRealTime, 5 },
81 : public ::libvpx_test::EncoderTest,
82 public ::libvpx_test::CodecTestWith3Params<TestVideoParam,
94 if (test_encode_param_.mode != ::libvpx_test::kRealTime) { in SetUp()
148 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
149 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
155 if (test_encode_param_.mode != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
[all …]
Dalt_ref_aq_segment_test.cc19 : public ::libvpx_test::EncoderTest,
20 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
33 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
34 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
63 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
84 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
105 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
126 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
147 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
154 ::testing::Values(::libvpx_test::kOnePassGood,
[all …]
Dsvc_end_to_end_test.cc39 public ::testing::TestWithParam<const ::libvpx_test::CodecFactory *> {
43 SetMode(::libvpx_test::kRealTime); in ScalePartitionOnePassCbrSvc()
54 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
55 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
102 ::libvpx_test::I420VideoSource video( in TEST_P()
117 public ::libvpx_test::CodecTestWithParam<int> {
125 SetMode(::libvpx_test::kRealTime); in SyncFrameOnePassCbrSvc()
141 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
142 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
164 virtual void PreDecodeFrameHook(::libvpx_test::VideoSource *video, in PreDecodeFrameHook()
[all …]
Dframe_size_tests.cc16 class VP9FrameSizeTestsLarge : public ::libvpx_test::EncoderTest,
20 : EncoderTest(&::libvpx_test::kVP9), expected_res_(VPX_CODEC_OK) {} in VP9FrameSizeTestsLarge()
25 SetMode(::libvpx_test::kRealTime); in SetUp()
29 const libvpx_test::VideoSource & /*video*/, in HandleDecodeResult()
30 libvpx_test::Decoder *decoder) { in HandleDecodeResult()
35 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
36 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
50 ::libvpx_test::RandomVideoSource video; in TEST_F()
61 ::libvpx_test::RandomVideoSource video; in TEST_F()
88 ::libvpx_test::RandomVideoSource video; in TEST_F()
Daq_segment_test.cc19 : public ::libvpx_test::EncoderTest,
20 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
32 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
33 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
59 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
79 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
99 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
106 ::testing::Values(::libvpx_test::kRealTime,
107 ::libvpx_test::kOnePassGood),
Dinvalid_file_test.cc38 class InvalidFileTest : public ::libvpx_test::DecoderTest,
39 public ::libvpx_test::CodecTestWithParam<DecodeParam> {
48 res_file_ = libvpx_test::OpenTestDataFile(res_file_name_); in OpenResFile()
55 const libvpx_test::CompressedVideoSource &video, in HandleDecodeResult()
56 libvpx_test::Decoder *decoder) { in HandleDecodeResult()
93 std::unique_ptr<libvpx_test::CompressedVideoSource> video; in RunTest()
95 video.reset(new libvpx_test::IVFVideoSource(filename)); in RunTest()
98 video.reset(new libvpx_test::WebMVideoSource(filename)); in RunTest()
175 virtual void HandlePeekResult(libvpx_test::Decoder *const /*decoder*/, in HandlePeekResult()
176 libvpx_test::CompressedVideoSource * /*video*/, in HandlePeekResult()
[all …]
Dtile_independence_test.cc23 class TileIndependenceTest : public ::libvpx_test::EncoderTest,
24 public ::libvpx_test::CodecTestWithParam<int> {
46 SetMode(libvpx_test::kTwoPassGood); in SetUp()
49 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
50 libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
56 void UpdateMD5(::libvpx_test::Decoder *dec, const vpx_codec_cx_pkt_t *pkt, in UpdateMD5()
57 ::libvpx_test::MD5 *md5) { in UpdateMD5()
73 ::libvpx_test::MD5 md5_fw_order_, md5_inv_order_;
74 ::libvpx_test::Decoder *fw_dec_, *inv_dec_;
90 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 144, in TEST_P()
Dborders_test.cc21 : public ::libvpx_test::EncoderTest,
22 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
32 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
33 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
60 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
76 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
83 ::testing::Values(::libvpx_test::kTwoPassGood));
Dkeyframe_test.cc21 : public ::libvpx_test::EncoderTest,
22 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
36 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
37 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
66 ::libvpx_test::RandomVideoSource video; in TEST_P()
80 ::libvpx_test::RandomVideoSource video; in TEST_P()
90 ::libvpx_test::DummyVideoSource video; in TEST_P()
103 ::libvpx_test::DummyVideoSource video; in TEST_P()
126 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
Drealtime_test.cc23 : public ::libvpx_test::EncoderTest,
24 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
32 SetMode(::libvpx_test::kRealTime); in SetUp()
51 ::libvpx_test::RandomVideoSource video; in TEST_P()
59 ::testing::Values(::libvpx_test::kRealTime));
61 ::testing::Values(::libvpx_test::kRealTime));
Dactive_map_refresh_test.cc61 : public ::libvpx_test::EncoderTest,
62 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
73 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
74 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
75 ::libvpx_test::Y4mVideoSource *y4m_video = in PreEncodeFrameHook()
76 static_cast<libvpx_test::Y4mVideoSource *>(video); in PreEncodeFrameHook()
103 ::libvpx_test::Y4mVideoSource *y4m_holder_;
117 ::libvpx_test::Y4mVideoSource video("desktop_credits.y4m", 0, 30); in TEST_P()
118 ::libvpx_test::Y4mVideoSource video_holder("desktop_credits.y4m", 0, 30); in TEST_P()
126 ::testing::Values(::libvpx_test::kRealTime),
Dexternal_frame_buffer_test.cc206 : public ::libvpx_test::DecoderTest,
207 public ::libvpx_test::CodecTestWithParam<const char *> {
210 : DecoderTest(GET_PARAM(::libvpx_test::kCodecFactoryParam)), in ExternalFrameBufferMD5Test()
218 const libvpx_test::CompressedVideoSource &video, in PreDecodeFrameHook()
219 libvpx_test::Decoder *decoder) { in PreDecodeFrameHook()
230 md5_file_ = libvpx_test::OpenTestDataFile(md5_file_name_); in OpenMD5File()
246 ::libvpx_test::MD5 md5_res; in DecompressedFrameHook()
292 video_ = new libvpx_test::WebMVideoSource(kVP9TestFile); in SetUp()
298 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp()
340 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames()
[all …]
Dvp9_datarate_test.cc22 class DatarateTestVP9 : public ::libvpx_test::EncoderTest {
24 explicit DatarateTestVP9(const ::libvpx_test::CodecFactory *codec) in DatarateTestVP9()
114 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
115 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
232 public ::libvpx_test::CodecTestWith2Params<int, int> {
239 SetMode(::libvpx_test::kRealTime); in SetUp()
248 public ::libvpx_test::CodecTestWith2Params<int, int> {
255 SetMode(::libvpx_test::kRealTime); in SetUp()
269 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
297 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
[all …]
Dactive_map_test.cc21 : public ::libvpx_test::EncoderTest,
22 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
36 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
37 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
82 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, 1, in TEST_P()
89 ::testing::Values(::libvpx_test::kRealTime),
Dsuperframe_test.cc23 typedef std::tuple<libvpx_test::TestMode, int> SuperframeTestParam;
26 : public ::libvpx_test::EncoderTest,
27 public ::libvpx_test::CodecTestWithParam<SuperframeTestParam> {
36 const libvpx_test::TestMode mode = std::get<kTestMode>(input); in SetUp()
44 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
45 libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
92 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
100 ::testing::Combine(::testing::Values(::libvpx_test::kTwoPassGood),

12345