_RocdecDecodeCaps Struct Reference

_RocdecDecodeCaps Struct Reference#

rocDecode: _RocdecDecodeCaps Struct Reference
_RocdecDecodeCaps Struct Reference

Data Fields

uint8_t device_id
 
rocDecVideoCodec codec_type
 
rocDecVideoChromaFormat chroma_format
 
uint32_t bit_depth_minus_8
 
uint32_t reserved_1 [3]
 
uint8_t is_supported
 
uint8_t num_decoders
 
uint16_t output_format_mask
 
uint32_t max_width
 
uint32_t max_height
 
uint16_t min_width
 
uint16_t min_height
 
uint32_t reserved_2 [6]
 

Field Documentation

◆ bit_depth_minus_8

uint32_t _RocdecDecodeCaps::bit_depth_minus_8

IN: The Value "BitDepth minus 8"

◆ chroma_format

rocDecVideoChromaFormat _RocdecDecodeCaps::chroma_format

IN: rocDecVideoChromaFormat_XXX

◆ codec_type

rocDecVideoCodec _RocdecDecodeCaps::codec_type

IN: rocDecVideoCodec_XXX

◆ device_id

uint8_t _RocdecDecodeCaps::device_id

IN: the device id for which query the decode capability 0 for the first device, 1 for the second device on the system, etc.

◆ is_supported

uint8_t _RocdecDecodeCaps::is_supported

OUT: 1 if codec supported, 0 if not supported

◆ max_height

uint32_t _RocdecDecodeCaps::max_height

OUT: Max supported coded height in pixels

◆ max_width

uint32_t _RocdecDecodeCaps::max_width

OUT: Max supported coded width in pixels

◆ min_height

uint16_t _RocdecDecodeCaps::min_height

OUT: Min supported coded height in pixels

◆ min_width

uint16_t _RocdecDecodeCaps::min_width

OUT: Min supported coded width in pixels

◆ num_decoders

uint8_t _RocdecDecodeCaps::num_decoders

OUT: Number of Decoders that can support IN params

◆ output_format_mask

uint16_t _RocdecDecodeCaps::output_format_mask

OUT: each bit represents corresponding rocDecVideoSurfaceFormat enum

◆ reserved_1

uint32_t _RocdecDecodeCaps::reserved_1[3]

Reserved for future use - set to zero

◆ reserved_2

uint32_t _RocdecDecodeCaps::reserved_2[6]

Reserved for future use - set to zero


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocdecode/checkouts/latest/api/rocdecode.h