acldvppGetStreamDesc series
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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. Call acldvppCreateStreamDesc to create data of the acldvppStreamDesc type in advance, and call acldvppSetStreamDesc series APIs to set the attributes of the video stream information. |
Returns
Parameter |
Description |
|---|---|
data |
Stream buffer on the device. |
size |
Buffer size in bytes. |
format |
Indicates the stream format (H.264/H.265). |
timestamp |
Timestamp. |
retCode |
Return code (0 on success; else, failure). |
eos |
End of stream (EOS) flag. |
Parent topic: acldvppStreamDesc