NVIDIA DRIVE OS Linux API Reference Release
For Test and Development only

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

Detailed Description

NVIDIA Media Interface: NvMedia Image Encode Processing API

This file contains the Image Encode Processing API.

Definition in file nvmedia_iep.h.

Go to the source code of this file.

Data Structures

struct  NvMediaIEP
 Holds the image encoder object created by NvMediaIEPCreate. More...


 Major Version number. More...
 Minor Version number. More...


enum  NvMediaIEPType {
 Image encode type. More...


NvMediaStatus NvMediaIEPGetVersion (NvMediaVersion *version)
 Checks the version compatibility for the NvMedia IEP library. More...
NvMediaIEPNvMediaIEPCreate (const NvMediaDevice *device, NvMediaIEPType encodeType, void *initParams, NvMediaSurfaceType inputFormat, uint8_t maxInputBuffering, uint8_t maxOutputBuffering, NvMediaEncoderInstanceId instanceId)
 Creates an encoder object capable of turning a stream of surfaces of the "inputFormat" into a bitstream of the specified "codec". More...
void NvMediaIEPDestroy (const NvMediaIEP *encoder)
 Destroys an NvMedia image encoder. More...
NvMediaStatus NvMediaIEPFeedFrame (const NvMediaIEP *encoder, NvMediaImage *frame, const NvMediaRect *sourceRect, void *picParams, NvMediaEncoderInstanceId instanceId)
 Encodes the specified frame. More...
NvMediaStatus NvMediaIEPSetConfiguration (const NvMediaIEP *encoder, void *configuration)
 Sets the encoder configuration. More...
NvMediaStatus NvMediaIEPGetBitsEx (const NvMediaIEP *encoder, uint32_t *numBytes, uint32_t numBitstreamBuffers, NvMediaBitstreamBuffer *bitstreams, void *extradata)
 Returns the bitstream for a slice or frame. More...
NvMediaStatus NvMediaIEPBitsAvailable (const NvMediaIEP *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...
NvMediaStatus NvMediaIEPGetAttribute (const NvMediaIEP *encoder, NvMediaEncAttrType attrType, uint32_t attrSize, void *AttributeData)
 Gets the encoder attribute for the current encoding session. More...