/external/libaom/libaom/test/ |
D | av1_convolve_2d_test.cc | 15 using libaom_test::ACMRandom; 16 using libaom_test::AV1Convolve2D::AV1Convolve2DSrTest; 17 using libaom_test::AV1Convolve2D::AV1JntConvolve2DTest; 18 using libaom_test::AV1HighbdConvolve2D::AV1HighbdConvolve2DSrTest; 19 using libaom_test::AV1HighbdConvolve2D::AV1HighbdJntConvolve2DTest; 31 libaom_test::AV1Convolve2D::BuildParams(av1_convolve_2d_copy_sr_c, 0, 0)); 34 libaom_test::AV1Convolve2D::BuildParams(av1_convolve_x_sr_c, 1, 0)); 37 libaom_test::AV1Convolve2D::BuildParams(av1_convolve_y_sr_c, 0, 1)); 40 libaom_test::AV1Convolve2D::BuildParams(av1_convolve_2d_sr_c, 1, 1)); 43 libaom_test::AV1Convolve2D::BuildParams( [all …]
|
D | test_vector_test.cc | 38 class TestVectorTest : public ::libaom_test::DecoderTest, 39 public ::libaom_test::CodecTestWithParam<DecodeParam> { 48 md5_file_ = libaom_test::OpenTestDataFile(md5_file_name_); in OpenMD5File() 54 const libaom_test::CompressedVideoSource &video, in PreDecodeFrameHook() 55 libaom_test::Decoder *decoder) { in PreDecodeFrameHook() 70 ::libaom_test::MD5 md5_res; in DecompressedFrameHook() 120 std::unique_ptr<libaom_test::CompressedVideoSource> video; in TEST_P() 122 video.reset(new libaom_test::IVFVideoSource(filename)); in TEST_P() 126 video.reset(new libaom_test::WebMVideoSource(filename)); in TEST_P() 153 ::testing::ValuesIn(libaom_test::kAV1TestVectors, [all …]
|
D | motion_vector_test.cc | 26 const libaom_test::TestMode kEncodingModeVectors[] = { 27 ::libaom_test::kTwoPassGood, 28 ::libaom_test::kOnePassGood, 38 : public ::libaom_test::CodecTestWith3Params<libaom_test::TestMode, int, 40 public ::libaom_test::EncoderTest { 51 if (encoding_mode_ != ::libaom_test::kRealTime) { in SetUp() 63 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 64 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 68 if (encoding_mode_ != ::libaom_test::kRealTime) { in PreEncodeFrameHook() 76 libaom_test::TestMode encoding_mode_; [all …]
|
D | cpu_speed_test.cc | 24 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 25 public ::libaom_test::EncoderTest { 36 if (encoding_mode_ != ::libaom_test::kRealTime) { in SetUp() 47 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 48 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 52 if (encoding_mode_ != ::libaom_test::kRealTime) { in PreEncodeFrameHook() 70 ::libaom_test::TestMode encoding_mode_; 87 ::libaom_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TestQ0() 97 ::libaom_test::Y4mVideoSource video("screendata.y4m", 0, 3); in TestScreencastQ0() 112 ::libaom_test::Y4mVideoSource video("screendata.y4m", 0, 3); in TestTuneScreen() [all …]
|
D | arf_freq_test.cc | 44 libaom_test::TestMode mode; 59 { ::libaom_test::kOnePassGood, 2 }, { ::libaom_test::kOnePassGood, 5 }, 60 { ::libaom_test::kTwoPassGood, 1 }, { ::libaom_test::kTwoPassGood, 2 }, 61 { ::libaom_test::kTwoPassGood, 5 }, { ::libaom_test::kRealTime, 5 }, 79 : public ::libaom_test::CodecTestWith3Params<TestVideoParam, 81 public ::libaom_test::EncoderTest { 92 if (test_encode_param_.mode != ::libaom_test::kRealTime) { in SetUp() 145 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 146 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 152 if (test_encode_param_.mode != ::libaom_test::kRealTime) { in PreEncodeFrameHook() [all …]
|
D | end_to_end_test.cc | 76 const libaom_test::TestMode kEncodingModeVectors[] = { 77 ::libaom_test::kTwoPassGood, 78 ::libaom_test::kOnePassGood, 79 ::libaom_test::kRealTime, 94 : public ::libaom_test::CodecTestWith3Params<libaom_test::TestMode, 96 public ::libaom_test::EncoderTest { 108 if (encoding_mode_ != ::libaom_test::kRealTime) { in SetUp() 130 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 131 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 137 if (cpu_used_ == 1 && encoding_mode_ == ::libaom_test::kTwoPassGood) in PreEncodeFrameHook() [all …]
|
D | aq_segment_test.cc | 23 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 24 public ::libaom_test::EncoderTest { 36 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 37 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 58 ::libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, in DoTest() 94 ::libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 101 ::testing::Values(::libaom_test::kRealTime, 102 ::libaom_test::kOnePassGood), 105 ::testing::Values(::libaom_test::kRealTime, 106 ::libaom_test::kOnePassGood),
|
D | horz_superres_test.cc | 75 typedef tuple<const libaom_test::CodecFactory *, TestVideoParam, SUPERRES_MODE> 80 public ::libaom_test::EncoderTest { 90 SetMode(::libaom_test::kTwoPassGood); in SetUp() 115 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 116 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 142 std::unique_ptr<libaom_test::VideoSource> video; in DoTest() 143 video.reset(new libaom_test::Y4mVideoSource(test_video_param_.filename, 0, in DoTest() 173 typedef tuple<const libaom_test::CodecFactory *, TestVideoParam, 179 public ::libaom_test::EncoderTest { 193 SetMode(::libaom_test::kTwoPassGood); in SetUp() [all …]
|
D | lossless_test.cc | 27 : public ::libaom_test::CodecTestWithParam<libaom_test::TestMode>, 28 public ::libaom_test::EncoderTest { 41 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 42 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 66 libaom_test::TestMode encoding_mode_; 80 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 88 libaom_test::Y4mVideoSource video("rush_hour_444.y4m", 0, 5); in TEST_P() 116 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 124 ::testing::Values(::libaom_test::kOnePassGood, 125 ::libaom_test::kTwoPassGood));
|
D | level_test.cc | 31 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 32 public ::libaom_test::EncoderTest { 43 if (encoding_mode_ != ::libaom_test::kRealTime) { in SetUp() 55 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 56 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 60 if (encoding_mode_ != ::libaom_test::kRealTime) { in PreEncodeFrameHook() 68 libaom_test::TestMode encoding_mode_; 97 std::unique_ptr<libaom_test::VideoSource> video; in TEST_P() 98 video.reset(new libaom_test::Y4mVideoSource("park_joy_90p_8_420.y4m", 0, 10)); in TEST_P() 106 ::testing::Values(::libaom_test::kTwoPassGood),
|
D | ethread_test.cc | 23 : public ::libaom_test::CodecTestWith5Params<libaom_test::TestMode, int, 25 public ::libaom_test::EncoderTest { 53 if (encoding_mode_ != ::libaom_test::kRealTime) { in SetUp() 71 virtual void PreEncodeFrameHook(::libaom_test::VideoSource * /*video*/, in PreEncodeFrameHook() 72 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 77 if (encoding_mode_ != ::libaom_test::kRealTime) { in PreEncodeFrameHook() 90 virtual void SetTileSize(libaom_test::Encoder *encoder) { in SetTileSize() 98 ::libaom_test::MD5 md5_enc; in FramePktHook() 112 ::libaom_test::MD5 md5_res; in FramePktHook() 119 ::libaom_test::YUVVideoSource video( in DoTest() [all …]
|
D | altref_test.cc | 20 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 21 public ::libaom_test::EncoderTest { 35 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 36 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 42 if (GET_PARAM(0) == &libaom_test::kAV1) { in PreEncodeFrameHook() 59 ::libaom_test::TestMode encoding_mode_; 73 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 87 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 94 ::testing::Values(::libaom_test::kOnePassGood),
|
D | comp_avg_pred_test.cc | 14 using libaom_test::ACMRandom; 15 using libaom_test::AV1DISTWTDCOMPAVG::AV1DISTWTDCOMPAVGTest; 16 using libaom_test::AV1DISTWTDCOMPAVG::AV1DISTWTDCOMPAVGUPSAMPLEDTest; 17 using libaom_test::AV1DISTWTDCOMPAVG::AV1HighBDDISTWTDCOMPAVGTest; 18 using libaom_test::AV1DISTWTDCOMPAVG::AV1HighBDDISTWTDCOMPAVGUPSAMPLEDTest; 30 libaom_test::AV1DISTWTDCOMPAVG::BuildParams( 44 libaom_test::AV1DISTWTDCOMPAVG::BuildParams( 58 libaom_test::AV1DISTWTDCOMPAVG::BuildParams( 72 libaom_test::AV1DISTWTDCOMPAVG::BuildParams(
|
D | frame_size_tests.cc | 19 public ::libaom_test::EncoderTest { 22 : EncoderTest(&::libaom_test::kAV1), expected_res_(AOM_CODEC_OK) {} in AV1FrameSizeTests() 27 SetMode(::libaom_test::kRealTime); in SetUp() 31 libaom_test::Decoder *decoder) { in HandleDecodeResult() 36 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 37 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 51 ::libaom_test::RandomVideoSource video; in TEST_F() 60 ::libaom_test::RandomVideoSource video; in TEST_F() 70 ::libaom_test::RandomVideoSource video; in TEST_F()
|
D | hiprec_convolve_test.cc | 15 using libaom_test::ACMRandom; 16 using libaom_test::AV1HighbdHiprecConvolve::AV1HighbdHiprecConvolveTest; 17 using libaom_test::AV1HiprecConvolve::AV1HiprecConvolveTest; 29 libaom_test::AV1HiprecConvolve::BuildParams( 34 libaom_test::AV1HiprecConvolve::BuildParams( 39 libaom_test::AV1HiprecConvolve::BuildParams( 52 libaom_test::AV1HighbdHiprecConvolve::BuildParams( 57 libaom_test::AV1HighbdHiprecConvolve::BuildParams(
|
D | fwd_kf_test.cc | 33 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 34 public ::libaom_test::EncoderTest { 68 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 69 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 72 if (encoding_mode_ != ::libaom_test::kRealTime) { in PreEncodeFrameHook() 87 ::libaom_test::TestMode encoding_mode_; 97 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 108 ForwardKeyTest, ::testing::Values(::libaom_test::kTwoPassGood),
|
D | av1_ext_tile_test.cc | 36 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 37 public ::libaom_test::EncoderTest { 78 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 79 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 109 ::libaom_test::MD5 md5_res; in DecompressedFrameHook() 143 ::libaom_test::MD5 md5_res; in FramePktHook() 169 ::libaom_test::MD5 md5_res; in FramePktHook() 176 ::libaom_test::I420VideoSource video( in TestRoundTrip() 192 ::libaom_test::TestMode encoding_mode_; 194 ::libaom_test::Decoder *decoder_; [all …]
|
D | borders_test.cc | 23 : public ::libaom_test::CodecTestWithParam<libaom_test::TestMode>, 24 public ::libaom_test::EncoderTest { 34 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 35 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 61 ::libaom_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 77 ::libaom_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P() 84 ::testing::Values(::libaom_test::kTwoPassGood));
|
D | gf_max_pyr_height_test.cc | 41 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, 43 public ::libaom_test::EncoderTest { 75 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 76 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 79 if (encoding_mode_ != ::libaom_test::kRealTime) { in PreEncodeFrameHook() 95 ::libaom_test::TestMode encoding_mode_; 104 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P() 113 ::testing::Values(::libaom_test::kTwoPassGood),
|
D | tile_independence_test.cc | 25 : public ::libaom_test::CodecTestWith3Params<int, int, int>, 26 public ::libaom_test::EncoderTest { 57 SetMode(libaom_test::kTwoPassGood); in SetUp() 60 virtual void PreEncodeFrameHook(libaom_test::VideoSource *video, in PreEncodeFrameHook() 61 libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 71 virtual void SetCpuUsed(libaom_test::Encoder *encoder) { in SetCpuUsed() 76 void UpdateMD5(::libaom_test::Decoder *dec, const aom_codec_cx_pkt_t *pkt, in UpdateMD5() 77 ::libaom_test::MD5 *md5) { in UpdateMD5() 100 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 576, in DoTest() 109 ::libaom_test::MD5 md5_fw_order_, md5_inv_order_; [all …]
|
D | av1_inv_txfm2d_test.cc | 26 using libaom_test::ACMRandom; 27 using libaom_test::bd; 28 using libaom_test::compute_avg_abs_error; 29 using libaom_test::input_base; 30 using libaom_test::InvTxfm2dFunc; 31 using libaom_test::LbdInvTxfm2dFunc; 58 const FwdTxfm2dFunc fwd_txfm_func = libaom_test::fwd_txfm_func_ls[tx_size_]; in RunRoundtripCheck() 59 const InvTxfm2dFunc inv_txfm_func = libaom_test::inv_txfm_func_ls[tx_size_]; in RunRoundtripCheck() 90 libaom_test::reference_hybrid_2d(ref_input, ref_coeffs, tx_type_, in RunRoundtripCheck() 198 if (libaom_test::IsTxSizeTypeValid(tx_size, tx_type)) { in GetInvTxfm2dParamList() [all …]
|
D | qm_test.cc | 22 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 23 public ::libaom_test::EncoderTest { 34 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 35 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 58 ::libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, in DoTest() 78 ::testing::Values(::libaom_test::kRealTime, 79 ::libaom_test::kOnePassGood),
|
D | decode_multithreaded_test.cc | 29 : public ::libaom_test::CodecTestWith5Params<int, int, int, int, int>, 30 public ::libaom_test::EncoderTest { 74 SetMode(libaom_test::kTwoPassGood); in SetUp() 77 virtual void PreEncodeFrameHook(libaom_test::VideoSource *video, in PreEncodeFrameHook() 78 libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 87 void UpdateMD5(::libaom_test::Decoder *dec, const aom_codec_cx_pkt_t *pkt, in UpdateMD5() 88 ::libaom_test::MD5 *md5) { in UpdateMD5() 113 libaom_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 576, in DoTest() 125 ::libaom_test::MD5 md5_single_thread_; 126 ::libaom_test::MD5 md5_multi_thread_[kNumMultiThreadDecoders]; [all …]
|
D | warp_filter_test.cc | 13 using libaom_test::ACMRandom; 14 using libaom_test::AV1HighbdWarpFilter::AV1HighbdWarpFilterTest; 15 using libaom_test::AV1WarpFilter::AV1WarpFilterTest; 30 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_c)); 35 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_sse4_1)); 45 libaom_test::AV1HighbdWarpFilter::BuildParams( 53 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_neon));
|
D | active_map_test.cc | 23 : public ::libaom_test::CodecTestWith2Params<libaom_test::TestMode, int>, 24 public ::libaom_test::EncoderTest { 38 virtual void PreEncodeFrameHook(::libaom_test::VideoSource *video, in PreEncodeFrameHook() 39 ::libaom_test::Encoder *encoder) { in PreEncodeFrameHook() 80 ::libaom_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, in DoTest() 96 ::testing::Values(::libaom_test::kRealTime), 100 ::testing::Values(::libaom_test::kRealTime),
|