Lines Matching full:media
3 * Media entity
19 #include <linux/media.h>
23 /* Enums used internally at the media controller to represent graphs */
28 * @MEDIA_GRAPH_ENTITY: Identify a media entity
29 * @MEDIA_GRAPH_PAD: Identify a media pad
30 * @MEDIA_GRAPH_LINK: Identify a media link
31 * @MEDIA_GRAPH_INTF_DEVNODE: Identify a media Kernel API interface via
45 /* Structs to represent the objects that belong to a media graph */
57 * All objects on the media graph should have this struct embedded
68 * struct media_entity_enum - An enumeration of media entities.
80 * struct media_graph - Media graph traversal state
83 * on the path the media entities to be walked and the
101 * struct media_pipeline - Media pipeline related information
103 * @allocated: Media pipeline allocated and freed by the framework
104 * @mdev: The media device the pipeline is part of
106 * @start_count: Media pipeline start - stop count
116 * struct media_pipeline_pad - A pad part of a media pipeline
120 * @pad: The media pad
122 * This structure associate a pad with a media pipeline. Instances of
134 * struct media_link - A link object part of a media graph.
136 * @graph_obj: Embedded structure containing the media object common data
153 * @flags: Link flags, as defined in uapi/media.h (MEDIA_LNK_FL_*)
175 * enum media_pad_signal_type - type of the signal inside a media pad
203 * struct media_pad - A media pad graph object.
205 * @graph_obj: Embedded structure containing the media object common data
208 * @sig_type: Type of the signal inside a media pad
210 * :ref:`include/uapi/linux/media.h <media_header>`
230 * struct media_entity_operations - Media entity operations
233 * to map a fwnode to a media pad number. Optional.
266 * enum media_entity_type - Media entity type
275 * Media entity objects are often not instantiated directly, but the media
277 * structures. The media entity type identifies the type of the subclass
278 * structure that implements a media entity instance.
280 * This allows runtime type identification of media entities and safe casting to
281 * the correct object type. For instance, a media entity structure instance
293 * struct media_entity - A media entity graph object.
295 * @graph_obj: Embedded structure containing the media object common data.
299 * :ref:`include/uapi/linux/media.h <media_header>`
302 * :ref:`include/uapi/linux/media.h <media_header>`
361 * Iterate on all pads in a media entity.
369 * struct media_interface - A media interface graph object.
374 * :ref:`include/uapi/linux/media.h <media_header>`
377 * :ref:`include/uapi/linux/media.h <media_header>`
392 * struct media_intf_devnode - A media interface via a device node.
407 * media_entity_id() - return the media entity graph object id
417 * media_type() - return the media object type
427 * media_id() - return the media object ID
482 * @mdev: The related media device
656 * media graph object. It is called automatically if ``media_*_create``
659 * called before registering the object at the media controller.
666 * media_gobj_destroy - Stop using a graph object on a media device
671 * that remove/destroy media graph objects.
730 * On success, return the pad number. If the pad was not found or the media
744 * :ref:`include/uapi/linux/media.h <media_header>`
750 * Indicates that the link is enabled and can be used to transfer media data.
781 * @flags: Link flags, as defined in include/uapi/linux/media.h.
791 * used to transfer media data. If multiple links are created and this
836 * __media_entity_setup_link - Configure a media link without locking
861 * When a link is enabled or disabled, the media framework calls the
867 * Media device drivers can be notified of link setup operations by setting the
1008 * media_entity_pipeline - Get the media pipeline an entity is part of
1013 * This function returns the media pipeline that an entity has been associated
1028 * media_pad_pipeline - Get the media pipeline a pad is part of
1031 * This function returns the media pipeline that a pad has been associated
1046 * :ref:`include/uapi/linux/media.h <media_header>`
1049 * This function can be used to resolve the media pad number from
1051 * mappings of media pads.
1066 * @graph: Media graph structure that will be used to walk the graph
1080 * @graph: Media graph structure that will be used to walk the graph
1085 * media_graph_walk_start - Start walking the media graph at a
1088 * @graph: Media graph structure that will be used to walk the graph
1104 * @graph: Media graph structure
1106 * Perform a depth-first traversal of the given media entities graph.
1119 * @pipe: Media pipeline to be assigned to all pads in the pipeline.
1136 * @pipe: Media pipeline to be assigned to all pads in the pipeline.
1184 * :ref:`include/uapi/linux/media.h <media_header>`
1187 * :ref:`include/uapi/linux/media.h <media_header>`
1219 * :ref:`include/uapi/linux/media.h <media_header>`