*参照元 [#p664fdb5] #backlinks *説明 [#r8b131b1] -パス: [[linux-2.6.33/]] -パス: [[gstomx-0.10.1/omx/gstomx_util.c]] -FIXME: これは何? --説明 **引数 [#k42402aa] -void *object -- **返り値 [#hedd8156] -GOmxCore * -- --[[gstomx-0.10.1/GOmxCore]] **参考 [#w98724b9] *実装 [#qffe1bd2] GOmxCore * g_omx_core_new (void *object) { GOmxCore *core; core = g_new0 (GOmxCore, 1); - --[[gstomx-0.10.1/g_new0()]] core->object = object; core->ports = g_ptr_array_new (); - --[[gstomx-0.10.1/g_ptr_array_new()]] core->omx_state_condition = g_cond_new (); core->omx_state_mutex = g_mutex_new (); - --[[gstomx-0.10.1/g_cond_new()]] - --[[gstomx-0.10.1/g_mutex_new()]] core->done_sem = g_sem_new (); core->flush_sem = g_sem_new (); core->port_sem = g_sem_new (); - --[[gstomx-0.10.1/g_sem_new()]] core->omx_state = OMX_StateInvalid; - --[[gstomx-0.10.1/OMX_StateInvalid]] return core; } *コメント [#k6c4ed33]