![]() |
NVIDIA DRIVE OS Linux SDK API Reference5.1.6.0 Release |
NVIDIA Media Interface: Image JPEG Decode Processing (IJDP)
Description: This file contains the Image JPEG Decode Processing API.
Definition in file nvmedia_ijpd.h.
Go to the source code of this file.
Data Structures | |
struct | NVMEDIAJPEGDecAttributes |
Holds image JPEG decoder attributes. More... | |
struct | NvMediaJPEGAppMarkerInfo |
Holds image JPEG decoder marker Info. More... | |
struct | NVMEDIAJPEGDecInfo |
Holds image JPEG decoder stream information. More... | |
struct | NvMediaIJPD |
Holds information for decoding a JPEG stream into an image surface. More... | |
Macros | |
#define | NVMEDIA_IJPD_VERSION_MAJOR 1 |
Major version number. More... | |
#define | NVMEDIA_IJPD_VERSION_MINOR 6 |
Minor version number. More... | |
#define | NVMEDIA_JPEG_DEC_ATTRIBUTE_ALPHA_VALUE |
JPEG decode set alpha. More... | |
#define | NVMEDIA_JPEG_DEC_ATTRIBUTE_COLOR_STANDARD |
JPEG decode set color standard. More... | |
#define | NVMEDIA_IJPD_RENDER_FLAG_ROTATE_0 |
JPEG decode render flag rotate 0. More... | |
#define | NVMEDIA_IJPD_RENDER_FLAG_ROTATE_90 |
JPEG decode render flag rotate 90. More... | |
#define | NVMEDIA_IJPD_RENDER_FLAG_ROTATE_180 |
JPEG decode render flag rotate 180. More... | |
#define | NVMEDIA_IJPD_RENDER_FLAG_ROTATE_270 |
JPEG decode render flag rotate 270. More... | |
#define | NVMEDIA_IJPD_RENDER_FLAG_FLIP_HORIZONTAL |
JPEG decode render flag flip horizontal. More... | |
#define | NVMEDIA_IJPD_RENDER_FLAG_FLIP_VERTICAL |
JPEG decode render flag flip vertical. More... | |
#define | NVMEDIA_MAX_JPEG_APP_MARKERS |
JPEG decode max number of app markers supported. More... | |
Functions | |
NvMediaStatus | NvMediaIJPDGetVersion (NvMediaVersion *version) |
Gets the version compatibility for the NvMedia IJPGD library. More... | |
NvMediaIJPD * | NvMediaIJPDCreate (const NvMediaDevice *device, uint16_t maxWidth, uint16_t maxHeight, uint32_t maxBitstreamBytes, uint8_t supportPartialAccel) |
Creates a JPEG decoder object capable of decoding a JPEG stream into an image surface. More... | |
void | NvMediaIJPDDestroy (NvMediaIJPD *decoder) |
Destroys an NvMedia image JPEG decoder. More... | |
NvMediaStatus | NvMediaIJPDResize (NvMediaIJPD *decoder, uint16_t maxWidth, uint16_t maxHeight, uint32_t maxBitstreamBytes) |
Resizes an existing image JPEG decoder. More... | |
NvMediaStatus | NvMediaIJPDSetAttributes (const NvMediaIJPD *decoder, uint32_t attributeMask, const void *attributes) |
Sets attributes of an existing image JPEG decoder. More... | |
NvMediaStatus | NvMediaIJPDGetInfo (NVMEDIAJPEGDecInfo *info, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams) |
A helper function that determines whether the JPEG decoder HW engine can decode the input JPEG stream. More... | |
NvMediaStatus | NvMediaIJPDRender (const NvMediaIJPD *decoder, NvMediaImage *output, const NvMediaRect *srcRect, const NvMediaRect *dstRect, uint8_t downscaleLog2, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, uint32_t flags) |
Decodes a JPEG image. More... | |
NvMediaStatus | NvMediaIJPDRenderYUV (const NvMediaIJPD *decoder, NvMediaImage *output, uint8_t downscaleLog2, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, uint32_t flags) |
Decodes a JPEG image into YUV format. More... | |