14 #include <linux/media.h> 32 bool busy()
const {
return acquired_; }
40 const std::string &
driver()
const {
return driver_; }
41 const std::string &
deviceNode()
const {
return deviceNode_; }
42 const std::string &
model()
const {
return model_; }
43 unsigned int version()
const {
return version_; }
46 const std::vector<MediaEntity *> &
entities()
const {
return entities_; }
49 MediaLink *
link(
const std::string &sourceName,
unsigned int sourceIdx,
50 const std::string &sinkName,
unsigned int sinkIdx);
69 struct media_v2_interface *findInterface(
const struct media_v2_topology &topology,
70 unsigned int entityId);
71 bool populateEntities(
const struct media_v2_topology &topology);
72 bool populatePads(
const struct media_v2_topology &topology);
73 bool populateLinks(
const struct media_v2_topology &topology);
74 void fixupEntityFlags(
struct media_v2_entity *entity);
77 int setupLink(
const MediaLink *link,
unsigned int flags);
80 std::string deviceNode_;
82 unsigned int version_;
83 unsigned int hwRevision_;
89 std::map<unsigned int, MediaObject *> objects_;
90 std::vector<MediaEntity *> entities_;
File descriptor wrapper that owns a file descriptor.
Base class to support log message extensions.
Definition: log.h:90
Top-level libcamera namespace.
Definition: backtrace.h:17
Signal & slot implementation.
unique_ptr-like wrapper for a file descriptor
Definition: unique_fd.h:17
Generic signal and slot communication mechanism.
Definition: object.h:20