Add support for the rocDecGetDecoderCaps API (#21)

* Add support for the rocDecGetDecoderCaps API

* move the RocDecVcnCodecSpec class to a new header file
Этот коммит содержится в:
Aryan Salmanpour
2023-10-24 08:40:58 -04:00
коммит произвёл GitHub
родитель 1a06c45b7d
Коммит bf830a2678
4 изменённых файлов: 140 добавлений и 4 удалений
+2
Просмотреть файл
@@ -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" */