rocprofiler-sdk/rocdecode/details/rocdecode_api_trace.h Source File#
|
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
|
rocdecode_api_trace.h
Go to the documentation of this file.
26# if __has_include(<rocdecode/rocparser.h>) && __has_include(<rocdecode/rocdecode.h>) && __has_include(<rocdecode/roc_bitstream_reader.h>)
51// 1. When adding new functions to the rocDecode API dispatch table, always append the new function
56// 2. In critical situations where the type of an existing member variable in a dispatch table has
63// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
68// rocDecodeDispatchTable struct, such as altering the type or name of an existing member variable.
72// Increment the ROCDECODE_RUNTIME_API_TABLE_STEP_VERSION when new runtime API functions are added.
Struct for reporting decode status. This structure is used in RocdecGetDecodeStatus API.
Definition rocdecode.h:257
Picture parameters for postprocessing This structure is used in rocDecGetVideoFrame API.
Definition rocdecode.h:1781
Struct for decoder reset This structure is used in rocDecReconfigureDecoder() API.
Definition rocdecode.h:270
The AMD rocDecode library.\Used in rocDecCreateVideoParser API.
Definition rocparser.h:283
Data Packet Used in rocDecParseVideoData API IN for rocDecParseVideoData.
Definition rocparser.h:185
The AMD rocBitstreamReader Library.
void * RocdecBitstreamReader
HANDLE of rocBitstreamReader Used in subsequent API calls after rocDecCreateBitstreamReader.
Definition roc_bitstream_reader.h:60
The AMD rocDecode Library.
void * rocDecDecoderHandle
HANDLE pf rocDecDecoder Used in subsequent API calls after rocDecCreateDecoder.
Definition rocdecode.h:69
Definition rocdecode.h:1726
rocDecStatus(ROCDECAPI * PfnRocDecCreateVideoParser)(RocdecVideoParser *parser_handle, RocdecParserParams *params)
Definition rocdecode_api_trace.h:78
PfnRocDecGetBitstreamPicData pfn_rocdec_get_bitstream_pic_data
Definition rocdecode_api_trace.h:139
PfnRocDecDestroyDecoder pfn_rocdec_destroy_decoder
Definition rocdecode_api_trace.h:127
PfnRocDecGetVideoFrame pfn_rocdec_get_video_frame
Definition rocdecode_api_trace.h:132
rocDecStatus(ROCDECAPI * PfnRocDecCreateBitstreamReader)(RocdecBitstreamReader *bs_reader_handle, const char *input_file_path)
Definition rocdecode_api_trace.h:101
PfnRocDecDestroyVideoParser pfn_rocdec_destroy_video_parser
Definition rocdecode_api_trace.h:125
rocDecStatus(ROCDECAPI * PfnRocDecDestroyDecoder)(rocDecDecoderHandle decoder_handle)
Definition rocdecode_api_trace.h:85
rocDecStatus(ROCDECAPI * PfnRocDecParseVideoData)(RocdecVideoParser parser_handle, RocdecSourceDataPacket *packet)
Definition rocdecode_api_trace.h:80
PfnRocDecReconfigureDecoder pfn_rocdec_reconfigure_decoder
Definition rocdecode_api_trace.h:131
rocDecStatus(ROCDECAPI * PfnRocDecReconfigureDecoder)(rocDecDecoderHandle decoder_handle, RocdecReconfigureDecoderInfo *reconfig_params)
Definition rocdecode_api_trace.h:92
PfnRocDecParseVideoData pfn_rocdec_parse_video_data
Definition rocdecode_api_trace.h:124
PfnRocDecGetBitstreamBitDepth pfn_rocdec_get_bitstream_bit_depth
Definition rocdecode_api_trace.h:138
PfnRocDecGetBitstreamCodecType pfn_rocdec_get_bitstream_codec_type
Definition rocdecode_api_trace.h:137
rocDecStatus(ROCDECAPI * PfnRocDecDestroyBitstreamReader)(RocdecBitstreamReader bs_reader_handle)
Definition rocdecode_api_trace.h:115
rocDecStatus(ROCDECAPI * PfnRocDecGetBitstreamPicData)(RocdecBitstreamReader bs_reader_handle, uint8_t **pic_data, int *pic_size, int64_t *pts)
Definition rocdecode_api_trace.h:110
rocDecStatus(ROCDECAPI * PfnRocDecDecodeFrame)(rocDecDecoderHandle decoder_handle, RocdecPicParams *pic_params)
Definition rocdecode_api_trace.h:87
PfnRocDecCreateBitstreamReader pfn_rocdec_create_bitstream_reader
Definition rocdecode_api_trace.h:136
PfnRocDecDestroyBitstreamReader pfn_rocdec_destroy_bitstream_reader
Definition rocdecode_api_trace.h:140
PfnRocDecGetDecodeStatus pfn_rocdec_get_decode_status
Definition rocdecode_api_trace.h:130
const char *(ROCDECAPI * PfnRocDecGetErrorName)(rocDecStatus rocdec_status)
Definition rocdecode_api_trace.h:100
PfnRocDecDecodeFrame pfn_rocdec_decode_frame
Definition rocdecode_api_trace.h:129
rocDecStatus(ROCDECAPI * PfnRocDecDestroyVideoParser)(RocdecVideoParser parser_handle)
Definition rocdecode_api_trace.h:82
PfnRocDecCreateDecoder pfn_rocdec_create_decoder
Definition rocdecode_api_trace.h:126
rocDecStatus(ROCDECAPI * PfnRocDecGetBitstreamCodecType)(RocdecBitstreamReader bs_reader_handle, rocDecVideoCodec *codec_type)
Definition rocdecode_api_trace.h:104
rocDecStatus(ROCDECAPI * PfnRocDecGetBitstreamBitDepth)(RocdecBitstreamReader bs_reader_handle, int *bit_depth)
Definition rocdecode_api_trace.h:107
rocDecStatus(ROCDECAPI * PfnRocDecGetDecodeStatus)(rocDecDecoderHandle decoder_handle, int pic_idx, RocdecDecodeStatus *decode_status)
Definition rocdecode_api_trace.h:89
PfnRocDecGetErrorName pfn_rocdec_get_error_name
Definition rocdecode_api_trace.h:133
rocDecStatus(ROCDECAPI * PfnRocDecGetVideoFrame)(rocDecDecoderHandle decoder_handle, int pic_idx, void *dev_mem_ptr[3], uint32_t *horizontal_pitch, RocdecProcParams *vid_postproc_params)
Definition rocdecode_api_trace.h:95
PfnRocDecCreateVideoParser pfn_rocdec_create_video_parser
Definition rocdecode_api_trace.h:123
rocDecStatus(ROCDECAPI * PfnRocDecGetDecoderCaps)(RocdecDecodeCaps *decode_caps)
Definition rocdecode_api_trace.h:86
rocDecStatus(ROCDECAPI * PfnRocDecCreateDecoder)(rocDecDecoderHandle *decoder_handle, RocDecoderCreateInfo *decoder_create_info)
Definition rocdecode_api_trace.h:83
PfnRocDecGetDecoderCaps pfn_rocdec_get_gecoder_caps
Definition rocdecode_api_trace.h:128
The AMD rocParser Library.
void * RocdecVideoParser
HANDLE pf rocDecDecoder Used in subsequent API calls after rocDecCreateDecoder.
Definition rocparser.h:62
Generated by