G_LOCK_DEFINE_STATIC (buffer_flags_str);
static GHashTable *buffer_flags_str;
-static GQuark gst_omx_buffer_data_quark = 0;
-
GstOMXCore *
gst_omx_core_acquire (const gchar * filename)
{
class_data->component_role = default_role;
}
-void
-gst_omx_buffer_set_omx_buf (GstBuffer * buffer, GstOMXBuffer * omx_buf)
-{
- gst_mini_object_set_qdata (GST_MINI_OBJECT_CAST (buffer),
- gst_omx_buffer_data_quark, omx_buf, NULL);
-}
-
-GstOMXBuffer *
-gst_omx_buffer_get_omx_buf (GstBuffer * buffer)
-{
- return gst_mini_object_get_qdata (GST_MINI_OBJECT_CAST (buffer),
- gst_omx_buffer_data_quark);
-}
-
static void
_class_init (gpointer g_class, gpointer data)
{
GST_DEBUG_CATEGORY_INIT (OMX_API_TRACE, "OMX_API_TRACE", 0,
"gst-omx performace");
- gst_omx_buffer_data_quark = g_quark_from_static_string ("GstOMXBufferData");
-
/* Read configuration file gstomx.conf from the preferred
* configuration directories */
env_config_dir = g_strdup (g_getenv (*env_config_name));
void gst_omx_set_default_role (GstOMXClassData *class_data, const gchar *default_role);
-void gst_omx_buffer_set_omx_buf (GstBuffer * buffer, GstOMXBuffer * omx_buf);
-GstOMXBuffer * gst_omx_buffer_get_omx_buf (GstBuffer * buffer);
-
/* refered by plugin_init */
GST_DEBUG_CATEGORY_EXTERN (gst_omx_video_debug_category);