NVIDIA DriveWorks API: Encoder Methods
Description: This file defines encoder methods.
Definition in file Encoder.h.
Go to the source code of this file.
Typedefs | |
typedef struct dwCodecEncoderObject * | dwEncoderHandle_t |
Handle representing an encoder. More... | |
Functions | |
dwStatus | dwEncoder_initialize (dwEncoderHandle_t *encoder, dwCodecHeaderHandle_t config, dwEncoderConfig const *encoderConfig, dwContextHandle_t context) |
This function initializes the encoder. More... | |
dwStatus | dwEncoder_release (dwEncoderHandle_t encoder) |
This function releases the encoder. More... | |
dwStatus | dwEncoder_flush (dwEncoderHandle_t encoder) |
This function consumes all data from the internal data buffer. More... | |
dwStatus | dwEncoder_encode (void const *data, size_t dataSize, dwMediaType dataType, dwEncoderHandle_t encoder) |
This function enqueues a codec packet. More... | |
dwStatus | dwEncoder_drainPacket (dwCodecPacket *packet, dwEncoderHandle_t encoder) |
This function drains previously queued encode requests. More... | |
dwStatus | dwEncoder_returnPacket (dwCodecPacket *packet, dwEncoderHandle_t encoder) |
This function returns the codec packet. More... | |