struct media_entity — A media entity graph object.
struct media_entity { struct media_gobj graph_obj; const char * name; enum media_entity_type obj_type; u32 function; unsigned long flags; u16 num_pads; u16 num_links; u16 num_backlinks; int internal_idx; struct media_pad * pads; struct list_head links; const struct media_entity_operations * ops; int stream_count; int use_count; struct media_pipeline * pipe; union info; };
Embedded structure containing the media object common data.
Entity name.
Type of the object that implements the media_entity.
Entity main function, as defined in uapi/media.h (MEDIA_ENT_F_*)
Entity flags, as defined in uapi/media.h (MEDIA_ENT_FL_*)
Number of sink and source pads.
Total number of links, forward and back, enabled and disabled.
Number of backlinks
An unique internal entity specific number. The numbers are re-used if entities are unregistered or registered again.
Pads array with the size defined by num_pads
.
List of data links.
Entity operations.
Stream count for the entity.
Use count for the entity.
Pipeline this entity belongs to.
Union with devnode information. Kept just for backward compatibility.