acldvppSetStreamDesc Series
Applicable Products
Product |
Supported |
|---|---|
x |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Sets the description of a video stream.
Prototype
1 2 3 4 5 6 | aclError acldvppSetStreamDescData(acldvppStreamDesc *streamDesc, void *dataDev) aclError acldvppSetStreamDescSize(acldvppStreamDesc *streamDesc, uint32_t size) aclError acldvppSetStreamDescFormat(acldvppStreamDesc *streamDesc, acldvppStreamFormat format) aclError acldvppSetStreamDescTimestamp(acldvppStreamDesc *streamDesc, uint64_t timestamp) aclError acldvppSetStreamDescRetCode(acldvppStreamDesc *streamDesc, uint32_t retCode) aclError acldvppSetStreamDescEos(acldvppStreamDesc *streamDesc, uint8_t eos) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
streamDesc |
Output |
Pointer to the video stream description. Call acldvppCreateStreamDesc to create data of the acldvppStreamDesc type in advance. |
dataDev |
Input |
Pointer to the stream buffer on the device. |
size |
Input |
Buffer size in bytes. |
format |
Input |
Stream format: H.264/H.265. For details, see acldvppStreamFormat. |
timestamp |
Input |
Timestamp. |
retCode |
Input |
Return code (0 on success; else, failure). |
eos |
Input |
EOS flag (0: false; 1: true). |
Returns
0 on success; else, failure. For details, see aclError.