NVIDIA DeepStream SDK API Reference

9.2 Release
includes/nvdstilerconfig.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18  #ifndef _NVDSTILER_CONFIG_H_
19  #define _NVDSTILER_CONFIG_H_
20 
26  #include <stdint.h>
27 
33  typedef struct
34  {
36  uint32_t sourceId;
39  float x;
42  float y;
45  float width;
48  float height;
49  }CustomTile;
50 
64  typedef struct
65  {
73  uint32_t length;
75 
83  typedef struct
84  {
85  uint32_t width;
86  uint32_t height;
87  uint32_t columns;
88  uint32_t rows;
89  uint32_t gpuId;
91  }TilerConfig;
92 
93 
94  #endif
95 
TilerConfig::rows
uint32_t rows
rows of tiles in canvas
Definition: includes/nvdstilerconfig.h:88
TilerConfig::width
uint32_t width
canvas width
Definition: includes/nvdstilerconfig.h:85
CustomTile
Holds information about an individual tile in the custom canvas.
Definition: includes/nvdstilerconfig.h:33
CustomTile::y
float y
offset from top in the unit - 1/100 or percentage of canvas-height
Definition: includes/nvdstilerconfig.h:42
TilerConfig::columns
uint32_t columns
columns of tiles in canvas
Definition: includes/nvdstilerconfig.h:87
TilerConfig
Holds the Tiler Canvas Configuration Note: The user cannot directly set this on nvmultistreamtiler Us...
Definition: includes/nvdstilerconfig.h:83
TilerConfig::customTileConfig
CustomTileConfig customTileConfig
Definition: includes/nvdstilerconfig.h:90
CustomTileConfig
Holds information about the custom tile canvas A pointer to this memory (transfer-none) shall be set ...
Definition: includes/nvdstilerconfig.h:64
TilerConfig::gpuId
uint32_t gpuId
gpuId to be used for stream creation
Definition: includes/nvdstilerconfig.h:89
CustomTile::sourceId
uint32_t sourceId
sourceId identifying the video source in a DeepStream pipeline
Definition: includes/nvdstilerconfig.h:36
TilerConfig::height
uint32_t height
canvas height
Definition: includes/nvdstilerconfig.h:86
CustomTileConfig::length
uint32_t length
length of tiles config array
Definition: includes/nvdstilerconfig.h:73
CustomTile::width
float width
tile width in the unit - 1/100 or percentage of canvas-width
Definition: includes/nvdstilerconfig.h:45
CustomTile::height
float height
tile height in the unit - 1/100 or percentage of canvas-height
Definition: includes/nvdstilerconfig.h:48
CustomTile::x
float x
offset from left in the unit - 1/100 or percentage of canvas-width
Definition: includes/nvdstilerconfig.h:39
CustomTileConfig::tiles
CustomTile * tiles
custom tile-level config array NOTE: nullable Used to customize the tile resolution per source If use...
Definition: includes/nvdstilerconfig.h:72