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 |
typedef struct dwCodecHeaderObject * | dwCodecHeaderHandle_t |
CodecHeader handle. More... | |
Functions | |
dwStatus | dwCodecHeader_create (dwCodecHeaderHandle_t *handle, dwCodecType type, void *codecConfig) |
Get the specified dwCodecType in a codec header. More... | |
dwStatus | dwCodecHeader_destroy (dwCodecHeaderHandle_t handle) |
Get the specified dwCodecType in a codec header. More... | |
dwStatus | dwCodecHeader_getCodecType (dwCodecType *type, dwCodecHeaderConstHandle_t handle) |
Get the specified dwCodecType 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 *type, dwCodecHeaderConstHandle_t handle) |
Get the specified dwMediaType in a codec header. More... | |
dwStatus | dwCodecHeader_load (dwCodecHeaderHandle_t *handle, void *data, size_t dataSize, dwContextHandle_t context) |
Load a serialized codec header from JSON string. More... | |
dwStatus | dwCodecHeader_release (dwCodecHeaderHandle_t handle) |
Release resources associated with codec header. More... | |
dwStatus | dwCodecHeader_save (size_t *dataSize, void *data, size_t maxDataSize, dwCodecHeaderConstHandle_t handle) |
Serializes the codec header into JSON string. More... | |