* rocm version check for targets

* check rocm targets for gfx

* code cleanup

* code cleanup

[ROCm/rocdecode commit: bcca70908c]
Tento commit je obsažen v:
Lakshmi Kumar
2025-03-03 13:25:35 -08:00
odevzdal GitHub
rodič 407d392c3f
revize eda4c5d843
5 změnil soubory, kde provedl 6 přidání a 6 odebrání
+1 -1
Zobrazit soubor
@@ -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) {
+1 -1
Zobrazit soubor
@@ -427,7 +427,7 @@ class RocVideoDecoder {
int HandleVideoSequence(RocdecVideoFormat *p_video_format);
/**
* @brief This function gets called when a picture is ready to be decoded. cuvidDecodePicture is called from this function
* @brief This function gets called when a picture is ready to be decoded. rocDecDecodeFrame is called from this function
* to decode the picture
*/
int HandlePictureDecode(RocdecPicParams *p_pic_params);