*参照元 [#o8a68d02] #backlinks *説明 [#xaebefeb] -パス: [[gstomx-0.10.1/omx/gstomx_util.c]] -FIXME: これは何? --説明 **引数 [#z5c4b355] -GOmxCore * core -- --[[gstomx-0.10.1/GOmxCore]] -guint index -- --[[gstomx-0.10.1/guint]] **返り値 [#b100fbc7] -GOmxPort * -- --[[gstomx-0.10.1/GOmxPort]] **参考 [#x5a77961] *実装 [#ld38ebe0] /* * Port */ /** * note: this is not intended to be called directly by elements (which should * instead use g_omx_core_new_port()) */ GOmxPort * g_omx_port_new (GOmxCore * core, guint index) { GOmxPort *port; port = g_new0 (GOmxPort, 1); - --[[gstomx-0.10.1/g_new0()]] port->core = core; port->port_index = index; port->num_buffers = 0; port->buffer_size = 0; port->buffers = NULL; port->enabled = TRUE; port->queue = async_queue_new (); port->mutex = g_mutex_new (); - --[[gstomx-0.10.1/async_queue_new()]] - --[[gstomx-0.10.1/g_mutex_new()]] return port; } *コメント [#ae22cd4c]