Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::video::VideoV4l2Channel Class Reference
Collaboration diagram for jami::video::VideoV4l2Channel:
Collaboration graph

Public Member Functions

const VideoV4l2SizegetSize (VideoSize name) const
 
std::vector< VideoSizegetSizeList () const
 
void readFormats (int fd)
 
unsigned int readSizes (int fd, unsigned int pixel_format)
 
 VideoV4l2Channel (unsigned idx, const char *s)
 

Public Attributes

unsigned idx
 
std::string name
 

Detailed Description

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

Constructor & Destructor Documentation

◆ VideoV4l2Channel()

jami::video::VideoV4l2Channel::VideoV4l2Channel ( unsigned  idx,
const char s 
)

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

Member Function Documentation

◆ getSize()

const VideoV4l2Size & jami::video::VideoV4l2Channel::getSize ( VideoSize  name) const

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

References jami::emitSignal().

Here is the call graph for this function:

◆ getSizeList()

std::vector< VideoSize > jami::video::VideoV4l2Channel::getSizeList ( ) const

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

References jami::emitSignal().

Here is the call graph for this function:

◆ readFormats()

void jami::video::VideoV4l2Channel::readFormats ( int  fd)
Exceptions
std::runtime_error

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

References jami::emitSignal(), idx, readSizes(), and ZEROVAR.

Here is the call graph for this function:

◆ readSizes()

unsigned int jami::video::VideoV4l2Channel::readSizes ( int  fd,
unsigned int  pixel_format 
)
Exceptions
std::runtime_error

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

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

Referenced by readFormats().

Here is the call graph for this function:

Member Data Documentation

◆ idx

unsigned jami::video::VideoV4l2Channel::idx

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

Referenced by readFormats().

◆ name

std::string jami::video::VideoV4l2Channel::name

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


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