NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
DecoderPlugin.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2026 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>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
36 typedef void* dwDecoderPluginHandle_t;
38 
50 
62 
76 
91 typedef dwStatus (*dwDecoderPlugin_drain)(void* data, size_t dataSize, dwDecoderPluginHandle_t handle);
92 
101 {
107 
110 #ifdef __cplusplus
111 }
112 #endif
113 #endif // DW_SENSORS_CODECS_PLUGINS_DECODERPLUGIN_H_
Types.h
dwDecoderPluginFunctions::decode
dwDecoderPlugin_decode decode
Decode a packet from input.
Definition: DecoderPlugin.h:104
dwDecoderPlugin_reset
dwStatus(* dwDecoderPlugin_reset)(dwDecoderPluginHandle_t handle)
Reset a decoder managed by the plugin module.
Definition: DecoderPlugin.h:61
Codec.h
dwDecoderPluginFunctions::reset
dwDecoderPlugin_reset reset
Reset plugin decoder specified by its handle.
Definition: DecoderPlugin.h:103
dwDecoderPluginHandle_t
void * dwDecoderPluginHandle_t
Decoder plugin handle.
Definition: DecoderPlugin.h:37
dwDecoderPlugin_drain
dwStatus(* dwDecoderPlugin_drain)(void *data, size_t dataSize, dwDecoderPluginHandle_t handle)
Drains previously queued decode requests.
Definition: DecoderPlugin.h:91
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
dwDecoderPluginFunctions
Function Table exposing decoder plugin functions.
Definition: DecoderPlugin.h:100
dwDecoderPluginFunctions::release
dwDecoderPlugin_release release
Release plugin decoder specified by its handle.
Definition: DecoderPlugin.h:102
handle
const WFDCommitType const WFDHandle handle
Definition: wfdext.h:532
Status.h
dwDecoderPluginFunctions
struct dwDecoderPluginFunctions dwDecoderPluginFunctions
Function Table exposing decoder plugin functions.
dwDecoderPluginFunctions::drain
dwDecoderPlugin_drain drain
Return a decoded frame.
Definition: DecoderPlugin.h:105
dwDecoderPlugin_release
dwStatus(* dwDecoderPlugin_release)(dwDecoderPluginHandle_t handle)
Release a decoder managed by the plugin module.
Definition: DecoderPlugin.h:49
dwCodecPacket
Generic struct storing data output from codec.
Definition: Codec.h:313
dwDecoderPlugin_decode
dwStatus(* dwDecoderPlugin_decode)(dwCodecPacket *packet, dwDecoderPluginHandle_t handle)
Decode encoded packet data into a frame.
Definition: DecoderPlugin.h:75