| 
      
        
       | 
    
    
        
            NVIDIA DeepStream SDK API Reference
         | 
        
            
                8.0 Release
            
         | 
    
  
 
 
Go to the documentation of this file.
   20 #ifndef NVIDIA_DEEPSTREAM_SOURCE_CONFIG 
   21 #define NVIDIA_DEEPSTREAM_SOURCE_CONFIG 
   41   std::string camera_video_format = 
"NV12";
 
   47   int camera_csi_sensor_id = -1;
 
   52   int nvbuf_mem_type = 0;
 
   53   int nvvideoconvert_copy_hw = 0;
 
  
 
SensorInfo getSensorInfo(uint32_t index) const
Get sensor information for a specific source.
 
std::string camera_height
 
std::vector< CameraInfo > camera_info_
 
CameraInfo getCameraInfo(uint32_t index) const
Get information for a specific camera source.
 
SourceConfig(const std::string &config_file)
Create a source config from a yaml config file.
 
bool use_nvmultiurisrcbin_
 
const YAML::Node & getProperties() const
Get properties for setting the source bin(s)
 
bool useCameraBin() const
If using the nvv4l2srcbin.
 
std::string listSensorNames() const
List sensor names in a string, separated by ';'.
 
uint32_t nSources() const
Get the number of the sources.
 
std::string listSensorIds() const
List sensor ids in a string, separated by ';'.
 
bool useUriSrcBin() const
If using the nvurisrcbin.
 
std::string camera_v4l2_dev_node
 
bool useMultiUriSrcBin() const
If using the nvmultiurisrcbin.
 
std::vector< SensorInfo > sensor_info_
 
std::string listUris() const
List sensor uris in a string, separated by ';'.
 
uint32_t nCameraSources() const
Get the number of the camera sources.