* rocm version check for targets

* check rocm targets for gfx

* code cleanup

* code cleanup

[ROCm/rocdecode commit: bcca70908c]
Этот коммит содержится в:
Lakshmi Kumar
2025-03-03 13:25:35 -08:00
коммит произвёл GitHub
родитель 407d392c3f
Коммит eda4c5d843
5 изменённых файлов: 6 добавлений и 6 удалений
+1 -1
Просмотреть файл
@@ -228,7 +228,7 @@ static void GetSurfaceStrideInternal(rocDecVideoSurfaceFormat surface_format, ui
}
/* Return value from HandleVideoSequence() are interpreted as :
* 0: fail, 1: succeeded, > 1: override dpb size of parser (set by CUVIDPARSERPARAMS::max_num_decode_surfaces while creating parser)
* 0: fail, 1: succeeded, > 1: override dpb size of parser (set by RocdecParserParams::max_num_decode_surfaces while creating parser)
*/
int RocVideoDecoder::HandleVideoSequence(RocdecVideoFormat *p_video_format) {