Home
last modified time | relevance | path

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

1234

/external/libvpx/libvpx/test/
Dcpu_speed_test.cc22 : public ::libvpx_test::EncoderTest,
23 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
35 if (encoding_mode_ != ::libvpx_test::kRealTime) { in SetUp()
48 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
49 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
52 if (encoding_mode_ != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
66 ::libvpx_test::TestMode encoding_mode_;
82 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
92 ::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 25); in TEST_P()
117 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
[all …]
Dtest_vector_test.cc41 class TestVectorTest : public ::libvpx_test::DecoderTest,
42 public ::libvpx_test::CodecTestWithParam<DecodeParam> {
55 md5_file_ = libvpx_test::OpenTestDataFile(md5_file_name_); in OpenMD5File()
71 ::libvpx_test::MD5 md5_res; in DecompressedFrameHook()
93 libvpx_test::CompressedVideoSource *video = NULL; in TEST_P()
111 video = new libvpx_test::IVFVideoSource(filename); in TEST_P()
114 video = new libvpx_test::WebMVideoSource(filename); in TEST_P()
144 ::testing::ValuesIn(libvpx_test::kVP8TestVectors,
145 libvpx_test::kVP8TestVectors +
146 libvpx_test::kNumVP8TestVectors)));
[all …]
Dvp9_ethread_test.cc22 : public ::libvpx_test::EncoderTest,
23 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
47 if (encoding_mode_ != ::libvpx_test::kRealTime) { in SetUp()
65 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
66 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
71 if (encoding_mode_ != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
94 ::libvpx_test::MD5 md5_res; in FramePktHook()
102 ::libvpx_test::TestMode encoding_mode_;
104 ::libvpx_test::Decoder *decoder_;
111 ::libvpx_test::Y4mVideoSource video("niklas_1280_720_30.y4m", 15, 20); in TEST_P()
[all …]
Dvp9_lossless_test.cc24 class LosslessTest : public ::libvpx_test::EncoderTest,
25 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
41 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
42 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
69 libvpx_test::TestMode encoding_mode_;
83 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
91 libvpx_test::Y4mVideoSource video("rush_hour_444.y4m", 0, 10); in TEST_P()
119 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
127 ::testing::Values(::libvpx_test::kRealTime,
128 ::libvpx_test::kOnePassGood,
[all …]
Dvp9_end_to_end_test.cc64 const libvpx_test::TestMode kEncodingModeVectors[] = {
65 ::libvpx_test::kTwoPassGood,
66 ::libvpx_test::kOnePassGood,
67 ::libvpx_test::kRealTime,
82 : public ::libvpx_test::EncoderTest,
83 public ::libvpx_test::CodecTestWith3Params<libvpx_test::TestMode, \
100 if (encoding_mode_ != ::libvpx_test::kRealTime) { in SetUp()
123 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
124 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
129 if (encoding_mode_ != ::libvpx_test::kRealTime) { in PreEncodeFrameHook()
[all …]
Dvp9_arf_freq_test.cc41 libvpx_test::TestMode mode;
59 {::libvpx_test::kOnePassGood, 2},
60 {::libvpx_test::kOnePassGood, 5},
61 {::libvpx_test::kTwoPassGood, 1},
62 {::libvpx_test::kTwoPassGood, 2},
63 {::libvpx_test::kTwoPassGood, 5},
64 {::libvpx_test::kRealTime, 5},
82 : public ::libvpx_test::EncoderTest,
83 public ::libvpx_test::CodecTestWith3Params<TestVideoParam, \
98 if (test_encode_param_.mode != ::libvpx_test::kRealTime) { in SetUp()
[all …]
Dinvalid_file_test.cc38 : public ::libvpx_test::DecoderTest,
39 public ::libvpx_test::CodecTestWithParam<DecodeParam> {
49 res_file_ = libvpx_test::OpenTestDataFile(res_file_name_); in OpenResFile()
56 const libvpx_test::CompressedVideoSource &video, in HandleDecodeResult()
57 libvpx_test::Decoder *decoder) { in HandleDecodeResult()
88 libvpx_test::CompressedVideoSource *video = NULL; in RunTest()
95 video = new libvpx_test::IVFVideoSource(filename); in RunTest()
98 video = new libvpx_test::WebMVideoSource(filename); in RunTest()
151 virtual void HandlePeekResult(libvpx_test::Decoder *const /*decoder*/, in HandlePeekResult()
152 libvpx_test::CompressedVideoSource* /*video*/, in HandlePeekResult()
[all …]
Dframe_size_tests.cc17 : public ::libvpx_test::EncoderTest,
20 VP9FrameSizeTestsLarge() : EncoderTest(&::libvpx_test::kVP9), in VP9FrameSizeTestsLarge()
26 SetMode(::libvpx_test::kRealTime); in SetUp()
30 const libvpx_test::VideoSource& /*video*/, in HandleDecodeResult()
31 libvpx_test::Decoder *decoder) { in HandleDecodeResult()
36 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
37 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
51 ::libvpx_test::RandomVideoSource video; in TEST_F()
62 ::libvpx_test::RandomVideoSource video; in TEST_F()
89 ::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),
Dborders_test.cc20 class BordersTest : public ::libvpx_test::EncoderTest,
21 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
31 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
32 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
59 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
75 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, in TEST_P()
82 ::libvpx_test::kTwoPassGood));
85 ::libvpx_test::kTwoPassGood));
Dtile_independence_test.cc23 class TileIndependenceTest : public ::libvpx_test::EncoderTest,
24 public ::libvpx_test::CodecTestWithParam<int> {
48 SetMode(libvpx_test::kTwoPassGood); in SetUp()
51 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
52 libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
58 void UpdateMD5(::libvpx_test::Decoder *dec, const vpx_codec_cx_pkt_t *pkt, in UpdateMD5()
59 ::libvpx_test::MD5 *md5) { in UpdateMD5()
75 ::libvpx_test::MD5 md5_fw_order_, md5_inv_order_;
76 ::libvpx_test::Decoder *fw_dec_, *inv_dec_;
92 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 144, in TEST_P()
Dkeyframe_test.cc20 class KeyframeTest : public ::libvpx_test::EncoderTest,
21 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
35 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
36 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
63 ::libvpx_test::RandomVideoSource video; in TEST_P()
76 ::libvpx_test::RandomVideoSource video; in TEST_P()
86 ::libvpx_test::DummyVideoSource video; in TEST_P()
99 ::libvpx_test::DummyVideoSource video; in TEST_P()
123 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
Dactive_map_refresh_test.cc60 : public ::libvpx_test::EncoderTest,
61 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
72 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
73 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
74 ::libvpx_test::Y4mVideoSource *y4m_video = in PreEncodeFrameHook()
75 static_cast<libvpx_test::Y4mVideoSource *>(video); in PreEncodeFrameHook()
102 ::libvpx_test::Y4mVideoSource *y4m_holder_;
116 ::libvpx_test::Y4mVideoSource video("desktop_credits.y4m", 0, 30); in TEST_P()
117 ::libvpx_test::Y4mVideoSource video_holder("desktop_credits.y4m", 0, 30); in TEST_P()
125 ::testing::Values(::libvpx_test::kRealTime),
Dresize_test.cc107 class ResizingVideoSource : public ::libvpx_test::DummyVideoSource {
125 class ResizeTest : public ::libvpx_test::EncoderTest,
126 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
197 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
198 libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
252 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
281 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
289 class ResizeInternalRealtimeTest : public ::libvpx_test::EncoderTest,
290 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
295 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
[all …]
Dexternal_frame_buffer_test.cc202 : public ::libvpx_test::DecoderTest,
203 public ::libvpx_test::CodecTestWithParam<const char*> {
206 : DecoderTest(GET_PARAM(::libvpx_test::kCodecFactoryParam)), in ExternalFrameBufferMD5Test()
216 const libvpx_test::CompressedVideoSource &video, in PreDecodeFrameHook()
217 libvpx_test::Decoder *decoder) { in PreDecodeFrameHook()
228 md5_file_ = libvpx_test::OpenTestDataFile(md5_file_name_); in OpenMD5File()
244 ::libvpx_test::MD5 md5_res; in DecompressedFrameHook()
290 video_ = new libvpx_test::WebMVideoSource(kVP9TestFile); in SetUp()
296 decoder_ = new libvpx_test::VP9Decoder(cfg, 0); in SetUp()
340 libvpx_test::DxDataIterator dec_iter = decoder_->GetDxData(); in CheckDecodedFrames()
[all …]
Dsuperframe_test.cc22 typedef std::tr1::tuple<libvpx_test::TestMode,int> SuperframeTestParam;
24 class SuperframeTest : public ::libvpx_test::EncoderTest,
25 public ::libvpx_test::CodecTestWithParam<SuperframeTestParam> {
34 const libvpx_test::TestMode mode = std::tr1::get<kTestMode>(input); in SetUp()
46 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
47 libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
100 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
107 ::testing::Values(::libvpx_test::kTwoPassGood),
111 ::testing::Values(::libvpx_test::kTwoPassGood),
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()
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, in TEST_P()
87 ::testing::Values(::libvpx_test::kRealTime),
Ddecode_perf_test.cc80 libvpx_test::WebMVideoSource video(video_name); in TEST_P()
85 libvpx_test::VP9Decoder decoder(cfg, 0); in TEST_P()
115 public ::libvpx_test::EncoderTest,
116 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
145 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
146 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
190 libvpx_test::TestMode encoding_mode_;
227 libvpx_test::I420VideoSource video( in TEST_P()
239 libvpx_test::IVFVideoSource decode_video(kNewEncodeOutputFile); in TEST_P()
244 libvpx_test::VP9Decoder decoder(cfg, 0); in TEST_P()
[all …]
Ddatarate_test.cc21 class DatarateTestLarge : public ::libvpx_test::EncoderTest,
22 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
46 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
47 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
152 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
181 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
210 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
239 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
259 class DatarateTestVP9Large : public ::libvpx_test::EncoderTest,
260 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
[all …]
Dencode_test_driver.h24 namespace libvpx_test {
36 #define ALL_TEST_MODES ::testing::Values(::libvpx_test::kRealTime, \
37 ::libvpx_test::kOnePassGood, \
38 ::libvpx_test::kOnePassBest, \
39 ::libvpx_test::kTwoPassGood, \
40 ::libvpx_test::kTwoPassBest)
42 #define ONE_PASS_TEST_MODES ::testing::Values(::libvpx_test::kRealTime, \
43 ::libvpx_test::kOnePassGood, \
44 ::libvpx_test::kOnePassBest)
46 #define TWO_PASS_TEST_MODES ::testing::Values(::libvpx_test::kTwoPassGood, \
[all …]
Daltref_test.cc21 class AltRefTest : public ::libvpx_test::EncoderTest,
22 public ::libvpx_test::CodecTestWithParam<int> {
29 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()
Dvp9_encoder_parms_get_to_decoder.cc56 : public ::libvpx_test::EncoderTest,
57 public ::libvpx_test::CodecTestWith2Params<EncodeParameters,
67 SetMode(::libvpx_test::kTwoPassGood); in SetUp()
75 virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, in PreEncodeFrameHook()
76 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
96 const libvpx_test::VideoSource &video, in HandleDecodeResult()
97 libvpx_test::Decoder *decoder) { in HandleDecodeResult()
142 libvpx_test::VideoSource *const video = in TEST_P()
143 new libvpx_test::Y4mVideoSource(test_video_.name, 0, test_video_.frames); in TEST_P()
Derror_resilience_test.cc22 class ErrorResilienceTestLarge : public ::libvpx_test::EncoderTest,
23 public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, bool> {
102 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, in PreEncodeFrameHook()
103 ::libvpx_test::Encoder *encoder) { in PreEncodeFrameHook()
209 libvpx_test::TestMode encoding_mode_;
220 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
257 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, in TEST_P()
329 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
378 libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
396 class ErrorResilienceTestLargeCodecControls : public ::libvpx_test::EncoderTest,
[all …]
Dcodec_factory.h25 namespace libvpx_test {
58 std::tr1::tuple< const libvpx_test::CodecFactory*, T1 > > {
63 std::tr1::tuple< const libvpx_test::CodecFactory*, T1, T2 > > {
68 std::tr1::tuple< const libvpx_test::CodecFactory*, T1, T2, T3 > > {
150 const libvpx_test::VP8CodecFactory kVP8;
155 ::testing::Values(static_cast<const libvpx_test::CodecFactory*>( \
156 &libvpx_test::kVP8)), \
244 const libvpx_test::VP9CodecFactory kVP9;
249 ::testing::Values(static_cast<const libvpx_test::CodecFactory*>( \
250 &libvpx_test::kVP9)), \
[all …]
Dconfig_test.cc18 class ConfigTest : public ::libvpx_test::EncoderTest,
19 public ::libvpx_test::CodecTestWithParam<libvpx_test::TestMode> {
35 virtual void PreEncodeFrameHook(libvpx_test::VideoSource* /*video*/) { in PreEncodeFrameHook()
53 libvpx_test::DummyVideoSource video; in TEST_P()

1234