From 275687803301f851b3a293621c98608031827f5b Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Sun, 15 Dec 2019 18:18:12 +0200 Subject: [PATCH] Remove unsupported codec tests --- components/codecs/test/nvpipe_codec_unit.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/components/codecs/test/nvpipe_codec_unit.cpp b/components/codecs/test/nvpipe_codec_unit.cpp index dc63131f7..dccc65f96 100644 --- a/components/codecs/test/nvpipe_codec_unit.cpp +++ b/components/codecs/test/nvpipe_codec_unit.cpp @@ -81,7 +81,8 @@ TEST_CASE( "NvPipeDecoder::decode() - A colour test image" ) { }); } - SECTION("Full HD in, 720 out, FHD encoding") { + // No longer supported + /*SECTION("Full HD in, 720 out, FHD encoding") { in = cv::cuda::GpuMat(cv::Size(1920,1080), CV_8UC3, cv::Scalar(255,0,0)); out = cv::cuda::GpuMat(cv::Size(1280,720), CV_8UC3, cv::Scalar(0,0,0)); @@ -90,9 +91,10 @@ TEST_CASE( "NvPipeDecoder::decode() - A colour test image" ) { }); REQUIRE( (out.rows == 720) ); - } + }*/ - SECTION("HHD in, FHD out, FHD encoding") { + // No longer supported + /*SECTION("HHD in, FHD out, FHD encoding") { in = cv::cuda::GpuMat(cv::Size(1280,720), CV_8UC3, cv::Scalar(255,0,0)); out = cv::cuda::GpuMat(cv::Size(1920,1080), CV_8UC3, cv::Scalar(0,0,0)); @@ -101,9 +103,10 @@ TEST_CASE( "NvPipeDecoder::decode() - A colour test image" ) { }); REQUIRE( (out.rows == 1080) ); - } + }*/ - SECTION("FHD in, HHD out, SD encoding") { + // No longer supported + /*SECTION("FHD in, HHD out, SD encoding") { in = cv::cuda::GpuMat(cv::Size(1920,1080), CV_8UC3, cv::Scalar(255,0,0)); out = cv::cuda::GpuMat(cv::Size(1280,720), CV_8UC3, cv::Scalar(0,0,0)); @@ -112,7 +115,7 @@ TEST_CASE( "NvPipeDecoder::decode() - A colour test image" ) { }); REQUIRE( (out.rows == 720) ); - } + }*/ REQUIRE( r ); REQUIRE( (cv::cuda::sum(out) != cv::Scalar(0,0,0)) ); -- GitLab