diff options
author | Thijs Vermeir <thijsvermeir@gmail.com> | 2009-01-23 21:46:13 +0100 |
---|---|---|
committer | Thijs Vermeir <thijsvermeir@gmail.com> | 2009-01-24 14:21:56 +0100 |
commit | 56b3efb077bba2189f5e128782683b75055360d5 (patch) | |
tree | 9ed7b183fbbfb0c80eb6906fc7e27ef30aacab70 | |
parent | 0d34f33ac448d266fb1cdb322d7fedc516a74444 (diff) |
Add documentation for aspectratiocrop
-rw-r--r-- | docs/plugins/Makefile.am | 1 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins-docs.sgml | 3 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins-sections.txt | 15 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins.args | 10 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins.hierarchy | 200 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins.interfaces | 27 | ||||
-rw-r--r-- | docs/plugins/gst-plugins-good-plugins.prerequisites | 2 | ||||
-rw-r--r-- | docs/plugins/inspect/plugin-videocrop.xml | 23 | ||||
-rw-r--r-- | gst/videocrop/gstaspectratiocrop.c | 15 |
9 files changed, 180 insertions, 116 deletions
diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index f5f0d97f9..49b811af4 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -155,6 +155,7 @@ EXTRA_HFILES = \ $(top_srcdir)/gst/udp/gstmultiudpsink.h \ $(top_srcdir)/gst/udp/gstudpsrc.h \ $(top_srcdir)/gst/videocrop/gstvideocrop.h \ + $(top_srcdir)/gst/videocrop/gstaspectratiocrop.h \ $(top_srcdir)/gst/videofilter/gstgamma.h \ $(top_srcdir)/gst/videofilter/gstvideobalance.h \ $(top_srcdir)/gst/videofilter/gstvideoflip.h \ diff --git a/docs/plugins/gst-plugins-good-plugins-docs.sgml b/docs/plugins/gst-plugins-good-plugins-docs.sgml index 1a9c2ea09..7a81eaf20 100644 --- a/docs/plugins/gst-plugins-good-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-good-plugins-docs.sgml @@ -16,13 +16,14 @@ <xi:include href="xml/element-alphacolor.xml" /> <xi:include href="xml/element-apedemux.xml" /> <xi:include href="xml/element-apev2mux.xml" /> + <xi:include href="xml/element-aspectratiocrop.xml" /> <xi:include href="xml/element-audioamplify.xml" /> <xi:include href="xml/element-audiochebband.xml" /> <xi:include href="xml/element-audiocheblimit.xml" /> + <xi:include href="xml/element-audiofirfilter.xml" /> <xi:include href="xml/element-audioiirfilter.xml" /> <xi:include href="xml/element-audiowsincband.xml" /> <xi:include href="xml/element-audiowsinclimit.xml" /> - <xi:include href="xml/element-audiofirfilter.xml" /> <xi:include href="xml/element-audioecho.xml" /> <xi:include href="xml/element-audiodynamic.xml" /> <xi:include href="xml/element-audioinvert.xml" /> diff --git a/docs/plugins/gst-plugins-good-plugins-sections.txt b/docs/plugins/gst-plugins-good-plugins-sections.txt index 332c36d4b..398effddc 100644 --- a/docs/plugins/gst-plugins-good-plugins-sections.txt +++ b/docs/plugins/gst-plugins-good-plugins-sections.txt @@ -1349,6 +1349,21 @@ GST_TYPE_VIDEO_CROP </SECTION> <SECTION> +<FILE>element-aspectratiocrop</FILE> +<TITLE>aspectratiocrop</TITLE> +GstAspectRatioCrop +<SUBSECTION Standard> +GstAspectRatioCropClass +AspectRatioCropPixelFormat +GstAspectRatioCropImageDetails +GST_IS_ASPECT_RATIO_CROP +GST_IS_ASPECT_RATIO_CROP_CLASS +GST_ASPECT_RATIO_CROP +GST_ASPECT_RATIO_CROP_CLASS +GST_TYPE_ASPECT_RATIO_CROP +</SECTION> + +<SECTION> <FILE>element-videoflip</FILE> <TITLE>videoflip</TITLE> GstVideoFlip diff --git a/docs/plugins/gst-plugins-good-plugins.args b/docs/plugins/gst-plugins-good-plugins.args index 5d646289d..f352ceb0e 100644 --- a/docs/plugins/gst-plugins-good-plugins.args +++ b/docs/plugins/gst-plugins-good-plugins.args @@ -19798,3 +19798,13 @@ <DEFAULT>0</DEFAULT> </ARG> +<ARG> +<NAME>GstAspectRatioCrop::aspect-ratio</NAME> +<TYPE>GstFraction</TYPE> +<RANGE></RANGE> +<FLAGS>rw</FLAGS> +<NICK>aspect-ratio</NICK> +<BLURB>Target aspect-ratio of video.</BLURB> +<DEFAULT></DEFAULT> +</ARG> + diff --git a/docs/plugins/gst-plugins-good-plugins.hierarchy b/docs/plugins/gst-plugins-good-plugins.hierarchy index 914c4d842..edae7e439 100644 --- a/docs/plugins/gst-plugins-good-plugins.hierarchy +++ b/docs/plugins/gst-plugins-good-plugins.hierarchy @@ -11,32 +11,79 @@ GObject GstElement GstBin GstPipeline - GstHalAudioSink - GstHalAudioSrc GstGConfVideoSink GstGConfVideoSrc GstSwitchSink GstGConfAudioSink GstGConfAudioSrc - GstRTSPSrc + GstHalAudioSink + GstHalAudioSrc + GstAspectRatioCrop + GstRgVolume GstAutoVideoSink GstAutoVideoSrc GstAutoAudioSink GstAutoAudioSrc - GstRgVolume - GstCairoTextOverlay + GstRTSPSrc + GstTagLibMux + GstId3v2Mux + GstApev2Mux + GstPngDec + GstPngEnc + GstBaseSrc + GstPushSrc + GstSoupHTTPSrc + GstBaseAudioSrc + GstAudioSrc + GstPulseSrc + GstOssSrc + GstDV1394Src + GstHDV1394Src + GstV4l2Src + GstXImageSrc + GstMultiFileSrc + GstUDPSrc + GstBaseSink + GstBaseAudioSink + GstAudioSink + GstEsdSink + GstPulseSink + GstOssSink + GstAASink + GstVideoSink + GstGdkPixbufSink + GstCACASink + GstShout2send + GstTest + GstMultiFileSink + GstMultiUDPSink + GstUDPSink + GstDynUDPSink + GstPulseMixer + GstJpegEnc + GstJpegDec + GstSmokeEnc + GstSmokeDec + GstWavpackParse + GstWavpackDec + GstWavpackEnc + GstFlacEnc + GstFlacDec + GstFlacTag + GstDVDemux + GstDVDec + GstSpeexEnc + GstSpeexDec + GstGdkPixbuf GstBaseTransform - GstCairoTimeOverlay GstPixbufScale + GstCairoTimeOverlay GstVideoBox - GstAlpha - GstAlphaColor GstVideoFilter - GstNavigationtest - GstVideoBalance GstVideoFlip + GstVideoBalance GstGamma - GstSMPTEAlpha + GstNavigationtest GstEdgeTV GstAgingTV GstDiceTV @@ -45,13 +92,10 @@ GObject GstVertigoTV GstRevTV GstQuarkTV - GstBreakMyData - GstNavSeek - GstProgressReport - GstTagInject - GstLevel + GstSMPTEAlpha + GstVideoCrop + GstAudioPanorama GstAudioFilter - GstSpectrum GstAudioInvert GstAudioKaraoke GstAudioAmplify @@ -69,88 +113,38 @@ GObject GstIirEqualizerNBands GstIirEqualizer3Bands GstIirEqualizer10Bands - GstAudioPanorama + GstSpectrum GstRgAnalysis GstRgLimiter - GstVideoCrop - GstBaseSrc - GstPushSrc - GstSoupHTTPSrc - GstBaseAudioSrc - GstAudioSrc - GstPulseSrc - GstOssSrc - GstDV1394Src - GstHDV1394Src - GstXImageSrc - GstV4l2Src - GstUDPSrc - GstMultiFileSrc - GstBaseSink - GstCACASink - GstBaseAudioSink - GstAudioSink - GstPulseSink - GstEsdSink - GstOssSink - GstAASink - GstVideoSink - GstGdkPixbufSink - GstShout2send - GstTest - GstMultiUDPSink - GstUDPSink - GstDynUDPSink - GstMultiFileSink - GstPulseMixer - GstTagLibMux - GstId3v2Mux - GstApev2Mux - GstJpegEnc - GstJpegDec - GstSmokeEnc - GstSmokeDec - GstDVDemux - GstDVDec + GstBreakMyData + GstNavSeek + GstProgressReport + GstTagInject + GstAlphaColor + GstAlpha + GstLevel GstCmmlEnc GstCmmlDec - GstFlacEnc - GstFlacDec - GstFlacTag - GstPngDec - GstPngEnc - GstGdkPixbuf - GstWavpackParse - GstWavpackDec - GstWavpackEnc - GstSpeexEnc - GstSpeexDec + GstCairoTextOverlay GstOssMixerElement - GstRTPDec - GstICYDemux - GstWavParse - GstEbmlRead - GstMatroskaDemux - GstMatroskaMux + GstMultipartDemux + GstMultipartMux GstFlxDec + GstAuParse + GstALawEnc + GstALawDec + GstMuLawEnc + GstMuLawDec GstVideoMixer - GstTagDemux - GstApeDemux - GstID3Demux GstRndBufferSize GstEFence - GstGoom + GstTagDemux + GstID3Demux + GstApeDemux GstGoom2k1 - GstMultipartDemux - GstMultipartMux - GstMuLawEnc - GstMuLawDec - GstALawEnc - GstALawDec - GstCutter - GstQTDemux + GstWavEnc + GstRTPDepay GstBaseRTPDepayload - GstRtpXQTDepay GstRtpAC3Depay GstRTPDVDepay GstRTPiLBCDepay @@ -177,16 +171,7 @@ GObject GstRtpTheoraDepay GstRtpVorbisDepay GstRtpVRawDepay - GstAviDemux - GstAviMux - GstAviSubtitle - GstSMPTE - GstInterleave - GstDeinterleave - GstMonoscope - GstWavEnc - GstAuParse - GstRTPDepay + GstRtpXQTDepay GstBaseRTPPayload GstRTPDVPay GstBaseRTPAudioPayload @@ -213,6 +198,21 @@ GObject GstRtpVorbisPay GstRtpVRawPay GstAsteriskh263 + GstEbmlRead + GstMatroskaDemux + GstMatroskaMux + GstCutter + GstICYDemux + GstAviDemux + GstAviMux + GstAviSubtitle + GstRTPDec + GstWavParse + GstQTDemux + GstSMPTE + GstInterleave + GstDeinterleave + GstGoom GstBus GstTask GstClock @@ -224,10 +224,10 @@ GObject GstSignalObject GstMixerTrack GstMixerOptions + GdkPixbuf GstCmmlTagStream GstCmmlTagHead GstCmmlTagClip - GdkPixbuf GstTunerNorm GstTunerChannel GstColorBalanceChannel @@ -235,10 +235,10 @@ GInterface GTypePlugin GstChildProxy GstURIHandler + GstTagSetter GstImplementsInterface GstPropertyProbe GstMixer - GstTagSetter GstTuner GstColorBalance GstVideoOrientation diff --git a/docs/plugins/gst-plugins-good-plugins.interfaces b/docs/plugins/gst-plugins-good-plugins.interfaces index 85f94c9ff..b5c5bbbd2 100644 --- a/docs/plugins/gst-plugins-good-plugins.interfaces +++ b/docs/plugins/gst-plugins-good-plugins.interfaces @@ -1,23 +1,22 @@ GstBin GstChildProxy GstPipeline GstChildProxy -GstHalAudioSink GstChildProxy -GstHalAudioSrc GstChildProxy GstGConfVideoSink GstChildProxy GstGConfVideoSrc GstChildProxy GstSwitchSink GstChildProxy GstGConfAudioSink GstChildProxy GstGConfAudioSrc GstChildProxy -GstRTSPSrc GstChildProxy GstURIHandler +GstHalAudioSink GstChildProxy +GstHalAudioSrc GstChildProxy +GstAspectRatioCrop GstChildProxy +GstRgVolume GstChildProxy GstAutoVideoSink GstChildProxy GstAutoVideoSrc GstChildProxy GstAutoAudioSink GstChildProxy GstAutoAudioSrc GstChildProxy -GstRgVolume GstChildProxy -GstVideoBalance GstImplementsInterface GstColorBalance -GstIirEqualizer GstChildProxy -GstIirEqualizerNBands GstChildProxy -GstIirEqualizer3Bands GstChildProxy GstPreset -GstIirEqualizer10Bands GstChildProxy GstPreset +GstRTSPSrc GstChildProxy GstURIHandler +GstTagLibMux GstTagSetter +GstId3v2Mux GstTagSetter +GstApev2Mux GstTagSetter GstSoupHTTPSrc GstURIHandler GstPulseSrc GstImplementsInterface GstPropertyProbe GstMixer GstOssSrc GstImplementsInterface GstMixer @@ -29,13 +28,15 @@ GstPulseSink GstImplementsInterface GstPropertyProbe GstShout2send GstTagSetter GstUDPSink GstURIHandler GstPulseMixer GstImplementsInterface GstPropertyProbe GstMixer -GstTagLibMux GstTagSetter -GstId3v2Mux GstTagSetter -GstApev2Mux GstTagSetter GstFlacEnc GstTagSetter GstFlacTag GstTagSetter GstSpeexEnc GstTagSetter +GstVideoBalance GstImplementsInterface GstColorBalance +GstIirEqualizer GstChildProxy +GstIirEqualizerNBands GstChildProxy +GstIirEqualizer3Bands GstChildProxy GstPreset +GstIirEqualizer10Bands GstChildProxy GstPreset GstOssMixerElement GstImplementsInterface GstMixer -GstMatroskaMux GstTagSetter GstVideoMixer GstChildProxy +GstMatroskaMux GstTagSetter GstAviMux GstTagSetter diff --git a/docs/plugins/gst-plugins-good-plugins.prerequisites b/docs/plugins/gst-plugins-good-plugins.prerequisites index eb1fa169b..a54c8fe89 100644 --- a/docs/plugins/gst-plugins-good-plugins.prerequisites +++ b/docs/plugins/gst-plugins-good-plugins.prerequisites @@ -1,7 +1,7 @@ GstChildProxy GstObject +GstTagSetter GstObject GstElement GstImplementsInterface GstObject GstElement GstMixer GstObject GstImplementsInterface GstElement -GstTagSetter GstObject GstElement GstTuner GstObject GstImplementsInterface GstElement GstColorBalance GstObject GstImplementsInterface GstElement GstVideoOrientation GstObject GstImplementsInterface GstElement diff --git a/docs/plugins/inspect/plugin-videocrop.xml b/docs/plugins/inspect/plugin-videocrop.xml index f1ebfe252..42085b81a 100644 --- a/docs/plugins/inspect/plugin-videocrop.xml +++ b/docs/plugins/inspect/plugin-videocrop.xml @@ -3,13 +3,34 @@ <description>Crops video into a user-defined region</description> <filename>../../gst/videocrop/.libs/libgstvideocrop.so</filename> <basename>libgstvideocrop.so</basename> - <version>0.10.11.1</version> + <version>0.10.13.1</version> <license>LGPL</license> <source>gst-plugins-good</source> <package>GStreamer Good Plug-ins CVS/prerelease</package> <origin>Unknown package origin</origin> <elements> <element> + <name>aspectratiocrop</name> + <longname>aspectratiocrop</longname> + <class>Filter/Effect/Video</class> + <description>Crops video into a user-defined aspect-ratio</description> + <author>Thijs Vermeir <thijsvermeir@gmail.com></author> + <pads> + <caps> + <name>src</name> + <direction>source</direction> + <presence>always</presence> + <details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; 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-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)UYVY, 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-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)15, endianness=(int)1234, red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</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)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; 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-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)UYVY, 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-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)15, endianness=(int)1234, red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details> + </caps> + </pads> + </element> + <element> <name>videocrop</name> <longname>Crop</longname> <class>Filter/Effect/Video</class> diff --git a/gst/videocrop/gstaspectratiocrop.c b/gst/videocrop/gstaspectratiocrop.c index 2c0407b88..2cdd51ca6 100644 --- a/gst/videocrop/gstaspectratiocrop.c +++ b/gst/videocrop/gstaspectratiocrop.c @@ -17,6 +17,21 @@ * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-aspectratiocrop + * @see_also: #GstVideoCrop + * + * This element crops video frames to a specified aspect-ratio. + * + * If the aspect-ratio is already correct, the element will operate in pass-through mode. + * + * <refsect2> + * <title>Example launch line</title> + * |[gst-launch -v videotestsrc ! video/x-raw-rgb,height=640,width=480 ! aspectratiocrop aspect-ratio=16/9 ! ximagesink]| + * This pipeline generates a videostream in 4/3 and crops it to 16/9. + * </refsect2> + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif |