NVIDIA DRIVE OS Linux SDK API Reference Release

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

Detailed Description

NVIDIA Media Interface: NvMedia Video Encode Processing API

This file contains the Video Encode Processing API.

Definition in file nvmedia_vep.h.

Go to the source code of this file.

Data Structures

struct  NvMediaVideoEncoder
 Video encoder object created by NvMediaVideoEncoderCreate. More...


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


enum  NvMediaVideoEncodeType {
 Video encoder codec type. More...


NvMediaStatus NvMediaVideoEncoderGetVersion (NvMediaVersion *version)
 Gets the version information for the NvMedia Video Encoder library. More...
NvMediaVideoEncoderNvMediaVideoEncoderCreate (const NvMediaDevice *device, NvMediaVideoEncodeType codec, 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 NvMediaVideoEncoderDestroy (const NvMediaVideoEncoder *encoder)
 Destroys an NvMediaEncoder object. More...
NvMediaStatus NvMediaVideoEncoderFeedFrame (const NvMediaVideoEncoder *encoder, const NvMediaVideoSurface *frame, const NvMediaRect *sourceRect, void *picParams, NvMediaEncoderInstanceId instanceId)
 Encodes the specified "frame". More...
NvMediaStatus NvMediaVideoEncoderSetConfiguration (const NvMediaVideoEncoder *encoder, void *configuration)
 Sets the encoder configuration. More...
NvMediaStatus NvMediaVideoEncoderGetBits (const NvMediaVideoEncoder *encoder, uint32_t *numBytes, void *buffer)
 NvMediaVideoEncoderGetBits returns a frame's worth of bitstream into the provided "buffer". More...
NvMediaStatus NvMediaVideoEncoderBitsAvailable (const NvMediaVideoEncoder *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...