NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
GlobalEgomotionSerialization.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2025 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_GLOBALEGOMOTIONSERIALIZER_H_
77 #define DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZER_H_
78 
79 #include <dw/egomotion/global/GlobalEgomotion.h>
80 
81 #ifdef __cplusplus
82 extern "C" {
83 #endif
84 
85 typedef struct dwGlobalEgomotionSerializer* dwGlobalEgomotionSerializerHandle_t;
86 typedef struct dwGlobalEgomotionSerializer const* dwGlobalEgomotionSerializerConstHandle_t;
87 
88 typedef struct dwGlobalEgomotionDeserializer* dwGlobalEgomotionDeserializerHandle_t;
89 typedef struct dwGlobalEgomotionDeserializer const* dwGlobalEgomotionDeserializerConstHandle_t;
90 
113  size_t historySize,
115 
144  size_t const bufferCapacity, dwGlobalEgomotionHandle_t handle);
145 
166  dwGlobalEgomotionHandle_t globalEgomotion);
167 
168 #ifdef __cplusplus
169 }
170 #endif
171 
172 #endif // DW_EGOMOTION_GLOBAL_GLOBALEGOMOTIONSERIALIZER_H_
dwGlobalEgomotion_deserialize
DW_API_PUBLIC dwStatus dwGlobalEgomotion_deserialize(dwGlobalEgomotionStateElement *buffer, size_t bufferSize, dwGlobalEgomotionHandle_t globalEgomotion)
Deserialize the global egomotion state history from the provided buffer.
ctx
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
Definition: PointCloudRangeImageCreator.h:293
dwGlobalEgomotionSerializerConstHandle_t
struct dwGlobalEgomotionSerializer const * dwGlobalEgomotionSerializerConstHandle_t
Definition: GlobalEgomotionSerialization.h:86
dwGlobalEgomotion_initializeDeserializer
DW_API_PUBLIC dwStatus dwGlobalEgomotion_initializeDeserializer(dwGlobalEgomotionHandle_t *handle, size_t historySize, dwContextHandle_t ctx)
Initializes a global egomotion deserializer object.
dwGlobalEgomotionSerializerHandle_t
struct dwGlobalEgomotionSerializer * dwGlobalEgomotionSerializerHandle_t
Definition: GlobalEgomotionSerialization.h:85
handle
const WFDCommitType const WFDHandle handle
Definition: wfdext.h:124
dwGlobalEgomotionDeserializerHandle_t
struct dwGlobalEgomotionDeserializer * dwGlobalEgomotionDeserializerHandle_t
Definition: GlobalEgomotionSerialization.h:88
dwGlobalEgomotionStateElement
Defines global egomotion state element.
Definition: GlobalEgomotionTypes.h:67
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:74
dwGlobalEgomotionHandle_t
struct dwGlobalEgomotionObject * dwGlobalEgomotionHandle_t
Definition: GlobalEgomotion.h:42
dwGlobalEgomotionDeserializerConstHandle_t
struct dwGlobalEgomotionDeserializer const * dwGlobalEgomotionDeserializerConstHandle_t
Definition: GlobalEgomotionSerialization.h:89
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: Exports.h:38
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.