1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Dynamically register new formats
7 <!-- ##### SECTION Long_Description ##### -->
9 GstFormats functions are used to register a new format to the gstreamer core.
10 formats can be used to perform seeking or conversions/query operations.
13 <!-- ##### SECTION See_Also ##### -->
18 <!-- ##### SECTION Stability_Level ##### -->
21 <!-- ##### ENUM GstFormat ##### -->
23 Standard predefined formats
26 @GST_FORMAT_UNDEFINED: undefined format
27 @GST_FORMAT_DEFAULT: the default format of the pad/element
28 @GST_FORMAT_BYTES: bytes
29 @GST_FORMAT_TIME: time in nanoseconds
30 @GST_FORMAT_BUFFERS: buffers
31 @GST_FORMAT_PERCENT: percentage of stream
33 <!-- ##### MACRO GST_FORMAT_PERCENT_MAX ##### -->
35 The PERCENT format is between 0 and this value
40 <!-- ##### MACRO GST_FORMAT_PERCENT_SCALE ##### -->
42 The value used to scale down the reported PERCENT format value to
48 <!-- ##### STRUCT GstFormatDefinition ##### -->
53 @value: The unique id of this format
54 @nick: A short nick of the format
55 @description: A longer description of the format
57 <!-- ##### FUNCTION gst_format_register ##### -->
67 <!-- ##### FUNCTION gst_format_get_by_nick ##### -->
76 <!-- ##### FUNCTION gst_formats_contains ##### -->
86 <!-- ##### FUNCTION gst_format_get_details ##### -->
95 <!-- ##### FUNCTION gst_format_iterate_definitions ##### -->