summaryrefslogtreecommitdiff
path: root/gst-libs/gst/cairo/gstcairoformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/cairo/gstcairoformat.c')
-rw-r--r--gst-libs/gst/cairo/gstcairoformat.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/gst-libs/gst/cairo/gstcairoformat.c b/gst-libs/gst/cairo/gstcairoformat.c
index 1803ac0..1727143 100644
--- a/gst-libs/gst/cairo/gstcairoformat.c
+++ b/gst-libs/gst/cairo/gstcairoformat.c
@@ -45,6 +45,28 @@ struct
0,}
};
+/**
+ * GstCairoFormat:
+ *
+ * Opaque structure representing a fixed #GstCaps that gst-plugins-cairo can
+ * accept. It is use instead of caps because it is more convenient and
+ * provides useful utility functions.
+ */
+
+/**
+ * GstCairoFormatOption:
+ * @GST_CAIRO_FORMAT_FORMAT: operate on colorspaces
+ * @GST_CAIRO_FORMAT_WIDTH: operate on width
+ * @GST_CAIRO_FORMAT_HEIGHT: operate on height
+ * @GST_CAIRO_FORMAT_SIZE: operate on width and height - this option is
+ * equivalent to listing width and height separately
+ * @GST_CAIRO_FORMAT_FRAMERATE: operate on framerate
+ * @GST_CAIRO_FORMAT_PAR: operate on pixel aspect ratio
+ *
+ * Some functions operating on #GstCairoFormat or #GstCaps allow specifying
+ * on which parts to operate. This enumeration is used to specify that.
+ */
+
static void
get_format_for_caps (GstCairoFormat * format, GstCaps * caps)
{