- void media_gobj_create(struct media_device * mdev, enum media_gobj_type type, struct media_gobj * gobj);
- Pointer to the media_device that contains the object
- Type of the object
- Pointer to the graph object
This routine initializes the embedded struct media_gobj inside a media graph object. It is called automatically if media_*_create calls are used. However, if the object (entity, link, pad, interface) is embedded on some other object, this function should be called before registering the object at the media controller.