int idx_max;
};
+struct media_entity_graph {
+ struct {
+ struct media_entity *entity;
+ struct list_head *link;
+ } stack[MEDIA_ENTITY_ENUM_MAX_DEPTH];
+
+ DECLARE_BITMAP(entities, MEDIA_ENTITY_ENUM_MAX_ID);
+ int top;
+};
+
struct media_pipeline {
};
min(ent_enum1->idx_max, ent_enum2->idx_max));
}
-struct media_entity_graph {
- struct {
- struct media_entity *entity;
- struct list_head *link;
- } stack[MEDIA_ENTITY_ENUM_MAX_DEPTH];
-
- DECLARE_BITMAP(entities, MEDIA_ENTITY_ENUM_MAX_ID);
- int top;
-};
-
#define gobj_to_entity(gobj) \
container_of(gobj, struct media_entity, graph_obj)