2
0

Enable decoding AVC (H.264) codec by default and enable CTest for it (#309)

[ROCm/rocdecode commit: 2d877cd357]
Este cometimento está contido em:
Aryan Salmanpour
2024-04-04 19:47:35 -04:00
cometido por GitHub
ascendente 190f2d9d33
cometimento 36840419cc
3 ficheiros modificados com 31 adições e 5 eliminações
+27 -1
Ver ficheiro
@@ -100,4 +100,30 @@ add_test(
--build-generator "${CMAKE_GENERATOR}"
--test-command "videodecodergb"
-i ${ROCM_PATH}/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4 -of rgb
)
)
# videoDecode H264
add_test(
NAME
video_decode-H264
COMMAND
"${CMAKE_CTEST_COMMAND}"
--build-and-test "${ROCM_PATH}/share/rocdecode/samples/videoDecode"
"${CMAKE_CURRENT_BINARY_DIR}/videoDecode"
--build-generator "${CMAKE_GENERATOR}"
--test-command "videodecode"
-i ${ROCM_PATH}/share/rocdecode/video/AMD_driving_virtual_20-H264.mp4
)
# videoDecodeBatch
add_test(
NAME
video_decodeBatch
COMMAND
"${CMAKE_CTEST_COMMAND}"
--build-and-test "${ROCM_PATH}/share/rocdecode/samples/videoDecodeBatch"
"${CMAKE_CURRENT_BINARY_DIR}/videoDecodeBatch"
--build-generator "${CMAKE_GENERATOR}"
--test-command "videodecodebatch"
-i ${ROCM_PATH}/share/rocdecode/video/ -t 2
)