15 #include <linux/media.h> 33 bool busy()
const {
return acquired_; }
41 const std::string &
driver()
const {
return driver_; }
42 const std::string &
deviceNode()
const {
return deviceNode_; }
43 const std::string &
model()
const {
return model_; }
44 unsigned int version()
const {
return version_; }
47 const std::vector<MediaEntity *> &
entities()
const {
return entities_; }
50 MediaLink *
link(
const std::string &sourceName,
unsigned int sourceIdx,
51 const std::string &sinkName,
unsigned int sinkIdx);
70 struct media_v2_interface *findInterface(
const struct media_v2_topology &topology,
71 unsigned int entityId);
72 bool populateEntities(
const struct media_v2_topology &topology);
73 bool populatePads(
const struct media_v2_topology &topology);
74 bool populateLinks(
const struct media_v2_topology &topology);
75 void fixupEntityFlags(
struct media_v2_entity *entity);
78 int setupLink(
const MediaLink *link,
unsigned int flags);
81 std::string deviceNode_;
83 unsigned int version_;
84 unsigned int hwRevision_;
90 std::map<unsigned int, MediaObject *> objects_;
91 std::vector<MediaEntity *> entities_;
File descriptor wrapper that owns a file descriptor.
Base class to support log message extensions.
Definition: log.h:91
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