APM:Libraries
Public Member Functions | Private Attributes | List of all members
Linux::CameraSensor Class Reference

#include <CameraSensor.h>

Inheritance diagram for Linux::CameraSensor:
[legend]

Public Member Functions

 CameraSensor (const char *device_path)
 
bool set_format (uint32_t width, uint32_t height, uint32_t format)
 
bool set_crop (uint32_t left, uint32_t top)
 

Private Attributes

const char * _device_path
 

Detailed Description

Definition at line 21 of file CameraSensor.h.

Constructor & Destructor Documentation

◆ CameraSensor()

Linux::CameraSensor::CameraSensor ( const char *  device_path)
inline

Definition at line 23 of file CameraSensor.h.

Here is the call graph for this function:

Member Function Documentation

◆ set_crop()

bool Linux::CameraSensor::set_crop ( uint32_t  left,
uint32_t  top 
)

Referenced by CameraSensor().

Here is the caller graph for this function:

◆ set_format()

bool CameraSensor::set_format ( uint32_t  width,
uint32_t  height,
uint32_t  format 
)

Definition at line 28 of file CameraSensor.cpp.

Referenced by CameraSensor(), and Linux::OpticalFlow_Onboard::init().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _device_path

const char* Linux::CameraSensor::_device_path
private

Definition at line 29 of file CameraSensor.h.

Referenced by CameraSensor(), and set_format().


The documentation for this class was generated from the following files: