DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

CodecHeader.h File Reference

Detailed Description

NVIDIA DriveWorks API: CodecHeader Method

Description: This file defines codec header methods for encoding and decoding.

Definition in file CodecHeader.h.

Go to the source code of this file.

Typedefs

typedef struct dwCodecHeaderObject const * dwCodecHeaderConstHandle_t
 CodecHeader handle. More...
 
typedef struct dwCodecHeaderObject * dwCodecHeaderHandle_t
 CodecHeader handle. More...
 

Functions

dwStatus dwCodecHeader_create (dwCodecHeaderHandle_t *handle, dwCodecType type, void *codecConfig)
 Create a new codec header with the specified dwCodecType. More...
 
dwStatus dwCodecHeader_createNew (dwCodecHeaderHandle_t *handle, char8_t const *codecMimeType, void *codecConfig, void *params, dwContextHandle_t context)
 Create a new codec header with the specified codec MIME type. More...
 
dwStatus dwCodecHeader_destroy (dwCodecHeaderHandle_t handle)
 Destroy a previously allocated codec header. More...
 
dwStatus dwCodecHeader_getCodecType (dwCodecType *const type, dwCodecHeaderConstHandle_t const handle)
 Get the specified dwCodecType in a codec header. More...
 
dwStatus dwCodecHeader_getCodecTypeNew (char8_t *type, const size_t size, dwCodecHeaderConstHandle_t const handle)
 Get the specified codec MIME type in a codec header. More...
 
dwStatus dwCodecHeader_getConfig (void *config, size_t configSize, dwMediaType mediaType, dwCodecHeaderConstHandle_t handle)
 Get the specified dwCodecConfig* in a codec header. More...
 
dwStatus dwCodecHeader_getMediaType (dwMediaType *const type, dwCodecHeaderConstHandle_t const handle)
 Get the specified dwMediaType in a codec header. More...
 
dwStatus dwCodecHeader_load (dwCodecHeaderHandle_t *const handle, void *const data, size_t const dataSize, dwContextHandle_t context)
 Load a serialized codec header from JSON string. More...
 
dwStatus dwCodecHeader_register (char const *codecMimeType, dwCodecHeaderPluginFunctions const *const funcTable, dwContextHandle_t ctx)
 Register CodecHeader plugin with associated codec MIME type. More...
 
dwStatus dwCodecHeader_release (dwCodecHeaderHandle_t const handle)
 Release resources associated with codec header. More...
 
dwStatus dwCodecHeader_save (size_t *const dataSize, void *data, size_t const maxDataSize, dwCodecHeaderConstHandle_t const handle)
 Serializes the codec header into JSON string. More...