rocprofiler-sdk/rocdecode/details/rocdecode_api_trace.h File Reference

rocprofiler-sdk/rocdecode/details/rocdecode_api_trace.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/rocdecode/details/rocdecode_api_trace.h File Reference
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
rocdecode_api_trace.h File Reference
+ Include dependency graph for rocdecode_api_trace.h:

Go to the source code of this file.

Data Structures

struct  RocDecodeDispatchTable
 

Macros

#define ROCPROFILER_SDK_USE_SYSTEM_ROCDECODE   0
 
#define ROCDECODE_RUNTIME_API_TABLE_MAJOR_VERSION   0
 
#define ROCDECODE_RUNTIME_API_TABLE_STEP_VERSION   1
 

Typedefs

typedef rocDecStatus(ROCDECAPIPfnRocDecCreateVideoParser) (RocdecVideoParser *parser_handle, RocdecParserParams *params)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecParseVideoData) (RocdecVideoParser parser_handle, RocdecSourceDataPacket *packet)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecDestroyVideoParser) (RocdecVideoParser parser_handle)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecCreateDecoder) (rocDecDecoderHandle *decoder_handle, RocDecoderCreateInfo *decoder_create_info)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecDestroyDecoder) (rocDecDecoderHandle decoder_handle)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecGetDecoderCaps) (RocdecDecodeCaps *decode_caps)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecDecodeFrame) (rocDecDecoderHandle decoder_handle, RocdecPicParams *pic_params)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecGetDecodeStatus) (rocDecDecoderHandle decoder_handle, int pic_idx, RocdecDecodeStatus *decode_status)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecReconfigureDecoder) (rocDecDecoderHandle decoder_handle, RocdecReconfigureDecoderInfo *reconfig_params)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecGetVideoFrame) (rocDecDecoderHandle decoder_handle, int pic_idx, void *dev_mem_ptr[3], uint32_t *horizontal_pitch, RocdecProcParams *vid_postproc_params)
 
typedef const char *(ROCDECAPIPfnRocDecGetErrorName) (rocDecStatus rocdec_status)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecCreateBitstreamReader) (RocdecBitstreamReader *bs_reader_handle, const char *input_file_path)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecGetBitstreamCodecType) (RocdecBitstreamReader bs_reader_handle, rocDecVideoCodec *codec_type)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecGetBitstreamBitDepth) (RocdecBitstreamReader bs_reader_handle, int *bit_depth)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecGetBitstreamPicData) (RocdecBitstreamReader bs_reader_handle, uint8_t **pic_data, int *pic_size, int64_t *pts)
 
typedef rocDecStatus(ROCDECAPIPfnRocDecDestroyBitstreamReader) (RocdecBitstreamReader bs_reader_handle)
 

Data Structure Documentation

◆ RocDecodeDispatchTable

struct RocDecodeDispatchTable

Definition at line 119 of file rocdecode_api_trace.h.

+ Collaboration diagram for RocDecodeDispatchTable:
Data Fields
PfnRocDecCreateBitstreamReader pfn_rocdec_create_bitstream_reader
PfnRocDecCreateDecoder pfn_rocdec_create_decoder
PfnRocDecCreateVideoParser pfn_rocdec_create_video_parser
PfnRocDecDecodeFrame pfn_rocdec_decode_frame
PfnRocDecDestroyBitstreamReader pfn_rocdec_destroy_bitstream_reader
PfnRocDecDestroyDecoder pfn_rocdec_destroy_decoder
PfnRocDecDestroyVideoParser pfn_rocdec_destroy_video_parser
PfnRocDecGetBitstreamBitDepth pfn_rocdec_get_bitstream_bit_depth
PfnRocDecGetBitstreamCodecType pfn_rocdec_get_bitstream_codec_type
PfnRocDecGetBitstreamPicData pfn_rocdec_get_bitstream_pic_data
PfnRocDecGetDecodeStatus pfn_rocdec_get_decode_status
PfnRocDecGetErrorName pfn_rocdec_get_error_name
PfnRocDecGetDecoderCaps pfn_rocdec_get_gecoder_caps
PfnRocDecGetVideoFrame pfn_rocdec_get_video_frame
PfnRocDecParseVideoData pfn_rocdec_parse_video_data
PfnRocDecReconfigureDecoder pfn_rocdec_reconfigure_decoder
unsigned long size

Macro Definition Documentation

◆ ROCDECODE_RUNTIME_API_TABLE_MAJOR_VERSION

#define ROCDECODE_RUNTIME_API_TABLE_MAJOR_VERSION   0

Definition at line 70 of file rocdecode_api_trace.h.

◆ ROCDECODE_RUNTIME_API_TABLE_STEP_VERSION

#define ROCDECODE_RUNTIME_API_TABLE_STEP_VERSION   1

Definition at line 75 of file rocdecode_api_trace.h.

