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)
10701070 const std::string inputFile = std::string (cvtest::TS::ptr ()->get_data_path ()) + " ../highgui/video/big_buck_bunny.h265" ;
10711071 const cv::cudacodec::ColorFormat writerColorFormat = static_cast <cudacodec::ColorFormat>(static_cast <int >(GET_PARAM (1 )));
10721072 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+
10731080 constexpr double fps = 25 ;
10741081 const cudacodec::Codec codec = cudacodec::Codec::HEVC;
10751082 const std::string ext = " .mp4" ;
You can’t perform that action at this time.
0 commit comments