38 #define NVMEDIA_IEP_VERSION_MAJOR 2
40 #define NVMEDIA_IEP_VERSION_MINOR 6
133 uint8_t maxInputBuffering,
134 uint8_t maxOutputBuffering,
237 uint32_t numBitstreamBuffers,
284 uint32_t *numBytesAvailable,
286 uint32_t millisecondTimeout
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
NvMediaStatus NvMediaIEPFeedFrame(const NvMediaIEP *encoder, NvMediaImage *frame, const NvMediaRect *sourceRect, void *picParams, NvMediaEncoderInstanceId instanceId)
Encodes the specified frame.
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).
NvMediaIEPType
Image encode type.
NvMediaEncoderInstanceId
Specifies the encoder instance ID.
NvMediaStatus NvMediaIEPGetVersion(NvMediaVersion *version)
Checks the version compatibility for the NvMedia IEP library.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
NvMediaStatus
Defines all possible error codes.
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 bitstre...
NvMediaEncAttrType
Specifies the Video encoder get attribute type.
NvMediaStatus NvMediaIEPGetAttribute(const NvMediaIEP *encoder, NvMediaEncAttrType attrType, uint32_t attrSize, void *AttributeData)
Gets the encoder attribute for the current encoding session.
NvMediaStatus NvMediaIEPGetBitsEx(const NvMediaIEP *encoder, uint32_t *numBytes, uint32_t numBitstreamBuffers, NvMediaBitstreamBuffer *bitstreams, void *extradata)
Returns the bitstream for a slice or frame.
NvMediaBlockingType
Blocking type.
void NvMediaIEPDestroy(const NvMediaIEP *encoder)
Destroys an NvMedia image encoder.
NvMediaStatus NvMediaIEPSetConfiguration(const NvMediaIEP *encoder, void *configuration)
Sets the encoder configuration.