参照元

説明

引数

返り値

参考

実装

/*
 * 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);
  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 ();
  return port;
}

コメント


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS