NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
DecoderPlugin.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
20 #ifndef DW_SENSORS_CODECS_PLUGINS_DECODERPLUGIN_H_
21 #define DW_SENSORS_CODECS_PLUGINS_DECODERPLUGIN_H_
22 
23 #include <dw/core/base/Types.h>
24 #include <dw/core/base/Status.h>
25 #include <dw/sensors/codecs/Codec.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
33 
43 
53 
65 
78 typedef dwStatus (*dwDecoderPlugin_drain)(void* data, size_t dataSize, dwDecoderPluginHandle_t handle);
79 
82 {
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
93 #endif // DW_SENSORS_CODECS_PLUGINS_DECODERPLUGIN_H_
dwDecoderPluginFunctions::decode
dwDecoderPlugin_decode decode
Decode a packet from input.
Definition: DecoderPlugin.h:85
dwDecoderPluginFunctions::reset
dwDecoderPlugin_reset reset
Reset plugin decoder specified by its handle.
Definition: DecoderPlugin.h:84
handle
const WFDCommitType const WFDHandle handle
Definition: wfdext.h:124
dwDecoderPlugin_reset
dwStatus(* dwDecoderPlugin_reset)(dwDecoderPluginHandle_t handle)
Reset a decoder managed by the plugin module.
Definition: DecoderPlugin.h:52
dwDecoderPluginHandle_t
void * dwDecoderPluginHandle_t
Decoder plugin handle.
Definition: DecoderPlugin.h:32
dwDecoderPlugin_drain
dwStatus(* dwDecoderPlugin_drain)(void *data, size_t dataSize, dwDecoderPluginHandle_t handle)
Drains previously queued decode requests.
Definition: DecoderPlugin.h:78
dwDecoderPluginFunctions
Function Table exposing decoder plugin functions.
Definition: DecoderPlugin.h:81
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
dwDecoderPluginFunctions::release
dwDecoderPlugin_release release
Release plugin decoder specified by its handle.
Definition: DecoderPlugin.h:83
dwDecoderPluginFunctions::drain
dwDecoderPlugin_drain drain
Return a decoded frame.
Definition: DecoderPlugin.h:86
dwDecoderPlugin_release
dwStatus(* dwDecoderPlugin_release)(dwDecoderPluginHandle_t handle)
Release a decoder managed by the plugin module.
Definition: DecoderPlugin.h:42
dwDecoderPluginFunctions
struct dwDecoderPluginFunctions dwDecoderPluginFunctions
Function Table exposing decoder plugin functions.
dwCodecPacket
Generic struct storing data output from codec.
Definition: Codec.h:240
dwDecoderPlugin_decode
dwStatus(* dwDecoderPlugin_decode)(dwCodecPacket *packet, dwDecoderPluginHandle_t handle)
Decode encoded packet data into a frame.
Definition: DecoderPlugin.h:64