Function:Decode
From CUVI Wiki
JPEG Decoding: Decodes a JPEG file into an image pixel array.
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| src | Cuvi8u* | Pointer to encoded data |
| srcBytes | const size_t | Size of encoded data |
| dst | CuviImage& dst | Decoded image in CuviImage |
| srcOnGPU | const bool | Whether the encoded data is CPU pointer or GPU |
| stream | const CuviStream& | GPU stream ID for execution |
Example
|