libcamera  v0.2.0+135-3cb20bc2
Supporting cameras in Linux since 2019
Public Member Functions | Public Attributes | List of all members
libcamera::V4L2Subdevice::Stream Class Reference

V4L2 subdevice stream. More...

Public Member Functions

 Stream ()
 Construct a Stream with pad and stream set to 0.
 
 Stream (unsigned int p, unsigned int s)
 Construct a Stream with a given pad and stream number. More...
 

Public Attributes

unsigned int pad
 The 0-indexed pad number.
 
unsigned int stream
 The stream number.
 

Detailed Description

V4L2 subdevice stream.

This class identifies a subdev stream, by bundling the pad number with the stream number. It is used in all stream-aware functions of the V4L2Subdevice class to identify the stream the functions operate on.

Constructor & Destructor Documentation

◆ Stream()

libcamera::V4L2Subdevice::Stream::Stream ( unsigned int  pad,
unsigned int  stream 
)
inline

Construct a Stream with a given pad and stream number.

Parameters
[in]padThe indexed pad number
[in]streamThe stream number

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