◆ ROCPROFILER_SDK_USE_SYSTEM_ROCDECODE

#define ROCPROFILER_SDK_USE_SYSTEM_ROCDECODE   0

Definition at line 32 of file rocdecode_api_trace.h.

Typedef Documentation

◆ PfnRocDecCreateBitstreamReader

typedef rocDecStatus(ROCDECAPI * PfnRocDecCreateBitstreamReader) (RocdecBitstreamReader *bs_reader_handle, const char *input_file_path)

Definition at line 101 of file rocdecode_api_trace.h.

◆ PfnRocDecCreateDecoder

typedef rocDecStatus(ROCDECAPI * PfnRocDecCreateDecoder) (rocDecDecoderHandle *decoder_handle, RocDecoderCreateInfo *decoder_create_info)

Definition at line 83 of file rocdecode_api_trace.h.

◆ PfnRocDecCreateVideoParser

typedef rocDecStatus(ROCDECAPI * PfnRocDecCreateVideoParser) (RocdecVideoParser *parser_handle, RocdecParserParams *params)

Definition at line 78 of file rocdecode_api_trace.h.

◆ PfnRocDecDecodeFrame

typedef rocDecStatus(ROCDECAPI * PfnRocDecDecodeFrame) (rocDecDecoderHandle decoder_handle, RocdecPicParams *pic_params)

Definition at line 87 of file rocdecode_api_trace.h.

◆ PfnRocDecDestroyBitstreamReader

typedef rocDecStatus(ROCDECAPI * PfnRocDecDestroyBitstreamReader) (RocdecBitstreamReader bs_reader_handle)

Definition at line 115 of file rocdecode_api_trace.h.

◆ PfnRocDecDestroyDecoder

typedef rocDecStatus(ROCDECAPI * PfnRocDecDestroyDecoder) (rocDecDecoderHandle decoder_handle)

Definition at line 85 of file rocdecode_api_trace.h.

◆ PfnRocDecDestroyVideoParser

typedef rocDecStatus(ROCDECAPI * PfnRocDecDestroyVideoParser) (RocdecVideoParser parser_handle)

Definition at line 82 of file rocdecode_api_trace.h.

◆ PfnRocDecGetBitstreamBitDepth

typedef rocDecStatus(ROCDECAPI * PfnRocDecGetBitstreamBitDepth) (RocdecBitstreamReader bs_reader_handle, int *bit_depth)

Definition at line 107 of file rocdecode_api_trace.h.

◆ PfnRocDecGetBitstreamCodecType

typedef rocDecStatus(ROCDECAPI * PfnRocDecGetBitstreamCodecType) (RocdecBitstreamReader bs_reader_handle, rocDecVideoCodec *codec_type)

Definition at line 104 of file rocdecode_api_trace.h.

◆ PfnRocDecGetBitstreamPicData

typedef rocDecStatus(ROCDECAPI * PfnRocDecGetBitstreamPicData) (RocdecBitstreamReader bs_reader_handle, uint8_t **pic_data, int *pic_size, int64_t *pts)

Definition at line 110 of file rocdecode_api_trace.h.

◆ PfnRocDecGetDecoderCaps

typedef rocDecStatus(ROCDECAPI * PfnRocDecGetDecoderCaps) (RocdecDecodeCaps *decode_caps)

Definition at line 86 of file rocdecode_api_trace.h.

◆ PfnRocDecGetDecodeStatus

typedef rocDecStatus(ROCDECAPI * PfnRocDecGetDecodeStatus) (rocDecDecoderHandle decoder_handle, int pic_idx, RocdecDecodeStatus *decode_status)

Definition at line 89 of file rocdecode_api_trace.h.

◆ PfnRocDecGetErrorName

typedef const char *(ROCDECAPI * PfnRocDecGetErrorName) (rocDecStatus rocdec_status)

Definition at line 100 of file rocdecode_api_trace.h.

◆ PfnRocDecGetVideoFrame

typedef rocDecStatus(ROCDECAPI * PfnRocDecGetVideoFrame) (rocDecDecoderHandle decoder_handle, int pic_idx, void *dev_mem_ptr[3], uint32_t *horizontal_pitch, RocdecProcParams *vid_postproc_params)

Definition at line 95 of file rocdecode_api_trace.h.

◆ PfnRocDecParseVideoData

typedef rocDecStatus(ROCDECAPI * PfnRocDecParseVideoData) (RocdecVideoParser parser_handle, RocdecSourceDataPacket *packet)

Definition at line 80 of file rocdecode_api_trace.h.

◆ PfnRocDecReconfigureDecoder

typedef rocDecStatus(ROCDECAPI * PfnRocDecReconfigureDecoder) (rocDecDecoderHandle decoder_handle, RocdecReconfigureDecoderInfo *reconfig_params)

Definition at line 92 of file rocdecode_api_trace.h.