Go to the source code of this file.
Data Structures | |
struct | FullBatchBlock |
struct | RoiProcessedBuf |
struct | ReadyResult |
Macros | |
#define | CUSTOM_CONFIG_SUBSAMPLE "subsample" |
Copyright (c) 2021, NVIDIA CORPORATION. More... | |
#define | CUSTOM_CONFIG_STRIDE "stride" |
#define | CUSTOM_CONFIG_CHANNEL_SCALE_FACTORS "channel-scale-factors" |
#define | CUSTOM_CONFIG_CHANNEL_MEANS "channel-mean-offsets" |
#define | DSASSERT assert |
#define | UNUSED(var) (void)(var) |
#define | LOG_PRINT_(out, level, fmt, ...) fprintf(out, "%s:%d, [%s: CUSTOM_LIB] " fmt "\n", __FILE__, __LINE__, #level, ##__VA_ARGS__) |
#define | LOG_DEBUG(fmt, ...) |
#define | LOG_INFO(fmt, ...) LOG_PRINT_(stdout, INFO, fmt, ##__VA_ARGS__) |
#define | LOG_ERROR(fmt, ...) LOG_PRINT_(stderr, ERROR, fmt, ##__VA_ARGS__) |
#define | CHECK_PROCESS_ERROR(err, fmt, ...) |
#define | CHECK_CUDA_ERR(err, fmt, ...) |
#define | PROCESS_EXPORT_API __attribute__((__visibility__("default"))) |
#define | NVDSPREPROCESS_SKIP_FRAME (NvDsPreProcessStatus)255 |
#define | FRAME_NO_NOT_SET UINT64_MAX |
Typedefs | |
using | SourceKey = std::tuple< uint64_t, int64_t, int64_t > |
using | SrcDestBufMap = std::map< SourceKey, std::unique_ptr< RoiProcessedBuf > > |
template<class T > | |
using | UniqPtr = std::unique_ptr< T, std::function< void(T *)> > |
Variables | |
bool | kEnableDebug |
#define CHECK_CUDA_ERR | ( | err, | |
fmt, | |||
... | |||
) |
Definition at line 88 of file seq_process_common.h.
#define CHECK_PROCESS_ERROR | ( | err, | |
fmt, | |||
... | |||
) |
Definition at line 78 of file seq_process_common.h.
#define CUSTOM_CONFIG_CHANNEL_MEANS "channel-mean-offsets" |
Definition at line 54 of file seq_process_common.h.
#define CUSTOM_CONFIG_CHANNEL_SCALE_FACTORS "channel-scale-factors" |
Definition at line 53 of file seq_process_common.h.
#define CUSTOM_CONFIG_STRIDE "stride" |
Definition at line 52 of file seq_process_common.h.
#define CUSTOM_CONFIG_SUBSAMPLE "subsample" |
Copyright (c) 2021, NVIDIA CORPORATION.
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition at line 51 of file seq_process_common.h.
#define DSASSERT assert |
Definition at line 57 of file seq_process_common.h.
#define FRAME_NO_NOT_SET UINT64_MAX |
Definition at line 106 of file seq_process_common.h.
#define LOG_DEBUG | ( | fmt, | |
... | |||
) |
Definition at line 68 of file seq_process_common.h.
#define LOG_ERROR | ( | fmt, | |
... | |||
) | LOG_PRINT_(stderr, ERROR, fmt, ##__VA_ARGS__) |
Definition at line 75 of file seq_process_common.h.
#define LOG_INFO | ( | fmt, | |
... | |||
) | LOG_PRINT_(stdout, INFO, fmt, ##__VA_ARGS__) |
Definition at line 73 of file seq_process_common.h.
#define LOG_PRINT_ | ( | out, | |
level, | |||
fmt, | |||
... | |||
) | fprintf(out, "%s:%d, [%s: CUSTOM_LIB] " fmt "\n", __FILE__, __LINE__, #level, ##__VA_ARGS__) |
Definition at line 65 of file seq_process_common.h.
#define NVDSPREPROCESS_SKIP_FRAME (NvDsPreProcessStatus)255 |
Definition at line 103 of file seq_process_common.h.
#define PROCESS_EXPORT_API __attribute__((__visibility__("default"))) |
Definition at line 100 of file seq_process_common.h.
#define UNUSED | ( | var | ) | (void)(var) |
Definition at line 60 of file seq_process_common.h.
using SourceKey = std::tuple<uint64_t, int64_t, int64_t> |
Definition at line 109 of file seq_process_common.h.
using SrcDestBufMap = std::map<SourceKey, std::unique_ptr<RoiProcessedBuf> > |
Definition at line 160 of file seq_process_common.h.
using UniqPtr = std::unique_ptr<T, std::function<void(T*)> > |
Definition at line 164 of file seq_process_common.h.
bool kEnableDebug |