media_gobj_create — Initialize a graph object
void media_gobj_create ( | struct media_device * mdev, |
| enum media_gobj_type type, | |
struct media_gobj * gobj); |
mdevPointer to the media_device that contains the object
typeType of the object
gobjPointer 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.