g_slice_free (GstIndexGroup, group);
}
+/* do not resurrect this, add a derived dummy index class instead */
+#if 0
/**
* gst_index_new:
*
iclass->commit (index, id);
}
-
/**
* gst_index_get_group:
* @index: the index to get the current group from
GST_DEBUG ("couldn't find index group %d", groupnum);
return FALSE;
}
+#endif
+#if 0
/**
* gst_index_set_certainty:
* @index: the index to set the certainty on
{
return index->curgroup->certainty;
}
+#endif
+#if 0
/**
* gst_index_set_filter:
* @index: the index to register the filter on
index->resolver_user_data_destroy = user_data_destroy;
index->method = GST_INDEX_RESOLVER_CUSTOM;
}
+#endif
/**
* gst_index_entry_copy:
g_slice_free (GstIndexEntry, entry);
}
+#if 0
/**
* gst_index_add_format:
* @index: the index to add the entry to
return entry;
}
+#endif
/**
* gst_index_add_id:
return entry;
}
+#if 0
/**
* gst_index_add_association:
* @index: the index to add the entry to
return NULL;
}
+#endif
static gint
gst_index_compare_func (gconstpointer a, gconstpointer b, gpointer user_data)
gpointer _gst_reserved[GST_PADDING];
};
+static
GType gst_index_get_type (void);
+
+#if 0
GstIndex* gst_index_new (void);
void gst_index_commit (GstIndex *index, gint id);
GstIndexCertainty certainty);
GstIndexCertainty gst_index_get_certainty (GstIndex *index);
+static
void gst_index_set_filter (GstIndex *index,
GstIndexFilter filter, gpointer user_data);
+static
void gst_index_set_filter_full (GstIndex *index,
GstIndexFilter filter, gpointer user_data,
GDestroyNotify user_data_destroy);
+
void gst_index_set_resolver (GstIndex *index,
GstIndexResolver resolver, gpointer user_data);
void gst_index_set_resolver_full (GstIndex *index, GstIndexResolver resolver,
gpointer user_data,
GDestroyNotify user_data_destroy);
+#endif
+static
gboolean gst_index_get_writer_id (GstIndex *index, GstObject *writer, gint *id);
+#if 0
GstIndexEntry* gst_index_add_format (GstIndex *index, gint id, GstFormat format);
+#endif
+
+static
GstIndexEntry* gst_index_add_associationv (GstIndex * index, gint id, GstAssocFlags flags,
gint n, const GstIndexAssociation * list);
+#if 0
GstIndexEntry* gst_index_add_association (GstIndex *index, gint id, GstAssocFlags flags,
- GstFormat format, gint64 value, ...);
+ GstFormat format, gint64 value, ...)
GstIndexEntry* gst_index_add_object (GstIndex *index, gint id, gchar *key,
GType type, gpointer object);
+#endif
+
+static
GstIndexEntry* gst_index_add_id (GstIndex *index, gint id,
gchar *description);
+static
GstIndexEntry* gst_index_get_assoc_entry (GstIndex *index, gint id,
GstIndexLookupMethod method, GstAssocFlags flags,
GstFormat format, gint64 value);
+static
GstIndexEntry* gst_index_get_assoc_entry_full (GstIndex *index, gint id,
GstIndexLookupMethod method, GstAssocFlags flags,
GstFormat format, gint64 value,
gpointer user_data);
/* working with index entries */
+static
GType gst_index_entry_get_type (void);
+static
GstIndexEntry * gst_index_entry_copy (GstIndexEntry *entry);
+static
void gst_index_entry_free (GstIndexEntry *entry);
+static
gboolean gst_index_entry_assoc_map (GstIndexEntry *entry,
GstFormat format, gint64 *value);