rocprofiler-sdk/rocdecode/details/rocparser.h Source File#
|
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
|
rocparser.h
Go to the documentation of this file.
207 int repeat_first_field; /**< OUT: Number of additional fields (1=ivtc, 2=frame doubling, 4=frame
240 uint8_t reserved[3];
259 * \ The parser will call these synchronously from within rocDecParseVideoData(), whenever there is
261 * these callbacks are interpreted as below. If the callbacks return failure, it will be propagated
262 * by \ rocDecParseVideoData() to the application. \ Parser picks default operating point as 0 and
263 * outputAllLayers flag as 0 if PFNVIDOPPOINTCALLBACK is not set or return value is \ -1 or invalid
291 uint32_t max_display_delay; /**< IN: Max display queue delay (improves pipelining of decode with
310/************************************************************************************************/
314/************************************************************************************************/
318/************************************************************************************************/
321//! RocdecSourceDataPacket *packet) Parse the video data from source data packet in pPacket Extracts
322//! parameter sets like SPS, PPS, bitstream etc. from pPacket and calls back pfn_decode_picture with
324//! RocdecVideoFormat data for initial sequence header or when the decoder encounters a video format
325//! change calls back pfn_display_picture with RocdecParserDispInfo data to display a video frame
326/************************************************************************************************/
330/************************************************************************************************/
332//! \fn rocDecStatus ROCDECAPI rocDecParserMarkFrameForReuse(RocdecVideoParser parser_handle, int
333//! pic_idx) Mark frame with index pic_idx in parser's buffer pool for reuse (means the frame has
335/************************************************************************************************/
339/************************************************************************************************/
343/************************************************************************************************/
PFNVIDDISPLAYCALLBACK pfn_display_picture
Definition rocparser.h:301
PFNVIDSEQUENCECALLBACK pfn_sequence_callback
Definition rocparser.h:297
PFNVIDDECODECALLBACK pfn_decode_picture
Definition rocparser.h:299
uint32_t max_num_decode_surfaces
Definition rocparser.h:285
RocdecOperatingPointInfo structOperating point information of scalable bitstream.
Definition rocparser.h:218
Timing Info struct\Used in rocdecParseVideoData API with PFNVIDDISPLAYCALLBACK pfn_display_picture.
Definition rocparser.h:203
The AMD rocDecode library.\Used in rocDecCreateVideoParser API.
Definition rocparser.h:283
Used in rocDecParseVideoData API with PFNVIDSEIMSGCALLBACK pfn_get_sei_msg.
Definition rocparser.h:250
Data Packet Used in rocDecParseVideoData API IN for rocDecParseVideoData.
Definition rocparser.h:185
The AMD rocDecode Library.
Definition rocdecode.h:1726
RocdecVideoPacketFlags
Data packet flags Used in RocdecSourceDataPacket structure.
Definition rocparser.h:165
void * RocdecVideoParser
HANDLE pf rocDecDecoder Used in subsequent API calls after rocDecCreateDecoder.
Definition rocparser.h:62
int(ROCDECAPI * PFNVIDDISPLAYCALLBACK)(void *, RocdecParserDispInfo *)
Definition rocparser.h:272
rocDecStatus ROCDECAPI rocDecParserMarkFrameForReuse(RocdecVideoParser parser_handle, int pic_idx)
int(ROCDECAPI * PFNVIDDECODECALLBACK)(void *, RocdecPicParams *)
Definition rocparser.h:271
int(ROCDECAPI * PFNVIDSEIMSGCALLBACK)(void *, RocdecSeiMessageInfo *)
Definition rocparser.h:275
rocDecStatus ROCDECAPI rocDecDestroyVideoParser(RocdecVideoParser parser_handle)
rocDecStatus ROCDECAPI rocDecParseVideoData(RocdecVideoParser parser_handle, RocdecSourceDataPacket *packet)
rocDecStatus ROCDECAPI rocDecCreateVideoParser(RocdecVideoParser *parser_handle, RocdecParserParams *params)
int(ROCDECAPI * PFNVIDSEQUENCECALLBACK)(void *, RocdecVideoFormat *)
Parser callbacks \ The parser will call these synchronously from within rocDecParseVideoData(),...
Definition rocparser.h:270
Definition rocparser.h:152
Generated by