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
154 * struct media_link - A link object part of a media graph.
156 * @graph_obj: Embedded structure containing the media object common data
173 * @flags: Link flags, as defined in uapi/media.h (MEDIA_LNK_FL_*)
195 * enum media_pad_signal_type - type of the signal inside a media pad
223 * struct media_pad - A media pad graph object.
225 * @graph_obj: Embedded structure containing the media object common data
229 * @sig_type: Type of the signal inside a media pad
231 * :ref:`include/uapi/linux/media.h <media_header>`
252 * struct media_entity_operations - Media entity operations
255 * to map a fwnode to a media pad number. Optional.
290 * enum media_entity_type - Media entity type
299 * Media entity objects are often not instantiated directly, but the media
301 * structures. The media entity type identifies the type of the subclass
302 * structure that implements a media entity instance.
304 * This allows runtime type identification of media entities and safe casting to
305 * the correct object type. For instance, a media entity structure instance
317 * struct media_entity - A media entity graph object.
319 * @graph_obj: Embedded structure containing the media object common data.
323 * :ref:`include/uapi/linux/media.h <media_header>`
326 * :ref:`include/uapi/linux/media.h <media_header>`
381 * Iterate on all pads in a media entity.
389 * struct media_interface - A media interface graph object.
394 * :ref:`include/uapi/linux/media.h <media_header>`
397 * :ref:`include/uapi/linux/media.h <media_header>`
412 * struct media_intf_devnode - A media interface via a device node.
427 * media_entity_id() - return the media entity graph object id
437 * media_type() - return the media object type
447 * media_id() - return the media object ID
502 * @mdev: The related media device
676 * media graph object. It is called automatically if ``media_*_create``
679 * called before registering the object at the media controller.
686 * media_gobj_destroy - Stop using a graph object on a media device
691 * that remove/destroy media graph objects.
750 * On success, return the pad number. If the pad was not found or the media
764 * :ref:`include/uapi/linux/media.h <media_header>`
770 * Indicates that the link is enabled and can be used to transfer media data.
801 * @flags: Link flags, as defined in include/uapi/linux/media.h.
811 * used to transfer media data. If multiple links are created and this
856 * __media_entity_setup_link - Configure a media link without locking
881 * When a link is enabled or disabled, the media framework calls the
887 * Media device drivers can be notified of link setup operations by setting the
1028 * media_entity_pipeline - Get the media pipeline an entity is part of
1033 * This function returns the media pipeline that an entity has been associated
1048 * media_pad_pipeline - Get the media pipeline a pad is part of
1051 * This function returns the media pipeline that a pad has been associated
1066 * :ref:`include/uapi/linux/media.h <media_header>`
1069 * This function can be used to resolve the media pad number from
1071 * mappings of media pads.
1086 * @graph: Media graph structure that will be used to walk the graph
1102 * @graph: Media graph structure that will be used to walk the graph
1109 * media_graph_walk_start - Start walking the media graph at a
1112 * @graph: Media graph structure that will be used to walk the graph
1130 * @graph: Media graph structure
1134 * Perform a depth-first traversal of the given media entities graph.
1147 * @pipe: Media pipeline to be assigned to all pads in the pipeline.
1164 * @pipe: Media pipeline to be assigned to all pads in the pipeline.
1200 * media_pipeline_for_each_pad - Iterate on all pads in a media pipeline
1205 * Iterate on all pads in a media pipeline. This is only valid after the
1247 * media_pipeline_for_each_entity - Iterate on all entities in a media pipeline
1252 * Iterate on all entities in a media pipeline. This is only valid after the
1282 * :ref:`include/uapi/linux/media.h <media_header>`
1285 * :ref:`include/uapi/linux/media.h <media_header>`
1317 * :ref:`include/uapi/linux/media.h <media_header>`