/external/libvpx/libvpx/test/ |
D | test_vector_test.cc | 39 class TestVectorTest : public ::libvpx_test::DecoderTest, 40 public ::libvpx_test::CodecTestWithParam<DecodeParam> { 44 resize_clips_.insert(::libvpx_test::kVP9TestVectorsResize, in TestVectorTest() 45 ::libvpx_test::kVP9TestVectorsResize + in TestVectorTest() 46 ::libvpx_test::kNumVP9TestVectorsResize); in TestVectorTest() 55 md5_file_ = libvpx_test::OpenTestDataFile(md5_file_name_); in OpenMD5File() 71 ::libvpx_test::MD5 md5_res; in DecompressedFrameHook() 106 std::unique_ptr<libvpx_test::CompressedVideoSource> video; in TEST_P() 108 video.reset(new libvpx_test::IVFVideoSource(filename)); in TEST_P() 111 video.reset(new libvpx_test::WebMVideoSource(filename)); in TEST_P() [all …]
|
D | vp9_end_to_end_test.cc | 63 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 …]
|
D | vp9_ethread_test.cc | 34 : 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 …]
|
D | level_test.cc | 18 : 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 …]
|
D | decode_svc_test.cc | 24 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 …]
|
D | vp9_motion_vector_test.cc | 25 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 …]
|
D | altref_test.cc | 23 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 …]
|
D | cpu_speed_test.cc | 22 : 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 …]
|
D | decode_corrupted.cc | 24 : 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)));
|
D | vp9_lossless_test.cc | 25 : 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 …]
|
D | vp9_arf_freq_test.cc | 43 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 …]
|
D | svc_end_to_end_test.cc | 26 public ::testing::TestWithParam<const ::libvpx_test::CodecFactory *> { 30 SetMode(::libvpx_test::kRealTime); in ScalePartitionOnePassCbrSvc() 41 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() 42 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook() 89 ::libvpx_test::I420VideoSource video( in TEST_P() 104 public ::libvpx_test::CodecTestWithParam<int> { 112 SetMode(::libvpx_test::kRealTime); in SyncFrameOnePassCbrSvc() 128 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() 129 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook() 148 virtual void PreDecodeFrameHook(::libvpx_test::VideoSource *video, in PreDecodeFrameHook() [all …]
|
D | alt_ref_aq_segment_test.cc | 19 : 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 …]
|
D | frame_size_tests.cc | 16 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()
|
D | aq_segment_test.cc | 19 : 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),
|
D | invalid_file_test.cc | 38 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() 174 virtual void HandlePeekResult(libvpx_test::Decoder *const /*decoder*/, in HandlePeekResult() 175 libvpx_test::CompressedVideoSource * /*video*/, in HandlePeekResult() [all …]
|
D | tile_independence_test.cc | 23 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()
|
D | borders_test.cc | 21 : 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));
|
D | keyframe_test.cc | 21 : 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()
|
D | active_map_refresh_test.cc | 61 : 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),
|
D | vp9_datarate_test.cc | 22 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::CodecTestWith3Params<libvpx_test::TestMode, int, 270 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 298 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 327 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() [all …]
|
D | external_frame_buffer_test.cc | 206 : 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 …]
|
D | realtime_test.cc | 23 : 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));
|
D | vp8_datarate_test.cc | 22 : public ::libvpx_test::EncoderTest, 23 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> { 50 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() 51 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook() 165 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 191 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 220 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 248 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 276 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 301 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() [all …]
|
D | decode_perf_test.cc | 80 libvpx_test::WebMVideoSource video(video_name); in TEST_P() 85 libvpx_test::VP9Decoder decoder(cfg, 0); in TEST_P() 114 : public ::libvpx_test::EncoderTest, 115 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> { 140 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook() 141 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook() 185 libvpx_test::TestMode encoding_mode_; 219 libvpx_test::I420VideoSource video( in TEST_P() 229 libvpx_test::IVFVideoSource decode_video(kNewEncodeOutputFile); in TEST_P() 234 libvpx_test::VP9Decoder decoder(cfg, 0); in TEST_P() [all …]
|