File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1070,6 +1070,13 @@ CUDA_TEST_P(YUVFormats, Transcode)
1070
1070
const std::string inputFile = std::string (cvtest::TS::ptr ()->get_data_path ()) + " ../highgui/video/big_buck_bunny.h265" ;
1071
1071
const cv::cudacodec::ColorFormat writerColorFormat = static_cast <cudacodec::ColorFormat>(static_cast <int >(GET_PARAM (1 )));
1072
1072
const bool fullRange = GET_PARAM (2 );
1073
+
1074
+ if (cvtest::skipUnstableTests &&
1075
+ (writerColorFormat == cudacodec::ColorFormat::NV_YUV444 || writerColorFormat == cudacodec::ColorFormat::NV_YUV444_10BIT))
1076
+ {
1077
+ throw SkipTestException (" Not all GPUs support NV_YUV444 and NV_YUV444_10BIT color space" );
1078
+ }
1079
+
1073
1080
constexpr double fps = 25 ;
1074
1081
const cudacodec::Codec codec = cudacodec::Codec::HEVC;
1075
1082
const std::string ext = " .mp4" ;
You can’t perform that action at this time.
0 commit comments