Code cleanup (#524)
* rocm version check for targets
* check rocm targets for gfx
* code cleanup
* code cleanup
[ROCm/rocdecode commit: bcca70908c]
This commit is contained in:
@@ -157,7 +157,7 @@ FFMpegVideoDecoder::~FFMpegVideoDecoder() {
|
||||
}
|
||||
|
||||
/* 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 FFMpegVideoDecoder::HandleVideoSequence(RocdecVideoFormat *p_video_format) {
|
||||
if (p_video_format == nullptr) {
|
||||
|
||||
@@ -150,7 +150,7 @@ class FFMpegVideoDecoder: public 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);
|
||||
|
||||
Reference in New Issue
Block a user