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>GstVideoOrientation: GStreamer Base Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="gstreamer-video.html" title="Video Library"> 9<link rel="prev" href="GstVideoDirection.html" title="GstVideoDirection"> 10<link rel="next" href="GstVideoOverlay.html" title="GstVideoOverlay"> 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">|</span> 18 <a href="#GstVideoOrientation.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#GstVideoOrientation.object-hierarchy" class="shortcut">Object Hierarchy</a></span> 20</td> 21<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 22<td><a accesskey="u" href="gstreamer-video.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 23<td><a accesskey="p" href="GstVideoDirection.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 24<td><a accesskey="n" href="GstVideoOverlay.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 25</tr></table> 26<div class="refentry"> 27<a name="GstVideoOrientation"></a><div class="titlepage"></div> 28<div class="refnamediv"><table width="100%"><tr> 29<td valign="top"> 30<h2><span class="refentrytitle"><a name="GstVideoOrientation.top_of_page"></a>GstVideoOrientation</span></h2> 31<p>GstVideoOrientation — Interface for elements providing video orientation 32controls</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<div class="refsect1"> 37<a name="GstVideoOrientation.functions"></a><h2>Functions</h2> 38<div class="informaltable"><table class="informaltable" width="100%" border="0"> 39<colgroup> 40<col width="150px" class="functions_return"> 41<col class="functions_name"> 42</colgroup> 43<tbody> 44<tr> 45<td class="function_type"> 46<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 47</td> 48<td class="function_name"> 49<a class="link" href="GstVideoOrientation.html#gst-video-orientation-get-hcenter" title="gst_video_orientation_get_hcenter ()">gst_video_orientation_get_hcenter</a> <span class="c_punctuation">()</span> 50</td> 51</tr> 52<tr> 53<td class="function_type"> 54<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 55</td> 56<td class="function_name"> 57<a class="link" href="GstVideoOrientation.html#gst-video-orientation-get-hflip" title="gst_video_orientation_get_hflip ()">gst_video_orientation_get_hflip</a> <span class="c_punctuation">()</span> 58</td> 59</tr> 60<tr> 61<td class="function_type"> 62<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 63</td> 64<td class="function_name"> 65<a class="link" href="GstVideoOrientation.html#gst-video-orientation-get-vcenter" title="gst_video_orientation_get_vcenter ()">gst_video_orientation_get_vcenter</a> <span class="c_punctuation">()</span> 66</td> 67</tr> 68<tr> 69<td class="function_type"> 70<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 71</td> 72<td class="function_name"> 73<a class="link" href="GstVideoOrientation.html#gst-video-orientation-get-vflip" title="gst_video_orientation_get_vflip ()">gst_video_orientation_get_vflip</a> <span class="c_punctuation">()</span> 74</td> 75</tr> 76<tr> 77<td class="function_type"> 78<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 79</td> 80<td class="function_name"> 81<a class="link" href="GstVideoOrientation.html#gst-video-orientation-set-hcenter" title="gst_video_orientation_set_hcenter ()">gst_video_orientation_set_hcenter</a> <span class="c_punctuation">()</span> 82</td> 83</tr> 84<tr> 85<td class="function_type"> 86<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 87</td> 88<td class="function_name"> 89<a class="link" href="GstVideoOrientation.html#gst-video-orientation-set-hflip" title="gst_video_orientation_set_hflip ()">gst_video_orientation_set_hflip</a> <span class="c_punctuation">()</span> 90</td> 91</tr> 92<tr> 93<td class="function_type"> 94<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 95</td> 96<td class="function_name"> 97<a class="link" href="GstVideoOrientation.html#gst-video-orientation-set-vcenter" title="gst_video_orientation_set_vcenter ()">gst_video_orientation_set_vcenter</a> <span class="c_punctuation">()</span> 98</td> 99</tr> 100<tr> 101<td class="function_type"> 102<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 103</td> 104<td class="function_name"> 105<a class="link" href="GstVideoOrientation.html#gst-video-orientation-set-vflip" title="gst_video_orientation_set_vflip ()">gst_video_orientation_set_vflip</a> <span class="c_punctuation">()</span> 106</td> 107</tr> 108</tbody> 109</table></div> 110</div> 111<div class="refsect1"> 112<a name="GstVideoOrientation.other"></a><h2>Types and Values</h2> 113<div class="informaltable"><table class="informaltable" width="100%" border="0"> 114<colgroup> 115<col width="150px" class="name"> 116<col class="description"> 117</colgroup> 118<tbody> 119<tr> 120<td class="datatype_keyword"> </td> 121<td class="function_name"><a class="link" href="GstVideoOrientation.html#GstVideoOrientation-struct" title="GstVideoOrientation">GstVideoOrientation</a></td> 122</tr> 123<tr> 124<td class="datatype_keyword">struct</td> 125<td class="function_name"><a class="link" href="GstVideoOrientation.html#GstVideoOrientationInterface" title="struct GstVideoOrientationInterface">GstVideoOrientationInterface</a></td> 126</tr> 127</tbody> 128</table></div> 129</div> 130<div class="refsect1"> 131<a name="GstVideoOrientation.object-hierarchy"></a><h2>Object Hierarchy</h2> 132<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a> 133 <span class="lineart">╰──</span> GstVideoOrientation 134</pre> 135</div> 136<div class="refsect1"> 137<a name="GstVideoOrientation.includes"></a><h2>Includes</h2> 138<pre class="synopsis">#include <gst/video/video.h> 139</pre> 140</div> 141<div class="refsect1"> 142<a name="GstVideoOrientation.description"></a><h2>Description</h2> 143<p>The interface allows unified access to control flipping and autocenter 144operation of video-sources or operators.</p> 145</div> 146<div class="refsect1"> 147<a name="GstVideoOrientation.functions_details"></a><h2>Functions</h2> 148<div class="refsect2"> 149<a name="gst-video-orientation-get-hcenter"></a><h3>gst_video_orientation_get_hcenter ()</h3> 150<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 151gst_video_orientation_get_hcenter (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 152 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *center</code></em>);</pre> 153<p>Get the horizontal centering offset from the given object.</p> 154<div class="refsect3"> 155<a name="gst-video-orientation-get-hcenter.parameters"></a><h4>Parameters</h4> 156<div class="informaltable"><table class="informaltable" width="100%" border="0"> 157<colgroup> 158<col width="150px" class="parameters_name"> 159<col class="parameters_description"> 160<col width="200px" class="parameters_annotations"> 161</colgroup> 162<tbody> 163<tr> 164<td class="parameter_name"><p>video_orientation</p></td> 165<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 166<td class="parameter_annotations"> </td> 167</tr> 168<tr> 169<td class="parameter_name"><p>center</p></td> 170<td class="parameter_description"><p>return location for the result. </p></td> 171<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> 172</tr> 173</tbody> 174</table></div> 175</div> 176<div class="refsect3"> 177<a name="gst-video-orientation-get-hcenter.returns"></a><h4>Returns</h4> 178<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports centering</p> 179</div> 180</div> 181<hr> 182<div class="refsect2"> 183<a name="gst-video-orientation-get-hflip"></a><h3>gst_video_orientation_get_hflip ()</h3> 184<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 185gst_video_orientation_get_hflip (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 186 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *flip</code></em>);</pre> 187<p>Get the horizontal flipping state (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for flipped) from the given object.</p> 188<div class="refsect3"> 189<a name="gst-video-orientation-get-hflip.parameters"></a><h4>Parameters</h4> 190<div class="informaltable"><table class="informaltable" width="100%" border="0"> 191<colgroup> 192<col width="150px" class="parameters_name"> 193<col class="parameters_description"> 194<col width="200px" class="parameters_annotations"> 195</colgroup> 196<tbody> 197<tr> 198<td class="parameter_name"><p>video_orientation</p></td> 199<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 200<td class="parameter_annotations"> </td> 201</tr> 202<tr> 203<td class="parameter_name"><p>flip</p></td> 204<td class="parameter_description"><p>return location for the result. </p></td> 205<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> 206</tr> 207</tbody> 208</table></div> 209</div> 210<div class="refsect3"> 211<a name="gst-video-orientation-get-hflip.returns"></a><h4>Returns</h4> 212<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports flipping</p> 213</div> 214</div> 215<hr> 216<div class="refsect2"> 217<a name="gst-video-orientation-get-vcenter"></a><h3>gst_video_orientation_get_vcenter ()</h3> 218<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 219gst_video_orientation_get_vcenter (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 220 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *center</code></em>);</pre> 221<p>Get the vertical centering offset from the given object.</p> 222<div class="refsect3"> 223<a name="gst-video-orientation-get-vcenter.parameters"></a><h4>Parameters</h4> 224<div class="informaltable"><table class="informaltable" width="100%" border="0"> 225<colgroup> 226<col width="150px" class="parameters_name"> 227<col class="parameters_description"> 228<col width="200px" class="parameters_annotations"> 229</colgroup> 230<tbody> 231<tr> 232<td class="parameter_name"><p>video_orientation</p></td> 233<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 234<td class="parameter_annotations"> </td> 235</tr> 236<tr> 237<td class="parameter_name"><p>center</p></td> 238<td class="parameter_description"><p>return location for the result. </p></td> 239<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> 240</tr> 241</tbody> 242</table></div> 243</div> 244<div class="refsect3"> 245<a name="gst-video-orientation-get-vcenter.returns"></a><h4>Returns</h4> 246<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports centering</p> 247</div> 248</div> 249<hr> 250<div class="refsect2"> 251<a name="gst-video-orientation-get-vflip"></a><h3>gst_video_orientation_get_vflip ()</h3> 252<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 253gst_video_orientation_get_vflip (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 254 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *flip</code></em>);</pre> 255<p>Get the vertical flipping state (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for flipped) from the given object.</p> 256<div class="refsect3"> 257<a name="gst-video-orientation-get-vflip.parameters"></a><h4>Parameters</h4> 258<div class="informaltable"><table class="informaltable" width="100%" border="0"> 259<colgroup> 260<col width="150px" class="parameters_name"> 261<col class="parameters_description"> 262<col width="200px" class="parameters_annotations"> 263</colgroup> 264<tbody> 265<tr> 266<td class="parameter_name"><p>video_orientation</p></td> 267<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 268<td class="parameter_annotations"> </td> 269</tr> 270<tr> 271<td class="parameter_name"><p>flip</p></td> 272<td class="parameter_description"><p>return location for the result. </p></td> 273<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> 274</tr> 275</tbody> 276</table></div> 277</div> 278<div class="refsect3"> 279<a name="gst-video-orientation-get-vflip.returns"></a><h4>Returns</h4> 280<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports flipping</p> 281</div> 282</div> 283<hr> 284<div class="refsect2"> 285<a name="gst-video-orientation-set-hcenter"></a><h3>gst_video_orientation_set_hcenter ()</h3> 286<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 287gst_video_orientation_set_hcenter (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 288 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center</code></em>);</pre> 289<p>Set the horizontal centering offset for the given object.</p> 290<div class="refsect3"> 291<a name="gst-video-orientation-set-hcenter.parameters"></a><h4>Parameters</h4> 292<div class="informaltable"><table class="informaltable" width="100%" border="0"> 293<colgroup> 294<col width="150px" class="parameters_name"> 295<col class="parameters_description"> 296<col width="200px" class="parameters_annotations"> 297</colgroup> 298<tbody> 299<tr> 300<td class="parameter_name"><p>video_orientation</p></td> 301<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 302<td class="parameter_annotations"> </td> 303</tr> 304<tr> 305<td class="parameter_name"><p>center</p></td> 306<td class="parameter_description"><p>centering offset</p></td> 307<td class="parameter_annotations"> </td> 308</tr> 309</tbody> 310</table></div> 311</div> 312<div class="refsect3"> 313<a name="gst-video-orientation-set-hcenter.returns"></a><h4>Returns</h4> 314<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports centering</p> 315</div> 316</div> 317<hr> 318<div class="refsect2"> 319<a name="gst-video-orientation-set-hflip"></a><h3>gst_video_orientation_set_hflip ()</h3> 320<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 321gst_video_orientation_set_hflip (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 322 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flip</code></em>);</pre> 323<p>Set the horizontal flipping state (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for flipped) for the given object.</p> 324<div class="refsect3"> 325<a name="gst-video-orientation-set-hflip.parameters"></a><h4>Parameters</h4> 326<div class="informaltable"><table class="informaltable" width="100%" border="0"> 327<colgroup> 328<col width="150px" class="parameters_name"> 329<col class="parameters_description"> 330<col width="200px" class="parameters_annotations"> 331</colgroup> 332<tbody> 333<tr> 334<td class="parameter_name"><p>video_orientation</p></td> 335<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 336<td class="parameter_annotations"> </td> 337</tr> 338<tr> 339<td class="parameter_name"><p>flip</p></td> 340<td class="parameter_description"><p>use flipping</p></td> 341<td class="parameter_annotations"> </td> 342</tr> 343</tbody> 344</table></div> 345</div> 346<div class="refsect3"> 347<a name="gst-video-orientation-set-hflip.returns"></a><h4>Returns</h4> 348<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports flipping</p> 349</div> 350</div> 351<hr> 352<div class="refsect2"> 353<a name="gst-video-orientation-set-vcenter"></a><h3>gst_video_orientation_set_vcenter ()</h3> 354<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 355gst_video_orientation_set_vcenter (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 356 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center</code></em>);</pre> 357<p>Set the vertical centering offset for the given object.</p> 358<div class="refsect3"> 359<a name="gst-video-orientation-set-vcenter.parameters"></a><h4>Parameters</h4> 360<div class="informaltable"><table class="informaltable" width="100%" border="0"> 361<colgroup> 362<col width="150px" class="parameters_name"> 363<col class="parameters_description"> 364<col width="200px" class="parameters_annotations"> 365</colgroup> 366<tbody> 367<tr> 368<td class="parameter_name"><p>video_orientation</p></td> 369<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 370<td class="parameter_annotations"> </td> 371</tr> 372<tr> 373<td class="parameter_name"><p>center</p></td> 374<td class="parameter_description"><p>centering offset</p></td> 375<td class="parameter_annotations"> </td> 376</tr> 377</tbody> 378</table></div> 379</div> 380<div class="refsect3"> 381<a name="gst-video-orientation-set-vcenter.returns"></a><h4>Returns</h4> 382<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports centering</p> 383</div> 384</div> 385<hr> 386<div class="refsect2"> 387<a name="gst-video-orientation-set-vflip"></a><h3>gst_video_orientation_set_vflip ()</h3> 388<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 389gst_video_orientation_set_vflip (<em class="parameter"><code><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> *video_orientation</code></em>, 390 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flip</code></em>);</pre> 391<p>Set the vertical flipping state (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for flipped) for the given object.</p> 392<div class="refsect3"> 393<a name="gst-video-orientation-set-vflip.parameters"></a><h4>Parameters</h4> 394<div class="informaltable"><table class="informaltable" width="100%" border="0"> 395<colgroup> 396<col width="150px" class="parameters_name"> 397<col class="parameters_description"> 398<col width="200px" class="parameters_annotations"> 399</colgroup> 400<tbody> 401<tr> 402<td class="parameter_name"><p>video_orientation</p></td> 403<td class="parameter_description"><p><a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> interface of a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct"><span class="type">GstElement</span></a></p></td> 404<td class="parameter_annotations"> </td> 405</tr> 406<tr> 407<td class="parameter_name"><p>flip</p></td> 408<td class="parameter_description"><p>use flipping</p></td> 409<td class="parameter_annotations"> </td> 410</tr> 411</tbody> 412</table></div> 413</div> 414<div class="refsect3"> 415<a name="gst-video-orientation-set-vflip.returns"></a><h4>Returns</h4> 416<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case the element supports flipping</p> 417</div> 418</div> 419</div> 420<div class="refsect1"> 421<a name="GstVideoOrientation.other_details"></a><h2>Types and Values</h2> 422<div class="refsect2"> 423<a name="GstVideoOrientation-struct"></a><h3>GstVideoOrientation</h3> 424<pre class="programlisting">typedef struct _GstVideoOrientation GstVideoOrientation;</pre> 425<p>Opaque <a class="link" href="GstVideoOrientation.html" title="GstVideoOrientation"><span class="type">GstVideoOrientation</span></a> data structure.</p> 426</div> 427<hr> 428<div class="refsect2"> 429<a name="GstVideoOrientationInterface"></a><h3>struct GstVideoOrientationInterface</h3> 430<pre class="programlisting">struct GstVideoOrientationInterface { 431 GTypeInterface iface; 432 433 /* FIXME 0.11: fix awkward API? add some kind of get_supported flags thing 434 * and then just return booleans/int from all vfuncs requiring the caller 435 * to check the flags first */ 436 437 /* virtual functions */ 438 gboolean (* get_hflip) (GstVideoOrientation *video_orientation, gboolean *flip); 439 gboolean (* get_vflip) (GstVideoOrientation *video_orientation, gboolean *flip); 440 gboolean (* get_hcenter) (GstVideoOrientation *video_orientation, gint *center); 441 gboolean (* get_vcenter) (GstVideoOrientation *video_orientation, gint *center); 442 443 gboolean (* set_hflip) (GstVideoOrientation *video_orientation, gboolean flip); 444 gboolean (* set_vflip) (GstVideoOrientation *video_orientation, gboolean flip); 445 gboolean (* set_hcenter) (GstVideoOrientation *video_orientation, gint center); 446 gboolean (* set_vcenter) (GstVideoOrientation *video_orientation, gint center); 447}; 448</pre> 449<p><a class="link" href="GstVideoOrientation.html#GstVideoOrientationInterface" title="struct GstVideoOrientationInterface"><span class="type">GstVideoOrientationInterface</span></a> interface.</p> 450<div class="refsect3"> 451<a name="GstVideoOrientationInterface.members"></a><h4>Members</h4> 452<div class="informaltable"><table class="informaltable" width="100%" border="0"> 453<colgroup> 454<col width="300px" class="struct_members_name"> 455<col class="struct_members_description"> 456<col width="200px" class="struct_members_annotations"> 457</colgroup> 458<tbody> 459<tr> 460<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GstVideoOrientationInterface.iface"></a>iface</code></em>;</p></td> 461<td class="struct_member_description"><p>parent interface type.</p></td> 462<td class="struct_member_annotations"> </td> 463</tr> 464<tr> 465<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.get-hflip"></a>get_hflip</code></em> ()</p></td> 466<td class="struct_member_description"><p>virtual method to get horizontal flipping state</p></td> 467<td class="struct_member_annotations"> </td> 468</tr> 469<tr> 470<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.get-vflip"></a>get_vflip</code></em> ()</p></td> 471<td class="struct_member_description"><p>virtual method to get vertical flipping state</p></td> 472<td class="struct_member_annotations"> </td> 473</tr> 474<tr> 475<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.get-hcenter"></a>get_hcenter</code></em> ()</p></td> 476<td class="struct_member_description"><p>virtual method to get horizontal centering state</p></td> 477<td class="struct_member_annotations"> </td> 478</tr> 479<tr> 480<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.get-vcenter"></a>get_vcenter</code></em> ()</p></td> 481<td class="struct_member_description"><p>virtual method to get vertical centering state</p></td> 482<td class="struct_member_annotations"> </td> 483</tr> 484<tr> 485<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.set-hflip"></a>set_hflip</code></em> ()</p></td> 486<td class="struct_member_description"><p>virtual method to set horizontal flipping state</p></td> 487<td class="struct_member_annotations"> </td> 488</tr> 489<tr> 490<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.set-vflip"></a>set_vflip</code></em> ()</p></td> 491<td class="struct_member_description"><p>virtual method to set vertical flipping state</p></td> 492<td class="struct_member_annotations"> </td> 493</tr> 494<tr> 495<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.set-hcenter"></a>set_hcenter</code></em> ()</p></td> 496<td class="struct_member_description"><p>virtual method to set horizontal centering state</p></td> 497<td class="struct_member_annotations"> </td> 498</tr> 499<tr> 500<td class="struct_member_name"><p><em class="structfield"><code><a name="GstVideoOrientationInterface.set-vcenter"></a>set_vcenter</code></em> ()</p></td> 501<td class="struct_member_description"><p>virtual method to set vertical centering state</p></td> 502<td class="struct_member_annotations"> </td> 503</tr> 504</tbody> 505</table></div> 506</div> 507</div> 508</div> 509</div> 510<div class="footer"> 511<hr>Generated by GTK-Doc V1.28</div> 512</body> 513</html>