NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
GlobalEgomotionSerialization.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-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 
76 #ifndef DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZATION_H_
77 #define DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZATION_H_
78 
80 
81 #ifdef __cplusplus
82 extern "C" {
83 #endif
84 
86 typedef struct dwGlobalEgomotionSerializer* dwGlobalEgomotionSerializerHandle_t;
88 typedef struct dwGlobalEgomotionSerializer const* dwGlobalEgomotionSerializerConstHandle_t;
89 
91 typedef struct dwGlobalEgomotionDeserializer* dwGlobalEgomotionDeserializerHandle_t;
93 typedef struct dwGlobalEgomotionDeserializer const* dwGlobalEgomotionDeserializerConstHandle_t;
94 
117  size_t historySize,
118  dwContextHandle_t ctx);
119 
148  size_t const bufferCapacity, dwGlobalEgomotionHandle_t handle);
149 
171 
172 #ifdef __cplusplus
173 }
174 #endif
175 
176 #endif // DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZATION_H_
dwGlobalEgomotion_initializeDeserializer
DW_API_PUBLIC dwStatus dwGlobalEgomotion_initializeDeserializer(dwGlobalEgomotionHandle_t *handle, size_t historySize, dwContextHandle_t ctx)
Initializes a global egomotion deserializer object.
dwGlobalEgomotionDeserializerHandle_t
struct dwGlobalEgomotionDeserializer * dwGlobalEgomotionDeserializerHandle_t
Mutable handle to a global egomotion deserializer.
Definition: GlobalEgomotionSerialization.h:91
dwGlobalEgomotionSerializerConstHandle_t
struct dwGlobalEgomotionSerializer const * dwGlobalEgomotionSerializerConstHandle_t
Const handle to a global egomotion serializer.
Definition: GlobalEgomotionSerialization.h:88
GlobalEgomotion.h
dwGlobalEgomotionSerializerHandle_t
struct dwGlobalEgomotionSerializer * dwGlobalEgomotionSerializerHandle_t
Mutable handle to a global egomotion serializer.
Definition: GlobalEgomotionSerialization.h:86
dwGlobalEgomotionStateElement
Defines global egomotion state element.
Definition: GlobalEgomotionTypes.h:137
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
dwGlobalEgomotionDeserializerConstHandle_t
struct dwGlobalEgomotionDeserializer const * dwGlobalEgomotionDeserializerConstHandle_t
Const handle to a global egomotion deserializer.
Definition: GlobalEgomotionSerialization.h:93
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:81
dwGlobalEgomotionHandle_t
struct dwGlobalEgomotionObject * dwGlobalEgomotionHandle_t
Mutable handle to a global egomotion object.
Definition: GlobalEgomotion.h:43
handle
const WFDCommitType const WFDHandle handle
Definition: wfdext.h:532
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: core/base/Exports.h:57
dwGlobalEgomotion_serialize
DW_API_PUBLIC dwStatus dwGlobalEgomotion_serialize(dwGlobalEgomotionStateElement *buffer, size_t *bufferSize, size_t const bufferCapacity, dwGlobalEgomotionHandle_t handle)
Serialize the global egomotion state history out into the provided buffer.
dwGlobalEgomotion_deserialize
DW_API_PUBLIC dwStatus dwGlobalEgomotion_deserialize(dwGlobalEgomotionStateElement const *buffer, size_t bufferSize, dwGlobalEgomotionHandle_t handle)
Deserialize the global egomotion state history from the provided buffer.