libcamera  v0.3.1+12-19bbca3c
Supporting cameras in Linux since 2019
Public Member Functions | Public Attributes | List of all members
libcamera::V4L2Subdevice::Route Class Reference

V4L2 subdevice routing table entry. More...

Collaboration diagram for libcamera::V4L2Subdevice::Route:
Collaboration graph
[legend]

Public Member Functions

 Route ()
 Construct a Route with default streams.
 
 Route (const Stream &snk, const Stream &src, uint32_t f)
 Construct a Route from sink to source. More...
 

Public Attributes

Stream sink
 The sink stream of the route.
 
Stream source
 The source stream of the route.
 
uint32_t flags
 The route flags (V4L2_SUBDEV_ROUTE_FL_*)
 

Detailed Description

V4L2 subdevice routing table entry.

This class models a route in the subdevice routing table. It is similar to the v4l2_subdev_route structure, but uses the V4L2Subdevice::Stream class for easier usage with the V4L2Subdevice stream-aware functions.

Constructor & Destructor Documentation

◆ Route()

libcamera::V4L2Subdevice::Route::Route ( const Stream sink,
const Stream source,
uint32_t  flags 
)
inline

Construct a Route from sink to source.

Parameters
[in]sinkThe sink stream
[in]sourceThe source stream
[in]flagsThe route flags

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