* Writes a unsigned big endian 16 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint16_be_unchecked (GstByteWriter *writer, guint16 val);
* Writes a unsigned big endian 24 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint24_be_unchecked (GstByteWriter *writer, guint32 val);
* Writes a unsigned big endian 32 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint32_be_unchecked (GstByteWriter *writer, guint32 val);
* Writes a unsigned big endian 64 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint64_be_unchecked (GstByteWriter *writer, guint64 val);
* Writes a unsigned little endian 16 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint16_le_unchecked (GstByteWriter *writer, guint16 val);
* Writes a unsigned little endian 24 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint24_le_unchecked (GstByteWriter *writer, guint32 val);
* Writes a unsigned little endian 32 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint32_le_unchecked (GstByteWriter *writer, guint32 val);
* Writes a unsigned little endian 64 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_uint64_le_unchecked (GstByteWriter *writer, guint64 val);
* Writes a signed 8 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int8_unchecked (GstByteWriter *writer, gint8 val);
* Writes a signed big endian 16 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int16_be_unchecked (GstByteWriter *writer, gint16 val);
* Writes a signed big endian 24 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int24_be_unchecked (GstByteWriter *writer, gint32 val);
* Writes a signed big endian 32 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int32_be_unchecked (GstByteWriter *writer, gint32 val);
* Writes a signed big endian 64 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int64_be_unchecked (GstByteWriter *writer, gint64 val);
* Writes a signed little endian 16 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int16_le_unchecked (GstByteWriter *writer, gint16 val);
* Writes a signed little endian 24 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int24_le_unchecked (GstByteWriter *writer, gint32 val);
* Writes a signed little endian 32 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int32_le_unchecked (GstByteWriter *writer, gint32 val);
* Writes a signed little endian 64 bit integer to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_int64_le_unchecked (GstByteWriter *writer, gint64 val);
* Writes a big endian 32 bit float to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_float32_be_unchecked (GstByteWriter *writer, gfloat val);
* Writes a big endian 64 bit float to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_float64_be_unchecked (GstByteWriter *writer, gdouble val);
* Writes a little endian 32 bit float to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_float32_le_unchecked (GstByteWriter *writer, gfloat val);
* Writes a little endian 64 bit float to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_float64_le_unchecked (GstByteWriter *writer, gdouble val);
* Writes @size bytes of @data to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_put_data_unchecked (GstByteWriter *writer, const guint8 *data, guint size);
* Writes @size bytes containing @value to @writer without
* checking if there is enough free space available in the byte writer.
*
- * Returns: %TRUE if the value could be written
- *
* Since: 0.10.31
*/
void gst_byte_writer_fill_unchecked (GstByteWriter *writer, guint8 value, guint size);
* #GstDataQueue is an object that handles threadsafe queueing of objects. It
* also provides size-related functionality. This object should be used for
* any #GstElement that wishes to provide some sort of queueing functionality.
+ *
+ * Since: 0.10.11
*/
#include <gst/gst.h>
* Flushes all the contents of the @queue. Any call to #gst_data_queue_push and
* #gst_data_queue_pop will be released.
* MT safe.
+ *
+ * Since: 0.10.11
*/
void
gst_data_queue_flush (GstDataQueue * queue)
* MT safe.
*
* Returns: #TRUE if @queue is empty.
+ *
+ * Since: 0.10.11
*/
gboolean
gst_data_queue_is_empty (GstDataQueue * queue)
* MT safe.
*
* Returns: #TRUE if @queue is full.
+ *
+ * Since: 0.10.11
*/
gboolean
gst_data_queue_is_full (GstDataQueue * queue)
* all calls to those two functions will return #FALSE.
*
* MT Safe.
+ *
+ * Since: 0.10.11
*/
void
gst_data_queue_set_flushing (GstDataQueue * queue, gboolean flushing)
* is returned, the caller is responsible for freeing @item and its contents.
*
* Returns: #TRUE if the @item was successfully pushed on the @queue.
+ *
+ * Since: 0.10.11
*/
gboolean
gst_data_queue_push (GstDataQueue * queue, GstDataQueueItem * item)
* MT safe.
*
* Returns: #TRUE if an @item was successfully retrieved from the @queue.
+ *
+ * Since: 0.10.11
*/
gboolean
gst_data_queue_pop (GstDataQueue * queue, GstDataQueueItem ** item)
* Pop and unref the head-most #GstMiniObject with the given #GType.
*
* Returns: TRUE if an element was removed.
+ *
+ * Since: 0.10.11
*/
gboolean
gst_data_queue_drop_head (GstDataQueue * queue, GType type)
*
* Inform the queue that the limits for the fullness check have changed and that
* any blocking gst_data_queue_push() should be unblocked to recheck the limts.
+ *
+ * Since: 0.10.11
*/
void
gst_data_queue_limits_changed (GstDataQueue * queue)
* @level: the location to store the result
*
* Get the current level of the queue.
+ *
+ * Since: 0.10.11
*/
void
gst_data_queue_get_level (GstDataQueue * queue, GstDataQueueSize * level)