_RocDecoderCreateInfo Struct Reference#
Data Fields | |
uint8_t | device_id |
uint32_t | width |
uint32_t | height |
uint32_t | num_decode_surfaces |
rocDecVideoCodec | codec_type |
rocDecVideoChromaFormat | chroma_format |
uint32_t | bit_depth_minus_8 |
uint32_t | intra_decode_only |
uint32_t | max_width |
uint32_t | max_height |
struct { | |
int16_t left | |
int16_t top | |
int16_t right | |
int16_t bottom | |
} | display_rect |
rocDecVideoSurfaceFormat | output_format |
uint32_t | target_width |
uint32_t | target_height |
uint32_t | num_output_surfaces |
struct { | |
int16_t left | |
int16_t top | |
int16_t right | |
int16_t bottom | |
} | target_rect |
uint32_t | reserved_2 [4] |
Field Documentation
◆ bit_depth_minus_8
uint32_t _RocDecoderCreateInfo::bit_depth_minus_8 |
IN: The value "BitDepth minus 8"
◆ chroma_format
rocDecVideoChromaFormat _RocDecoderCreateInfo::chroma_format |
IN: rocDecVideoChromaFormat_XXX
◆ codec_type
rocDecVideoCodec _RocDecoderCreateInfo::codec_type |
IN: rocDecVideoCodec_XXX
◆ device_id
uint8_t _RocDecoderCreateInfo::device_id |
IN: the device id for which a decoder should be created 0 for the first device, 1 for the second device on the system, etc.
◆
struct { ... } _RocDecoderCreateInfo::display_rect |
IN: area of the frame that should be displayed
◆ height
uint32_t _RocDecoderCreateInfo::height |
IN: Coded sequence height in pixels
◆ intra_decode_only
uint32_t _RocDecoderCreateInfo::intra_decode_only |
IN: Set 1 only if video has all intra frames (default value is 0). This will optimize video memory for Intra frames only decoding. The support is limited to specific codecs - AVC/H264, HEVC, VP9, the flag will be ignored for codecs which are not supported. However decoding might fail if the flag is enabled in case of supported codecs for regular bit streams having P and/or B frames.
◆ max_height
uint32_t _RocDecoderCreateInfo::max_height |
IN: Coded sequence max height in pixels used with reconfigure Decoder
◆ max_width
uint32_t _RocDecoderCreateInfo::max_width |
IN: Coded sequence max width in pixels used with reconfigure Decoder
◆ num_decode_surfaces
uint32_t _RocDecoderCreateInfo::num_decode_surfaces |
IN: Maximum number of internal decode surfaces
◆ num_output_surfaces
uint32_t _RocDecoderCreateInfo::num_output_surfaces |
IN: Maximum number of output surfaces simultaneously mapped
◆ output_format
rocDecVideoSurfaceFormat _RocDecoderCreateInfo::output_format |
IN: rocDecVideoSurfaceFormat_XXX
◆ reserved_2
uint32_t _RocDecoderCreateInfo::reserved_2[4] |
Reserved for future use - set to zero
◆ target_height
uint32_t _RocDecoderCreateInfo::target_height |
IN: Post-processed output height (Should be aligned to 2)
◆
struct { ... } _RocDecoderCreateInfo::target_rect |
IN: (for future use) target rectangle in the output frame (for aspect ratio conversion) if a null rectangle is specified, {0,0,target_width,target_height} will be used
◆ target_width
uint32_t _RocDecoderCreateInfo::target_width |
IN: Post-processed output width (Should be aligned to 2)
◆ width
uint32_t _RocDecoderCreateInfo::width |
IN: Coded sequence width in pixels
The documentation for this struct was generated from the following file:
- docs-6.1.1/api/rocdecode.h