NVIDIA DeepStream SDK API Reference
8.0 Release
nvdewarper.h
Go to the documentation of this file.
1
28
#ifndef _NVDEWARPER_H_
29
#define _NVDEWARPER_H_
30
#include "
gstnvdewarper.h
"
31
32
#include "
nvbufsurface.h
"
33
34
inline
bool
CUDA_CHECK_
(gint e, gint iLine,
const
gchar *szFile) {
35
if
(e != cudaSuccess) {
36
std::cout <<
"CUDA runtime error "
<< e <<
" at line "
<< iLine <<
" in file "
<< szFile << endl;
37
return
false
;
38
}
39
return
true
;
40
}
41
42
#define cuda_ck(call) CUDA_CHECK_(call, __LINE__, __FILE__)
43
44
#define BAIL_IF_FALSE(x, err, code) do { if (!(x)) { err = code; goto bail; } } while(0)
45
55
cudaError
gst_nvdewarper_do_dewarp
(
Gstnvdewarper
*nvdewarper,
56
NvBufSurface
*in_surface,
NvBufSurface
*out_surface);
57
63
uint32_t
gst_nvdewarper_version
();
64
65
#endif
NvBufSurface
Holds information about batched buffers.
Definition:
nvbufsurface.h:577
gst_nvdewarper_version
uint32_t gst_nvdewarper_version()
Function to get core Dewarper library version.
gstnvdewarper.h
SPDX-FileCopyrightText: Copyright (c) 2019-2022 NVIDIA CORPORATION & AFFILIATES.
gst_nvdewarper_do_dewarp
cudaError gst_nvdewarper_do_dewarp(Gstnvdewarper *nvdewarper, NvBufSurface *in_surface, NvBufSurface *out_surface)
Function definition of dewarping call for each surface.
CUDA_CHECK_
bool CUDA_CHECK_(gint e, gint iLine, const gchar *szFile)
Definition:
nvdewarper.h:34
nvbufsurface.h
_Gstnvdewarper
Gstnvdewarper element structure.
Definition:
gstnvdewarper.h:131
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Tue Sep 9 2025 11:36:24 | PR-09318-R32