mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
cairorender: Add to the documentation
This commit is contained in:
parent
7ba6ef6672
commit
bdb1e59d77
7 changed files with 63 additions and 1 deletions
|
@ -80,6 +80,7 @@ EXTRA_HFILES = \
|
|||
$(top_srcdir)/ext/annodex/gstcmmlenc.h \
|
||||
$(top_srcdir)/ext/cairo/gsttextoverlay.h \
|
||||
$(top_srcdir)/ext/cairo/gsttimeoverlay.h \
|
||||
$(top_srcdir)/ext/cairo/gstcairorender.h \
|
||||
$(top_srcdir)/ext/dv/gstdvdec.h \
|
||||
$(top_srcdir)/ext/dv/gstdvdemux.h \
|
||||
$(top_srcdir)/ext/esd/esdsink.h \
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
<xi:include href="xml/element-cacasink.xml" />
|
||||
<xi:include href="xml/element-cairotextoverlay.xml" />
|
||||
<xi:include href="xml/element-cairotimeoverlay.xml" />
|
||||
<xi:include href="xml/element-cairorender.xml" />
|
||||
<xi:include href="xml/element-cmmldec.xml" />
|
||||
<xi:include href="xml/element-cmmlenc.xml" />
|
||||
<xi:include href="xml/element-cutter.xml" />
|
||||
|
|
|
@ -420,6 +420,20 @@ GST_IS_CAIRO_TIME_OVERLAY_CLASS
|
|||
gst_cairo_time_overlay_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-cairorender</FILE>
|
||||
<TITLE>cairorender</TITLE>
|
||||
GstCairoRender
|
||||
<SUBSECTION Standard>
|
||||
GstCairoRenderClass
|
||||
GST_TYPE_CAIRO_RENDER
|
||||
GST_CAIRO_RENDER
|
||||
GST_CAIRO_RENDER_CLASS
|
||||
GST_IS_CAIRO_RENDER
|
||||
GST_IS_CAIRO_RENDER_CLASS
|
||||
gst_cairo_render_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-cmmldec</FILE>
|
||||
<TITLE>cmmldec</TITLE>
|
||||
|
|
|
@ -1668,6 +1668,16 @@
|
|||
<DEFAULT>TRUE</DEFAULT>
|
||||
</ARG>
|
||||
|
||||
<ARG>
|
||||
<NAME>GstFlacEnc::padding</NAME>
|
||||
<TYPE>guint</TYPE>
|
||||
<RANGE></RANGE>
|
||||
<FLAGS>rwx</FLAGS>
|
||||
<NICK>Padding</NICK>
|
||||
<BLURB>Write a PADDING block with this length in bytes.</BLURB>
|
||||
<DEFAULT>0</DEFAULT>
|
||||
</ARG>
|
||||
|
||||
<ARG>
|
||||
<NAME>GstOssSink::device</NAME>
|
||||
<TYPE>gchar*</TYPE>
|
||||
|
|
|
@ -78,6 +78,7 @@ GObject
|
|||
GstRgAnalysis
|
||||
GstRgLimiter
|
||||
GstVideoCrop
|
||||
GstCairoRender
|
||||
GstBaseSrc
|
||||
GstPushSrc
|
||||
GstSoupHTTPSrc
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<plugin>
|
||||
<name>cairo</name>
|
||||
<description>Cairo-based overlaying</description>
|
||||
<description>Cairo-based elements</description>
|
||||
<filename>../../ext/cairo/.libs/libgstcairo.so</filename>
|
||||
<basename>libgstcairo.so</basename>
|
||||
<version>0.10.15.1</version>
|
||||
|
@ -9,6 +9,27 @@
|
|||
<package>GStreamer Good Plug-ins git/prerelease</package>
|
||||
<origin>Unknown package origin</origin>
|
||||
<elements>
|
||||
<element>
|
||||
<name>cairorender</name>
|
||||
<longname>Cairo encoder</longname>
|
||||
<class>Codec/Encoder</class>
|
||||
<description>Encodes streams using Cairo</description>
|
||||
<author>Lutz Mueller <lutz@topfrose.de></author>
|
||||
<pads>
|
||||
<caps>
|
||||
<name>src</name>
|
||||
<direction>source</direction>
|
||||
<presence>always</presence>
|
||||
<details>application/pdf, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]; application/postscript, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]; image/svg+xml, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]; image/png, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]</details>
|
||||
</caps>
|
||||
<caps>
|
||||
<name>sink</name>
|
||||
<direction>sink</direction>
|
||||
<presence>always</presence>
|
||||
<details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)Y800, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; image/png, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]</details>
|
||||
</caps>
|
||||
</pads>
|
||||
</element>
|
||||
<element>
|
||||
<name>cairotextoverlay</name>
|
||||
<longname>Text overlay</longname>
|
||||
|
|
|
@ -17,6 +17,20 @@
|
|||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/**
|
||||
* SECTION:element-cairorender
|
||||
*
|
||||
* cairorender encodes a video stream into PDF, SVG, PNG or Postscript
|
||||
*
|
||||
* <refsect2>
|
||||
* <title>Example launch line</title>
|
||||
* |[
|
||||
* gst-launch videotestsrc num-buffers=3 ! cairorender ! "application/pdf" ! filesink location=test.pdf
|
||||
* ]|
|
||||
* </refsect2>
|
||||
*/
|
||||
|
||||
#include "gstcairorender.h"
|
||||
|
||||
#include <cairo.h>
|
||||
|
|
Loading…
Reference in a new issue