mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
videoio(test): skip AV1 HW tests
- FFMPEG: "[av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding."
This commit is contained in:
parent
039bcd932a
commit
ba98cd97e5
@ -748,6 +748,9 @@ TEST_P(videocapture_acceleration, read)
|
|||||||
{
|
{
|
||||||
if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4")
|
if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4")
|
||||||
throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)");
|
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);
|
EXPECT_TRUE(read_umat_result);
|
||||||
ASSERT_FALSE(umat.empty());
|
ASSERT_FALSE(umat.empty());
|
||||||
@ -760,6 +763,9 @@ TEST_P(videocapture_acceleration, read)
|
|||||||
{
|
{
|
||||||
if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4")
|
if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4")
|
||||||
throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)");
|
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);
|
EXPECT_TRUE(read_result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user