Defines A API for the Codec.
Data Structures | |
| struct | dwCodecHeaderPluginFunctions |
| Function Table exposing plugin functions. More... | |
| struct | dwDecoderPluginFunctions |
| Function Table exposing decoder plugin functions. More... | |
| struct | dwCameraHWInformationValidity |
| Holds camera hardware information validity. More... | |
| struct | dwCameraHWInformation |
| Holds camera hardware information. More... | |
| struct | dwSensorFirmwareInformation |
| Holds the sensor firmware version information. More... | |
| struct | dwSensorInformation |
| Holds the sensor information. More... | |
| struct | dwSensorFirmwareList |
| Holds array sensor information. More... | |
Modules | |
| CodecHeader API | |
| Defines A API for the CodecHeader. | |
| Encoder API | |
| Defines A API for the Encoder. | |
Macros | |
| #define | DW_MAX_SENSORS 32 |
| max number of sensors More... | |
Typedefs | |
| typedef void * | dwCodecHeaderPluginHandle_t |
| CodecHeader plugin handle. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_initializeHandle) (dwCodecHeaderPluginHandle_t *handle, void *const codecConfig, void *const params) |
| Initialize a new handle to the CodecHeader managed by the plugin module. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_release) (dwCodecHeaderPluginHandle_t handle) |
| Release a CodecHeader managed by the plugin module. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_getCodecType) (char *const mimeType, const size_t size, dwCodecHeaderPluginHandle_t handle) |
| Get the CodecType of the CodecHeader. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_getMediaType) (dwMediaType *const mediaType, dwCodecHeaderPluginHandle_t handle) |
| Get the MediaType of the CodecHeader. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_getMaxRawPacketSize) (size_t *const size, dwCodecHeaderPluginHandle_t handle) |
| Get the max raw packet size of the CodecHeader. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_getProperties) (void *const properties, size_t const size, dwCodecHeaderPluginHandle_t handle) |
| Get the properties of the CodecHeader. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_getConfig) (void *config, size_t const configSize, dwCodecHeaderPluginHandle_t handle) |
| Get the config of the CodecHeader. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_save) (size_t *const dataSize, void *data, size_t const maxDataSize, dwCodecHeaderPluginHandle_t handle) |
| Serializes the codec header. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_canLoad) (void const *const data, size_t const dataSize) |
| Check if given data can be loaded. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_load) (dwCodecHeaderPluginHandle_t *handle, void const *const data, size_t const dataSize) |
| Load a serialized codec header. More... | |
| typedef dwStatus(* | dwCodecHeaderPlugin_initializeDecoder) (dwDecoderPluginHandle_t *decoderHandle, dwDecoderPluginFunctions const **decoderFuncs, dwCodecHeaderPluginHandle_t handle, dwContextHandle_t ctx) |
| Initialize a new handle to the Decoder managed by the plugin module. More... | |
| typedef struct dwCodecHeaderPluginFunctions | dwCodecHeaderPluginFunctions |
| Function Table exposing plugin functions. More... | |
| typedef void * | dwDecoderPluginHandle_t |
| Decoder plugin handle. More... | |
| typedef dwStatus(* | dwDecoderPlugin_release) (dwDecoderPluginHandle_t handle) |
| Release a decoder managed by the plugin module. More... | |
| typedef dwStatus(* | dwDecoderPlugin_reset) (dwDecoderPluginHandle_t handle) |
| Reset a decoder managed by the plugin module. More... | |
| typedef dwStatus(* | dwDecoderPlugin_decode) (dwCodecPacket *packet, dwDecoderPluginHandle_t handle) |
| Decode encoded packet data into a frame. More... | |
| typedef dwStatus(* | dwDecoderPlugin_drain) (void *data, size_t dataSize, dwDecoderPluginHandle_t handle) |
| Drains previously queued decode requests. More... | |
| typedef struct dwDecoderPluginFunctions | dwDecoderPluginFunctions |
| Function Table exposing decoder plugin functions. More... | |
| typedef struct dwCameraHWInformationValidity | dwCameraHWInformationValidity |
| Holds camera hardware information validity. More... | |
| typedef struct dwCameraHWInformation | dwCameraHWInformation |
| Holds camera hardware information. More... | |
| typedef struct dwSensorFirmwareInformation | dwSensorFirmwareInformation |
| Holds the sensor firmware version information. More... | |
| typedef struct dwSensorInformation | dwSensorInformation |
| Holds the sensor information. More... | |
| typedef struct dwSensorFirmwareList | dwSensorFirmwareList |
| Holds array sensor information. More... | |
| #define DW_MAX_SENSORS 32 |
max number of sensors
Definition at line 33 of file SensorInfo.h.
| typedef struct dwCameraHWInformation dwCameraHWInformation |
Holds camera hardware information.
| typedef struct dwCameraHWInformationValidity dwCameraHWInformationValidity |
Holds camera hardware information validity.
Check if given data can be loaded.
@req{GID-AV_REQ-7054147}
| [in] | data | Pointer to memory block to containing the serialized codec header |
| [in] | dataSize | Size of the serialized data |
Definition at line 163 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_getCodecType) (char *const mimeType, const size_t size, dwCodecHeaderPluginHandle_t handle) |
Get the CodecType of the CodecHeader.
@req{GID-AV_REQ-7054123}
| [out] | mimeType | The CodecType of given CodecHeader. |
| [in] | size | Size of mimeType. |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 80 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_getConfig) (void *config, size_t const configSize, dwCodecHeaderPluginHandle_t handle) |
Get the config of the CodecHeader.
@req{GID-AV_REQ-7054141}
| [out] | config | The codec config of given CodecHeader. |
| [out] | configSize | Size of config. |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 134 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_getMaxRawPacketSize) (size_t *const size, dwCodecHeaderPluginHandle_t handle) |
Get the max raw packet size of the CodecHeader.
@req{GID-AV_REQ-7054137}
| [out] | size | Size of max raw packet. |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 105 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_getMediaType) (dwMediaType *const mediaType, dwCodecHeaderPluginHandle_t handle) |
Get the MediaType of the CodecHeader.
@req{GID-AV_REQ-7054136}
| [out] | mediaType | The MideaType of given CodecHeader. |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 93 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_getProperties) (void *const properties, size_t const size, dwCodecHeaderPluginHandle_t handle) |
Get the properties of the CodecHeader.
@req{GID-AV_REQ-7054139}
| [out] | properties | The properties of given CodecHeader. |
| [in] | size | Size of properties. |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 120 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_initializeDecoder) (dwDecoderPluginHandle_t *decoderHandle, dwDecoderPluginFunctions const **decoderFuncs, dwCodecHeaderPluginHandle_t handle, dwContextHandle_t ctx) |
Initialize a new handle to the Decoder managed by the plugin module.
@req{GID-AV_REQ-7054149}
| [out] | decoderHandle | A pointer to Decoder handle |
| [out] | decoderFuncs | Function table provided by the Decoder |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
| [in] | ctx | DW context |
Definition at line 192 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_initializeHandle) (dwCodecHeaderPluginHandle_t *handle, void *const codecConfig, void *const params) |
Initialize a new handle to the CodecHeader managed by the plugin module.
@req{GID-AV_REQ-7054105}
| [out] | handle | A pointer to CodecHeader handle |
| [in] | codecConfig | The config associated with the CodecHeader. Such as dwCodecConfigVideo for video codec types |
| [in] | params | Optional params for the CodecHeader plugin |
Definition at line 54 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_load) (dwCodecHeaderPluginHandle_t *handle, void const *const data, size_t const dataSize) |
Load a serialized codec header.
@req{GID-AV_REQ-7054148}
| [out] | handle | A pointer to CodecHeader handle |
| [in] | data | Pointer to memory block to containing the serialized codec header |
| [in] | dataSize | Size of the serialized data |
Definition at line 177 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_release) (dwCodecHeaderPluginHandle_t handle) |
Release a CodecHeader managed by the plugin module.
@req{GID-AV_REQ-7054116}
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 66 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwCodecHeaderPlugin_save) (size_t *const dataSize, void *data, size_t const maxDataSize, dwCodecHeaderPluginHandle_t handle) |
Serializes the codec header.
@req{GID-AV_REQ-7054145}
| [out] | dataSize | Size of the serialized data |
| [out] | data | Pointer to memory block to store the serialized string |
| [in] | maxDataSize | Size of the memory block pointed to by data |
| [in] | handle | The handle to a CodecHeader created previously with the 'dwCodecHeaderPlugin_initializeHandle' interface. |
Definition at line 149 of file CodecHeaderPlugin.h.
| typedef struct dwCodecHeaderPluginFunctions dwCodecHeaderPluginFunctions |
Function Table exposing plugin functions.
@req{GID-AV_REQ-7054105} @req{GID-AV_REQ-7054116} @req{GID-AV_REQ-7054123} @req{GID-AV_REQ-7054136} @req{GID-AV_REQ-7054137} @req{GID-AV_REQ-7054139} @req{GID-AV_REQ-7054141} @req{GID-AV_REQ-7054145} @req{GID-AV_REQ-7054147} @req{GID-AV_REQ-7054148} @req{GID-AV_REQ-7054149}
| typedef void* dwCodecHeaderPluginHandle_t |
CodecHeader plugin handle.
Definition at line 40 of file CodecHeaderPlugin.h.
| typedef dwStatus(* dwDecoderPlugin_decode) (dwCodecPacket *packet, dwDecoderPluginHandle_t handle) |
Decode encoded packet data into a frame.
@req{GID-AV_REQ-6817247}
| [in] | packet | The pointer to the encoded packet data. |
| [in] | handle | The handle to a Decoder created previously with the 'dwCodecHeaderPlugin_initializeDecoder' interface. |
Definition at line 75 of file DecoderPlugin.h.
| typedef dwStatus(* dwDecoderPlugin_drain) (void *data, size_t dataSize, dwDecoderPluginHandle_t handle) |
Drains previously queued decode requests.
@req{GID-AV_REQ-6775020}
| [out] | data | The pointer to the frame data. |
| [out] | dataSize | Size of data. |
| [in] | handle | The handle to a Decoder created previously with the 'dwCodecHeaderPlugin_initializeDecoder' interface. |
Definition at line 91 of file DecoderPlugin.h.
| typedef dwStatus(* dwDecoderPlugin_release) (dwDecoderPluginHandle_t handle) |
Release a decoder managed by the plugin module.
@req{GID-AV_REQ-6817253}
| [in] | handle | The handle to a Decoder created previously with the 'dwCodecHeaderPlugin_initializeDecoder' interface. |
Definition at line 49 of file DecoderPlugin.h.
| typedef dwStatus(* dwDecoderPlugin_reset) (dwDecoderPluginHandle_t handle) |
Reset a decoder managed by the plugin module.
@req{GID-AV_REQ-6817249}
| [in] | handle | The handle to a Decoder created previously with the 'dwCodecHeaderPlugin_initializeDecoder' interface. |
Definition at line 61 of file DecoderPlugin.h.
| typedef struct dwDecoderPluginFunctions dwDecoderPluginFunctions |
Function Table exposing decoder plugin functions.
@req{GID-AV_REQ-6817253} @req{GID-AV_REQ-6817249} @req{GID-AV_REQ-6817247} @req{GID-AV_REQ-6775020}
| typedef void* dwDecoderPluginHandle_t |
Decoder plugin handle.
Definition at line 37 of file DecoderPlugin.h.
| typedef struct dwSensorFirmwareInformation dwSensorFirmwareInformation |
Holds the sensor firmware version information.
| typedef struct dwSensorFirmwareList dwSensorFirmwareList |
Holds array sensor information.
| typedef struct dwSensorInformation dwSensorInformation |
Holds the sensor information.