Add support for the rocDecGetDecoderCaps API (#21)

* Add support for the rocDecGetDecoderCaps API

* move the RocDecVcnCodecSpec class to a new header file

[ROCm/rocdecode commit: bf830a2678]
Cette révision appartient à :
Aryan Salmanpour
2023-10-24 08:40:58 -04:00
révisé par GitHub
Parent ad26872bd5
révision 956857c0ae
4 fichiers modifiés avec 140 ajouts et 4 suppressions
+2
Voir le fichier
@@ -145,6 +145,8 @@ typedef enum rocDecodeStatus_enum {
//! This structure is used in rocDecGetDecoderCaps API
/**************************************************************************************************************/
typedef struct _RocdecDecodeCaps {
uint8_t deviceid; /**< IN: the device id for which query the decode capability
0 for the first device, 1 for the second device on the system, etc.*/
rocDecVideoCodec eCodecType; /**< IN: rocDecVideoCodec_XXX */
rocDecVideoChromaFormat eChromaFormat; /**< IN: rocDecVideoChromaFormat_XXX */
uint32_t nBitDepthMinus8; /**< IN: The Value "BitDepth minus 8" */