added testcase for videodecode with resizing and colorconversion to rgb (#608)

* added testcase for videodecode with resizing and colorconversion to rgb

* Update test/CMakeLists.txt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* removed texture scaling code as it doesn't work on MI3xx

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

[ROCm/rocdecode commit: 26f9ec23a6]
Этот коммит содержится в:
Rajy Rawther
2025-06-24 10:51:59 -07:00
коммит произвёл GitHub
родитель 26e30ddc92
Коммит 72b5c717e1
2 изменённых файлов: 14 добавлений и 143 удалений
+13
Просмотреть файл
@@ -242,3 +242,16 @@ add_test(
--build-generator "${CMAKE_GENERATOR}"
--test-command "rocdecodenegativetest"
)
# 14 - videoDecodeRGBResize
add_test(
NAME
video_decodeRGB-Resize
COMMAND
"${CMAKE_CTEST_COMMAND}"
--build-and-test "${ROCM_PATH}/share/rocdecode/samples/videoDecodeRGB"
"${CMAKE_CURRENT_BINARY_DIR}/videoDecodeRGB"
--build-generator "${CMAKE_GENERATOR}"
--test-command "videodecodergb"
-i "${ROCM_PATH}/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4" -resize 640x360 -of rgb
)