|  | NVIDIA DRIVE OS Linux SDK API Reference5.1.9.0 Release | 
NVIDIA Media Interface: Image JPEG Encode Processing API
Description: This file contains the Image JPEG Encode Processing API.
Definition in file nvmedia_ijpe.h.
Go to the source code of this file.
| Data Structures | |
| struct | NvMediaJPHuffmanTableSpecfication | 
| image JPEG encoder HuffmanTable.  More... | |
| struct | NvMediaJPEncAttributes | 
| image JPEG encoder attributes.  More... | |
| struct | NvMediaIJPE | 
| image JPEG encoder object created by NvMediaIJPECreate.  More... | |
| Macros | |
| #define | NVMEDIA_IJPE_VERSION_MAJOR 1 | 
| Major Version number.  More... | |
| #define | NVMEDIA_IJPE_VERSION_MINOR 7 | 
| Minor Version number.  More... | |
| #define | NVMEDIA_JPEG_ENC_FLAG_NONE | 
| JPEG encoder flag empty.  More... | |
| #define | NVMEDIA_JPEG_ENC_FLAG_SKIP_SOI | 
| JPEG encoder flag to skip SOI marker.  More... | |
| #define | NVMEDIA_IMAGE_JPEG_ATTRIBUTE_QUALITY | 
| Quality.  More... | |
| #define | NVMEDIA_IMAGE_JPEG_ATTRIBUTE_RESTARTINTERVAL | 
| Restart interval.  More... | |
| #define | NVMEDIA_IMAGE_JPEG_ATTRIBUTE_TARGETSIZE | 
| encode frame target size  More... | |
| #define | NVMEDIA_IMAGE_JPEG_ATTRIBUTE_QUANTTABLE | 
| Luma/Chroma quant table.  More... | |
| #define | NVMEDIA_IMAGE_JPEG_ATTRIBUTE_HUFFTABLE | 
| Huffmann table.  More... | |
| Functions | |
| NvMediaStatus | NvMediaIJPEGetVersion (NvMediaVersion *version) | 
| Gets the version compatibility for the NvMedia IJPE library.  More... | |
| NvMediaIJPE * | NvMediaIJPECreate (const NvMediaDevice *device, NvMediaSurfaceType inputFormat, uint8_t maxOutputBuffering, uint32_t maxBitstreamBytes) | 
| Creates a JPEG encoder object capable of turning a stream of surfaces of the inputFormat into a JPEG stream.  More... | |
| void | NvMediaIJPEDestroy (NvMediaIJPE *encoder) | 
| Destroys an NvMedia image JPEG encoder.  More... | |
| NvMediaStatus | NvMediaIJPEFeedFrame (const NvMediaIJPE *encoder, NvMediaImage *frame, uint8_t quality) | 
| Encodes the specified frame with input quality.  More... | |
| NvMediaStatus | NvMediaIJPEFeedFrameQuant (const NvMediaIJPE *encoder, NvMediaImage *frame, uint8_t *lumaQuant, uint8_t *chromaQuant) | 
| Encodes the specified frame with input Luma and Chroma quant tables.  More... | |
| NvMediaStatus | NvMediaIJPEFeedFrameRateControl (const NvMediaIJPE *encoder, NvMediaImage *frame, uint8_t *lumaQuant, uint8_t *chromaQuant, uint32_t targetImageSize) | 
| Encodes the specified frame with input Luma and Chroma quant tables and targetImageSize.  More... | |
| NvMediaStatus | NvMediaIJPESetAttributes (const NvMediaIJPE *encoder, uint32_t attributeMask, const void *attributes) | 
| Sets the JPEG encoder attributes.  More... | |
| NvMediaStatus | NvMediaIJPEGetBits (const NvMediaIJPE *encoder, uint32_t *numBytes, void *buffer, uint32_t flags) | 
| Returns a frame's worth of bitstream into the provided buffer.  More... | |
| NvMediaStatus | NvMediaIJPEGetBitsEx (const NvMediaIJPE *encoder, uint32_t *numBytes, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, uint32_t flags) | 
| Performs the same operation as NvMediaIJPEGetBits() except NvMediaIJPEGetBitsEx() consumes an array of buffers.  More... | |
| NvMediaStatus | NvMediaIJPEBitsAvailable (const NvMediaIJPE *encoder, uint32_t *numBytesAvailable, NvMediaBlockingType blockingType, uint32_t millisecondTimeout) | 
| Returns the encode status and number of bytes available for the next frame (if any).  More... | |