From 84fa602d15c9ae282a1a0c7444b3ff1cac84c7c5 Mon Sep 17 00:00:00 2001 From: Todor Tomov Date: Tue, 25 Jan 2011 17:46:46 +0200 Subject: Shorten media structures names Shorten structures names: struct media_entity_link => struct media_link struct media_entity_pad => struct media_pad Signed-off-by: Todor Tomov --- media.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'media.h') diff --git a/media.h b/media.h index c7d4cdf..bf5dcb7 100644 --- a/media.h +++ b/media.h @@ -22,15 +22,15 @@ #include -struct media_entity_link { - struct media_entity_pad *source; - struct media_entity_pad *sink; - struct media_entity_link *twin; +struct media_link { + struct media_pad *source; + struct media_pad *sink; + struct media_link *twin; __u32 flags; __u32 padding[3]; }; -struct media_entity_pad { +struct media_pad { struct media_entity *entity; __u32 index; __u32 flags; @@ -39,8 +39,8 @@ struct media_entity_pad { struct media_entity { struct media_entity_desc info; - struct media_entity_pad *pads; - struct media_entity_link *links; + struct media_pad *pads; + struct media_link *links; unsigned int max_links; unsigned int num_links; @@ -59,7 +59,7 @@ struct media_device { struct media_device *media_open(const char *name, int verbose); void media_close(struct media_device *media); -struct media_entity_pad *media_entity_remote_source(struct media_entity_pad *pad); +struct media_pad *media_entity_remote_source(struct media_pad *pad); static inline unsigned int media_entity_type(struct media_entity *entity) { @@ -71,7 +71,7 @@ struct media_entity *media_get_entity_by_name(struct media_device *media, struct media_entity *media_get_entity_by_id(struct media_device *media, __u32 id); int media_setup_link(struct media_device *media, - struct media_entity_pad *source, struct media_entity_pad *sink, + struct media_pad *source, struct media_pad *sink, __u32 flags); int media_reset_links(struct media_device *media); -- cgit v1.2.3