From: Alexander Alekhin Date: Tue, 8 Jun 2021 17:25:09 +0000 (+0000) Subject: videoio(test): skip AV1 HW tests X-Git-Tag: accepted/tizen/unified/20220125.121719~1^2~39^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba98cd97e5ec4e3a8e9e8ca62043348cc2269e40;p=platform%2Fupstream%2Fopencv.git videoio(test): skip AV1 HW tests - FFMPEG: "[av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding." --- diff --git a/modules/videoio/test/test_video_io.cpp b/modules/videoio/test/test_video_io.cpp index 8c1f82f..8b6b16e 100644 --- a/modules/videoio/test/test_video_io.cpp +++ b/modules/videoio/test/test_video_io.cpp @@ -748,6 +748,9 @@ TEST_P(videocapture_acceleration, read) { if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4") throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)"); + // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding. + if (filename == "sample_322x242_15frames.yuv420p.libaom-av1.mp4") + throw SkipTestException("Unable to read the first frame with AV1 codec (missing support)"); } EXPECT_TRUE(read_umat_result); ASSERT_FALSE(umat.empty()); @@ -760,6 +763,9 @@ TEST_P(videocapture_acceleration, read) { if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4") throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)"); + // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding. + if (filename == "sample_322x242_15frames.yuv420p.libaom-av1.mp4") + throw SkipTestException("Unable to read the first frame with AV1 codec (missing support)"); } EXPECT_TRUE(read_result); }