summaryrefslogtreecommitdiff
path: root/src/mediactl-priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-01-27 02:11:47 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-03-10 19:53:59 +0100
commit69ded6a53907c667b01a2b1dcafc24715c9b5bff (patch)
treec592cd991a3740b2a594bfefe3ba1aea07b89656 /src/mediactl-priv.h
parent00b872075dc1232ceeadb2a732b6926c285ac7fb (diff)
Make the media_entity structure private
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to 'src/mediactl-priv.h')
-rw-r--r--src/mediactl-priv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mediactl-priv.h b/src/mediactl-priv.h
index 844acc7..37e60aa 100644
--- a/src/mediactl-priv.h
+++ b/src/mediactl-priv.h
@@ -26,6 +26,18 @@
#include "mediactl.h"
+struct media_entity {
+ struct media_device *media;
+ struct media_entity_desc info;
+ struct media_pad *pads;
+ struct media_link *links;
+ unsigned int max_links;
+ unsigned int num_links;
+
+ char devname[32];
+ int fd;
+};
+
struct media_device {
int fd;
int refcount;