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);
71 struct media_v2_interface *findInterface(
const struct media_v2_topology &topology,
72 unsigned int entityId);
73 bool populateEntities(
const struct media_v2_topology &topology);
74 bool populatePads(
const struct media_v2_topology &topology);
75 bool populateLinks(
const struct media_v2_topology &topology);
76 void fixupEntityFlags(
struct media_v2_entity *entity);
79 int setupLink(
const MediaLink *link,
unsigned int flags);
82 std::string deviceNode_;
84 unsigned int version_;
85 unsigned int hwRevision_;
91 std::map<unsigned int, MediaObject *> objects_;
92 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:16
Generic signal and slot communication mechanism.
Definition: object.h:22