acldvppGetStreamDesc Series
Description
Obtains the description of a video stream.
Prototype
void *acldvppGetStreamDescData(const acldvppStreamDesc *streamDesc)
uint32_t acldvppGetStreamDescSize(const acldvppStreamDesc *streamDesc)
acldvppStreamFormat acldvppGetStreamDescFormat(const acldvppStreamDesc *streamDesc)
uint64_t acldvppGetStreamDescTimestamp(const acldvppStreamDesc *streamDesc)
uint32_t acldvppGetStreamDescRetCode(const acldvppStreamDesc *streamDesc)
uint8_t acldvppGetStreamDescEos(const acldvppStreamDesc *streamDesc)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
streamDesc |
Input |
Pointer to the video stream description. You need to call acldvppCreateStreamDesc to create data of the acldvppStreamDesc type and call acldvppSetStreamDesc series to set the description of a video stream in advance. |
Returns
Parameter |
Description |
|---|---|
data |
Stream buffer on the device. |
size |
Buffer size in bytes. |
format |
Stream format (h264 or h265). |
timestamp |
Timestamp. |
retCode |
Return code (0 on success; else, failure). |
eos |
End of stream (EOS) flag. |