• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>videoflip: GStreamer Good Plugins 1.0 Plugins Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Good Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-good Elements">
9<link rel="prev" href="gst-plugins-good-plugins-videocrop.html" title="videocrop">
10<link rel="next" href="gst-plugins-good-plugins-videomedian.html" title="videomedian">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-plugins-good-plugins-videoflip.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#gst-plugins-good-plugins-videoflip.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span20                  <a href="#gst-plugins-good-plugins-videoflip.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span21                  <a href="#gst-plugins-good-plugins-videoflip.properties" class="shortcut">Properties</a></span>
22</td>
23<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25<td><a accesskey="p" href="gst-plugins-good-plugins-videocrop.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26<td><a accesskey="n" href="gst-plugins-good-plugins-videomedian.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27</tr></table>
28<div class="refentry">
29<a name="gst-plugins-good-plugins-videoflip"></a><div class="titlepage"></div>
30<div class="refnamediv"><table width="100%"><tr>
31<td valign="top">
32<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-videoflip.top_of_page"></a>videoflip</span></h2>
33<p>videoflip</p>
34</td>
35<td class="gallery_image" valign="top" align="right"></td>
36</tr></table></div>
37<div class="refsect1">
38<a name="gst-plugins-good-plugins-videoflip.properties"></a><h2>Properties</h2>
39<div class="informaltable"><table class="informaltable" border="0">
40<colgroup>
41<col width="150px" class="properties_type">
42<col width="300px" class="properties_name">
43<col width="200px" class="properties_flags">
44</colgroup>
45<tbody><tr>
46<td class="property_type"><a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlipMethod" title="enum GstVideoFlipMethod"><span class="type">GstVideoFlipMethod</span></a></td>
47<td class="property_name"><a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlip--method" title="The “method” property">method</a></td>
48<td class="property_flags">Read / Write / Construct</td>
49</tr></tbody>
50</table></div>
51</div>
52<a name="GstVideoFlip"></a><div class="refsect1">
53<a name="gst-plugins-good-plugins-videoflip.other"></a><h2>Types and Values</h2>
54<div class="informaltable"><table class="informaltable" width="100%" border="0">
55<colgroup>
56<col width="150px" class="name">
57<col class="description">
58</colgroup>
59<tbody>
60<tr>
61<td class="datatype_keyword">struct</td>
62<td class="function_name"><a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlip-struct" title="struct GstVideoFlip">GstVideoFlip</a></td>
63</tr>
64<tr>
65<td class="datatype_keyword">enum</td>
66<td class="function_name"><a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlipMethod" title="enum GstVideoFlipMethod">GstVideoFlipMethod</a></td>
67</tr>
68</tbody>
69</table></div>
70</div>
71<div class="refsect1">
72<a name="gst-plugins-good-plugins-videoflip.object-hierarchy"></a><h2>Object Hierarchy</h2>
73<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
74    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
75        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
76            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a>
77                <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseTransform.html#GstBaseTransform-struct">GstBaseTransform</a>
78                    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/GstVideoFilter.html#GstVideoFilter-struct">GstVideoFilter</a>
79                        <span class="lineart">╰──</span> GstVideoFlip
80</pre>
81</div>
82<div class="refsect1">
83<a name="gst-plugins-good-plugins-videoflip.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
84<p>
85GstVideoFlip implements
86 <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/GstVideoDirection.html#GstVideoDirection-struct">GstVideoDirection</a>.</p>
87</div>
88<div class="refsect1">
89<a name="gst-plugins-good-plugins-videoflip.description"></a><h2>Description</h2>
90<p>Flips and rotates video.</p>
91<div class="refsect2">
92<a name="id-1.2.268.8.3"></a><h3>Example launch line</h3>
93<div class="informalexample">
94  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
95    <tbody>
96      <tr>
97        <td class="listing_lines" align="right"><pre>1</pre></td>
98        <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> videotestsrc <span class="gtkdoc opt">!</span> videoflip method<span class="gtkdoc opt">=</span>clockwise <span class="gtkdoc opt">!</span> videoconvert <span class="gtkdoc opt">!</span> ximagesink</pre></td>
99      </tr>
100    </tbody>
101  </table>
102</div>
103 This pipeline flips the test image 90 degrees clockwise.
104</div>
105<div class="refsynopsisdiv">
106<h2>Synopsis</h2>
107<div class="refsect2">
108<a name="id-1.2.268.8.4.1"></a><h3>Element Information</h3>
109<div class="variablelist"><table border="0" class="variablelist">
110<colgroup>
111<col align="left" valign="top">
112<col>
113</colgroup>
114<tbody>
115<tr>
116<td><p><span class="term">plugin</span></p></td>
117<td>
118            <a class="link" href="gst-plugins-good-plugins-plugin-videofilter.html#plugin-videofilter">videofilter</a>
119          </td>
120</tr>
121<tr>
122<td><p><span class="term">author</span></p></td>
123<td>David Schleef &lt;ds@schleef.org&gt;</td>
124</tr>
125<tr>
126<td><p><span class="term">class</span></p></td>
127<td>Filter/Effect/Video</td>
128</tr>
129</tbody>
130</table></div>
131</div>
132<hr>
133<div class="refsect2">
134<a name="id-1.2.268.8.4.2"></a><h3>Element Pads</h3>
135<div class="variablelist"><table border="0" class="variablelist">
136<colgroup>
137<col align="left" valign="top">
138<col>
139</colgroup>
140<tbody>
141<tr>
142<td><p><span class="term">name</span></p></td>
143<td>sink</td>
144</tr>
145<tr>
146<td><p><span class="term">direction</span></p></td>
147<td>sink</td>
148</tr>
149<tr>
150<td><p><span class="term">presence</span></p></td>
151<td>always</td>
152</tr>
153<tr>
154<td><p><span class="term">details</span></p></td>
155<td>video/x-raw, format=(string){ AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, I420, YV12, IYUV, YUY2, UYVY, YVYU, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
156</tr>
157</tbody>
158</table></div>
159<div class="variablelist"><table border="0" class="variablelist">
160<colgroup>
161<col align="left" valign="top">
162<col>
163</colgroup>
164<tbody>
165<tr>
166<td><p><span class="term">name</span></p></td>
167<td>src</td>
168</tr>
169<tr>
170<td><p><span class="term">direction</span></p></td>
171<td>source</td>
172</tr>
173<tr>
174<td><p><span class="term">presence</span></p></td>
175<td>always</td>
176</tr>
177<tr>
178<td><p><span class="term">details</span></p></td>
179<td>video/x-raw, format=(string){ AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, I420, YV12, IYUV, YUY2, UYVY, YVYU, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</td>
180</tr>
181</tbody>
182</table></div>
183</div>
184</div>
185</div>
186<div class="refsect1">
187<a name="gst-plugins-good-plugins-videoflip.functions_details"></a><h2>Functions</h2>
188<p></p>
189</div>
190<div class="refsect1">
191<a name="gst-plugins-good-plugins-videoflip.other_details"></a><h2>Types and Values</h2>
192<div class="refsect2">
193<a name="GstVideoFlip-struct"></a><h3>struct GstVideoFlip</h3>
194<pre class="programlisting">struct GstVideoFlip;</pre>
195<p>Opaque datastructure.</p>
196</div>
197<hr>
198<div class="refsect2">
199<a name="GstVideoFlipMethod"></a><h3>enum GstVideoFlipMethod</h3>
200<p>The different flip methods.</p>
201<div class="refsect3">
202<a name="GstVideoFlipMethod.members"></a><h4>Members</h4>
203<div class="informaltable"><table class="informaltable" width="100%" border="0">
204<colgroup>
205<col width="300px" class="enum_members_name">
206<col class="enum_members_description">
207<col width="200px" class="enum_members_annotations">
208</colgroup>
209<tbody>
210<tr>
211<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-IDENTITY:CAPS"></a>GST_VIDEO_FLIP_METHOD_IDENTITY</p></td>
212<td class="enum_member_description">
213<p>Identity (no rotation)</p>
214</td>
215<td class="enum_member_annotations"> </td>
216</tr>
217<tr>
218<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-90R:CAPS"></a>GST_VIDEO_FLIP_METHOD_90R</p></td>
219<td class="enum_member_description">
220<p>Rotate clockwise 90 degrees</p>
221</td>
222<td class="enum_member_annotations"> </td>
223</tr>
224<tr>
225<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-180:CAPS"></a>GST_VIDEO_FLIP_METHOD_180</p></td>
226<td class="enum_member_description">
227<p>Rotate 180 degrees</p>
228</td>
229<td class="enum_member_annotations"> </td>
230</tr>
231<tr>
232<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-90L:CAPS"></a>GST_VIDEO_FLIP_METHOD_90L</p></td>
233<td class="enum_member_description">
234<p>Rotate counter-clockwise 90 degrees</p>
235</td>
236<td class="enum_member_annotations"> </td>
237</tr>
238<tr>
239<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-HORIZ:CAPS"></a>GST_VIDEO_FLIP_METHOD_HORIZ</p></td>
240<td class="enum_member_description">
241<p>Flip horizontally</p>
242</td>
243<td class="enum_member_annotations"> </td>
244</tr>
245<tr>
246<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-VERT:CAPS"></a>GST_VIDEO_FLIP_METHOD_VERT</p></td>
247<td class="enum_member_description">
248<p>Flip vertically</p>
249</td>
250<td class="enum_member_annotations"> </td>
251</tr>
252<tr>
253<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-TRANS:CAPS"></a>GST_VIDEO_FLIP_METHOD_TRANS</p></td>
254<td class="enum_member_description">
255<p>Flip across upper left/lower right diagonal</p>
256</td>
257<td class="enum_member_annotations"> </td>
258</tr>
259<tr>
260<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-OTHER:CAPS"></a>GST_VIDEO_FLIP_METHOD_OTHER</p></td>
261<td class="enum_member_description">
262<p>Flip across upper right/lower left diagonal</p>
263</td>
264<td class="enum_member_annotations"> </td>
265</tr>
266<tr>
267<td class="enum_member_name"><p><a name="GST-VIDEO-FLIP-METHOD-AUTO:CAPS"></a>GST_VIDEO_FLIP_METHOD_AUTO</p></td>
268<td class="enum_member_description">
269<p>Select flip method based on image-orientation tag</p>
270</td>
271<td class="enum_member_annotations"> </td>
272</tr>
273</tbody>
274</table></div>
275</div>
276</div>
277</div>
278<div class="refsect1">
279<a name="gst-plugins-good-plugins-videoflip.property-details"></a><h2>Property Details</h2>
280<div class="refsect2">
281<a name="GstVideoFlip--method"></a><h3>The <code class="literal">“method”</code> property</h3>
282<pre class="programlisting">  “method”                   <a class="link" href="gst-plugins-good-plugins-videoflip.html#GstVideoFlipMethod" title="enum GstVideoFlipMethod"><span class="type">GstVideoFlipMethod</span></a></pre>
283<p>method (deprecated, use video-direction instead).</p>
284<p>Flags: Read / Write / Construct</p>
285<p>Default value: Identity (no rotation)</p>
286</div>
287</div>
288</div>
289<div class="footer">
290<hr>Generated by GTK-Doc V1.28</div>
291</body>
292</html>