NVIDIA DRIVE OS Linux SDK API Reference

5.1.9.0 Release

 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  NvMediaIEPRec
 Holds the image encoder object created by NvMediaIEPCreate. More...
 

Macros

#define NVMEDIA_IEP_VERSION_MAJOR   2
 Major Version number. More...
 
#define NVMEDIA_IEP_VERSION_MINOR   10
 Minor Version number. More...
 

Typedefs

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

Enumerations

enum  NvMediaIEPType {
  NVMEDIA_IMAGE_ENCODE_H264,
  NVMEDIA_IMAGE_ENCODE_HEVC,
  NVMEDIA_IMAGE_ENCODE_VP9,
  NVMEDIA_IMAGE_ENCODE_VP8
}
 Image encode type. More...
 

Functions

NvMediaStatus NvMediaIEPGetVersion (NvMediaVersion *version)
 Checks the version compatibility for the NvMedia IEP library. More...
 
NvMediaIEPNvMediaIEPCreate (const NvMediaDevice *device, NvMediaIEPType encodeType, const 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, const void *picParams, NvMediaEncoderInstanceId instanceId)
 Encodes the specified frame. More...
 
NvMediaStatus NvMediaIEPSetConfiguration (const NvMediaIEP *encoder, const 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...
 
NvMediaStatus NvMediaIEPImageRegister (const NvMediaIEP *encoder, const NvMediaImage *image, NvMediaAccessMode accessMode)
 Registers NvMediaImage for use with a NvMediaIEP handle. More...
 
NvMediaStatus NvMediaIEPImageUnRegister (const NvMediaIEP *encoder, const NvMediaImage *image)
 This API is not functional. More...