NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_ijpd.h File Reference

Detailed Description

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  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   2
 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...
 

Functions

NvMediaStatus NvMediaIJPDGetVersion (NvMediaVersion *version)
 Gets the version compatibility for the NvMedia IJPGD library. More...
 
NvMediaIJPDNvMediaIJPDCreate (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 (NvMediaIJPD *decoder, uint32_t attributeMask, 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 (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 (NvMediaIJPD *decoder, NvMediaImage *output, uint8_t downscaleLog2, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, uint32_t flags)
 Decodes a JPEG image into YUV format. More...