Ring Daemon 16.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jami::video::VideoV4l2Size Class Reference
Collaboration diagram for jami::video::VideoV4l2Size:
Collaboration graph

Public Member Functions

VideoV4l2Rate getRate (const FrameRate &rate) const
 
std::vector< FrameRategetRateList () const
 
void readFrameRates (int fd, unsigned int pixel_format)
 
 VideoV4l2Size (const unsigned width, const unsigned height)
 

Public Attributes

unsigned height
 
unsigned width
 

Detailed Description

Definition at line 61 of file v4l2/video_device_impl.cpp.

Constructor & Destructor Documentation

◆ VideoV4l2Size()

jami::video::VideoV4l2Size::VideoV4l2Size ( const unsigned  width,
const unsigned  height 
)
inline

Definition at line 64 of file v4l2/video_device_impl.cpp.

Member Function Documentation

◆ getRate()

VideoV4l2Rate jami::video::VideoV4l2Size::getRate ( const FrameRate rate) const

Definition at line 282 of file v4l2/video_device_impl.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ getRateList()

vector< FrameRate > jami::video::VideoV4l2Size::getRateList ( ) const

Definition at line 243 of file v4l2/video_device_impl.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ readFrameRates()

void jami::video::VideoV4l2Size::readFrameRates ( int  fd,
unsigned int  pixel_format 
)
Exceptions
std::runtime_error

Definition at line 253 of file v4l2/video_device_impl.cpp.

References jami::emitSignal(), height, JAMI_ERR, width, and ZEROVAR.

Here is the call graph for this function:

Member Data Documentation

◆ height

unsigned jami::video::VideoV4l2Size::height

Definition at line 79 of file v4l2/video_device_impl.cpp.

Referenced by readFrameRates().

◆ width

unsigned jami::video::VideoV4l2Size::width

Definition at line 78 of file v4l2/video_device_impl.cpp.

Referenced by readFrameRates().


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