![]() |
NVIDIA DRIVE OS Linux SDK API Reference5.1.6.0 Release |
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... | |
Macros | |
#define | NVMEDIA_IEP_VERSION_MAJOR 2 |
Major Version number. More... | |
#define | NVMEDIA_IEP_VERSION_MINOR 6 |
Minor Version number. 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... | |
NvMediaIEP * | NvMediaIEPCreate (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... | |