summaryrefslogtreecommitdiff
path: root/media.h
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2011-01-25 17:46:43 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-07 15:37:53 +0100
commit6f30903cd6aeda5d61b3fa2a0e2e11e7bfb50c1e (patch)
treec607d9565a3c0a232f144eac47ab5f699cb3c104 /media.h
parent7ac89cd8f37ce9665c1701521b27a19d64223bed (diff)
Add inbound links support
Store all inbound and outbound links in media_entity.links. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
Diffstat (limited to 'media.h')
-rw-r--r--media.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media.h b/media.h
index c94e60e..f299072 100644
--- a/media.h
+++ b/media.h
@@ -25,6 +25,7 @@
struct media_entity_link {
struct media_entity_pad *source;
struct media_entity_pad *sink;
+ struct media_entity_link *twin;
__u32 flags;
};
@@ -38,6 +39,8 @@ struct media_entity {
struct media_entity_desc info;
struct media_entity_pad *pads;
struct media_entity_link *links;
+ unsigned int max_links;
+ unsigned int num_links;
char devname[32];
int fd;