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>GstVideo: 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="gstreamer-video.html" title="Video Library"> 10<link rel="next" href="gst-plugins-base-libs-GstMeta-for-video.html" title="GstMeta for video"> 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="#gst-plugins-base-libs-GstVideo.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-base-libs-GstVideo.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="gstreamer-video.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 24<td><a accesskey="n" href="gst-plugins-base-libs-GstMeta-for-video.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="gst-plugins-base-libs-GstVideo"></a><div class="titlepage"></div> 28<div class="refnamediv"><table width="100%"><tr> 29<td valign="top"> 30<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstVideo.top_of_page"></a>GstVideo</span></h2> 31<p>GstVideo — Support library for video operations</p> 32</td> 33<td class="gallery_image" valign="top" align="right"></td> 34</tr></table></div> 35<div class="refsect1"> 36<a name="gst-plugins-base-libs-GstVideo.functions"></a><h2>Functions</h2> 37<div class="informaltable"><table class="informaltable" width="100%" border="0"> 38<colgroup> 39<col width="150px" class="functions_return"> 40<col class="functions_name"> 41</colgroup> 42<tbody> 43<tr> 44<td class="function_type"> 45<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 46</td> 47<td class="function_name"> 48<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-calculate-display-ratio" title="gst_video_calculate_display_ratio ()">gst_video_calculate_display_ratio</a> <span class="c_punctuation">()</span> 49</td> 50</tr> 51<tr> 52<td class="function_type"> 53<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 54</td> 55<td class="function_name"> 56<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-guess-framerate" title="gst_video_guess_framerate ()">gst_video_guess_framerate</a> <span class="c_punctuation">()</span> 57</td> 58</tr> 59<tr> 60<td class="function_type"> 61<span class="returnvalue">void</span> 62</td> 63<td class="function_name"> 64<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConvertSampleCallback" title="GstVideoConvertSampleCallback ()">*GstVideoConvertSampleCallback</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> 65</td> 66</tr> 67<tr> 68<td class="function_type"> 69<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="returnvalue">GstSample</span></a> * 70</td> 71<td class="function_name"> 72<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-convert-sample" title="gst_video_convert_sample ()">gst_video_convert_sample</a> <span class="c_punctuation">()</span> 73</td> 74</tr> 75<tr> 76<td class="function_type"> 77<span class="returnvalue">void</span> 78</td> 79<td class="function_name"> 80<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-convert-sample-async" title="gst_video_convert_sample_async ()">gst_video_convert_sample_async</a> <span class="c_punctuation">()</span> 81</td> 82</tr> 83<tr> 84<td class="function_type"> 85<span class="returnvalue">void</span> 86</td> 87<td class="function_name"> 88<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-alignment-reset" title="gst_video_alignment_reset ()">gst_video_alignment_reset</a> <span class="c_punctuation">()</span> 89</td> 90</tr> 91<tr> 92<td class="function_type"> 93<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> * 94</td> 95<td class="function_name"> 96<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-still-frame" title="gst_video_event_new_still_frame ()">gst_video_event_new_still_frame</a> <span class="c_punctuation">()</span> 97</td> 98</tr> 99<tr> 100<td class="function_type"> 101<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 102</td> 103<td class="function_name"> 104<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-still-frame" title="gst_video_event_parse_still_frame ()">gst_video_event_parse_still_frame</a> <span class="c_punctuation">()</span> 105</td> 106</tr> 107<tr> 108<td class="function_type"> 109<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> * 110</td> 111<td class="function_name"> 112<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()">gst_video_event_new_downstream_force_key_unit</a> <span class="c_punctuation">()</span> 113</td> 114</tr> 115<tr> 116<td class="function_type"> 117<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 118</td> 119<td class="function_name"> 120<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-downstream-force-key-unit" title="gst_video_event_parse_downstream_force_key_unit ()">gst_video_event_parse_downstream_force_key_unit</a> <span class="c_punctuation">()</span> 121</td> 122</tr> 123<tr> 124<td class="function_type"> 125<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> * 126</td> 127<td class="function_name"> 128<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-upstream-force-key-unit" title="gst_video_event_new_upstream_force_key_unit ()">gst_video_event_new_upstream_force_key_unit</a> <span class="c_punctuation">()</span> 129</td> 130</tr> 131<tr> 132<td class="function_type"> 133<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 134</td> 135<td class="function_name"> 136<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-upstream-force-key-unit" title="gst_video_event_parse_upstream_force_key_unit ()">gst_video_event_parse_upstream_force_key_unit</a> <span class="c_punctuation">()</span> 137</td> 138</tr> 139<tr> 140<td class="function_type"> 141<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 142</td> 143<td class="function_name"> 144<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-is-force-key-unit" title="gst_video_event_is_force_key_unit ()">gst_video_event_is_force_key_unit</a> <span class="c_punctuation">()</span> 145</td> 146</tr> 147<tr> 148<td class="function_type"> 149<span class="returnvalue">void</span> 150</td> 151<td class="function_name"> 152<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatUnpack" title="GstVideoFormatUnpack ()">*GstVideoFormatUnpack</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> 153</td> 154</tr> 155<tr> 156<td class="function_type"> 157<span class="returnvalue">void</span> 158</td> 159<td class="function_name"> 160<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatPack" title="GstVideoFormatPack ()">*GstVideoFormatPack</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> 161</td> 162</tr> 163<tr> 164<td class="define_keyword">#define</td> 165<td class="function_name"> 166<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-FORMAT:CAPS" title="GST_VIDEO_FORMAT_INFO_FORMAT()">GST_VIDEO_FORMAT_INFO_FORMAT</a><span class="c_punctuation">()</span> 167</td> 168</tr> 169<tr> 170<td class="define_keyword">#define</td> 171<td class="function_name"> 172<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-NAME:CAPS" title="GST_VIDEO_FORMAT_INFO_NAME()">GST_VIDEO_FORMAT_INFO_NAME</a><span class="c_punctuation">()</span> 173</td> 174</tr> 175<tr> 176<td class="define_keyword">#define</td> 177<td class="function_name"> 178<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-FLAGS:CAPS" title="GST_VIDEO_FORMAT_INFO_FLAGS()">GST_VIDEO_FORMAT_INFO_FLAGS</a><span class="c_punctuation">()</span> 179</td> 180</tr> 181<tr> 182<td class="define_keyword">#define</td> 183<td class="function_name"> 184<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-YUV:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_YUV()">GST_VIDEO_FORMAT_INFO_IS_YUV</a><span class="c_punctuation">()</span> 185</td> 186</tr> 187<tr> 188<td class="define_keyword">#define</td> 189<td class="function_name"> 190<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-RGB:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_RGB()">GST_VIDEO_FORMAT_INFO_IS_RGB</a><span class="c_punctuation">()</span> 191</td> 192</tr> 193<tr> 194<td class="define_keyword">#define</td> 195<td class="function_name"> 196<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-GRAY:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_GRAY()">GST_VIDEO_FORMAT_INFO_IS_GRAY</a><span class="c_punctuation">()</span> 197</td> 198</tr> 199<tr> 200<td class="define_keyword">#define</td> 201<td class="function_name"> 202<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-HAS-ALPHA:CAPS" title="GST_VIDEO_FORMAT_INFO_HAS_ALPHA()">GST_VIDEO_FORMAT_INFO_HAS_ALPHA</a><span class="c_punctuation">()</span> 203</td> 204</tr> 205<tr> 206<td class="define_keyword">#define</td> 207<td class="function_name"> 208<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-LE:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_LE()">GST_VIDEO_FORMAT_INFO_IS_LE</a><span class="c_punctuation">()</span> 209</td> 210</tr> 211<tr> 212<td class="define_keyword">#define</td> 213<td class="function_name"> 214<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-HAS-PALETTE:CAPS" title="GST_VIDEO_FORMAT_INFO_HAS_PALETTE()">GST_VIDEO_FORMAT_INFO_HAS_PALETTE</a><span class="c_punctuation">()</span> 215</td> 216</tr> 217<tr> 218<td class="define_keyword">#define</td> 219<td class="function_name"> 220<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-COMPLEX:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_COMPLEX()">GST_VIDEO_FORMAT_INFO_IS_COMPLEX</a><span class="c_punctuation">()</span> 221</td> 222</tr> 223<tr> 224<td class="define_keyword">#define</td> 225<td class="function_name"> 226<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-BITS:CAPS" title="GST_VIDEO_FORMAT_INFO_BITS()">GST_VIDEO_FORMAT_INFO_BITS</a><span class="c_punctuation">()</span> 227</td> 228</tr> 229<tr> 230<td class="define_keyword">#define</td> 231<td class="function_name"> 232<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-N-COMPONENTS:CAPS" title="GST_VIDEO_FORMAT_INFO_N_COMPONENTS()">GST_VIDEO_FORMAT_INFO_N_COMPONENTS</a><span class="c_punctuation">()</span> 233</td> 234</tr> 235<tr> 236<td class="define_keyword">#define</td> 237<td class="function_name"> 238<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-SHIFT:CAPS" title="GST_VIDEO_FORMAT_INFO_SHIFT()">GST_VIDEO_FORMAT_INFO_SHIFT</a><span class="c_punctuation">()</span> 239</td> 240</tr> 241<tr> 242<td class="define_keyword">#define</td> 243<td class="function_name"> 244<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-DEPTH:CAPS" title="GST_VIDEO_FORMAT_INFO_DEPTH()">GST_VIDEO_FORMAT_INFO_DEPTH</a><span class="c_punctuation">()</span> 245</td> 246</tr> 247<tr> 248<td class="define_keyword">#define</td> 249<td class="function_name"> 250<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-PSTRIDE:CAPS" title="GST_VIDEO_FORMAT_INFO_PSTRIDE()">GST_VIDEO_FORMAT_INFO_PSTRIDE</a><span class="c_punctuation">()</span> 251</td> 252</tr> 253<tr> 254<td class="define_keyword">#define</td> 255<td class="function_name"> 256<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-N-PLANES:CAPS" title="GST_VIDEO_FORMAT_INFO_N_PLANES()">GST_VIDEO_FORMAT_INFO_N_PLANES</a><span class="c_punctuation">()</span> 257</td> 258</tr> 259<tr> 260<td class="define_keyword">#define</td> 261<td class="function_name"> 262<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-PLANE:CAPS" title="GST_VIDEO_FORMAT_INFO_PLANE()">GST_VIDEO_FORMAT_INFO_PLANE</a><span class="c_punctuation">()</span> 263</td> 264</tr> 265<tr> 266<td class="define_keyword">#define</td> 267<td class="function_name"> 268<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-POFFSET:CAPS" title="GST_VIDEO_FORMAT_INFO_POFFSET()">GST_VIDEO_FORMAT_INFO_POFFSET</a><span class="c_punctuation">()</span> 269</td> 270</tr> 271<tr> 272<td class="define_keyword">#define</td> 273<td class="function_name"> 274<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-W-SUB:CAPS" title="GST_VIDEO_FORMAT_INFO_W_SUB()">GST_VIDEO_FORMAT_INFO_W_SUB</a><span class="c_punctuation">()</span> 275</td> 276</tr> 277<tr> 278<td class="define_keyword">#define</td> 279<td class="function_name"> 280<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-H-SUB:CAPS" title="GST_VIDEO_FORMAT_INFO_H_SUB()">GST_VIDEO_FORMAT_INFO_H_SUB</a><span class="c_punctuation">()</span> 281</td> 282</tr> 283<tr> 284<td class="define_keyword">#define</td> 285<td class="function_name"> 286<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-SUB-SCALE:CAPS" title="GST_VIDEO_SUB_SCALE()">GST_VIDEO_SUB_SCALE</a><span class="c_punctuation">()</span> 287</td> 288</tr> 289<tr> 290<td class="define_keyword">#define</td> 291<td class="function_name"> 292<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-SCALE-WIDTH:CAPS" title="GST_VIDEO_FORMAT_INFO_SCALE_WIDTH()">GST_VIDEO_FORMAT_INFO_SCALE_WIDTH</a><span class="c_punctuation">()</span> 293</td> 294</tr> 295<tr> 296<td class="define_keyword">#define</td> 297<td class="function_name"> 298<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-SCALE-HEIGHT:CAPS" title="GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT()">GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT</a><span class="c_punctuation">()</span> 299</td> 300</tr> 301<tr> 302<td class="define_keyword">#define</td> 303<td class="function_name"> 304<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-DATA:CAPS" title="GST_VIDEO_FORMAT_INFO_DATA()">GST_VIDEO_FORMAT_INFO_DATA</a><span class="c_punctuation">()</span> 305</td> 306</tr> 307<tr> 308<td class="define_keyword">#define</td> 309<td class="function_name"> 310<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-STRIDE:CAPS" title="GST_VIDEO_FORMAT_INFO_STRIDE()">GST_VIDEO_FORMAT_INFO_STRIDE</a><span class="c_punctuation">()</span> 311</td> 312</tr> 313<tr> 314<td class="define_keyword">#define</td> 315<td class="function_name"> 316<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-OFFSET:CAPS" title="GST_VIDEO_FORMAT_INFO_OFFSET()">GST_VIDEO_FORMAT_INFO_OFFSET</a><span class="c_punctuation">()</span> 317</td> 318</tr> 319<tr> 320<td class="define_keyword">#define</td> 321<td class="function_name"> 322<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-TILE-MODE:CAPS" title="GST_VIDEO_FORMAT_INFO_TILE_MODE()">GST_VIDEO_FORMAT_INFO_TILE_MODE</a><span class="c_punctuation">()</span> 323</td> 324</tr> 325<tr> 326<td class="define_keyword">#define</td> 327<td class="function_name"> 328<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-TILE-WS:CAPS" title="GST_VIDEO_FORMAT_INFO_TILE_WS()">GST_VIDEO_FORMAT_INFO_TILE_WS</a><span class="c_punctuation">()</span> 329</td> 330</tr> 331<tr> 332<td class="define_keyword">#define</td> 333<td class="function_name"> 334<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-TILE-HS:CAPS" title="GST_VIDEO_FORMAT_INFO_TILE_HS()">GST_VIDEO_FORMAT_INFO_TILE_HS</a><span class="c_punctuation">()</span> 335</td> 336</tr> 337<tr> 338<td class="define_keyword">#define</td> 339<td class="function_name"> 340<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-TILED:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_TILED()">GST_VIDEO_FORMAT_INFO_IS_TILED</a><span class="c_punctuation">()</span> 341</td> 342</tr> 343<tr> 344<td class="function_type"> 345<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a> 346</td> 347<td class="function_name"> 348<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-from-masks" title="gst_video_format_from_masks ()">gst_video_format_from_masks</a> <span class="c_punctuation">()</span> 349</td> 350</tr> 351<tr> 352<td class="function_type"> 353<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a> 354</td> 355<td class="function_name"> 356<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-from-fourcc" title="gst_video_format_from_fourcc ()">gst_video_format_from_fourcc</a> <span class="c_punctuation">()</span> 357</td> 358</tr> 359<tr> 360<td class="function_type"> 361<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> 362</td> 363<td class="function_name"> 364<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-to-fourcc" title="gst_video_format_to_fourcc ()">gst_video_format_to_fourcc</a> <span class="c_punctuation">()</span> 365</td> 366</tr> 367<tr> 368<td class="function_type"> 369<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a> 370</td> 371<td class="function_name"> 372<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-from-string" title="gst_video_format_from_string ()">gst_video_format_from_string</a> <span class="c_punctuation">()</span> 373</td> 374</tr> 375<tr> 376<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 377</td> 378<td class="function_name"> 379<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-to-string" title="gst_video_format_to_string ()">gst_video_format_to_string</a> <span class="c_punctuation">()</span> 380</td> 381</tr> 382<tr> 383<td class="function_type"> 384<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a> 385</td> 386<td class="function_name"> 387<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-get-palette" title="gst_video_format_get_palette ()">gst_video_format_get_palette</a> <span class="c_punctuation">()</span> 388</td> 389</tr> 390<tr> 391<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="returnvalue">GstVideoFormatInfo</span></a> * 392</td> 393<td class="function_name"> 394<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-get-info" title="gst_video_format_get_info ()">gst_video_format_get_info</a> <span class="c_punctuation">()</span> 395</td> 396</tr> 397<tr> 398<td class="define_keyword">#define</td> 399<td class="function_name"> 400<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CAPS-MAKE:CAPS" title="GST_VIDEO_CAPS_MAKE()">GST_VIDEO_CAPS_MAKE</a><span class="c_punctuation">()</span> 401</td> 402</tr> 403<tr> 404<td class="define_keyword">#define</td> 405<td class="function_name"> 406<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CAPS-MAKE-WITH-FEATURES:CAPS" title="GST_VIDEO_CAPS_MAKE_WITH_FEATURES()">GST_VIDEO_CAPS_MAKE_WITH_FEATURES</a><span class="c_punctuation">()</span> 407</td> 408</tr> 409<tr> 410<td class="function_type"> 411<span class="returnvalue">void</span> 412</td> 413<td class="function_name"> 414<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-range-offsets" title="gst_video_color_range_offsets ()">gst_video_color_range_offsets</a> <span class="c_punctuation">()</span> 415</td> 416</tr> 417<tr> 418<td class="function_type"> 419<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 420</td> 421<td class="function_name"> 422<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-matrix-get-Kr-Kb" title="gst_video_color_matrix_get_Kr_Kb ()">gst_video_color_matrix_get_Kr_Kb</a> <span class="c_punctuation">()</span> 423</td> 424</tr> 425<tr> 426<td class="function_type"> 427<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> 428</td> 429<td class="function_name"> 430<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-transfer-decode" title="gst_video_color_transfer_decode ()">gst_video_color_transfer_decode</a> <span class="c_punctuation">()</span> 431</td> 432</tr> 433<tr> 434<td class="function_type"> 435<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> 436</td> 437<td class="function_name"> 438<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-transfer-encode" title="gst_video_color_transfer_encode ()">gst_video_color_transfer_encode</a> <span class="c_punctuation">()</span> 439</td> 440</tr> 441<tr> 442<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo"><span class="returnvalue">GstVideoColorPrimariesInfo</span></a> * 443</td> 444<td class="function_name"> 445<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-primaries-get-info" title="gst_video_color_primaries_get_info ()">gst_video_color_primaries_get_info</a> <span class="c_punctuation">()</span> 446</td> 447</tr> 448<tr> 449<td class="function_type"> 450<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 451</td> 452<td class="function_name"> 453<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-matches" title="gst_video_colorimetry_matches ()">gst_video_colorimetry_matches</a> <span class="c_punctuation">()</span> 454</td> 455</tr> 456<tr> 457<td class="function_type"> 458<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 459</td> 460<td class="function_name"> 461<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-is-equal" title="gst_video_colorimetry_is_equal ()">gst_video_colorimetry_is_equal</a> <span class="c_punctuation">()</span> 462</td> 463</tr> 464<tr> 465<td class="function_type"> 466<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 467</td> 468<td class="function_name"> 469<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-from-string" title="gst_video_colorimetry_from_string ()">gst_video_colorimetry_from_string</a> <span class="c_punctuation">()</span> 470</td> 471</tr> 472<tr> 473<td class="function_type"> 474<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 475</td> 476<td class="function_name"> 477<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-to-string" title="gst_video_colorimetry_to_string ()">gst_video_colorimetry_to_string</a> <span class="c_punctuation">()</span> 478</td> 479</tr> 480<tr> 481<td class="define_keyword">#define</td> 482<td class="function_name"> 483<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FORMAT:CAPS" title="GST_VIDEO_INFO_FORMAT()">GST_VIDEO_INFO_FORMAT</a><span class="c_punctuation">()</span> 484</td> 485</tr> 486<tr> 487<td class="define_keyword">#define</td> 488<td class="function_name"> 489<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-NAME:CAPS" title="GST_VIDEO_INFO_NAME()">GST_VIDEO_INFO_NAME</a><span class="c_punctuation">()</span> 490</td> 491</tr> 492<tr> 493<td class="define_keyword">#define</td> 494<td class="function_name"> 495<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-YUV:CAPS" title="GST_VIDEO_INFO_IS_YUV()">GST_VIDEO_INFO_IS_YUV</a><span class="c_punctuation">()</span> 496</td> 497</tr> 498<tr> 499<td class="define_keyword">#define</td> 500<td class="function_name"> 501<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-RGB:CAPS" title="GST_VIDEO_INFO_IS_RGB()">GST_VIDEO_INFO_IS_RGB</a><span class="c_punctuation">()</span> 502</td> 503</tr> 504<tr> 505<td class="define_keyword">#define</td> 506<td class="function_name"> 507<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-GRAY:CAPS" title="GST_VIDEO_INFO_IS_GRAY()">GST_VIDEO_INFO_IS_GRAY</a><span class="c_punctuation">()</span> 508</td> 509</tr> 510<tr> 511<td class="define_keyword">#define</td> 512<td class="function_name"> 513<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-HAS-ALPHA:CAPS" title="GST_VIDEO_INFO_HAS_ALPHA()">GST_VIDEO_INFO_HAS_ALPHA</a><span class="c_punctuation">()</span> 514</td> 515</tr> 516<tr> 517<td class="define_keyword">#define</td> 518<td class="function_name"> 519<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-INTERLACE-MODE:CAPS" title="GST_VIDEO_INFO_INTERLACE_MODE()">GST_VIDEO_INFO_INTERLACE_MODE</a><span class="c_punctuation">()</span> 520</td> 521</tr> 522<tr> 523<td class="define_keyword">#define</td> 524<td class="function_name"> 525<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-INTERLACED:CAPS" title="GST_VIDEO_INFO_IS_INTERLACED()">GST_VIDEO_INFO_IS_INTERLACED</a><span class="c_punctuation">()</span> 526</td> 527</tr> 528<tr> 529<td class="define_keyword">#define</td> 530<td class="function_name"> 531<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FIELD-HEIGHT:CAPS" title="GST_VIDEO_INFO_FIELD_HEIGHT()">GST_VIDEO_INFO_FIELD_HEIGHT</a><span class="c_punctuation">()</span> 532</td> 533</tr> 534<tr> 535<td class="define_keyword">#define</td> 536<td class="function_name"> 537<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FIELD-ORDER:CAPS" title="GST_VIDEO_INFO_FIELD_ORDER()">GST_VIDEO_INFO_FIELD_ORDER</a><span class="c_punctuation">()</span> 538</td> 539</tr> 540<tr> 541<td class="define_keyword">#define</td> 542<td class="function_name"> 543<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FIELD-RATE-N:CAPS" title="GST_VIDEO_INFO_FIELD_RATE_N()">GST_VIDEO_INFO_FIELD_RATE_N</a><span class="c_punctuation">()</span> 544</td> 545</tr> 546<tr> 547<td class="define_keyword">#define</td> 548<td class="function_name"> 549<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAGS:CAPS" title="GST_VIDEO_INFO_FLAGS()">GST_VIDEO_INFO_FLAGS</a><span class="c_punctuation">()</span> 550</td> 551</tr> 552<tr> 553<td class="define_keyword">#define</td> 554<td class="function_name"> 555<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-WIDTH:CAPS" title="GST_VIDEO_INFO_WIDTH()">GST_VIDEO_INFO_WIDTH</a><span class="c_punctuation">()</span> 556</td> 557</tr> 558<tr> 559<td class="define_keyword">#define</td> 560<td class="function_name"> 561<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-HEIGHT:CAPS" title="GST_VIDEO_INFO_HEIGHT()">GST_VIDEO_INFO_HEIGHT</a><span class="c_punctuation">()</span> 562</td> 563</tr> 564<tr> 565<td class="define_keyword">#define</td> 566<td class="function_name"> 567<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-SIZE:CAPS" title="GST_VIDEO_INFO_SIZE()">GST_VIDEO_INFO_SIZE</a><span class="c_punctuation">()</span> 568</td> 569</tr> 570<tr> 571<td class="define_keyword">#define</td> 572<td class="function_name"> 573<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-VIEWS:CAPS" title="GST_VIDEO_INFO_VIEWS()">GST_VIDEO_INFO_VIEWS</a><span class="c_punctuation">()</span> 574</td> 575</tr> 576<tr> 577<td class="define_keyword">#define</td> 578<td class="function_name"> 579<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PAR-N:CAPS" title="GST_VIDEO_INFO_PAR_N()">GST_VIDEO_INFO_PAR_N</a><span class="c_punctuation">()</span> 580</td> 581</tr> 582<tr> 583<td class="define_keyword">#define</td> 584<td class="function_name"> 585<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PAR-D:CAPS" title="GST_VIDEO_INFO_PAR_D()">GST_VIDEO_INFO_PAR_D</a><span class="c_punctuation">()</span> 586</td> 587</tr> 588<tr> 589<td class="define_keyword">#define</td> 590<td class="function_name"> 591<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FPS-N:CAPS" title="GST_VIDEO_INFO_FPS_N()">GST_VIDEO_INFO_FPS_N</a><span class="c_punctuation">()</span> 592</td> 593</tr> 594<tr> 595<td class="define_keyword">#define</td> 596<td class="function_name"> 597<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FPS-D:CAPS" title="GST_VIDEO_INFO_FPS_D()">GST_VIDEO_INFO_FPS_D</a><span class="c_punctuation">()</span> 598</td> 599</tr> 600<tr> 601<td class="define_keyword">#define</td> 602<td class="function_name"> 603<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAG-IS-SET:CAPS" title="GST_VIDEO_INFO_FLAG_IS_SET()">GST_VIDEO_INFO_FLAG_IS_SET</a><span class="c_punctuation">()</span> 604</td> 605</tr> 606<tr> 607<td class="define_keyword">#define</td> 608<td class="function_name"> 609<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAG-SET:CAPS" title="GST_VIDEO_INFO_FLAG_SET()">GST_VIDEO_INFO_FLAG_SET</a><span class="c_punctuation">()</span> 610</td> 611</tr> 612<tr> 613<td class="define_keyword">#define</td> 614<td class="function_name"> 615<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAG-UNSET:CAPS" title="GST_VIDEO_INFO_FLAG_UNSET()">GST_VIDEO_INFO_FLAG_UNSET</a><span class="c_punctuation">()</span> 616</td> 617</tr> 618<tr> 619<td class="define_keyword">#define</td> 620<td class="function_name"> 621<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-N-PLANES:CAPS" title="GST_VIDEO_INFO_N_PLANES()">GST_VIDEO_INFO_N_PLANES</a><span class="c_punctuation">()</span> 622</td> 623</tr> 624<tr> 625<td class="define_keyword">#define</td> 626<td class="function_name"> 627<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PLANE-OFFSET:CAPS" title="GST_VIDEO_INFO_PLANE_OFFSET()">GST_VIDEO_INFO_PLANE_OFFSET</a><span class="c_punctuation">()</span> 628</td> 629</tr> 630<tr> 631<td class="define_keyword">#define</td> 632<td class="function_name"> 633<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PLANE-STRIDE:CAPS" title="GST_VIDEO_INFO_PLANE_STRIDE()">GST_VIDEO_INFO_PLANE_STRIDE</a><span class="c_punctuation">()</span> 634</td> 635</tr> 636<tr> 637<td class="define_keyword">#define</td> 638<td class="function_name"> 639<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-N-COMPONENTS:CAPS" title="GST_VIDEO_INFO_N_COMPONENTS()">GST_VIDEO_INFO_N_COMPONENTS</a><span class="c_punctuation">()</span> 640</td> 641</tr> 642<tr> 643<td class="define_keyword">#define</td> 644<td class="function_name"> 645<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-DEPTH:CAPS" title="GST_VIDEO_INFO_COMP_DEPTH()">GST_VIDEO_INFO_COMP_DEPTH</a><span class="c_punctuation">()</span> 646</td> 647</tr> 648<tr> 649<td class="define_keyword">#define</td> 650<td class="function_name"> 651<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-DATA:CAPS" title="GST_VIDEO_INFO_COMP_DATA()">GST_VIDEO_INFO_COMP_DATA</a><span class="c_punctuation">()</span> 652</td> 653</tr> 654<tr> 655<td class="define_keyword">#define</td> 656<td class="function_name"> 657<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-OFFSET:CAPS" title="GST_VIDEO_INFO_COMP_OFFSET()">GST_VIDEO_INFO_COMP_OFFSET</a><span class="c_punctuation">()</span> 658</td> 659</tr> 660<tr> 661<td class="define_keyword">#define</td> 662<td class="function_name"> 663<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-STRIDE:CAPS" title="GST_VIDEO_INFO_COMP_STRIDE()">GST_VIDEO_INFO_COMP_STRIDE</a><span class="c_punctuation">()</span> 664</td> 665</tr> 666<tr> 667<td class="define_keyword">#define</td> 668<td class="function_name"> 669<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-WIDTH:CAPS" title="GST_VIDEO_INFO_COMP_WIDTH()">GST_VIDEO_INFO_COMP_WIDTH</a><span class="c_punctuation">()</span> 670</td> 671</tr> 672<tr> 673<td class="define_keyword">#define</td> 674<td class="function_name"> 675<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-HEIGHT:CAPS" title="GST_VIDEO_INFO_COMP_HEIGHT()">GST_VIDEO_INFO_COMP_HEIGHT</a><span class="c_punctuation">()</span> 676</td> 677</tr> 678<tr> 679<td class="define_keyword">#define</td> 680<td class="function_name"> 681<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-PLANE:CAPS" title="GST_VIDEO_INFO_COMP_PLANE()">GST_VIDEO_INFO_COMP_PLANE</a><span class="c_punctuation">()</span> 682</td> 683</tr> 684<tr> 685<td class="define_keyword">#define</td> 686<td class="function_name"> 687<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-PSTRIDE:CAPS" title="GST_VIDEO_INFO_COMP_PSTRIDE()">GST_VIDEO_INFO_COMP_PSTRIDE</a><span class="c_punctuation">()</span> 688</td> 689</tr> 690<tr> 691<td class="define_keyword">#define</td> 692<td class="function_name"> 693<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-POFFSET:CAPS" title="GST_VIDEO_INFO_COMP_POFFSET()">GST_VIDEO_INFO_COMP_POFFSET</a><span class="c_punctuation">()</span> 694</td> 695</tr> 696<tr> 697<td class="define_keyword">#define</td> 698<td class="function_name"> 699<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-CHROMA-SITE:CAPS" title="GST_VIDEO_INFO_CHROMA_SITE()">GST_VIDEO_INFO_CHROMA_SITE</a><span class="c_punctuation">()</span> 700</td> 701</tr> 702<tr> 703<td class="define_keyword">#define</td> 704<td class="function_name"> 705<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COLORIMETRY:CAPS" title="GST_VIDEO_INFO_COLORIMETRY()">GST_VIDEO_INFO_COLORIMETRY</a><span class="c_punctuation">()</span> 706</td> 707</tr> 708<tr> 709<td class="define_keyword">#define</td> 710<td class="function_name"> 711<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-MULTIVIEW-FLAGS:CAPS" title="GST_VIDEO_INFO_MULTIVIEW_FLAGS()">GST_VIDEO_INFO_MULTIVIEW_FLAGS</a><span class="c_punctuation">()</span> 712</td> 713</tr> 714<tr> 715<td class="define_keyword">#define</td> 716<td class="function_name"> 717<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-MULTIVIEW-MODE:CAPS" title="GST_VIDEO_INFO_MULTIVIEW_MODE()">GST_VIDEO_INFO_MULTIVIEW_MODE</a><span class="c_punctuation">()</span> 718</td> 719</tr> 720<tr> 721<td class="function_type"> 722<span class="returnvalue">void</span> 723</td> 724<td class="function_name"> 725<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-init" title="gst_video_info_init ()">gst_video_info_init</a> <span class="c_punctuation">()</span> 726</td> 727</tr> 728<tr> 729<td class="function_type"> 730<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> * 731</td> 732<td class="function_name"> 733<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-new" title="gst_video_info_new ()">gst_video_info_new</a> <span class="c_punctuation">()</span> 734</td> 735</tr> 736<tr> 737<td class="function_type"> 738<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> * 739</td> 740<td class="function_name"> 741<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-copy" title="gst_video_info_copy ()">gst_video_info_copy</a> <span class="c_punctuation">()</span> 742</td> 743</tr> 744<tr> 745<td class="function_type"> 746<span class="returnvalue">void</span> 747</td> 748<td class="function_name"> 749<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-free" title="gst_video_info_free ()">gst_video_info_free</a> <span class="c_punctuation">()</span> 750</td> 751</tr> 752<tr> 753<td class="function_type"> 754<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 755</td> 756<td class="function_name"> 757<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-set-format" title="gst_video_info_set_format ()">gst_video_info_set_format</a> <span class="c_punctuation">()</span> 758</td> 759</tr> 760<tr> 761<td class="function_type"> 762<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 763</td> 764<td class="function_name"> 765<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-set-interlaced-format" title="gst_video_info_set_interlaced_format ()">gst_video_info_set_interlaced_format</a> <span class="c_punctuation">()</span> 766</td> 767</tr> 768<tr> 769<td class="function_type"> 770<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 771</td> 772<td class="function_name"> 773<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-from-caps" title="gst_video_info_from_caps ()">gst_video_info_from_caps</a> <span class="c_punctuation">()</span> 774</td> 775</tr> 776<tr> 777<td class="function_type"> 778<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> * 779</td> 780<td class="function_name"> 781<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-to-caps" title="gst_video_info_to_caps ()">gst_video_info_to_caps</a> <span class="c_punctuation">()</span> 782</td> 783</tr> 784<tr> 785<td class="function_type"> 786<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 787</td> 788<td class="function_name"> 789<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-convert" title="gst_video_info_convert ()">gst_video_info_convert</a> <span class="c_punctuation">()</span> 790</td> 791</tr> 792<tr> 793<td class="function_type"> 794<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 795</td> 796<td class="function_name"> 797<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-is-equal" title="gst_video_info_is_equal ()">gst_video_info_is_equal</a> <span class="c_punctuation">()</span> 798</td> 799</tr> 800<tr> 801<td class="function_type"> 802<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 803</td> 804<td class="function_name"> 805<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-align" title="gst_video_info_align ()">gst_video_info_align</a> <span class="c_punctuation">()</span> 806</td> 807</tr> 808<tr> 809<td class="function_type"> 810<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="returnvalue">GstVideoInterlaceMode</span></a> 811</td> 812<td class="function_name"> 813<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-interlace-mode-from-string" title="gst_video_interlace_mode_from_string ()">gst_video_interlace_mode_from_string</a> <span class="c_punctuation">()</span> 814</td> 815</tr> 816<tr> 817<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 818</td> 819<td class="function_name"> 820<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-interlace-mode-to-string" title="gst_video_interlace_mode_to_string ()">gst_video_interlace_mode_to_string</a> <span class="c_punctuation">()</span> 821</td> 822</tr> 823<tr> 824<td class="function_type"> 825<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="returnvalue">GstVideoFieldOrder</span></a> 826</td> 827<td class="function_name"> 828<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-field-order-from-string" title="gst_video_field_order_from_string ()">gst_video_field_order_from_string</a> <span class="c_punctuation">()</span> 829</td> 830</tr> 831<tr> 832<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 833</td> 834<td class="function_name"> 835<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-field-order-to-string" title="gst_video_field_order_to_string ()">gst_video_field_order_to_string</a> <span class="c_punctuation">()</span> 836</td> 837</tr> 838<tr> 839<td class="function_type"> 840<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 841</td> 842<td class="function_name"> 843<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map-id" title="gst_video_frame_map_id ()">gst_video_frame_map_id</a> <span class="c_punctuation">()</span> 844</td> 845</tr> 846<tr> 847<td class="function_type"> 848<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 849</td> 850<td class="function_name"> 851<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()">gst_video_frame_map</a> <span class="c_punctuation">()</span> 852</td> 853</tr> 854<tr> 855<td class="function_type"> 856<span class="returnvalue">void</span> 857</td> 858<td class="function_name"> 859<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-unmap" title="gst_video_frame_unmap ()">gst_video_frame_unmap</a> <span class="c_punctuation">()</span> 860</td> 861</tr> 862<tr> 863<td class="function_type"> 864<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 865</td> 866<td class="function_name"> 867<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-copy" title="gst_video_frame_copy ()">gst_video_frame_copy</a> <span class="c_punctuation">()</span> 868</td> 869</tr> 870<tr> 871<td class="function_type"> 872<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 873</td> 874<td class="function_name"> 875<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-copy-plane" title="gst_video_frame_copy_plane ()">gst_video_frame_copy_plane</a> <span class="c_punctuation">()</span> 876</td> 877</tr> 878<tr> 879<td class="define_keyword">#define</td> 880<td class="function_name"> 881<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-FORMAT:CAPS" title="GST_VIDEO_FRAME_FORMAT()">GST_VIDEO_FRAME_FORMAT</a><span class="c_punctuation">()</span> 882</td> 883</tr> 884<tr> 885<td class="define_keyword">#define</td> 886<td class="function_name"> 887<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-WIDTH:CAPS" title="GST_VIDEO_FRAME_WIDTH()">GST_VIDEO_FRAME_WIDTH</a><span class="c_punctuation">()</span> 888</td> 889</tr> 890<tr> 891<td class="define_keyword">#define</td> 892<td class="function_name"> 893<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-HEIGHT:CAPS" title="GST_VIDEO_FRAME_HEIGHT()">GST_VIDEO_FRAME_HEIGHT</a><span class="c_punctuation">()</span> 894</td> 895</tr> 896<tr> 897<td class="define_keyword">#define</td> 898<td class="function_name"> 899<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-SIZE:CAPS" title="GST_VIDEO_FRAME_SIZE()">GST_VIDEO_FRAME_SIZE</a><span class="c_punctuation">()</span> 900</td> 901</tr> 902<tr> 903<td class="define_keyword">#define</td> 904<td class="function_name"> 905<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-FLAGS:CAPS" title="GST_VIDEO_FRAME_FLAGS()">GST_VIDEO_FRAME_FLAGS</a><span class="c_punctuation">()</span> 906</td> 907</tr> 908<tr> 909<td class="define_keyword">#define</td> 910<td class="function_name"> 911<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-FLAG-IS-SET:CAPS" title="GST_VIDEO_FRAME_FLAG_IS_SET()">GST_VIDEO_FRAME_FLAG_IS_SET</a><span class="c_punctuation">()</span> 912</td> 913</tr> 914<tr> 915<td class="define_keyword">#define</td> 916<td class="function_name"> 917<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-INTERLACED:CAPS" title="GST_VIDEO_FRAME_IS_INTERLACED()">GST_VIDEO_FRAME_IS_INTERLACED</a><span class="c_punctuation">()</span> 918</td> 919</tr> 920<tr> 921<td class="define_keyword">#define</td> 922<td class="function_name"> 923<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-TFF:CAPS" title="GST_VIDEO_FRAME_IS_TFF()">GST_VIDEO_FRAME_IS_TFF</a><span class="c_punctuation">()</span> 924</td> 925</tr> 926<tr> 927<td class="define_keyword">#define</td> 928<td class="function_name"> 929<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-RFF:CAPS" title="GST_VIDEO_FRAME_IS_RFF()">GST_VIDEO_FRAME_IS_RFF</a><span class="c_punctuation">()</span> 930</td> 931</tr> 932<tr> 933<td class="define_keyword">#define</td> 934<td class="function_name"> 935<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-ONEFIELD:CAPS" title="GST_VIDEO_FRAME_IS_ONEFIELD()">GST_VIDEO_FRAME_IS_ONEFIELD</a><span class="c_punctuation">()</span> 936</td> 937</tr> 938<tr> 939<td class="define_keyword">#define</td> 940<td class="function_name"> 941<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-N-PLANES:CAPS" title="GST_VIDEO_FRAME_N_PLANES()">GST_VIDEO_FRAME_N_PLANES</a><span class="c_punctuation">()</span> 942</td> 943</tr> 944<tr> 945<td class="define_keyword">#define</td> 946<td class="function_name"> 947<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-DATA:CAPS" title="GST_VIDEO_FRAME_PLANE_DATA()">GST_VIDEO_FRAME_PLANE_DATA</a><span class="c_punctuation">()</span> 948</td> 949</tr> 950<tr> 951<td class="define_keyword">#define</td> 952<td class="function_name"> 953<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-OFFSET:CAPS" title="GST_VIDEO_FRAME_PLANE_OFFSET()">GST_VIDEO_FRAME_PLANE_OFFSET</a><span class="c_punctuation">()</span> 954</td> 955</tr> 956<tr> 957<td class="define_keyword">#define</td> 958<td class="function_name"> 959<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-STRIDE:CAPS" title="GST_VIDEO_FRAME_PLANE_STRIDE()">GST_VIDEO_FRAME_PLANE_STRIDE</a><span class="c_punctuation">()</span> 960</td> 961</tr> 962<tr> 963<td class="define_keyword">#define</td> 964<td class="function_name"> 965<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-N-COMPONENTS:CAPS" title="GST_VIDEO_FRAME_N_COMPONENTS()">GST_VIDEO_FRAME_N_COMPONENTS</a><span class="c_punctuation">()</span> 966</td> 967</tr> 968<tr> 969<td class="define_keyword">#define</td> 970<td class="function_name"> 971<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-DEPTH:CAPS" title="GST_VIDEO_FRAME_COMP_DEPTH()">GST_VIDEO_FRAME_COMP_DEPTH</a><span class="c_punctuation">()</span> 972</td> 973</tr> 974<tr> 975<td class="define_keyword">#define</td> 976<td class="function_name"> 977<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-DATA:CAPS" title="GST_VIDEO_FRAME_COMP_DATA()">GST_VIDEO_FRAME_COMP_DATA</a><span class="c_punctuation">()</span> 978</td> 979</tr> 980<tr> 981<td class="define_keyword">#define</td> 982<td class="function_name"> 983<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-STRIDE:CAPS" title="GST_VIDEO_FRAME_COMP_STRIDE()">GST_VIDEO_FRAME_COMP_STRIDE</a><span class="c_punctuation">()</span> 984</td> 985</tr> 986<tr> 987<td class="define_keyword">#define</td> 988<td class="function_name"> 989<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-OFFSET:CAPS" title="GST_VIDEO_FRAME_COMP_OFFSET()">GST_VIDEO_FRAME_COMP_OFFSET</a><span class="c_punctuation">()</span> 990</td> 991</tr> 992<tr> 993<td class="define_keyword">#define</td> 994<td class="function_name"> 995<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-WIDTH:CAPS" title="GST_VIDEO_FRAME_COMP_WIDTH()">GST_VIDEO_FRAME_COMP_WIDTH</a><span class="c_punctuation">()</span> 996</td> 997</tr> 998<tr> 999<td class="define_keyword">#define</td> 1000<td class="function_name"> 1001<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-HEIGHT:CAPS" title="GST_VIDEO_FRAME_COMP_HEIGHT()">GST_VIDEO_FRAME_COMP_HEIGHT</a><span class="c_punctuation">()</span> 1002</td> 1003</tr> 1004<tr> 1005<td class="define_keyword">#define</td> 1006<td class="function_name"> 1007<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-PLANE:CAPS" title="GST_VIDEO_FRAME_COMP_PLANE()">GST_VIDEO_FRAME_COMP_PLANE</a><span class="c_punctuation">()</span> 1008</td> 1009</tr> 1010<tr> 1011<td class="define_keyword">#define</td> 1012<td class="function_name"> 1013<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-PSTRIDE:CAPS" title="GST_VIDEO_FRAME_COMP_PSTRIDE()">GST_VIDEO_FRAME_COMP_PSTRIDE</a><span class="c_punctuation">()</span> 1014</td> 1015</tr> 1016<tr> 1017<td class="define_keyword">#define</td> 1018<td class="function_name"> 1019<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-POFFSET:CAPS" title="GST_VIDEO_FRAME_COMP_POFFSET()">GST_VIDEO_FRAME_COMP_POFFSET</a><span class="c_punctuation">()</span> 1020</td> 1021</tr> 1022<tr> 1023<td class="function_type"> 1024<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 1025</td> 1026<td class="function_name"> 1027<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-tile-get-index" title="gst_video_tile_get_index ()">gst_video_tile_get_index</a> <span class="c_punctuation">()</span> 1028</td> 1029</tr> 1030<tr> 1031<td class="define_keyword">#define</td> 1032<td class="function_name"> 1033<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MAKE-MODE:CAPS" title="GST_VIDEO_TILE_MAKE_MODE()">GST_VIDEO_TILE_MAKE_MODE</a><span class="c_punctuation">()</span> 1034</td> 1035</tr> 1036<tr> 1037<td class="define_keyword">#define</td> 1038<td class="function_name"> 1039<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MODE-TYPE:CAPS" title="GST_VIDEO_TILE_MODE_TYPE()">GST_VIDEO_TILE_MODE_TYPE</a><span class="c_punctuation">()</span> 1040</td> 1041</tr> 1042<tr> 1043<td class="define_keyword">#define</td> 1044<td class="function_name"> 1045<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MODE-IS-INDEXED:CAPS" title="GST_VIDEO_TILE_MODE_IS_INDEXED()">GST_VIDEO_TILE_MODE_IS_INDEXED</a><span class="c_punctuation">()</span> 1046</td> 1047</tr> 1048<tr> 1049<td class="define_keyword">#define</td> 1050<td class="function_name"> 1051<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MAKE-STRIDE:CAPS" title="GST_VIDEO_TILE_MAKE_STRIDE()">GST_VIDEO_TILE_MAKE_STRIDE</a><span class="c_punctuation">()</span> 1052</td> 1053</tr> 1054<tr> 1055<td class="define_keyword">#define</td> 1056<td class="function_name"> 1057<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-X-TILES:CAPS" title="GST_VIDEO_TILE_X_TILES()">GST_VIDEO_TILE_X_TILES</a><span class="c_punctuation">()</span> 1058</td> 1059</tr> 1060<tr> 1061<td class="define_keyword">#define</td> 1062<td class="function_name"> 1063<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-Y-TILES:CAPS" title="GST_VIDEO_TILE_Y_TILES()">GST_VIDEO_TILE_Y_TILES</a><span class="c_punctuation">()</span> 1064</td> 1065</tr> 1066<tr> 1067<td class="function_type"> 1068<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1069</td> 1070<td class="function_name"> 1071<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-blend" title="gst_video_blend ()">gst_video_blend</a> <span class="c_punctuation">()</span> 1072</td> 1073</tr> 1074<tr> 1075<td class="function_type"> 1076<span class="returnvalue">void</span> 1077</td> 1078<td class="function_name"> 1079<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-blend-scale-linear-RGBA" title="gst_video_blend_scale_linear_RGBA ()">gst_video_blend_scale_linear_RGBA</a> <span class="c_punctuation">()</span> 1080</td> 1081</tr> 1082<tr> 1083<td class="function_type"> 1084<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="returnvalue">GstVideoConverter</span></a> * 1085</td> 1086<td class="function_name"> 1087<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-new" title="gst_video_converter_new ()">gst_video_converter_new</a> <span class="c_punctuation">()</span> 1088</td> 1089</tr> 1090<tr> 1091<td class="function_type"> 1092<span class="returnvalue">void</span> 1093</td> 1094<td class="function_name"> 1095<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-free" title="gst_video_converter_free ()">gst_video_converter_free</a> <span class="c_punctuation">()</span> 1096</td> 1097</tr> 1098<tr> 1099<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> * 1100</td> 1101<td class="function_name"> 1102<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-get-config" title="gst_video_converter_get_config ()">gst_video_converter_get_config</a> <span class="c_punctuation">()</span> 1103</td> 1104</tr> 1105<tr> 1106<td class="function_type"> 1107<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1108</td> 1109<td class="function_name"> 1110<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-set-config" title="gst_video_converter_set_config ()">gst_video_converter_set_config</a> <span class="c_punctuation">()</span> 1111</td> 1112</tr> 1113<tr> 1114<td class="function_type"> 1115<span class="returnvalue">void</span> 1116</td> 1117<td class="function_name"> 1118<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-frame" title="gst_video_converter_frame ()">gst_video_converter_frame</a> <span class="c_punctuation">()</span> 1119</td> 1120</tr> 1121<tr> 1122<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 1123</td> 1124<td class="function_name"> 1125<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-mono-modes" title="gst_video_multiview_get_mono_modes ()">gst_video_multiview_get_mono_modes</a> <span class="c_punctuation">()</span> 1126</td> 1127</tr> 1128<tr> 1129<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 1130</td> 1131<td class="function_name"> 1132<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-unpacked-modes" title="gst_video_multiview_get_unpacked_modes ()">gst_video_multiview_get_unpacked_modes</a> <span class="c_punctuation">()</span> 1133</td> 1134</tr> 1135<tr> 1136<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 1137</td> 1138<td class="function_name"> 1139<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-doubled-height-modes" title="gst_video_multiview_get_doubled_height_modes ()">gst_video_multiview_get_doubled_height_modes</a> <span class="c_punctuation">()</span> 1140</td> 1141</tr> 1142<tr> 1143<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 1144</td> 1145<td class="function_name"> 1146<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-doubled-size-modes" title="gst_video_multiview_get_doubled_size_modes ()">gst_video_multiview_get_doubled_size_modes</a> <span class="c_punctuation">()</span> 1147</td> 1148</tr> 1149<tr> 1150<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 1151</td> 1152<td class="function_name"> 1153<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-doubled-width-modes" title="gst_video_multiview_get_doubled_width_modes ()">gst_video_multiview_get_doubled_width_modes</a> <span class="c_punctuation">()</span> 1154</td> 1155</tr> 1156<tr> 1157<td class="function_type"> 1158<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="returnvalue">GstVideoMultiviewMode</span></a> 1159</td> 1160<td class="function_name"> 1161<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-mode-from-caps-string" title="gst_video_multiview_mode_from_caps_string ()">gst_video_multiview_mode_from_caps_string</a> <span class="c_punctuation">()</span> 1162</td> 1163</tr> 1164<tr> 1165<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 1166</td> 1167<td class="function_name"> 1168<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-mode-to-caps-string" title="gst_video_multiview_mode_to_caps_string ()">gst_video_multiview_mode_to_caps_string</a> <span class="c_punctuation">()</span> 1169</td> 1170</tr> 1171<tr> 1172<td class="function_type"> 1173<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1174</td> 1175<td class="function_name"> 1176<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-guess-half-aspect" title="gst_video_multiview_guess_half_aspect ()">gst_video_multiview_guess_half_aspect</a> <span class="c_punctuation">()</span> 1177</td> 1178</tr> 1179<tr> 1180<td class="function_type"> 1181<span class="returnvalue">void</span> 1182</td> 1183<td class="function_name"> 1184<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-video-info-change-mode" title="gst_video_multiview_video_info_change_mode ()">gst_video_multiview_video_info_change_mode</a> <span class="c_punctuation">()</span> 1185</td> 1186</tr> 1187<tr> 1188<td class="function_type"> 1189<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1190</td> 1191<td class="function_name"> 1192<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new" title="gst_video_time_code_new ()">gst_video_time_code_new</a> <span class="c_punctuation">()</span> 1193</td> 1194</tr> 1195<tr> 1196<td class="function_type"> 1197<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1198</td> 1199<td class="function_name"> 1200<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-empty" title="gst_video_time_code_new_empty ()">gst_video_time_code_new_empty</a> <span class="c_punctuation">()</span> 1201</td> 1202</tr> 1203<tr> 1204<td class="function_type"> 1205<span class="returnvalue">void</span> 1206</td> 1207<td class="function_name"> 1208<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-free" title="gst_video_time_code_free ()">gst_video_time_code_free</a> <span class="c_punctuation">()</span> 1209</td> 1210</tr> 1211<tr> 1212<td class="function_type"> 1213<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1214</td> 1215<td class="function_name"> 1216<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-copy" title="gst_video_time_code_copy ()">gst_video_time_code_copy</a> <span class="c_punctuation">()</span> 1217</td> 1218</tr> 1219<tr> 1220<td class="function_type"> 1221<span class="returnvalue">void</span> 1222</td> 1223<td class="function_name"> 1224<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init" title="gst_video_time_code_init ()">gst_video_time_code_init</a> <span class="c_punctuation">()</span> 1225</td> 1226</tr> 1227<tr> 1228<td class="function_type"> 1229<span class="returnvalue">void</span> 1230</td> 1231<td class="function_name"> 1232<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init-from-date-time" title="gst_video_time_code_init_from_date_time ()">gst_video_time_code_init_from_date_time</a> <span class="c_punctuation">()</span> 1233</td> 1234</tr> 1235<tr> 1236<td class="function_type"> 1237<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1238</td> 1239<td class="function_name"> 1240<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init-from-date-time-full" title="gst_video_time_code_init_from_date_time_full ()">gst_video_time_code_init_from_date_time_full</a> <span class="c_punctuation">()</span> 1241</td> 1242</tr> 1243<tr> 1244<td class="function_type"> 1245<span class="returnvalue">void</span> 1246</td> 1247<td class="function_name"> 1248<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-clear" title="gst_video_time_code_clear ()">gst_video_time_code_clear</a> <span class="c_punctuation">()</span> 1249</td> 1250</tr> 1251<tr> 1252<td class="function_type"> 1253<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1254</td> 1255<td class="function_name"> 1256<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()">gst_video_time_code_is_valid</a> <span class="c_punctuation">()</span> 1257</td> 1258</tr> 1259<tr> 1260<td class="function_type"> 1261<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 1262</td> 1263<td class="function_name"> 1264<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-compare" title="gst_video_time_code_compare ()">gst_video_time_code_compare</a> <span class="c_punctuation">()</span> 1265</td> 1266</tr> 1267<tr> 1268<td class="function_type"> 1269<span class="returnvalue">void</span> 1270</td> 1271<td class="function_name"> 1272<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-increment-frame" title="gst_video_time_code_increment_frame ()">gst_video_time_code_increment_frame</a> <span class="c_punctuation">()</span> 1273</td> 1274</tr> 1275<tr> 1276<td class="function_type"> 1277<span class="returnvalue">void</span> 1278</td> 1279<td class="function_name"> 1280<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-add-frames" title="gst_video_time_code_add_frames ()">gst_video_time_code_add_frames</a> <span class="c_punctuation">()</span> 1281</td> 1282</tr> 1283<tr> 1284<td class="function_type"> 1285<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> 1286</td> 1287<td class="function_name"> 1288<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-frames-since-daily-jam" title="gst_video_time_code_frames_since_daily_jam ()">gst_video_time_code_frames_since_daily_jam</a> <span class="c_punctuation">()</span> 1289</td> 1290</tr> 1291<tr> 1292<td class="function_type"> 1293<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> 1294</td> 1295<td class="function_name"> 1296<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-nsec-since-daily-jam" title="gst_video_time_code_nsec_since_daily_jam ()">gst_video_time_code_nsec_since_daily_jam</a> <span class="c_punctuation">()</span> 1297</td> 1298</tr> 1299<tr> 1300<td class="function_type"> 1301<a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> * 1302</td> 1303<td class="function_name"> 1304<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-to-date-time" title="gst_video_time_code_to_date_time ()">gst_video_time_code_to_date_time</a> <span class="c_punctuation">()</span> 1305</td> 1306</tr> 1307<tr> 1308<td class="function_type"> 1309<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 1310</td> 1311<td class="function_name"> 1312<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-to-string" title="gst_video_time_code_to_string ()">gst_video_time_code_to_string</a> <span class="c_punctuation">()</span> 1313</td> 1314</tr> 1315<tr> 1316<td class="function_type"> 1317<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1318</td> 1319<td class="function_name"> 1320<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-add-interval" title="gst_video_time_code_add_interval ()">gst_video_time_code_add_interval</a> <span class="c_punctuation">()</span> 1321</td> 1322</tr> 1323<tr> 1324<td class="function_type"> 1325<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1326</td> 1327<td class="function_name"> 1328<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-string" title="gst_video_time_code_new_from_string ()">gst_video_time_code_new_from_string</a> <span class="c_punctuation">()</span> 1329</td> 1330</tr> 1331<tr> 1332<td class="function_type"> 1333<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1334</td> 1335<td class="function_name"> 1336<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-date-time" title="gst_video_time_code_new_from_date_time ()">gst_video_time_code_new_from_date_time</a> <span class="c_punctuation">()</span> 1337</td> 1338</tr> 1339<tr> 1340<td class="function_type"> 1341<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 1342</td> 1343<td class="function_name"> 1344<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-date-time-full" title="gst_video_time_code_new_from_date_time_full ()">gst_video_time_code_new_from_date_time_full</a> <span class="c_punctuation">()</span> 1345</td> 1346</tr> 1347<tr> 1348<td class="function_type"> 1349<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> * 1350</td> 1351<td class="function_name"> 1352<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-new" title="gst_video_time_code_interval_new ()">gst_video_time_code_interval_new</a> <span class="c_punctuation">()</span> 1353</td> 1354</tr> 1355<tr> 1356<td class="function_type"> 1357<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> * 1358</td> 1359<td class="function_name"> 1360<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-new-from-string" title="gst_video_time_code_interval_new_from_string ()">gst_video_time_code_interval_new_from_string</a> <span class="c_punctuation">()</span> 1361</td> 1362</tr> 1363<tr> 1364<td class="function_type"> 1365<span class="returnvalue">void</span> 1366</td> 1367<td class="function_name"> 1368<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-init" title="gst_video_time_code_interval_init ()">gst_video_time_code_interval_init</a> <span class="c_punctuation">()</span> 1369</td> 1370</tr> 1371<tr> 1372<td class="function_type"> 1373<span class="returnvalue">void</span> 1374</td> 1375<td class="function_name"> 1376<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-clear" title="gst_video_time_code_interval_clear ()">gst_video_time_code_interval_clear</a> <span class="c_punctuation">()</span> 1377</td> 1378</tr> 1379<tr> 1380<td class="function_type"> 1381<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> * 1382</td> 1383<td class="function_name"> 1384<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-copy" title="gst_video_time_code_interval_copy ()">gst_video_time_code_interval_copy</a> <span class="c_punctuation">()</span> 1385</td> 1386</tr> 1387<tr> 1388<td class="function_type"> 1389<span class="returnvalue">void</span> 1390</td> 1391<td class="function_name"> 1392<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-free" title="gst_video_time_code_interval_free ()">gst_video_time_code_interval_free</a> <span class="c_punctuation">()</span> 1393</td> 1394</tr> 1395</tbody> 1396</table></div> 1397</div> 1398<div class="refsect1"> 1399<a name="gst-plugins-base-libs-GstVideo.other"></a><h2>Types and Values</h2> 1400<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1401<colgroup> 1402<col width="150px" class="name"> 1403<col class="description"> 1404</colgroup> 1405<tbody> 1406<tr> 1407<td class="datatype_keyword">struct</td> 1408<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment">GstVideoAlignment</a></td> 1409</tr> 1410<tr> 1411<td class="define_keyword">#define</td> 1412<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-STR:CAPS" title="GST_META_TAG_VIDEO_STR">GST_META_TAG_VIDEO_STR</a></td> 1413</tr> 1414<tr> 1415<td class="define_keyword">#define</td> 1416<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-ORIENTATION-STR:CAPS" title="GST_META_TAG_VIDEO_ORIENTATION_STR">GST_META_TAG_VIDEO_ORIENTATION_STR</a></td> 1417</tr> 1418<tr> 1419<td class="define_keyword">#define</td> 1420<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-SIZE-STR:CAPS" title="GST_META_TAG_VIDEO_SIZE_STR">GST_META_TAG_VIDEO_SIZE_STR</a></td> 1421</tr> 1422<tr> 1423<td class="define_keyword">#define</td> 1424<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-COLORSPACE-STR:CAPS" title="GST_META_TAG_VIDEO_COLORSPACE_STR">GST_META_TAG_VIDEO_COLORSPACE_STR</a></td> 1425</tr> 1426<tr> 1427<td class="datatype_keyword">enum</td> 1428<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoOrientationMethod" title="enum GstVideoOrientationMethod">GstVideoOrientationMethod</a></td> 1429</tr> 1430<tr> 1431<td class="datatype_keyword">enum</td> 1432<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat">GstVideoFormat</a></td> 1433</tr> 1434<tr> 1435<td class="define_keyword">#define</td> 1436<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MAX-PLANES:CAPS" title="GST_VIDEO_MAX_PLANES">GST_VIDEO_MAX_PLANES</a></td> 1437</tr> 1438<tr> 1439<td class="define_keyword">#define</td> 1440<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MAX-COMPONENTS:CAPS" title="GST_VIDEO_MAX_COMPONENTS">GST_VIDEO_MAX_COMPONENTS</a></td> 1441</tr> 1442<tr> 1443<td class="datatype_keyword">struct</td> 1444<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo">GstVideoFormatInfo</a></td> 1445</tr> 1446<tr> 1447<td class="datatype_keyword">enum</td> 1448<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatFlags" title="enum GstVideoFormatFlags">GstVideoFormatFlags</a></td> 1449</tr> 1450<tr> 1451<td class="datatype_keyword">enum</td> 1452<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPackFlags" title="enum GstVideoPackFlags">GstVideoPackFlags</a></td> 1453</tr> 1454<tr> 1455<td class="define_keyword">#define</td> 1456<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-SIZE-RANGE:CAPS" title="GST_VIDEO_SIZE_RANGE">GST_VIDEO_SIZE_RANGE</a></td> 1457</tr> 1458<tr> 1459<td class="define_keyword">#define</td> 1460<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FPS-RANGE:CAPS" title="GST_VIDEO_FPS_RANGE">GST_VIDEO_FPS_RANGE</a></td> 1461</tr> 1462<tr> 1463<td class="define_keyword">#define</td> 1464<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMATS-ALL:CAPS" title="GST_VIDEO_FORMATS_ALL">GST_VIDEO_FORMATS_ALL</a></td> 1465</tr> 1466<tr> 1467<td class="define_keyword">#define</td> 1468<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-CAPS-FEATURE-FORMAT-INTERLACED:CAPS" title="GST_CAPS_FEATURE_FORMAT_INTERLACED">GST_CAPS_FEATURE_FORMAT_INTERLACED</a></td> 1469</tr> 1470<tr> 1471<td class="datatype_keyword">enum</td> 1472<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange">GstVideoColorRange</a></td> 1473</tr> 1474<tr> 1475<td class="datatype_keyword">enum</td> 1476<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix">GstVideoColorMatrix</a></td> 1477</tr> 1478<tr> 1479<td class="datatype_keyword">enum</td> 1480<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries">GstVideoColorPrimaries</a></td> 1481</tr> 1482<tr> 1483<td class="datatype_keyword">enum</td> 1484<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction">GstVideoTransferFunction</a></td> 1485</tr> 1486<tr> 1487<td class="datatype_keyword"> </td> 1488<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo">GstVideoColorPrimariesInfo</a></td> 1489</tr> 1490<tr> 1491<td class="datatype_keyword"> </td> 1492<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry">GstVideoColorimetry</a></td> 1493</tr> 1494<tr> 1495<td class="define_keyword">#define</td> 1496<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-BT2020:CAPS" title="GST_VIDEO_COLORIMETRY_BT2020">GST_VIDEO_COLORIMETRY_BT2020</a></td> 1497</tr> 1498<tr> 1499<td class="define_keyword">#define</td> 1500<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-BT601:CAPS" title="GST_VIDEO_COLORIMETRY_BT601">GST_VIDEO_COLORIMETRY_BT601</a></td> 1501</tr> 1502<tr> 1503<td class="define_keyword">#define</td> 1504<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-BT709:CAPS" title="GST_VIDEO_COLORIMETRY_BT709">GST_VIDEO_COLORIMETRY_BT709</a></td> 1505</tr> 1506<tr> 1507<td class="define_keyword">#define</td> 1508<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-SMPTE240M:CAPS" title="GST_VIDEO_COLORIMETRY_SMPTE240M">GST_VIDEO_COLORIMETRY_SMPTE240M</a></td> 1509</tr> 1510<tr> 1511<td class="define_keyword">#define</td> 1512<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-SRGB:CAPS" title="GST_VIDEO_COLORIMETRY_SRGB">GST_VIDEO_COLORIMETRY_SRGB</a></td> 1513</tr> 1514<tr> 1515<td class="datatype_keyword">struct</td> 1516<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo">GstVideoInfo</a></td> 1517</tr> 1518<tr> 1519<td class="datatype_keyword">enum</td> 1520<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode">GstVideoInterlaceMode</a></td> 1521</tr> 1522<tr> 1523<td class="datatype_keyword">enum</td> 1524<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder">GstVideoFieldOrder</a></td> 1525</tr> 1526<tr> 1527<td class="datatype_keyword">enum</td> 1528<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFlags" title="enum GstVideoFlags">GstVideoFlags</a></td> 1529</tr> 1530<tr> 1531<td class="datatype_keyword">struct</td> 1532<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame">GstVideoFrame</a></td> 1533</tr> 1534<tr> 1535<td class="datatype_keyword">enum</td> 1536<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameFlags" title="enum GstVideoFrameFlags">GstVideoFrameFlags</a></td> 1537</tr> 1538<tr> 1539<td class="datatype_keyword">enum</td> 1540<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameMapFlags" title="enum GstVideoFrameMapFlags">GstVideoFrameMapFlags</a></td> 1541</tr> 1542<tr> 1543<td class="datatype_keyword">enum</td> 1544<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoBufferFlags" title="enum GstVideoBufferFlags">GstVideoBufferFlags</a></td> 1545</tr> 1546<tr> 1547<td class="datatype_keyword">enum</td> 1548<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileType" title="enum GstVideoTileType">GstVideoTileType</a></td> 1549</tr> 1550<tr> 1551<td class="datatype_keyword">enum</td> 1552<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode">GstVideoTileMode</a></td> 1553</tr> 1554<tr> 1555<td class="define_keyword">#define</td> 1556<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-TYPE-MASK:CAPS" title="GST_VIDEO_TILE_TYPE_MASK">GST_VIDEO_TILE_TYPE_MASK</a></td> 1557</tr> 1558<tr> 1559<td class="define_keyword">#define</td> 1560<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-TYPE-SHIFT:CAPS" title="GST_VIDEO_TILE_TYPE_SHIFT">GST_VIDEO_TILE_TYPE_SHIFT</a></td> 1561</tr> 1562<tr> 1563<td class="define_keyword">#define</td> 1564<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-X-TILES-MASK:CAPS" title="GST_VIDEO_TILE_X_TILES_MASK">GST_VIDEO_TILE_X_TILES_MASK</a></td> 1565</tr> 1566<tr> 1567<td class="define_keyword">#define</td> 1568<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-Y-TILES-SHIFT:CAPS" title="GST_VIDEO_TILE_Y_TILES_SHIFT">GST_VIDEO_TILE_Y_TILES_SHIFT</a></td> 1569</tr> 1570<tr> 1571<td class="datatype_keyword"> </td> 1572<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter">GstVideoConverter</a></td> 1573</tr> 1574<tr> 1575<td class="datatype_keyword">enum</td> 1576<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlphaMode" title="enum GstVideoAlphaMode">GstVideoAlphaMode</a></td> 1577</tr> 1578<tr> 1579<td class="datatype_keyword">enum</td> 1580<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoChromaMode" title="enum GstVideoChromaMode">GstVideoChromaMode</a></td> 1581</tr> 1582<tr> 1583<td class="datatype_keyword">enum</td> 1584<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoGammaMode" title="enum GstVideoGammaMode">GstVideoGammaMode</a></td> 1585</tr> 1586<tr> 1587<td class="datatype_keyword">enum</td> 1588<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMatrixMode" title="enum GstVideoMatrixMode">GstVideoMatrixMode</a></td> 1589</tr> 1590<tr> 1591<td class="datatype_keyword">enum</td> 1592<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPrimariesMode" title="enum GstVideoPrimariesMode">GstVideoPrimariesMode</a></td> 1593</tr> 1594<tr> 1595<td class="define_keyword">#define</td> 1596<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_MODE">GST_VIDEO_CONVERTER_OPT_ALPHA_MODE</a></td> 1597</tr> 1598<tr> 1599<td class="define_keyword">#define</td> 1600<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</a></td> 1601</tr> 1602<tr> 1603<td class="define_keyword">#define</td> 1604<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-BORDER-ARGB:CAPS" title="GST_VIDEO_CONVERTER_OPT_BORDER_ARGB">GST_VIDEO_CONVERTER_OPT_BORDER_ARGB</a></td> 1605</tr> 1606<tr> 1607<td class="define_keyword">#define</td> 1608<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-CHROMA-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_CHROMA_MODE">GST_VIDEO_CONVERTER_OPT_CHROMA_MODE</a></td> 1609</tr> 1610<tr> 1611<td class="define_keyword">#define</td> 1612<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-CHROMA-RESAMPLER-METHOD:CAPS" title="GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD">GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD</a></td> 1613</tr> 1614<tr> 1615<td class="define_keyword">#define</td> 1616<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-HEIGHT:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT">GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT</a></td> 1617</tr> 1618<tr> 1619<td class="define_keyword">#define</td> 1620<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-WIDTH:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_WIDTH">GST_VIDEO_CONVERTER_OPT_DEST_WIDTH</a></td> 1621</tr> 1622<tr> 1623<td class="define_keyword">#define</td> 1624<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-X:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_X">GST_VIDEO_CONVERTER_OPT_DEST_X</a></td> 1625</tr> 1626<tr> 1627<td class="define_keyword">#define</td> 1628<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-Y:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_Y">GST_VIDEO_CONVERTER_OPT_DEST_Y</a></td> 1629</tr> 1630<tr> 1631<td class="define_keyword">#define</td> 1632<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DITHER-METHOD:CAPS" title="GST_VIDEO_CONVERTER_OPT_DITHER_METHOD">GST_VIDEO_CONVERTER_OPT_DITHER_METHOD</a></td> 1633</tr> 1634<tr> 1635<td class="define_keyword">#define</td> 1636<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DITHER-QUANTIZATION:CAPS" title="GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION">GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION</a></td> 1637</tr> 1638<tr> 1639<td class="define_keyword">#define</td> 1640<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-FILL-BORDER:CAPS" title="GST_VIDEO_CONVERTER_OPT_FILL_BORDER">GST_VIDEO_CONVERTER_OPT_FILL_BORDER</a></td> 1641</tr> 1642<tr> 1643<td class="define_keyword">#define</td> 1644<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-GAMMA-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_GAMMA_MODE">GST_VIDEO_CONVERTER_OPT_GAMMA_MODE</a></td> 1645</tr> 1646<tr> 1647<td class="define_keyword">#define</td> 1648<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-MATRIX-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_MATRIX_MODE">GST_VIDEO_CONVERTER_OPT_MATRIX_MODE</a></td> 1649</tr> 1650<tr> 1651<td class="define_keyword">#define</td> 1652<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-PRIMARIES-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE">GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE</a></td> 1653</tr> 1654<tr> 1655<td class="define_keyword">#define</td> 1656<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-RESAMPLER-METHOD:CAPS" title="GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD">GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD</a></td> 1657</tr> 1658<tr> 1659<td class="define_keyword">#define</td> 1660<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-RESAMPLER-TAPS:CAPS" title="GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS">GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS</a></td> 1661</tr> 1662<tr> 1663<td class="define_keyword">#define</td> 1664<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-HEIGHT:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT">GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT</a></td> 1665</tr> 1666<tr> 1667<td class="define_keyword">#define</td> 1668<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-WIDTH:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_WIDTH">GST_VIDEO_CONVERTER_OPT_SRC_WIDTH</a></td> 1669</tr> 1670<tr> 1671<td class="define_keyword">#define</td> 1672<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-X:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_X">GST_VIDEO_CONVERTER_OPT_SRC_X</a></td> 1673</tr> 1674<tr> 1675<td class="define_keyword">#define</td> 1676<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-Y:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_Y">GST_VIDEO_CONVERTER_OPT_SRC_Y</a></td> 1677</tr> 1678<tr> 1679<td class="define_keyword">#define</td> 1680<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-THREADS:CAPS" title="GST_VIDEO_CONVERTER_OPT_THREADS">GST_VIDEO_CONVERTER_OPT_THREADS</a></td> 1681</tr> 1682<tr> 1683<td class="datatype_keyword">enum</td> 1684<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode">GstVideoMultiviewMode</a></td> 1685</tr> 1686<tr> 1687<td class="datatype_keyword">enum</td> 1688<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking" title="enum GstVideoMultiviewFramePacking">GstVideoMultiviewFramePacking</a></td> 1689</tr> 1690<tr> 1691<td class="datatype_keyword">enum</td> 1692<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags">GstVideoMultiviewFlags</a></td> 1693</tr> 1694<tr> 1695<td class="define_keyword">#define</td> 1696<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MULTIVIEW-MAX-FRAME-PACKING:CAPS" title="GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING">GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING</a></td> 1697</tr> 1698<tr> 1699<td class="datatype_keyword">struct</td> 1700<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode">GstVideoTimeCode</a></td> 1701</tr> 1702<tr> 1703<td class="datatype_keyword">struct</td> 1704<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeConfig" title="struct GstVideoTimeCodeConfig">GstVideoTimeCodeConfig</a></td> 1705</tr> 1706<tr> 1707<td class="datatype_keyword">enum</td> 1708<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags">GstVideoTimeCodeFlags</a></td> 1709</tr> 1710<tr> 1711<td class="define_keyword">#define</td> 1712<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TIME-CODE-INIT:CAPS" title="GST_VIDEO_TIME_CODE_INIT">GST_VIDEO_TIME_CODE_INIT</a></td> 1713</tr> 1714<tr> 1715<td class="datatype_keyword">struct</td> 1716<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval">GstVideoTimeCodeInterval</a></td> 1717</tr> 1718</tbody> 1719</table></div> 1720</div> 1721<div class="refsect1"> 1722<a name="gst-plugins-base-libs-GstVideo.object-hierarchy"></a><h2>Object Hierarchy</h2> 1723<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a> 1724 <span class="lineart">├──</span> GstVideoMultiviewMode 1725 <span class="lineart">╰──</span> GstVideoOrientationMethod 1726 <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a> 1727 <span class="lineart">╰──</span> GstVideoMultiviewFlags 1728</pre> 1729</div> 1730<div class="refsect1"> 1731<a name="gst-plugins-base-libs-GstVideo.includes"></a><h2>Includes</h2> 1732<pre class="synopsis">#include <gst/video/video.h> 1733</pre> 1734</div> 1735<div class="refsect1"> 1736<a name="gst-plugins-base-libs-GstVideo.description"></a><h2>Description</h2> 1737<p>This library contains some helper functions and includes the 1738videosink and videofilter base classes.</p> 1739</div> 1740<div class="refsect1"> 1741<a name="gst-plugins-base-libs-GstVideo.functions_details"></a><h2>Functions</h2> 1742<div class="refsect2"> 1743<a name="gst-video-calculate-display-ratio"></a><h3>gst_video_calculate_display_ratio ()</h3> 1744<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1745gst_video_calculate_display_ratio (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *dar_n</code></em>, 1746 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *dar_d</code></em>, 1747 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_width</code></em>, 1748 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_height</code></em>, 1749 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_par_n</code></em>, 1750 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_par_d</code></em>, 1751 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> display_par_n</code></em>, 1752 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> display_par_d</code></em>);</pre> 1753<p>Given the Pixel Aspect Ratio and size of an input video frame, and the 1754pixel aspect ratio of the intended display device, calculates the actual 1755display ratio the video will be rendered with.</p> 1756<div class="refsect3"> 1757<a name="gst-video-calculate-display-ratio.parameters"></a><h4>Parameters</h4> 1758<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1759<colgroup> 1760<col width="150px" class="parameters_name"> 1761<col class="parameters_description"> 1762<col width="200px" class="parameters_annotations"> 1763</colgroup> 1764<tbody> 1765<tr> 1766<td class="parameter_name"><p>dar_n</p></td> 1767<td class="parameter_description"><p>Numerator of the calculated display_ratio. </p></td> 1768<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> 1769</tr> 1770<tr> 1771<td class="parameter_name"><p>dar_d</p></td> 1772<td class="parameter_description"><p>Denominator of the calculated display_ratio. </p></td> 1773<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> 1774</tr> 1775<tr> 1776<td class="parameter_name"><p>video_width</p></td> 1777<td class="parameter_description"><p>Width of the video frame in pixels</p></td> 1778<td class="parameter_annotations"> </td> 1779</tr> 1780<tr> 1781<td class="parameter_name"><p>video_height</p></td> 1782<td class="parameter_description"><p>Height of the video frame in pixels</p></td> 1783<td class="parameter_annotations"> </td> 1784</tr> 1785<tr> 1786<td class="parameter_name"><p>video_par_n</p></td> 1787<td class="parameter_description"><p>Numerator of the pixel aspect ratio of the input video.</p></td> 1788<td class="parameter_annotations"> </td> 1789</tr> 1790<tr> 1791<td class="parameter_name"><p>video_par_d</p></td> 1792<td class="parameter_description"><p>Denominator of the pixel aspect ratio of the input video.</p></td> 1793<td class="parameter_annotations"> </td> 1794</tr> 1795<tr> 1796<td class="parameter_name"><p>display_par_n</p></td> 1797<td class="parameter_description"><p>Numerator of the pixel aspect ratio of the display device</p></td> 1798<td class="parameter_annotations"> </td> 1799</tr> 1800<tr> 1801<td class="parameter_name"><p>display_par_d</p></td> 1802<td class="parameter_description"><p>Denominator of the pixel aspect ratio of the display device</p></td> 1803<td class="parameter_annotations"> </td> 1804</tr> 1805</tbody> 1806</table></div> 1807</div> 1808<div class="refsect3"> 1809<a name="gst-video-calculate-display-ratio.returns"></a><h4>Returns</h4> 1810<p> A boolean indicating success and a calculated Display Ratio in the 1811dar_n and dar_d parameters. 1812The return value is FALSE in the case of integer overflow or other error.</p> 1813</div> 1814</div> 1815<hr> 1816<div class="refsect2"> 1817<a name="gst-video-guess-framerate"></a><h3>gst_video_guess_framerate ()</h3> 1818<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1819gst_video_guess_framerate (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> duration</code></em>, 1820 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_n</code></em>, 1821 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_d</code></em>);</pre> 1822<p>Given the nominal duration of one video frame, 1823this function will check some standard framerates for 1824a close match (within 0.1%) and return one if possible,</p> 1825<p>It will calculate an arbitrary framerate if no close 1826match was found, and return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p> 1827<p>It returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a duration of 0 is passed.</p> 1828<div class="refsect3"> 1829<a name="gst-video-guess-framerate.parameters"></a><h4>Parameters</h4> 1830<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1831<colgroup> 1832<col width="150px" class="parameters_name"> 1833<col class="parameters_description"> 1834<col width="200px" class="parameters_annotations"> 1835</colgroup> 1836<tbody> 1837<tr> 1838<td class="parameter_name"><p>duration</p></td> 1839<td class="parameter_description"><p>Nominal duration of one frame</p></td> 1840<td class="parameter_annotations"> </td> 1841</tr> 1842<tr> 1843<td class="parameter_name"><p>dest_n</p></td> 1844<td class="parameter_description"><p>Numerator of the calculated framerate. </p></td> 1845<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 1846</tr> 1847<tr> 1848<td class="parameter_name"><p>dest_d</p></td> 1849<td class="parameter_description"><p>Denominator of the calculated framerate. </p></td> 1850<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> 1851</tr> 1852</tbody> 1853</table></div> 1854</div> 1855<div class="refsect3"> 1856<a name="gst-video-guess-framerate.returns"></a><h4>Returns</h4> 1857<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a close "standard" framerate was 1858recognised, and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p> 1859</div> 1860<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 1861</div> 1862<hr> 1863<div class="refsect2"> 1864<a name="GstVideoConvertSampleCallback"></a><h3>GstVideoConvertSampleCallback ()</h3> 1865<pre class="programlisting"><span class="returnvalue">void</span> 1866<span class="c_punctuation">(</span>*GstVideoConvertSampleCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a> *sample</code></em>, 1867 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>, 1868 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> 1869</div> 1870<hr> 1871<div class="refsect2"> 1872<a name="gst-video-convert-sample"></a><h3>gst_video_convert_sample ()</h3> 1873<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="returnvalue">GstSample</span></a> * 1874gst_video_convert_sample (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a> *sample</code></em>, 1875 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *to_caps</code></em>, 1876 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>, 1877 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> 1878<p>Converts a raw video buffer into the specified output caps.</p> 1879<p>The output caps can be any raw video formats or any image formats (jpeg, png, ...).</p> 1880<p>The width, height and pixel-aspect-ratio can also be specified in the output caps.</p> 1881<div class="refsect3"> 1882<a name="gst-video-convert-sample.parameters"></a><h4>Parameters</h4> 1883<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1884<colgroup> 1885<col width="150px" class="parameters_name"> 1886<col class="parameters_description"> 1887<col width="200px" class="parameters_annotations"> 1888</colgroup> 1889<tbody> 1890<tr> 1891<td class="parameter_name"><p>sample</p></td> 1892<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a></p></td> 1893<td class="parameter_annotations"> </td> 1894</tr> 1895<tr> 1896<td class="parameter_name"><p>to_caps</p></td> 1897<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to convert to</p></td> 1898<td class="parameter_annotations"> </td> 1899</tr> 1900<tr> 1901<td class="parameter_name"><p>timeout</p></td> 1902<td class="parameter_description"><p>the maximum amount of time allowed for the processing.</p></td> 1903<td class="parameter_annotations"> </td> 1904</tr> 1905<tr> 1906<td class="parameter_name"><p>error</p></td> 1907<td class="parameter_description"><p>pointer to a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. Can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td> 1908<td class="parameter_annotations"> </td> 1909</tr> 1910</tbody> 1911</table></div> 1912</div> 1913<div class="refsect3"> 1914<a name="gst-video-convert-sample.returns"></a><h4>Returns</h4> 1915<p> The converted <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error happened (in which case <em class="parameter"><code>err</code></em> 1916will point to the <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>).</p> 1917</div> 1918</div> 1919<hr> 1920<div class="refsect2"> 1921<a name="gst-video-convert-sample-async"></a><h3>gst_video_convert_sample_async ()</h3> 1922<pre class="programlisting"><span class="returnvalue">void</span> 1923gst_video_convert_sample_async (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a> *sample</code></em>, 1924 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *to_caps</code></em>, 1925 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>, 1926 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConvertSampleCallback" title="GstVideoConvertSampleCallback ()"><span class="type">GstVideoConvertSampleCallback</span></a> callback</code></em>, 1927 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, 1928 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>);</pre> 1929<p>Converts a raw video buffer into the specified output caps.</p> 1930<p>The output caps can be any raw video formats or any image formats (jpeg, png, ...).</p> 1931<p>The width, height and pixel-aspect-ratio can also be specified in the output caps.</p> 1932<p><em class="parameter"><code>callback</code></em> 1933 will be called after conversion, when an error occured or if conversion didn't 1934finish after <em class="parameter"><code>timeout</code></em> 1935. <em class="parameter"><code>callback</code></em> 1936 will always be called from the thread default 1937<a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainContext"><code class="literal">GMainContext</code></a>, see <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#g-main-context-get-thread-default"><code class="function">g_main_context_get_thread_default()</code></a>. If GLib before 2.22 is used, 1938this will always be the global default main context.</p> 1939<p><em class="parameter"><code>destroy_notify</code></em> 1940 will be called after the callback was called and <em class="parameter"><code>user_data</code></em> 1941 is not needed 1942anymore.</p> 1943<div class="refsect3"> 1944<a name="gst-video-convert-sample-async.parameters"></a><h4>Parameters</h4> 1945<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1946<colgroup> 1947<col width="150px" class="parameters_name"> 1948<col class="parameters_description"> 1949<col width="200px" class="parameters_annotations"> 1950</colgroup> 1951<tbody> 1952<tr> 1953<td class="parameter_name"><p>sample</p></td> 1954<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a></p></td> 1955<td class="parameter_annotations"> </td> 1956</tr> 1957<tr> 1958<td class="parameter_name"><p>to_caps</p></td> 1959<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to convert to</p></td> 1960<td class="parameter_annotations"> </td> 1961</tr> 1962<tr> 1963<td class="parameter_name"><p>timeout</p></td> 1964<td class="parameter_description"><p>the maximum amount of time allowed for the processing.</p></td> 1965<td class="parameter_annotations"> </td> 1966</tr> 1967<tr> 1968<td class="parameter_name"><p>callback</p></td> 1969<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConvertSampleCallback" title="GstVideoConvertSampleCallback ()"><code class="literal">GstVideoConvertSampleCallback</code></a> that will be called after conversion.</p></td> 1970<td class="parameter_annotations"> </td> 1971</tr> 1972<tr> 1973<td class="parameter_name"><p>user_data</p></td> 1974<td class="parameter_description"><p>extra data that will be passed to the <em class="parameter"><code>callback</code></em> 1975</p></td> 1976<td class="parameter_annotations"> </td> 1977</tr> 1978<tr> 1979<td class="parameter_name"><p>destroy_notify</p></td> 1980<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><code class="literal">GDestroyNotify</code></a> to be called after <em class="parameter"><code>user_data</code></em> 1981is not needed anymore</p></td> 1982<td class="parameter_annotations"> </td> 1983</tr> 1984</tbody> 1985</table></div> 1986</div> 1987</div> 1988<hr> 1989<div class="refsect2"> 1990<a name="gst-video-alignment-reset"></a><h3>gst_video_alignment_reset ()</h3> 1991<pre class="programlisting"><span class="returnvalue">void</span> 1992gst_video_alignment_reset (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment"><span class="type">GstVideoAlignment</span></a> *align</code></em>);</pre> 1993<p>Set <em class="parameter"><code>align</code></em> 1994 to its default values with no padding and no alignment.</p> 1995<div class="refsect3"> 1996<a name="gst-video-alignment-reset.parameters"></a><h4>Parameters</h4> 1997<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1998<colgroup> 1999<col width="150px" class="parameters_name"> 2000<col class="parameters_description"> 2001<col width="200px" class="parameters_annotations"> 2002</colgroup> 2003<tbody><tr> 2004<td class="parameter_name"><p>align</p></td> 2005<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment"><span class="type">GstVideoAlignment</span></a></p></td> 2006<td class="parameter_annotations"> </td> 2007</tr></tbody> 2008</table></div> 2009</div> 2010</div> 2011<hr> 2012<div class="refsect2"> 2013<a name="gst-video-event-new-still-frame"></a><h3>gst_video_event_new_still_frame ()</h3> 2014<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> * 2015gst_video_event_new_still_frame (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_still</code></em>);</pre> 2016<p>Creates a new Still Frame event. If <em class="parameter"><code>in_still</code></em> 2017 is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then the event 2018represents the start of a still frame sequence. If it is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then 2019the event ends a still frame sequence.</p> 2020<p>To parse an event created by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-still-frame" title="gst_video_event_new_still_frame ()"><code class="function">gst_video_event_new_still_frame()</code></a> use 2021<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-still-frame" title="gst_video_event_parse_still_frame ()"><code class="function">gst_video_event_parse_still_frame()</code></a>.</p> 2022<div class="refsect3"> 2023<a name="gst-video-event-new-still-frame.parameters"></a><h4>Parameters</h4> 2024<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2025<colgroup> 2026<col width="150px" class="parameters_name"> 2027<col class="parameters_description"> 2028<col width="200px" class="parameters_annotations"> 2029</colgroup> 2030<tbody><tr> 2031<td class="parameter_name"><p>in_still</p></td> 2032<td class="parameter_description"><p>boolean value for the still-frame state of the event.</p></td> 2033<td class="parameter_annotations"> </td> 2034</tr></tbody> 2035</table></div> 2036</div> 2037<div class="refsect3"> 2038<a name="gst-video-event-new-still-frame.returns"></a><h4>Returns</h4> 2039<p> The new GstEvent</p> 2040</div> 2041</div> 2042<hr> 2043<div class="refsect2"> 2044<a name="gst-video-event-parse-still-frame"></a><h3>gst_video_event_parse_still_frame ()</h3> 2045<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 2046gst_video_event_parse_still_frame (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>, 2047 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *in_still</code></em>);</pre> 2048<p>Parse a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a>, identify if it is a Still Frame event, and 2049return the still-frame state from the event if it is. 2050If the event represents the start of a still frame, the in_still 2051variable will be set to TRUE, otherwise FALSE. It is OK to pass NULL for the 2052in_still variable order to just check whether the event is a valid still-frame 2053event.</p> 2054<p>Create a still frame event using <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-still-frame" title="gst_video_event_new_still_frame ()"><code class="function">gst_video_event_new_still_frame()</code></a></p> 2055<div class="refsect3"> 2056<a name="gst-video-event-parse-still-frame.parameters"></a><h4>Parameters</h4> 2057<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2058<colgroup> 2059<col width="150px" class="parameters_name"> 2060<col class="parameters_description"> 2061<col width="200px" class="parameters_annotations"> 2062</colgroup> 2063<tbody> 2064<tr> 2065<td class="parameter_name"><p>event</p></td> 2066<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to parse</p></td> 2067<td class="parameter_annotations"> </td> 2068</tr> 2069<tr> 2070<td class="parameter_name"><p>in_still</p></td> 2071<td class="parameter_description"><p>A boolean to receive the still-frame status from the event, or NULL. </p></td> 2072<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> 2073</tr> 2074</tbody> 2075</table></div> 2076</div> 2077<div class="refsect3"> 2078<a name="gst-video-event-parse-still-frame.returns"></a><h4>Returns</h4> 2079<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid still-frame event. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</p> 2080</div> 2081</div> 2082<hr> 2083<div class="refsect2"> 2084<a name="gst-video-event-new-downstream-force-key-unit"></a><h3>gst_video_event_new_downstream_force_key_unit ()</h3> 2085<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> * 2086gst_video_event_new_downstream_force_key_unit 2087 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timestamp</code></em>, 2088 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> stream_time</code></em>, 2089 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> running_time</code></em>, 2090 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> all_headers</code></em>, 2091 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>);</pre> 2092<p>Creates a new downstream force key unit event. A downstream force key unit 2093event can be sent down the pipeline to request downstream elements to produce 2094a key unit. A downstream force key unit event must also be sent when handling 2095an upstream force key unit event to notify downstream that the latter has been 2096handled.</p> 2097<p>To parse an event created by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()"><code class="function">gst_video_event_new_downstream_force_key_unit()</code></a> use 2098<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-downstream-force-key-unit" title="gst_video_event_parse_downstream_force_key_unit ()"><code class="function">gst_video_event_parse_downstream_force_key_unit()</code></a>.</p> 2099<div class="refsect3"> 2100<a name="gst-video-event-new-downstream-force-key-unit.parameters"></a><h4>Parameters</h4> 2101<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2102<colgroup> 2103<col width="150px" class="parameters_name"> 2104<col class="parameters_description"> 2105<col width="200px" class="parameters_annotations"> 2106</colgroup> 2107<tbody> 2108<tr> 2109<td class="parameter_name"><p>timestamp</p></td> 2110<td class="parameter_description"><p>the timestamp of the buffer that starts a new key unit</p></td> 2111<td class="parameter_annotations"> </td> 2112</tr> 2113<tr> 2114<td class="parameter_name"><p>stream_time</p></td> 2115<td class="parameter_description"><p>the stream_time of the buffer that starts a new key unit</p></td> 2116<td class="parameter_annotations"> </td> 2117</tr> 2118<tr> 2119<td class="parameter_name"><p>running_time</p></td> 2120<td class="parameter_description"><p>the running_time of the buffer that starts a new key unit</p></td> 2121<td class="parameter_annotations"> </td> 2122</tr> 2123<tr> 2124<td class="parameter_name"><p>all_headers</p></td> 2125<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to produce headers when starting a new key unit</p></td> 2126<td class="parameter_annotations"> </td> 2127</tr> 2128<tr> 2129<td class="parameter_name"><p>count</p></td> 2130<td class="parameter_description"><p>integer that can be used to number key units</p></td> 2131<td class="parameter_annotations"> </td> 2132</tr> 2133</tbody> 2134</table></div> 2135</div> 2136<div class="refsect3"> 2137<a name="gst-video-event-new-downstream-force-key-unit.returns"></a><h4>Returns</h4> 2138<p> The new GstEvent</p> 2139</div> 2140</div> 2141<hr> 2142<div class="refsect2"> 2143<a name="gst-video-event-parse-downstream-force-key-unit"></a><h3>gst_video_event_parse_downstream_force_key_unit ()</h3> 2144<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 2145gst_video_event_parse_downstream_force_key_unit 2146 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>, 2147 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *timestamp</code></em>, 2148 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *stream_time</code></em>, 2149 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *running_time</code></em>, 2150 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *all_headers</code></em>, 2151 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *count</code></em>);</pre> 2152<p>Get timestamp, stream-time, running-time, all-headers and count in the force 2153key unit event. See <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()"><code class="function">gst_video_event_new_downstream_force_key_unit()</code></a> for a 2154full description of the downstream force key unit event.</p> 2155<p><em class="parameter"><code>running_time</code></em> 2156 will be adjusted for any pad offsets of pads it was passing through.</p> 2157<div class="refsect3"> 2158<a name="gst-video-event-parse-downstream-force-key-unit.parameters"></a><h4>Parameters</h4> 2159<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2160<colgroup> 2161<col width="150px" class="parameters_name"> 2162<col class="parameters_description"> 2163<col width="200px" class="parameters_annotations"> 2164</colgroup> 2165<tbody> 2166<tr> 2167<td class="parameter_name"><p>event</p></td> 2168<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to parse</p></td> 2169<td class="parameter_annotations"> </td> 2170</tr> 2171<tr> 2172<td class="parameter_name"><p>timestamp</p></td> 2173<td class="parameter_description"><p>A pointer to the timestamp in the event. </p></td> 2174<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> 2175</tr> 2176<tr> 2177<td class="parameter_name"><p>stream_time</p></td> 2178<td class="parameter_description"><p>A pointer to the stream-time in the event. </p></td> 2179<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> 2180</tr> 2181<tr> 2182<td class="parameter_name"><p>running_time</p></td> 2183<td class="parameter_description"><p>A pointer to the running-time in the event. </p></td> 2184<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> 2185</tr> 2186<tr> 2187<td class="parameter_name"><p>all_headers</p></td> 2188<td class="parameter_description"><p>A pointer to the all_headers flag in the event. </p></td> 2189<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> 2190</tr> 2191<tr> 2192<td class="parameter_name"><p>count</p></td> 2193<td class="parameter_description"><p>A pointer to the count field of the event. </p></td> 2194<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> 2195</tr> 2196</tbody> 2197</table></div> 2198</div> 2199<div class="refsect3"> 2200<a name="gst-video-event-parse-downstream-force-key-unit.returns"></a><h4>Returns</h4> 2201<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid downstream force key unit event.</p> 2202</div> 2203</div> 2204<hr> 2205<div class="refsect2"> 2206<a name="gst-video-event-new-upstream-force-key-unit"></a><h3>gst_video_event_new_upstream_force_key_unit ()</h3> 2207<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> * 2208gst_video_event_new_upstream_force_key_unit 2209 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> running_time</code></em>, 2210 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> all_headers</code></em>, 2211 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>);</pre> 2212<p>Creates a new upstream force key unit event. An upstream force key unit event 2213can be sent to request upstream elements to produce a key unit.</p> 2214<p><em class="parameter"><code>running_time</code></em> 2215 can be set to request a new key unit at a specific 2216running_time. If set to GST_CLOCK_TIME_NONE, upstream elements will produce a 2217new key unit as soon as possible.</p> 2218<p>To parse an event created by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()"><code class="function">gst_video_event_new_downstream_force_key_unit()</code></a> use 2219<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-downstream-force-key-unit" title="gst_video_event_parse_downstream_force_key_unit ()"><code class="function">gst_video_event_parse_downstream_force_key_unit()</code></a>.</p> 2220<div class="refsect3"> 2221<a name="gst-video-event-new-upstream-force-key-unit.parameters"></a><h4>Parameters</h4> 2222<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2223<colgroup> 2224<col width="150px" class="parameters_name"> 2225<col class="parameters_description"> 2226<col width="200px" class="parameters_annotations"> 2227</colgroup> 2228<tbody> 2229<tr> 2230<td class="parameter_name"><p>running_time</p></td> 2231<td class="parameter_description"><p>the running_time at which a new key unit should be produced</p></td> 2232<td class="parameter_annotations"> </td> 2233</tr> 2234<tr> 2235<td class="parameter_name"><p>all_headers</p></td> 2236<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to produce headers when starting a new key unit</p></td> 2237<td class="parameter_annotations"> </td> 2238</tr> 2239<tr> 2240<td class="parameter_name"><p>count</p></td> 2241<td class="parameter_description"><p>integer that can be used to number key units</p></td> 2242<td class="parameter_annotations"> </td> 2243</tr> 2244</tbody> 2245</table></div> 2246</div> 2247<div class="refsect3"> 2248<a name="gst-video-event-new-upstream-force-key-unit.returns"></a><h4>Returns</h4> 2249<p> The new GstEvent</p> 2250</div> 2251</div> 2252<hr> 2253<div class="refsect2"> 2254<a name="gst-video-event-parse-upstream-force-key-unit"></a><h3>gst_video_event_parse_upstream_force_key_unit ()</h3> 2255<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 2256gst_video_event_parse_upstream_force_key_unit 2257 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>, 2258 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *running_time</code></em>, 2259 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *all_headers</code></em>, 2260 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *count</code></em>);</pre> 2261<p>Get running-time, all-headers and count in the force key unit event. See 2262<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-upstream-force-key-unit" title="gst_video_event_new_upstream_force_key_unit ()"><code class="function">gst_video_event_new_upstream_force_key_unit()</code></a> for a full description of the 2263upstream force key unit event.</p> 2264<p>Create an upstream force key unit event using <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-upstream-force-key-unit" title="gst_video_event_new_upstream_force_key_unit ()"><code class="function">gst_video_event_new_upstream_force_key_unit()</code></a></p> 2265<p><em class="parameter"><code>running_time</code></em> 2266 will be adjusted for any pad offsets of pads it was passing through.</p> 2267<div class="refsect3"> 2268<a name="gst-video-event-parse-upstream-force-key-unit.parameters"></a><h4>Parameters</h4> 2269<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2270<colgroup> 2271<col width="150px" class="parameters_name"> 2272<col class="parameters_description"> 2273<col width="200px" class="parameters_annotations"> 2274</colgroup> 2275<tbody> 2276<tr> 2277<td class="parameter_name"><p>event</p></td> 2278<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to parse</p></td> 2279<td class="parameter_annotations"> </td> 2280</tr> 2281<tr> 2282<td class="parameter_name"><p>running_time</p></td> 2283<td class="parameter_description"><p>A pointer to the running_time in the event. </p></td> 2284<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> 2285</tr> 2286<tr> 2287<td class="parameter_name"><p>all_headers</p></td> 2288<td class="parameter_description"><p>A pointer to the all_headers flag in the event. </p></td> 2289<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> 2290</tr> 2291<tr> 2292<td class="parameter_name"><p>count</p></td> 2293<td class="parameter_description"><p>A pointer to the count field in the event. </p></td> 2294<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> 2295</tr> 2296</tbody> 2297</table></div> 2298</div> 2299<div class="refsect3"> 2300<a name="gst-video-event-parse-upstream-force-key-unit.returns"></a><h4>Returns</h4> 2301<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid upstream force-key-unit event. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</p> 2302</div> 2303</div> 2304<hr> 2305<div class="refsect2"> 2306<a name="gst-video-event-is-force-key-unit"></a><h3>gst_video_event_is_force_key_unit ()</h3> 2307<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 2308gst_video_event_is_force_key_unit (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>);</pre> 2309<p>Checks if an event is a force key unit event. Returns true for both upstream 2310and downstream force key unit events.</p> 2311<div class="refsect3"> 2312<a name="gst-video-event-is-force-key-unit.parameters"></a><h4>Parameters</h4> 2313<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2314<colgroup> 2315<col width="150px" class="parameters_name"> 2316<col class="parameters_description"> 2317<col width="200px" class="parameters_annotations"> 2318</colgroup> 2319<tbody><tr> 2320<td class="parameter_name"><p>event</p></td> 2321<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to check</p></td> 2322<td class="parameter_annotations"> </td> 2323</tr></tbody> 2324</table></div> 2325</div> 2326<div class="refsect3"> 2327<a name="gst-video-event-is-force-key-unit.returns"></a><h4>Returns</h4> 2328<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid force key unit event</p> 2329</div> 2330</div> 2331<hr> 2332<div class="refsect2"> 2333<a name="GstVideoFormatUnpack"></a><h3>GstVideoFormatUnpack ()</h3> 2334<pre class="programlisting"><span class="returnvalue">void</span> 2335<span class="c_punctuation">(</span>*GstVideoFormatUnpack<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *info</code></em>, 2336 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPackFlags" title="enum GstVideoPackFlags"><span class="type">GstVideoPackFlags</span></a> flags</code></em>, 2337 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dest</code></em>, 2338 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data[GST_VIDEO_MAX_PLANES]</code></em>, 2339 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stride[GST_VIDEO_MAX_PLANES]</code></em>, 2340 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, 2341 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>, 2342 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre> 2343<p>Unpacks <em class="parameter"><code>width</code></em> 2344 pixels from the given planes and strides containing data of 2345format <em class="parameter"><code>info</code></em> 2346. The pixels will be unpacked into <em class="parameter"><code>dest</code></em> 2347 with each component 2348interleaved as per <em class="parameter"><code>info</code></em> 2349's unpack_format, which will usually be one of 2350<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-ARGB:CAPS"><span class="type">GST_VIDEO_FORMAT_ARGB</span></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-AYUV:CAPS"><span class="type">GST_VIDEO_FORMAT_AYUV</span></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-ARGB64:CAPS"><span class="type">GST_VIDEO_FORMAT_ARGB64</span></a> or 2351<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-AYUV64:CAPS"><span class="type">GST_VIDEO_FORMAT_AYUV64</span></a> depending on the format to unpack. 2352<em class="parameter"><code>dest</code></em> 2353 should at least be big enough to hold <em class="parameter"><code>width</code></em> 2354 * bytes_per_pixel bytes 2355where bytes_per_pixel relates to the unpack format and will usually be 2356either 4 or 8 depending on the unpack format. bytes_per_pixel will be 2357the same as the pixel stride for plane 0 for the above formats.</p> 2358<p>For subsampled formats, the components will be duplicated in the destination 2359array. Reconstruction of the missing components can be performed in a 2360separate step after unpacking.</p> 2361<div class="refsect3"> 2362<a name="GstVideoFormatUnpack.parameters"></a><h4>Parameters</h4> 2363<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2364<colgroup> 2365<col width="150px" class="parameters_name"> 2366<col class="parameters_description"> 2367<col width="200px" class="parameters_annotations"> 2368</colgroup> 2369<tbody> 2370<tr> 2371<td class="parameter_name"><p>info</p></td> 2372<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 2373<td class="parameter_annotations"> </td> 2374</tr> 2375<tr> 2376<td class="parameter_name"><p>flags</p></td> 2377<td class="parameter_description"><p>flags to control the unpacking</p></td> 2378<td class="parameter_annotations"> </td> 2379</tr> 2380<tr> 2381<td class="parameter_name"><p>dest</p></td> 2382<td class="parameter_description"><p>a destination array</p></td> 2383<td class="parameter_annotations"> </td> 2384</tr> 2385<tr> 2386<td class="parameter_name"><p>data</p></td> 2387<td class="parameter_description"><p>pointers to the data planes</p></td> 2388<td class="parameter_annotations"> </td> 2389</tr> 2390<tr> 2391<td class="parameter_name"><p>stride</p></td> 2392<td class="parameter_description"><p>strides of the planes</p></td> 2393<td class="parameter_annotations"> </td> 2394</tr> 2395<tr> 2396<td class="parameter_name"><p>x</p></td> 2397<td class="parameter_description"><p>the x position in the image to start from</p></td> 2398<td class="parameter_annotations"> </td> 2399</tr> 2400<tr> 2401<td class="parameter_name"><p>y</p></td> 2402<td class="parameter_description"><p>the y position in the image to start from</p></td> 2403<td class="parameter_annotations"> </td> 2404</tr> 2405<tr> 2406<td class="parameter_name"><p>width</p></td> 2407<td class="parameter_description"><p>the amount of pixels to unpack.</p></td> 2408<td class="parameter_annotations"> </td> 2409</tr> 2410</tbody> 2411</table></div> 2412</div> 2413</div> 2414<hr> 2415<div class="refsect2"> 2416<a name="GstVideoFormatPack"></a><h3>GstVideoFormatPack ()</h3> 2417<pre class="programlisting"><span class="returnvalue">void</span> 2418<span class="c_punctuation">(</span>*GstVideoFormatPack<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *info</code></em>, 2419 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPackFlags" title="enum GstVideoPackFlags"><span class="type">GstVideoPackFlags</span></a> flags</code></em>, 2420 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> src</code></em>, 2421 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> sstride</code></em>, 2422 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data[GST_VIDEO_MAX_PLANES]</code></em>, 2423 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stride[GST_VIDEO_MAX_PLANES]</code></em>, 2424 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideoChroma.html#GstVideoChromaSite" title="enum GstVideoChromaSite"><span class="type">GstVideoChromaSite</span></a> chroma_site</code></em>, 2425 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>, 2426 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre> 2427<p>Packs <em class="parameter"><code>width</code></em> 2428 pixels from <em class="parameter"><code>src</code></em> 2429 to the given planes and strides in the 2430format <em class="parameter"><code>info</code></em> 2431. The pixels from source have each component interleaved 2432and will be packed into the planes in <em class="parameter"><code>data</code></em> 2433.</p> 2434<p>This function operates on pack_lines lines, meaning that <em class="parameter"><code>src</code></em> 2435 should 2436contain at least pack_lines lines with a stride of <em class="parameter"><code>sstride</code></em> 2437 and <em class="parameter"><code>y</code></em> 2438 2439should be a multiple of pack_lines.</p> 2440<p>Subsampled formats will use the horizontally and vertically cosited 2441component from the source. Subsampling should be performed before 2442packing.</p> 2443<p>Because this function does not have a x coordinate, it is not possible to 2444pack pixels starting from an unaligned position. For tiled images this 2445means that packing should start from a tile coordinate. For subsampled 2446formats this means that a complete pixel needs to be packed.</p> 2447<div class="refsect3"> 2448<a name="GstVideoFormatPack.parameters"></a><h4>Parameters</h4> 2449<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2450<colgroup> 2451<col width="150px" class="parameters_name"> 2452<col class="parameters_description"> 2453<col width="200px" class="parameters_annotations"> 2454</colgroup> 2455<tbody> 2456<tr> 2457<td class="parameter_name"><p>info</p></td> 2458<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 2459<td class="parameter_annotations"> </td> 2460</tr> 2461<tr> 2462<td class="parameter_name"><p>flags</p></td> 2463<td class="parameter_description"><p>flags to control the packing</p></td> 2464<td class="parameter_annotations"> </td> 2465</tr> 2466<tr> 2467<td class="parameter_name"><p>src</p></td> 2468<td class="parameter_description"><p>a source array</p></td> 2469<td class="parameter_annotations"> </td> 2470</tr> 2471<tr> 2472<td class="parameter_name"><p>sstride</p></td> 2473<td class="parameter_description"><p>the source array stride</p></td> 2474<td class="parameter_annotations"> </td> 2475</tr> 2476<tr> 2477<td class="parameter_name"><p>data</p></td> 2478<td class="parameter_description"><p>pointers to the destination data planes</p></td> 2479<td class="parameter_annotations"> </td> 2480</tr> 2481<tr> 2482<td class="parameter_name"><p>stride</p></td> 2483<td class="parameter_description"><p>strides of the destination planes</p></td> 2484<td class="parameter_annotations"> </td> 2485</tr> 2486<tr> 2487<td class="parameter_name"><p>chroma_site</p></td> 2488<td class="parameter_description"><p>the chroma siting of the target when subsampled (not used)</p></td> 2489<td class="parameter_annotations"> </td> 2490</tr> 2491<tr> 2492<td class="parameter_name"><p>y</p></td> 2493<td class="parameter_description"><p>the y position in the image to pack to</p></td> 2494<td class="parameter_annotations"> </td> 2495</tr> 2496<tr> 2497<td class="parameter_name"><p>width</p></td> 2498<td class="parameter_description"><p>the amount of pixels to pack.</p></td> 2499<td class="parameter_annotations"> </td> 2500</tr> 2501</tbody> 2502</table></div> 2503</div> 2504</div> 2505<hr> 2506<div class="refsect2"> 2507<a name="GST-VIDEO-FORMAT-INFO-FORMAT:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_FORMAT()</h3> 2508<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_FORMAT(info) ((info)->format) 2509</pre> 2510</div> 2511<hr> 2512<div class="refsect2"> 2513<a name="GST-VIDEO-FORMAT-INFO-NAME:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_NAME()</h3> 2514<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_NAME(info) ((info)->name) 2515</pre> 2516</div> 2517<hr> 2518<div class="refsect2"> 2519<a name="GST-VIDEO-FORMAT-INFO-FLAGS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_FLAGS()</h3> 2520<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_FLAGS(info) ((info)->flags) 2521</pre> 2522</div> 2523<hr> 2524<div class="refsect2"> 2525<a name="GST-VIDEO-FORMAT-INFO-IS-YUV:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_YUV()</h3> 2526<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_YUV(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_YUV) 2527</pre> 2528</div> 2529<hr> 2530<div class="refsect2"> 2531<a name="GST-VIDEO-FORMAT-INFO-IS-RGB:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_RGB()</h3> 2532<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_RGB(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_RGB) 2533</pre> 2534</div> 2535<hr> 2536<div class="refsect2"> 2537<a name="GST-VIDEO-FORMAT-INFO-IS-GRAY:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_GRAY()</h3> 2538<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_GRAY(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_GRAY) 2539</pre> 2540</div> 2541<hr> 2542<div class="refsect2"> 2543<a name="GST-VIDEO-FORMAT-INFO-HAS-ALPHA:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_HAS_ALPHA()</h3> 2544<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_HAS_ALPHA(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_ALPHA) 2545</pre> 2546</div> 2547<hr> 2548<div class="refsect2"> 2549<a name="GST-VIDEO-FORMAT-INFO-IS-LE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_LE()</h3> 2550<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_LE(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_LE) 2551</pre> 2552</div> 2553<hr> 2554<div class="refsect2"> 2555<a name="GST-VIDEO-FORMAT-INFO-HAS-PALETTE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_HAS_PALETTE()</h3> 2556<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_HAS_PALETTE(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_PALETTE) 2557</pre> 2558</div> 2559<hr> 2560<div class="refsect2"> 2561<a name="GST-VIDEO-FORMAT-INFO-IS-COMPLEX:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_COMPLEX()</h3> 2562<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_COMPLEX(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_COMPLEX) 2563</pre> 2564</div> 2565<hr> 2566<div class="refsect2"> 2567<a name="GST-VIDEO-FORMAT-INFO-BITS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_BITS()</h3> 2568<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_BITS(info) ((info)->bits) 2569</pre> 2570</div> 2571<hr> 2572<div class="refsect2"> 2573<a name="GST-VIDEO-FORMAT-INFO-N-COMPONENTS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_N_COMPONENTS()</h3> 2574<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_N_COMPONENTS(info) ((info)->n_components) 2575</pre> 2576</div> 2577<hr> 2578<div class="refsect2"> 2579<a name="GST-VIDEO-FORMAT-INFO-SHIFT:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_SHIFT()</h3> 2580<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_SHIFT(info,c) ((info)->shift[c]) 2581</pre> 2582</div> 2583<hr> 2584<div class="refsect2"> 2585<a name="GST-VIDEO-FORMAT-INFO-DEPTH:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_DEPTH()</h3> 2586<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_DEPTH(info,c) ((info)->depth[c]) 2587</pre> 2588</div> 2589<hr> 2590<div class="refsect2"> 2591<a name="GST-VIDEO-FORMAT-INFO-PSTRIDE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_PSTRIDE()</h3> 2592<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_PSTRIDE(info,c) ((info)->pixel_stride[c]) 2593</pre> 2594<p>pixel stride for the given component. This is the amount of bytes to the 2595pixel immediately to the right, so basically bytes from one pixel to the 2596next. When bits < 8, the stride is expressed in bits.</p> 2597<p>Examples: for 24-bit RGB, the pixel stride would be 3 bytes, while it 2598would be 4 bytes for RGBx or ARGB, and 8 bytes for ARGB64 or AYUV64. 2599For planar formats such as I420 the pixel stride is usually 1. For 2600YUY2 it would be 2 bytes.</p> 2601<div class="refsect3"> 2602<a name="GST-VIDEO-FORMAT-INFO-PSTRIDE.parameters"></a><h4>Parameters</h4> 2603<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2604<colgroup> 2605<col width="150px" class="parameters_name"> 2606<col class="parameters_description"> 2607<col width="200px" class="parameters_annotations"> 2608</colgroup> 2609<tbody> 2610<tr> 2611<td class="parameter_name"><p>info</p></td> 2612<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 2613<td class="parameter_annotations"> </td> 2614</tr> 2615<tr> 2616<td class="parameter_name"><p>c</p></td> 2617<td class="parameter_description"><p>the component index</p></td> 2618<td class="parameter_annotations"> </td> 2619</tr> 2620</tbody> 2621</table></div> 2622</div> 2623</div> 2624<hr> 2625<div class="refsect2"> 2626<a name="GST-VIDEO-FORMAT-INFO-N-PLANES:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_N_PLANES()</h3> 2627<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_N_PLANES(info) ((info)->n_planes) 2628</pre> 2629<p>Number of planes. This is the number of planes the pixel layout is 2630organized in in memory. The number of planes can be less than the 2631number of components (e.g. Y,U,V,A or R, G, B, A) when multiple 2632components are packed into one plane.</p> 2633<p>Examples: RGB/RGBx/RGBA: 1 plane, 3/3/4 components; 2634I420: 3 planes, 3 components; NV21/NV12: 2 planes, 3 components.</p> 2635<div class="refsect3"> 2636<a name="GST-VIDEO-FORMAT-INFO-N-PLANES.parameters"></a><h4>Parameters</h4> 2637<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2638<colgroup> 2639<col width="150px" class="parameters_name"> 2640<col class="parameters_description"> 2641<col width="200px" class="parameters_annotations"> 2642</colgroup> 2643<tbody><tr> 2644<td class="parameter_name"><p>info</p></td> 2645<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 2646<td class="parameter_annotations"> </td> 2647</tr></tbody> 2648</table></div> 2649</div> 2650</div> 2651<hr> 2652<div class="refsect2"> 2653<a name="GST-VIDEO-FORMAT-INFO-PLANE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_PLANE()</h3> 2654<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_PLANE(info,c) ((info)->plane[c]) 2655</pre> 2656<p>Plane number where the given component can be found. A plane may 2657contain data for multiple components.</p> 2658<div class="refsect3"> 2659<a name="GST-VIDEO-FORMAT-INFO-PLANE.parameters"></a><h4>Parameters</h4> 2660<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2661<colgroup> 2662<col width="150px" class="parameters_name"> 2663<col class="parameters_description"> 2664<col width="200px" class="parameters_annotations"> 2665</colgroup> 2666<tbody> 2667<tr> 2668<td class="parameter_name"><p>info</p></td> 2669<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 2670<td class="parameter_annotations"> </td> 2671</tr> 2672<tr> 2673<td class="parameter_name"><p>c</p></td> 2674<td class="parameter_description"><p>the component index</p></td> 2675<td class="parameter_annotations"> </td> 2676</tr> 2677</tbody> 2678</table></div> 2679</div> 2680</div> 2681<hr> 2682<div class="refsect2"> 2683<a name="GST-VIDEO-FORMAT-INFO-POFFSET:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_POFFSET()</h3> 2684<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_POFFSET(info,c) ((info)->poffset[c]) 2685</pre> 2686</div> 2687<hr> 2688<div class="refsect2"> 2689<a name="GST-VIDEO-FORMAT-INFO-W-SUB:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_W_SUB()</h3> 2690<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_W_SUB(info,c) ((info)->w_sub[c]) 2691</pre> 2692</div> 2693<hr> 2694<div class="refsect2"> 2695<a name="GST-VIDEO-FORMAT-INFO-H-SUB:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_H_SUB()</h3> 2696<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_H_SUB(info,c) ((info)->h_sub[c]) 2697</pre> 2698</div> 2699<hr> 2700<div class="refsect2"> 2701<a name="GST-VIDEO-SUB-SCALE:CAPS"></a><h3>GST_VIDEO_SUB_SCALE()</h3> 2702<pre class="programlisting">#define GST_VIDEO_SUB_SCALE(scale,val) (-((-((gint)(val)))>>(scale))) 2703</pre> 2704</div> 2705<hr> 2706<div class="refsect2"> 2707<a name="GST-VIDEO-FORMAT-INFO-SCALE-WIDTH:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_SCALE_WIDTH()</h3> 2708<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_SCALE_WIDTH(info,c,w) GST_VIDEO_SUB_SCALE ((info)->w_sub[c],(w)) 2709</pre> 2710</div> 2711<hr> 2712<div class="refsect2"> 2713<a name="GST-VIDEO-FORMAT-INFO-SCALE-HEIGHT:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT()</h3> 2714<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT(info,c,h) GST_VIDEO_SUB_SCALE ((info)->h_sub[c],(h)) 2715</pre> 2716</div> 2717<hr> 2718<div class="refsect2"> 2719<a name="GST-VIDEO-FORMAT-INFO-DATA:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_DATA()</h3> 2720<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_DATA(info,planes,comp)</pre> 2721</div> 2722<hr> 2723<div class="refsect2"> 2724<a name="GST-VIDEO-FORMAT-INFO-STRIDE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_STRIDE()</h3> 2725<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_STRIDE(info,strides,comp) ((strides)[(info)->plane[comp]]) 2726</pre> 2727<p>Row stride in bytes, that is number of bytes from the first pixel component 2728of a row to the first pixel component in the next row. This might include 2729some row padding (memory not actually used for anything, to make sure the 2730beginning of the next row is aligned in a particular way).</p> 2731<div class="refsect3"> 2732<a name="GST-VIDEO-FORMAT-INFO-STRIDE.parameters"></a><h4>Parameters</h4> 2733<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2734<colgroup> 2735<col width="150px" class="parameters_name"> 2736<col class="parameters_description"> 2737<col width="200px" class="parameters_annotations"> 2738</colgroup> 2739<tbody> 2740<tr> 2741<td class="parameter_name"><p>info</p></td> 2742<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 2743<td class="parameter_annotations"> </td> 2744</tr> 2745<tr> 2746<td class="parameter_name"><p>strides</p></td> 2747<td class="parameter_description"><p>an array of strides</p></td> 2748<td class="parameter_annotations"> </td> 2749</tr> 2750<tr> 2751<td class="parameter_name"><p>comp</p></td> 2752<td class="parameter_description"><p>the component index</p></td> 2753<td class="parameter_annotations"> </td> 2754</tr> 2755</tbody> 2756</table></div> 2757</div> 2758</div> 2759<hr> 2760<div class="refsect2"> 2761<a name="GST-VIDEO-FORMAT-INFO-OFFSET:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_OFFSET()</h3> 2762<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_OFFSET(info,offsets,comp)</pre> 2763</div> 2764<hr> 2765<div class="refsect2"> 2766<a name="GST-VIDEO-FORMAT-INFO-TILE-MODE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_TILE_MODE()</h3> 2767<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_TILE_MODE(info) ((info)->tile_mode) 2768</pre> 2769</div> 2770<hr> 2771<div class="refsect2"> 2772<a name="GST-VIDEO-FORMAT-INFO-TILE-WS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_TILE_WS()</h3> 2773<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_TILE_WS(info) ((info)->tile_ws) 2774</pre> 2775</div> 2776<hr> 2777<div class="refsect2"> 2778<a name="GST-VIDEO-FORMAT-INFO-TILE-HS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_TILE_HS()</h3> 2779<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_TILE_HS(info) ((info)->tile_hs) 2780</pre> 2781</div> 2782<hr> 2783<div class="refsect2"> 2784<a name="GST-VIDEO-FORMAT-INFO-IS-TILED:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_TILED()</h3> 2785<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_TILED(info) ((info)->flags & GST_VIDEO_FORMAT_FLAG_TILED) 2786</pre> 2787</div> 2788<hr> 2789<div class="refsect2"> 2790<a name="gst-video-format-from-masks"></a><h3>gst_video_format_from_masks ()</h3> 2791<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a> 2792gst_video_format_from_masks (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>, 2793 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> bpp</code></em>, 2794 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> endianness</code></em>, 2795 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> red_mask</code></em>, 2796 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> green_mask</code></em>, 2797 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blue_mask</code></em>, 2798 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> alpha_mask</code></em>);</pre> 2799<p>Find the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> for the given parameters.</p> 2800<div class="refsect3"> 2801<a name="gst-video-format-from-masks.parameters"></a><h4>Parameters</h4> 2802<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2803<colgroup> 2804<col width="150px" class="parameters_name"> 2805<col class="parameters_description"> 2806<col width="200px" class="parameters_annotations"> 2807</colgroup> 2808<tbody> 2809<tr> 2810<td class="parameter_name"><p>depth</p></td> 2811<td class="parameter_description"><p>the amount of bits used for a pixel</p></td> 2812<td class="parameter_annotations"> </td> 2813</tr> 2814<tr> 2815<td class="parameter_name"><p>bpp</p></td> 2816<td class="parameter_description"><p>the amount of bits used to store a pixel. This value is bigger than 2817<em class="parameter"><code>depth</code></em> 2818</p></td> 2819<td class="parameter_annotations"> </td> 2820</tr> 2821<tr> 2822<td class="parameter_name"><p>endianness</p></td> 2823<td class="parameter_description"><p>the endianness of the masks, <a href="/usr/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html#G-LITTLE-ENDIAN:CAPS"><span class="type">G_LITTLE_ENDIAN</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html#G-BIG-ENDIAN:CAPS"><span class="type">G_BIG_ENDIAN</span></a></p></td> 2824<td class="parameter_annotations"> </td> 2825</tr> 2826<tr> 2827<td class="parameter_name"><p>red_mask</p></td> 2828<td class="parameter_description"><p>the red mask</p></td> 2829<td class="parameter_annotations"> </td> 2830</tr> 2831<tr> 2832<td class="parameter_name"><p>green_mask</p></td> 2833<td class="parameter_description"><p>the green mask</p></td> 2834<td class="parameter_annotations"> </td> 2835</tr> 2836<tr> 2837<td class="parameter_name"><p>blue_mask</p></td> 2838<td class="parameter_description"><p>the blue mask</p></td> 2839<td class="parameter_annotations"> </td> 2840</tr> 2841<tr> 2842<td class="parameter_name"><p>alpha_mask</p></td> 2843<td class="parameter_description"><p>the alpha mask, or 0 if no alpha mask</p></td> 2844<td class="parameter_annotations"> </td> 2845</tr> 2846</tbody> 2847</table></div> 2848</div> 2849<div class="refsect3"> 2850<a name="gst-video-format-from-masks.returns"></a><h4>Returns</h4> 2851<p> a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> or GST_VIDEO_FORMAT_UNKNOWN when the parameters to 2852not specify a known format.</p> 2853</div> 2854</div> 2855<hr> 2856<div class="refsect2"> 2857<a name="gst-video-format-from-fourcc"></a><h3>gst_video_format_from_fourcc ()</h3> 2858<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a> 2859gst_video_format_from_fourcc (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> fourcc</code></em>);</pre> 2860<p>Converts a FOURCC value into the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a>. 2861If the FOURCC cannot be represented by <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a>, 2862<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-UNKNOWN:CAPS"><span class="type">GST_VIDEO_FORMAT_UNKNOWN</span></a> is returned.</p> 2863<div class="refsect3"> 2864<a name="gst-video-format-from-fourcc.parameters"></a><h4>Parameters</h4> 2865<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2866<colgroup> 2867<col width="150px" class="parameters_name"> 2868<col class="parameters_description"> 2869<col width="200px" class="parameters_annotations"> 2870</colgroup> 2871<tbody><tr> 2872<td class="parameter_name"><p>fourcc</p></td> 2873<td class="parameter_description"><p>a FOURCC value representing raw YUV video</p></td> 2874<td class="parameter_annotations"> </td> 2875</tr></tbody> 2876</table></div> 2877</div> 2878<div class="refsect3"> 2879<a name="gst-video-format-from-fourcc.returns"></a><h4>Returns</h4> 2880<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> describing the FOURCC value</p> 2881</div> 2882</div> 2883<hr> 2884<div class="refsect2"> 2885<a name="gst-video-format-to-fourcc"></a><h3>gst_video_format_to_fourcc ()</h3> 2886<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> 2887gst_video_format_to_fourcc (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>);</pre> 2888<p>Converts a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> value into the corresponding FOURCC. Only 2889a few YUV formats have corresponding FOURCC values. If <em class="parameter"><code>format</code></em> 2890 has 2891no corresponding FOURCC value, 0 is returned.</p> 2892<div class="refsect3"> 2893<a name="gst-video-format-to-fourcc.parameters"></a><h4>Parameters</h4> 2894<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2895<colgroup> 2896<col width="150px" class="parameters_name"> 2897<col class="parameters_description"> 2898<col width="200px" class="parameters_annotations"> 2899</colgroup> 2900<tbody><tr> 2901<td class="parameter_name"><p>format</p></td> 2902<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> video format</p></td> 2903<td class="parameter_annotations"> </td> 2904</tr></tbody> 2905</table></div> 2906</div> 2907<div class="refsect3"> 2908<a name="gst-video-format-to-fourcc.returns"></a><h4>Returns</h4> 2909<p> the FOURCC corresponding to <em class="parameter"><code>format</code></em> 2910</p> 2911</div> 2912</div> 2913<hr> 2914<div class="refsect2"> 2915<a name="gst-video-format-from-string"></a><h3>gst_video_format_from_string ()</h3> 2916<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a> 2917gst_video_format_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>);</pre> 2918<p>Convert the <em class="parameter"><code>format</code></em> 2919 string to its <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a>.</p> 2920<div class="refsect3"> 2921<a name="gst-video-format-from-string.parameters"></a><h4>Parameters</h4> 2922<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2923<colgroup> 2924<col width="150px" class="parameters_name"> 2925<col class="parameters_description"> 2926<col width="200px" class="parameters_annotations"> 2927</colgroup> 2928<tbody><tr> 2929<td class="parameter_name"><p>format</p></td> 2930<td class="parameter_description"><p>a format string</p></td> 2931<td class="parameter_annotations"> </td> 2932</tr></tbody> 2933</table></div> 2934</div> 2935<div class="refsect3"> 2936<a name="gst-video-format-from-string.returns"></a><h4>Returns</h4> 2937<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> for <em class="parameter"><code>format</code></em> 2938or GST_VIDEO_FORMAT_UNKNOWN when the 2939string is not a known format.</p> 2940</div> 2941</div> 2942<hr> 2943<div class="refsect2"> 2944<a name="gst-video-format-to-string"></a><h3>gst_video_format_to_string ()</h3> 2945<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 2946gst_video_format_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>);</pre> 2947<p>Returns a string containing a descriptive name for 2948the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> if there is one, or NULL otherwise.</p> 2949<div class="refsect3"> 2950<a name="gst-video-format-to-string.parameters"></a><h4>Parameters</h4> 2951<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2952<colgroup> 2953<col width="150px" class="parameters_name"> 2954<col class="parameters_description"> 2955<col width="200px" class="parameters_annotations"> 2956</colgroup> 2957<tbody><tr> 2958<td class="parameter_name"><p>format</p></td> 2959<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> video format</p></td> 2960<td class="parameter_annotations"> </td> 2961</tr></tbody> 2962</table></div> 2963</div> 2964<div class="refsect3"> 2965<a name="gst-video-format-to-string.returns"></a><h4>Returns</h4> 2966<p> the name corresponding to <em class="parameter"><code>format</code></em> 2967</p> 2968</div> 2969</div> 2970<hr> 2971<div class="refsect2"> 2972<a name="gst-video-format-get-palette"></a><h3>gst_video_format_get_palette ()</h3> 2973<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a> 2974gst_video_format_get_palette (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>, 2975 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *size</code></em>);</pre> 2976<p>Get the default palette of <em class="parameter"><code>format</code></em> 2977. This the palette used in the pack 2978function for paletted formats.</p> 2979<div class="refsect3"> 2980<a name="gst-video-format-get-palette.parameters"></a><h4>Parameters</h4> 2981<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2982<colgroup> 2983<col width="150px" class="parameters_name"> 2984<col class="parameters_description"> 2985<col width="200px" class="parameters_annotations"> 2986</colgroup> 2987<tbody> 2988<tr> 2989<td class="parameter_name"><p>format</p></td> 2990<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td> 2991<td class="parameter_annotations"> </td> 2992</tr> 2993<tr> 2994<td class="parameter_name"><p>size</p></td> 2995<td class="parameter_description"><p>size of the palette in bytes. </p></td> 2996<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> 2997</tr> 2998</tbody> 2999</table></div> 3000</div> 3001<div class="refsect3"> 3002<a name="gst-video-format-get-palette.returns"></a><h4>Returns</h4> 3003<p>the default palette of <em class="parameter"><code>format</code></em> 3004or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when 3005<em class="parameter"><code>format</code></em> 3006does not have a palette. </p> 3007<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p> 3008</div> 3009<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3010</div> 3011<hr> 3012<div class="refsect2"> 3013<a name="gst-video-format-get-info"></a><h3>gst_video_format_get_info ()</h3> 3014<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="returnvalue">GstVideoFormatInfo</span></a> * 3015gst_video_format_get_info (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>);</pre> 3016<p>Get the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> for <em class="parameter"><code>format</code></em> 3017</p> 3018<div class="refsect3"> 3019<a name="gst-video-format-get-info.parameters"></a><h4>Parameters</h4> 3020<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3021<colgroup> 3022<col width="150px" class="parameters_name"> 3023<col class="parameters_description"> 3024<col width="200px" class="parameters_annotations"> 3025</colgroup> 3026<tbody><tr> 3027<td class="parameter_name"><p>format</p></td> 3028<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td> 3029<td class="parameter_annotations"> </td> 3030</tr></tbody> 3031</table></div> 3032</div> 3033<div class="refsect3"> 3034<a name="gst-video-format-get-info.returns"></a><h4>Returns</h4> 3035<p> The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> for <em class="parameter"><code>format</code></em> 3036.</p> 3037</div> 3038</div> 3039<hr> 3040<div class="refsect2"> 3041<a name="GST-VIDEO-CAPS-MAKE:CAPS"></a><h3>GST_VIDEO_CAPS_MAKE()</h3> 3042<pre class="programlisting">#define GST_VIDEO_CAPS_MAKE(format)</pre> 3043<p>Generic caps string for video, for use in pad templates.</p> 3044<div class="refsect3"> 3045<a name="GST-VIDEO-CAPS-MAKE.parameters"></a><h4>Parameters</h4> 3046<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3047<colgroup> 3048<col width="150px" class="parameters_name"> 3049<col class="parameters_description"> 3050<col width="200px" class="parameters_annotations"> 3051</colgroup> 3052<tbody><tr> 3053<td class="parameter_name"><p>format</p></td> 3054<td class="parameter_description"><p>string format that describes the pixel layout, as string 3055(e.g. "I420", "RGB", "YV12", "YUY2", "AYUV", etc.)</p></td> 3056<td class="parameter_annotations"> </td> 3057</tr></tbody> 3058</table></div> 3059</div> 3060</div> 3061<hr> 3062<div class="refsect2"> 3063<a name="GST-VIDEO-CAPS-MAKE-WITH-FEATURES:CAPS"></a><h3>GST_VIDEO_CAPS_MAKE_WITH_FEATURES()</h3> 3064<pre class="programlisting">#define GST_VIDEO_CAPS_MAKE_WITH_FEATURES(features,format)</pre> 3065<p>Generic caps string for video, for use in pad templates.</p> 3066<div class="refsect3"> 3067<a name="GST-VIDEO-CAPS-MAKE-WITH-FEATURES.parameters"></a><h4>Parameters</h4> 3068<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3069<colgroup> 3070<col width="150px" class="parameters_name"> 3071<col class="parameters_description"> 3072<col width="200px" class="parameters_annotations"> 3073</colgroup> 3074<tbody> 3075<tr> 3076<td class="parameter_name"><p>format</p></td> 3077<td class="parameter_description"><p>string format that describes the pixel layout, as string 3078(e.g. "I420", "RGB", "YV12", "YUY2", "AYUV", etc.)</p></td> 3079<td class="parameter_annotations"> </td> 3080</tr> 3081<tr> 3082<td class="parameter_name"><p>features</p></td> 3083<td class="parameter_description"><p>Requires caps features as a string, e.g. 3084"memory:SystemMemory".</p></td> 3085<td class="parameter_annotations"> </td> 3086</tr> 3087</tbody> 3088</table></div> 3089</div> 3090<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3091</div> 3092<hr> 3093<div class="refsect2"> 3094<a name="gst-video-color-range-offsets"></a><h3>gst_video_color_range_offsets ()</h3> 3095<pre class="programlisting"><span class="returnvalue">void</span> 3096gst_video_color_range_offsets (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange"><span class="type">GstVideoColorRange</span></a> range</code></em>, 3097 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *info</code></em>, 3098 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset[GST_VIDEO_MAX_COMPONENTS]</code></em>, 3099 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scale[GST_VIDEO_MAX_COMPONENTS]</code></em>);</pre> 3100<p>Compute the offset and scale values for each component of <em class="parameter"><code>info</code></em> 3101. For each 3102component, (c[i] - offset[i]) / scale[i] will scale the component c[i] to the 3103range [0.0 .. 1.0].</p> 3104<p>The reverse operation (c[i] * scale[i]) + offset[i] can be used to convert 3105the component values in range [0.0 .. 1.0] back to their representation in 3106<em class="parameter"><code>info</code></em> 3107 and <em class="parameter"><code>range</code></em> 3108.</p> 3109<div class="refsect3"> 3110<a name="gst-video-color-range-offsets.parameters"></a><h4>Parameters</h4> 3111<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3112<colgroup> 3113<col width="150px" class="parameters_name"> 3114<col class="parameters_description"> 3115<col width="200px" class="parameters_annotations"> 3116</colgroup> 3117<tbody> 3118<tr> 3119<td class="parameter_name"><p>range</p></td> 3120<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange"><span class="type">GstVideoColorRange</span></a></p></td> 3121<td class="parameter_annotations"> </td> 3122</tr> 3123<tr> 3124<td class="parameter_name"><p>info</p></td> 3125<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td> 3126<td class="parameter_annotations"> </td> 3127</tr> 3128<tr> 3129<td class="parameter_name"><p>offset</p></td> 3130<td class="parameter_description"><p>output offsets. </p></td> 3131<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=4]</span></td> 3132</tr> 3133<tr> 3134<td class="parameter_name"><p>scale</p></td> 3135<td class="parameter_description"><p>output scale. </p></td> 3136<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=4]</span></td> 3137</tr> 3138</tbody> 3139</table></div> 3140</div> 3141</div> 3142<hr> 3143<div class="refsect2"> 3144<a name="gst-video-color-matrix-get-Kr-Kb"></a><h3>gst_video_color_matrix_get_Kr_Kb ()</h3> 3145<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3146gst_video_color_matrix_get_Kr_Kb (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix"><span class="type">GstVideoColorMatrix</span></a> matrix</code></em>, 3147 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *Kr</code></em>, 3148 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *Kb</code></em>);</pre> 3149<p>Get the coefficients used to convert between Y'PbPr and R'G'B' using <em class="parameter"><code>matrix</code></em> 3150.</p> 3151<p>When:</p> 3152<div class="informalexample"> 3153 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 3154 <tbody> 3155 <tr> 3156 <td class="listing_lines" align="right"><pre>1 31572</pre></td> 3158 <td class="listing_code"><pre class="programlisting"><span class="number">0.0</span> <span class="gtkdoc opt"><= [</span>Y<span class="string">',R'</span><span class="gtkdoc opt">,</span>G<span class="string">',B'</span><span class="gtkdoc opt">] <=</span> <span class="number">1.0</span><span class="gtkdoc opt">)</span> 3159<span class="gtkdoc opt">(-</span><span class="number">0.5</span> <span class="gtkdoc opt"><= [</span>Pb<span class="gtkdoc opt">,</span>Pr<span class="gtkdoc opt">] <=</span> <span class="number">0.5</span><span class="gtkdoc opt">)</span></pre></td> 3160 </tr> 3161 </tbody> 3162 </table> 3163</div> 3164 3165<p></p> 3166<p>the general conversion is given by:</p> 3167<div class="informalexample"> 3168 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 3169 <tbody> 3170 <tr> 3171 <td class="listing_lines" align="right"><pre>1 31722 31733</pre></td> 3174 <td class="listing_code"><pre class="programlisting">Y<span class="string">' = Kr*R'</span> <span class="gtkdoc opt">+ (</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)*</span>G<span class="string">' + Kb*B'</span> 3175Pb <span class="gtkdoc opt">= (</span>B<span class="string">'-Y'</span><span class="gtkdoc opt">)/(</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">))</span> 3176Pr <span class="gtkdoc opt">= (</span>R<span class="string">'-Y'</span><span class="gtkdoc opt">)/(</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">))</span></pre></td> 3177 </tr> 3178 </tbody> 3179 </table> 3180</div> 3181 3182<p></p> 3183<p>and the other way around:</p> 3184<div class="informalexample"> 3185 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 3186 <tbody> 3187 <tr> 3188 <td class="listing_lines" align="right"><pre>1 31892 31903</pre></td> 3191 <td class="listing_code"><pre class="programlisting">R<span class="string">' = Y'</span> <span class="gtkdoc opt">+</span> Cr<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">)</span> 3192G<span class="string">' = Y'</span> <span class="gtkdoc opt">-</span> Cb<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)*</span>Kb<span class="gtkdoc opt">/(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">) -</span> Cr<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">)*</span>Kr<span class="gtkdoc opt">/(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)</span> 3193B<span class="string">' = Y'</span> <span class="gtkdoc opt">+</span> Cb<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)</span></pre></td> 3194 </tr> 3195 </tbody> 3196 </table> 3197</div> 3198 3199<p></p> 3200<div class="refsect3"> 3201<a name="gst-video-color-matrix-get-Kr-Kb.parameters"></a><h4>Parameters</h4> 3202<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3203<colgroup> 3204<col width="150px" class="parameters_name"> 3205<col class="parameters_description"> 3206<col width="200px" class="parameters_annotations"> 3207</colgroup> 3208<tbody> 3209<tr> 3210<td class="parameter_name"><p>matrix</p></td> 3211<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix"><span class="type">GstVideoColorMatrix</span></a></p></td> 3212<td class="parameter_annotations"> </td> 3213</tr> 3214<tr> 3215<td class="parameter_name"><p>Kr</p></td> 3216<td class="parameter_description"><p>result red channel coefficient. </p></td> 3217<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> 3218</tr> 3219<tr> 3220<td class="parameter_name"><p>Kb</p></td> 3221<td class="parameter_description"><p>result blue channel coefficient. </p></td> 3222<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> 3223</tr> 3224</tbody> 3225</table></div> 3226</div> 3227<div class="refsect3"> 3228<a name="gst-video-color-matrix-get-Kr-Kb.returns"></a><h4>Returns</h4> 3229<p> TRUE if <em class="parameter"><code>matrix</code></em> 3230was a YUV color format and <em class="parameter"><code>Kr</code></em> 3231and <em class="parameter"><code>Kb</code></em> 3232contain valid 3233values.</p> 3234</div> 3235<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3236</div> 3237<hr> 3238<div class="refsect2"> 3239<a name="gst-video-color-transfer-decode"></a><h3>gst_video_color_transfer_decode ()</h3> 3240<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> 3241gst_video_color_transfer_decode (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a> func</code></em>, 3242 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> val</code></em>);</pre> 3243<p>Convert <em class="parameter"><code>val</code></em> 3244 to its gamma decoded value. This is the inverse operation of 3245<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-transfer-encode" title="gst_video_color_transfer_encode ()"><code class="function">gst_video_color_transfer_encode()</code></a></code></em> 3246.</p> 3247<p>For a non-linear value L' in the range [0..1], conversion to the linear 3248L is in general performed with a power function like:</p> 3249<div class="informalexample"> 3250 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 3251 <tbody> 3252 <tr> 3253 <td class="listing_lines" align="right"><pre>1</pre></td> 3254 <td class="listing_code"><pre class="programlisting">L <span class="gtkdoc opt">=</span> L<span class="string">' ^ gamma</span></pre></td> 3255 </tr> 3256 </tbody> 3257 </table> 3258</div> 3259 3260<p></p> 3261<p>Depending on <em class="parameter"><code>func</code></em> 3262, different formulas might be applied. Some formulas 3263encode a linear segment in the lower range.</p> 3264<div class="refsect3"> 3265<a name="gst-video-color-transfer-decode.parameters"></a><h4>Parameters</h4> 3266<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3267<colgroup> 3268<col width="150px" class="parameters_name"> 3269<col class="parameters_description"> 3270<col width="200px" class="parameters_annotations"> 3271</colgroup> 3272<tbody> 3273<tr> 3274<td class="parameter_name"><p>func</p></td> 3275<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a></p></td> 3276<td class="parameter_annotations"> </td> 3277</tr> 3278<tr> 3279<td class="parameter_name"><p>val</p></td> 3280<td class="parameter_description"><p>a value</p></td> 3281<td class="parameter_annotations"> </td> 3282</tr> 3283</tbody> 3284</table></div> 3285</div> 3286<div class="refsect3"> 3287<a name="gst-video-color-transfer-decode.returns"></a><h4>Returns</h4> 3288<p> the gamme decoded value of <em class="parameter"><code>val</code></em> 3289</p> 3290</div> 3291<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3292</div> 3293<hr> 3294<div class="refsect2"> 3295<a name="gst-video-color-transfer-encode"></a><h3>gst_video_color_transfer_encode ()</h3> 3296<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> 3297gst_video_color_transfer_encode (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a> func</code></em>, 3298 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> val</code></em>);</pre> 3299<p>Convert <em class="parameter"><code>val</code></em> 3300 to its gamma encoded value.</p> 3301<p>For a linear value L in the range [0..1], conversion to the non-linear 3302(gamma encoded) L' is in general performed with a power function like:</p> 3303<div class="informalexample"> 3304 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 3305 <tbody> 3306 <tr> 3307 <td class="listing_lines" align="right"><pre>1</pre></td> 3308 <td class="listing_code"><pre class="programlisting">L<span class="string">' = L ^ (1 / gamma)</span></pre></td> 3309 </tr> 3310 </tbody> 3311 </table> 3312</div> 3313 3314<p></p> 3315<p>Depending on <em class="parameter"><code>func</code></em> 3316, different formulas might be applied. Some formulas 3317encode a linear segment in the lower range.</p> 3318<div class="refsect3"> 3319<a name="gst-video-color-transfer-encode.parameters"></a><h4>Parameters</h4> 3320<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3321<colgroup> 3322<col width="150px" class="parameters_name"> 3323<col class="parameters_description"> 3324<col width="200px" class="parameters_annotations"> 3325</colgroup> 3326<tbody> 3327<tr> 3328<td class="parameter_name"><p>func</p></td> 3329<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a></p></td> 3330<td class="parameter_annotations"> </td> 3331</tr> 3332<tr> 3333<td class="parameter_name"><p>val</p></td> 3334<td class="parameter_description"><p>a value</p></td> 3335<td class="parameter_annotations"> </td> 3336</tr> 3337</tbody> 3338</table></div> 3339</div> 3340<div class="refsect3"> 3341<a name="gst-video-color-transfer-encode.returns"></a><h4>Returns</h4> 3342<p> the gamme encoded value of <em class="parameter"><code>val</code></em> 3343</p> 3344</div> 3345<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3346</div> 3347<hr> 3348<div class="refsect2"> 3349<a name="gst-video-color-primaries-get-info"></a><h3>gst_video_color_primaries_get_info ()</h3> 3350<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo"><span class="returnvalue">GstVideoColorPrimariesInfo</span></a> * 3351gst_video_color_primaries_get_info (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a> primaries</code></em>);</pre> 3352<p>Get information about the chromaticity coordinates of <em class="parameter"><code>primaries</code></em> 3353.</p> 3354<div class="refsect3"> 3355<a name="gst-video-color-primaries-get-info.parameters"></a><h4>Parameters</h4> 3356<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3357<colgroup> 3358<col width="150px" class="parameters_name"> 3359<col class="parameters_description"> 3360<col width="200px" class="parameters_annotations"> 3361</colgroup> 3362<tbody><tr> 3363<td class="parameter_name"><p>primaries</p></td> 3364<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a></p></td> 3365<td class="parameter_annotations"> </td> 3366</tr></tbody> 3367</table></div> 3368</div> 3369<div class="refsect3"> 3370<a name="gst-video-color-primaries-get-info.returns"></a><h4>Returns</h4> 3371<p> a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo"><span class="type">GstVideoColorPrimariesInfo</span></a> for <em class="parameter"><code>primaries</code></em> 3372.</p> 3373</div> 3374<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3375</div> 3376<hr> 3377<div class="refsect2"> 3378<a name="gst-video-colorimetry-matches"></a><h3>gst_video_colorimetry_matches ()</h3> 3379<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3380gst_video_colorimetry_matches (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>, 3381 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *color</code></em>);</pre> 3382<p>Check if the colorimetry information in <em class="parameter"><code>info</code></em> 3383 matches that of the 3384string <em class="parameter"><code>color</code></em> 3385.</p> 3386<div class="refsect3"> 3387<a name="gst-video-colorimetry-matches.parameters"></a><h4>Parameters</h4> 3388<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3389<colgroup> 3390<col width="150px" class="parameters_name"> 3391<col class="parameters_description"> 3392<col width="200px" class="parameters_annotations"> 3393</colgroup> 3394<tbody> 3395<tr> 3396<td class="parameter_name"><p>cinfo</p></td> 3397<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3398<td class="parameter_annotations"> </td> 3399</tr> 3400<tr> 3401<td class="parameter_name"><p>color</p></td> 3402<td class="parameter_description"><p>a colorimetry string</p></td> 3403<td class="parameter_annotations"> </td> 3404</tr> 3405</tbody> 3406</table></div> 3407</div> 3408<div class="refsect3"> 3409<a name="gst-video-colorimetry-matches.returns"></a><h4>Returns</h4> 3410<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>color</code></em> 3411conveys the same colorimetry info as the color 3412information in <em class="parameter"><code>info</code></em> 3413.</p> 3414</div> 3415</div> 3416<hr> 3417<div class="refsect2"> 3418<a name="gst-video-colorimetry-is-equal"></a><h3>gst_video_colorimetry_is_equal ()</h3> 3419<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3420gst_video_colorimetry_is_equal (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>, 3421 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *other</code></em>);</pre> 3422<p>Compare the 2 colorimetry sets for equality</p> 3423<div class="refsect3"> 3424<a name="gst-video-colorimetry-is-equal.parameters"></a><h4>Parameters</h4> 3425<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3426<colgroup> 3427<col width="150px" class="parameters_name"> 3428<col class="parameters_description"> 3429<col width="200px" class="parameters_annotations"> 3430</colgroup> 3431<tbody> 3432<tr> 3433<td class="parameter_name"><p>cinfo</p></td> 3434<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td> 3435<td class="parameter_annotations"> </td> 3436</tr> 3437<tr> 3438<td class="parameter_name"><p>other</p></td> 3439<td class="parameter_description"><p>another <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td> 3440<td class="parameter_annotations"> </td> 3441</tr> 3442</tbody> 3443</table></div> 3444</div> 3445<div class="refsect3"> 3446<a name="gst-video-colorimetry-is-equal.returns"></a><h4>Returns</h4> 3447<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>cinfo</code></em> 3448and <em class="parameter"><code>other</code></em> 3449are equal.</p> 3450</div> 3451<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3452</div> 3453<hr> 3454<div class="refsect2"> 3455<a name="gst-video-colorimetry-from-string"></a><h3>gst_video_colorimetry_from_string ()</h3> 3456<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3457gst_video_colorimetry_from_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>, 3458 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *color</code></em>);</pre> 3459<p>Parse the colorimetry string and update <em class="parameter"><code>cinfo</code></em> 3460 with the parsed 3461values.</p> 3462<div class="refsect3"> 3463<a name="gst-video-colorimetry-from-string.parameters"></a><h4>Parameters</h4> 3464<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3465<colgroup> 3466<col width="150px" class="parameters_name"> 3467<col class="parameters_description"> 3468<col width="200px" class="parameters_annotations"> 3469</colgroup> 3470<tbody> 3471<tr> 3472<td class="parameter_name"><p>cinfo</p></td> 3473<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td> 3474<td class="parameter_annotations"> </td> 3475</tr> 3476<tr> 3477<td class="parameter_name"><p>color</p></td> 3478<td class="parameter_description"><p>a colorimetry string</p></td> 3479<td class="parameter_annotations"> </td> 3480</tr> 3481</tbody> 3482</table></div> 3483</div> 3484<div class="refsect3"> 3485<a name="gst-video-colorimetry-from-string.returns"></a><h4>Returns</h4> 3486<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>color</code></em> 3487points to valid colorimetry info.</p> 3488</div> 3489</div> 3490<hr> 3491<div class="refsect2"> 3492<a name="gst-video-colorimetry-to-string"></a><h3>gst_video_colorimetry_to_string ()</h3> 3493<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 3494gst_video_colorimetry_to_string (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>);</pre> 3495<p>Make a string representation of <em class="parameter"><code>cinfo</code></em> 3496.</p> 3497<div class="refsect3"> 3498<a name="gst-video-colorimetry-to-string.parameters"></a><h4>Parameters</h4> 3499<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3500<colgroup> 3501<col width="150px" class="parameters_name"> 3502<col class="parameters_description"> 3503<col width="200px" class="parameters_annotations"> 3504</colgroup> 3505<tbody><tr> 3506<td class="parameter_name"><p>cinfo</p></td> 3507<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td> 3508<td class="parameter_annotations"> </td> 3509</tr></tbody> 3510</table></div> 3511</div> 3512<div class="refsect3"> 3513<a name="gst-video-colorimetry-to-string.returns"></a><h4>Returns</h4> 3514<p> a string representation of <em class="parameter"><code>cinfo</code></em> 3515.</p> 3516</div> 3517</div> 3518<hr> 3519<div class="refsect2"> 3520<a name="GST-VIDEO-INFO-FORMAT:CAPS"></a><h3>GST_VIDEO_INFO_FORMAT()</h3> 3521<pre class="programlisting">#define GST_VIDEO_INFO_FORMAT(i) (GST_VIDEO_FORMAT_INFO_FORMAT((i)->finfo)) 3522</pre> 3523</div> 3524<hr> 3525<div class="refsect2"> 3526<a name="GST-VIDEO-INFO-NAME:CAPS"></a><h3>GST_VIDEO_INFO_NAME()</h3> 3527<pre class="programlisting">#define GST_VIDEO_INFO_NAME(i) (GST_VIDEO_FORMAT_INFO_NAME((i)->finfo)) 3528</pre> 3529</div> 3530<hr> 3531<div class="refsect2"> 3532<a name="GST-VIDEO-INFO-IS-YUV:CAPS"></a><h3>GST_VIDEO_INFO_IS_YUV()</h3> 3533<pre class="programlisting">#define GST_VIDEO_INFO_IS_YUV(i) (GST_VIDEO_FORMAT_INFO_IS_YUV((i)->finfo)) 3534</pre> 3535</div> 3536<hr> 3537<div class="refsect2"> 3538<a name="GST-VIDEO-INFO-IS-RGB:CAPS"></a><h3>GST_VIDEO_INFO_IS_RGB()</h3> 3539<pre class="programlisting">#define GST_VIDEO_INFO_IS_RGB(i) (GST_VIDEO_FORMAT_INFO_IS_RGB((i)->finfo)) 3540</pre> 3541</div> 3542<hr> 3543<div class="refsect2"> 3544<a name="GST-VIDEO-INFO-IS-GRAY:CAPS"></a><h3>GST_VIDEO_INFO_IS_GRAY()</h3> 3545<pre class="programlisting">#define GST_VIDEO_INFO_IS_GRAY(i) (GST_VIDEO_FORMAT_INFO_IS_GRAY((i)->finfo)) 3546</pre> 3547</div> 3548<hr> 3549<div class="refsect2"> 3550<a name="GST-VIDEO-INFO-HAS-ALPHA:CAPS"></a><h3>GST_VIDEO_INFO_HAS_ALPHA()</h3> 3551<pre class="programlisting">#define GST_VIDEO_INFO_HAS_ALPHA(i) (GST_VIDEO_FORMAT_INFO_HAS_ALPHA((i)->finfo)) 3552</pre> 3553</div> 3554<hr> 3555<div class="refsect2"> 3556<a name="GST-VIDEO-INFO-INTERLACE-MODE:CAPS"></a><h3>GST_VIDEO_INFO_INTERLACE_MODE()</h3> 3557<pre class="programlisting">#define GST_VIDEO_INFO_INTERLACE_MODE(i) ((i)->interlace_mode) 3558</pre> 3559</div> 3560<hr> 3561<div class="refsect2"> 3562<a name="GST-VIDEO-INFO-IS-INTERLACED:CAPS"></a><h3>GST_VIDEO_INFO_IS_INTERLACED()</h3> 3563<pre class="programlisting">#define GST_VIDEO_INFO_IS_INTERLACED(i) ((i)->interlace_mode != GST_VIDEO_INTERLACE_MODE_PROGRESSIVE) 3564</pre> 3565</div> 3566<hr> 3567<div class="refsect2"> 3568<a name="GST-VIDEO-INFO-FIELD-HEIGHT:CAPS"></a><h3>GST_VIDEO_INFO_FIELD_HEIGHT()</h3> 3569<pre class="programlisting">#define GST_VIDEO_INFO_FIELD_HEIGHT(i) ((i)->interlace_mode == GST_VIDEO_INTERLACE_MODE_ALTERNATE? (i)->height / 2 : (i)->height) 3570</pre> 3571<p>The height of a field. It's the height of the full frame unless split-field 3572(alternate) interlacing is in use.</p> 3573<p class="since">Since: 1.16.</p> 3574</div> 3575<hr> 3576<div class="refsect2"> 3577<a name="GST-VIDEO-INFO-FIELD-ORDER:CAPS"></a><h3>GST_VIDEO_INFO_FIELD_ORDER()</h3> 3578<pre class="programlisting">#define GST_VIDEO_INFO_FIELD_ORDER(i) ((i)->ABI.abi.field_order) 3579</pre> 3580</div> 3581<hr> 3582<div class="refsect2"> 3583<a name="GST-VIDEO-INFO-FIELD-RATE-N:CAPS"></a><h3>GST_VIDEO_INFO_FIELD_RATE_N()</h3> 3584<pre class="programlisting">#define GST_VIDEO_INFO_FIELD_RATE_N(i)</pre> 3585</div> 3586<hr> 3587<div class="refsect2"> 3588<a name="GST-VIDEO-INFO-FLAGS:CAPS"></a><h3>GST_VIDEO_INFO_FLAGS()</h3> 3589<pre class="programlisting">#define GST_VIDEO_INFO_FLAGS(i) ((i)->flags) 3590</pre> 3591</div> 3592<hr> 3593<div class="refsect2"> 3594<a name="GST-VIDEO-INFO-WIDTH:CAPS"></a><h3>GST_VIDEO_INFO_WIDTH()</h3> 3595<pre class="programlisting">#define GST_VIDEO_INFO_WIDTH(i) ((i)->width) 3596</pre> 3597</div> 3598<hr> 3599<div class="refsect2"> 3600<a name="GST-VIDEO-INFO-HEIGHT:CAPS"></a><h3>GST_VIDEO_INFO_HEIGHT()</h3> 3601<pre class="programlisting">#define GST_VIDEO_INFO_HEIGHT(i) ((i)->height) 3602</pre> 3603</div> 3604<hr> 3605<div class="refsect2"> 3606<a name="GST-VIDEO-INFO-SIZE:CAPS"></a><h3>GST_VIDEO_INFO_SIZE()</h3> 3607<pre class="programlisting">#define GST_VIDEO_INFO_SIZE(i) ((i)->size) 3608</pre> 3609</div> 3610<hr> 3611<div class="refsect2"> 3612<a name="GST-VIDEO-INFO-VIEWS:CAPS"></a><h3>GST_VIDEO_INFO_VIEWS()</h3> 3613<pre class="programlisting">#define GST_VIDEO_INFO_VIEWS(i) ((i)->views) 3614</pre> 3615</div> 3616<hr> 3617<div class="refsect2"> 3618<a name="GST-VIDEO-INFO-PAR-N:CAPS"></a><h3>GST_VIDEO_INFO_PAR_N()</h3> 3619<pre class="programlisting">#define GST_VIDEO_INFO_PAR_N(i) ((i)->par_n) 3620</pre> 3621</div> 3622<hr> 3623<div class="refsect2"> 3624<a name="GST-VIDEO-INFO-PAR-D:CAPS"></a><h3>GST_VIDEO_INFO_PAR_D()</h3> 3625<pre class="programlisting">#define GST_VIDEO_INFO_PAR_D(i) ((i)->par_d) 3626</pre> 3627</div> 3628<hr> 3629<div class="refsect2"> 3630<a name="GST-VIDEO-INFO-FPS-N:CAPS"></a><h3>GST_VIDEO_INFO_FPS_N()</h3> 3631<pre class="programlisting">#define GST_VIDEO_INFO_FPS_N(i) ((i)->fps_n) 3632</pre> 3633</div> 3634<hr> 3635<div class="refsect2"> 3636<a name="GST-VIDEO-INFO-FPS-D:CAPS"></a><h3>GST_VIDEO_INFO_FPS_D()</h3> 3637<pre class="programlisting">#define GST_VIDEO_INFO_FPS_D(i) ((i)->fps_d) 3638</pre> 3639</div> 3640<hr> 3641<div class="refsect2"> 3642<a name="GST-VIDEO-INFO-FLAG-IS-SET:CAPS"></a><h3>GST_VIDEO_INFO_FLAG_IS_SET()</h3> 3643<pre class="programlisting">#define GST_VIDEO_INFO_FLAG_IS_SET(i,flag) ((GST_VIDEO_INFO_FLAGS(i) & (flag)) == (flag)) 3644</pre> 3645</div> 3646<hr> 3647<div class="refsect2"> 3648<a name="GST-VIDEO-INFO-FLAG-SET:CAPS"></a><h3>GST_VIDEO_INFO_FLAG_SET()</h3> 3649<pre class="programlisting">#define GST_VIDEO_INFO_FLAG_SET(i,flag) (GST_VIDEO_INFO_FLAGS(i) |= (flag)) 3650</pre> 3651</div> 3652<hr> 3653<div class="refsect2"> 3654<a name="GST-VIDEO-INFO-FLAG-UNSET:CAPS"></a><h3>GST_VIDEO_INFO_FLAG_UNSET()</h3> 3655<pre class="programlisting">#define GST_VIDEO_INFO_FLAG_UNSET(i,flag) (GST_VIDEO_INFO_FLAGS(i) &= ~(flag)) 3656</pre> 3657</div> 3658<hr> 3659<div class="refsect2"> 3660<a name="GST-VIDEO-INFO-N-PLANES:CAPS"></a><h3>GST_VIDEO_INFO_N_PLANES()</h3> 3661<pre class="programlisting">#define GST_VIDEO_INFO_N_PLANES(i) (GST_VIDEO_FORMAT_INFO_N_PLANES((i)->finfo)) 3662</pre> 3663</div> 3664<hr> 3665<div class="refsect2"> 3666<a name="GST-VIDEO-INFO-PLANE-OFFSET:CAPS"></a><h3>GST_VIDEO_INFO_PLANE_OFFSET()</h3> 3667<pre class="programlisting">#define GST_VIDEO_INFO_PLANE_OFFSET(i,p) ((i)->offset[p]) 3668</pre> 3669</div> 3670<hr> 3671<div class="refsect2"> 3672<a name="GST-VIDEO-INFO-PLANE-STRIDE:CAPS"></a><h3>GST_VIDEO_INFO_PLANE_STRIDE()</h3> 3673<pre class="programlisting">#define GST_VIDEO_INFO_PLANE_STRIDE(i,p) ((i)->stride[p]) 3674</pre> 3675</div> 3676<hr> 3677<div class="refsect2"> 3678<a name="GST-VIDEO-INFO-N-COMPONENTS:CAPS"></a><h3>GST_VIDEO_INFO_N_COMPONENTS()</h3> 3679<pre class="programlisting">#define GST_VIDEO_INFO_N_COMPONENTS(i) GST_VIDEO_FORMAT_INFO_N_COMPONENTS((i)->finfo) 3680</pre> 3681</div> 3682<hr> 3683<div class="refsect2"> 3684<a name="GST-VIDEO-INFO-COMP-DEPTH:CAPS"></a><h3>GST_VIDEO_INFO_COMP_DEPTH()</h3> 3685<pre class="programlisting">#define GST_VIDEO_INFO_COMP_DEPTH(i,c) GST_VIDEO_FORMAT_INFO_DEPTH((i)->finfo,(c)) 3686</pre> 3687</div> 3688<hr> 3689<div class="refsect2"> 3690<a name="GST-VIDEO-INFO-COMP-DATA:CAPS"></a><h3>GST_VIDEO_INFO_COMP_DATA()</h3> 3691<pre class="programlisting">#define GST_VIDEO_INFO_COMP_DATA(i,d,c) GST_VIDEO_FORMAT_INFO_DATA((i)->finfo,d,(c)) 3692</pre> 3693</div> 3694<hr> 3695<div class="refsect2"> 3696<a name="GST-VIDEO-INFO-COMP-OFFSET:CAPS"></a><h3>GST_VIDEO_INFO_COMP_OFFSET()</h3> 3697<pre class="programlisting">#define GST_VIDEO_INFO_COMP_OFFSET(i,c) GST_VIDEO_FORMAT_INFO_OFFSET((i)->finfo,(i)->offset,(c)) 3698</pre> 3699</div> 3700<hr> 3701<div class="refsect2"> 3702<a name="GST-VIDEO-INFO-COMP-STRIDE:CAPS"></a><h3>GST_VIDEO_INFO_COMP_STRIDE()</h3> 3703<pre class="programlisting">#define GST_VIDEO_INFO_COMP_STRIDE(i,c) GST_VIDEO_FORMAT_INFO_STRIDE((i)->finfo,(i)->stride,(c)) 3704</pre> 3705</div> 3706<hr> 3707<div class="refsect2"> 3708<a name="GST-VIDEO-INFO-COMP-WIDTH:CAPS"></a><h3>GST_VIDEO_INFO_COMP_WIDTH()</h3> 3709<pre class="programlisting">#define GST_VIDEO_INFO_COMP_WIDTH(i,c) GST_VIDEO_FORMAT_INFO_SCALE_WIDTH((i)->finfo,(c),(i)->width) 3710</pre> 3711</div> 3712<hr> 3713<div class="refsect2"> 3714<a name="GST-VIDEO-INFO-COMP-HEIGHT:CAPS"></a><h3>GST_VIDEO_INFO_COMP_HEIGHT()</h3> 3715<pre class="programlisting">#define GST_VIDEO_INFO_COMP_HEIGHT(i,c) GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT((i)->finfo,(c),GST_VIDEO_INFO_FIELD_HEIGHT(i)) 3716</pre> 3717</div> 3718<hr> 3719<div class="refsect2"> 3720<a name="GST-VIDEO-INFO-COMP-PLANE:CAPS"></a><h3>GST_VIDEO_INFO_COMP_PLANE()</h3> 3721<pre class="programlisting">#define GST_VIDEO_INFO_COMP_PLANE(i,c) GST_VIDEO_FORMAT_INFO_PLANE((i)->finfo,(c)) 3722</pre> 3723</div> 3724<hr> 3725<div class="refsect2"> 3726<a name="GST-VIDEO-INFO-COMP-PSTRIDE:CAPS"></a><h3>GST_VIDEO_INFO_COMP_PSTRIDE()</h3> 3727<pre class="programlisting">#define GST_VIDEO_INFO_COMP_PSTRIDE(i,c) GST_VIDEO_FORMAT_INFO_PSTRIDE((i)->finfo,(c)) 3728</pre> 3729</div> 3730<hr> 3731<div class="refsect2"> 3732<a name="GST-VIDEO-INFO-COMP-POFFSET:CAPS"></a><h3>GST_VIDEO_INFO_COMP_POFFSET()</h3> 3733<pre class="programlisting">#define GST_VIDEO_INFO_COMP_POFFSET(i,c) GST_VIDEO_FORMAT_INFO_POFFSET((i)->finfo,(c)) 3734</pre> 3735</div> 3736<hr> 3737<div class="refsect2"> 3738<a name="GST-VIDEO-INFO-CHROMA-SITE:CAPS"></a><h3>GST_VIDEO_INFO_CHROMA_SITE()</h3> 3739<pre class="programlisting">#define GST_VIDEO_INFO_CHROMA_SITE(i) ((i)->chroma_site) 3740</pre> 3741</div> 3742<hr> 3743<div class="refsect2"> 3744<a name="GST-VIDEO-INFO-COLORIMETRY:CAPS"></a><h3>GST_VIDEO_INFO_COLORIMETRY()</h3> 3745<pre class="programlisting">#define GST_VIDEO_INFO_COLORIMETRY(i) ((i)->colorimetry) 3746</pre> 3747</div> 3748<hr> 3749<div class="refsect2"> 3750<a name="GST-VIDEO-INFO-MULTIVIEW-FLAGS:CAPS"></a><h3>GST_VIDEO_INFO_MULTIVIEW_FLAGS()</h3> 3751<pre class="programlisting">#define GST_VIDEO_INFO_MULTIVIEW_FLAGS(i) ((i)->ABI.abi.multiview_flags) 3752</pre> 3753</div> 3754<hr> 3755<div class="refsect2"> 3756<a name="GST-VIDEO-INFO-MULTIVIEW-MODE:CAPS"></a><h3>GST_VIDEO_INFO_MULTIVIEW_MODE()</h3> 3757<pre class="programlisting">#define GST_VIDEO_INFO_MULTIVIEW_MODE(i) ((i)->ABI.abi.multiview_mode) 3758</pre> 3759</div> 3760<hr> 3761<div class="refsect2"> 3762<a name="gst-video-info-init"></a><h3>gst_video_info_init ()</h3> 3763<pre class="programlisting"><span class="returnvalue">void</span> 3764gst_video_info_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre> 3765<p>Initialize <em class="parameter"><code>info</code></em> 3766 with default values.</p> 3767<div class="refsect3"> 3768<a name="gst-video-info-init.parameters"></a><h4>Parameters</h4> 3769<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3770<colgroup> 3771<col width="150px" class="parameters_name"> 3772<col class="parameters_description"> 3773<col width="200px" class="parameters_annotations"> 3774</colgroup> 3775<tbody><tr> 3776<td class="parameter_name"><p>info</p></td> 3777<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3778<td class="parameter_annotations"> </td> 3779</tr></tbody> 3780</table></div> 3781</div> 3782</div> 3783<hr> 3784<div class="refsect2"> 3785<a name="gst-video-info-new"></a><h3>gst_video_info_new ()</h3> 3786<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> * 3787gst_video_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 3788<p>Allocate a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> that is also initialized with 3789<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-init" title="gst_video_info_init ()"><code class="function">gst_video_info_init()</code></a>.</p> 3790<div class="refsect3"> 3791<a name="gst-video-info-new.returns"></a><h4>Returns</h4> 3792<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a>. free with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-free" title="gst_video_info_free ()"><code class="function">gst_video_info_free()</code></a>.</p> 3793</div> 3794<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3795</div> 3796<hr> 3797<div class="refsect2"> 3798<a name="gst-video-info-copy"></a><h3>gst_video_info_copy ()</h3> 3799<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> * 3800gst_video_info_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre> 3801<p>Copy a GstVideoInfo structure.</p> 3802<div class="refsect3"> 3803<a name="gst-video-info-copy.parameters"></a><h4>Parameters</h4> 3804<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3805<colgroup> 3806<col width="150px" class="parameters_name"> 3807<col class="parameters_description"> 3808<col width="200px" class="parameters_annotations"> 3809</colgroup> 3810<tbody><tr> 3811<td class="parameter_name"><p>info</p></td> 3812<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3813<td class="parameter_annotations"> </td> 3814</tr></tbody> 3815</table></div> 3816</div> 3817<div class="refsect3"> 3818<a name="gst-video-info-copy.returns"></a><h4>Returns</h4> 3819<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a>. free with gst_video_info_free.</p> 3820</div> 3821<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3822</div> 3823<hr> 3824<div class="refsect2"> 3825<a name="gst-video-info-free"></a><h3>gst_video_info_free ()</h3> 3826<pre class="programlisting"><span class="returnvalue">void</span> 3827gst_video_info_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre> 3828<p>Free a GstVideoInfo structure previously allocated with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-new" title="gst_video_info_new ()"><code class="function">gst_video_info_new()</code></a> 3829or <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-copy" title="gst_video_info_copy ()"><code class="function">gst_video_info_copy()</code></a>.</p> 3830<div class="refsect3"> 3831<a name="gst-video-info-free.parameters"></a><h4>Parameters</h4> 3832<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3833<colgroup> 3834<col width="150px" class="parameters_name"> 3835<col class="parameters_description"> 3836<col width="200px" class="parameters_annotations"> 3837</colgroup> 3838<tbody><tr> 3839<td class="parameter_name"><p>info</p></td> 3840<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3841<td class="parameter_annotations"> </td> 3842</tr></tbody> 3843</table></div> 3844</div> 3845<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 3846</div> 3847<hr> 3848<div class="refsect2"> 3849<a name="gst-video-info-set-format"></a><h3>gst_video_info_set_format ()</h3> 3850<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3851gst_video_info_set_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 3852 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>, 3853 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>, 3854 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre> 3855<p>Set the default info for a video frame of <em class="parameter"><code>format</code></em> 3856 and <em class="parameter"><code>width</code></em> 3857 and <em class="parameter"><code>height</code></em> 3858.</p> 3859<p>Note: This initializes <em class="parameter"><code>info</code></em> 3860 first, no values are preserved. This function 3861does not set the offsets correctly for interlaced vertically 3862subsampled formats.</p> 3863<div class="refsect3"> 3864<a name="gst-video-info-set-format.parameters"></a><h4>Parameters</h4> 3865<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3866<colgroup> 3867<col width="150px" class="parameters_name"> 3868<col class="parameters_description"> 3869<col width="200px" class="parameters_annotations"> 3870</colgroup> 3871<tbody> 3872<tr> 3873<td class="parameter_name"><p>info</p></td> 3874<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3875<td class="parameter_annotations"> </td> 3876</tr> 3877<tr> 3878<td class="parameter_name"><p>format</p></td> 3879<td class="parameter_description"><p>the format</p></td> 3880<td class="parameter_annotations"> </td> 3881</tr> 3882<tr> 3883<td class="parameter_name"><p>width</p></td> 3884<td class="parameter_description"><p>a width</p></td> 3885<td class="parameter_annotations"> </td> 3886</tr> 3887<tr> 3888<td class="parameter_name"><p>height</p></td> 3889<td class="parameter_description"><p>a height</p></td> 3890<td class="parameter_annotations"> </td> 3891</tr> 3892</tbody> 3893</table></div> 3894</div> 3895<div class="refsect3"> 3896<a name="gst-video-info-set-format.returns"></a><h4>Returns</h4> 3897<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the returned video info is invalid, e.g. because the 3898size of a frame can't be represented as a 32 bit integer (Since: 1.12)</p> 3899</div> 3900</div> 3901<hr> 3902<div class="refsect2"> 3903<a name="gst-video-info-set-interlaced-format"></a><h3>gst_video_info_set_interlaced_format ()</h3> 3904<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3905gst_video_info_set_interlaced_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 3906 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>, 3907 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> mode</code></em>, 3908 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>, 3909 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre> 3910<p>Same as <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-set-format" title="gst_video_info_set_format ()"><span class="type">gst_video_info_set_format</span></a> but also allowing to set the interlaced 3911mode.</p> 3912<div class="refsect3"> 3913<a name="gst-video-info-set-interlaced-format.parameters"></a><h4>Parameters</h4> 3914<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3915<colgroup> 3916<col width="150px" class="parameters_name"> 3917<col class="parameters_description"> 3918<col width="200px" class="parameters_annotations"> 3919</colgroup> 3920<tbody> 3921<tr> 3922<td class="parameter_name"><p>info</p></td> 3923<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3924<td class="parameter_annotations"> </td> 3925</tr> 3926<tr> 3927<td class="parameter_name"><p>format</p></td> 3928<td class="parameter_description"><p>the format</p></td> 3929<td class="parameter_annotations"> </td> 3930</tr> 3931<tr> 3932<td class="parameter_name"><p>mode</p></td> 3933<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a></p></td> 3934<td class="parameter_annotations"> </td> 3935</tr> 3936<tr> 3937<td class="parameter_name"><p>width</p></td> 3938<td class="parameter_description"><p>a width</p></td> 3939<td class="parameter_annotations"> </td> 3940</tr> 3941<tr> 3942<td class="parameter_name"><p>height</p></td> 3943<td class="parameter_description"><p>a height</p></td> 3944<td class="parameter_annotations"> </td> 3945</tr> 3946</tbody> 3947</table></div> 3948</div> 3949<div class="refsect3"> 3950<a name="gst-video-info-set-interlaced-format.returns"></a><h4>Returns</h4> 3951<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the returned video info is invalid, e.g. because the 3952size of a frame can't be represented as a 32 bit integer.</p> 3953</div> 3954<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p> 3955</div> 3956<hr> 3957<div class="refsect2"> 3958<a name="gst-video-info-from-caps"></a><h3>gst_video_info_from_caps ()</h3> 3959<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 3960gst_video_info_from_caps (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 3961 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>);</pre> 3962<p>Parse <em class="parameter"><code>caps</code></em> 3963 and update <em class="parameter"><code>info</code></em> 3964.</p> 3965<div class="refsect3"> 3966<a name="gst-video-info-from-caps.parameters"></a><h4>Parameters</h4> 3967<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3968<colgroup> 3969<col width="150px" class="parameters_name"> 3970<col class="parameters_description"> 3971<col width="200px" class="parameters_annotations"> 3972</colgroup> 3973<tbody> 3974<tr> 3975<td class="parameter_name"><p>info</p></td> 3976<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 3977<td class="parameter_annotations"> </td> 3978</tr> 3979<tr> 3980<td class="parameter_name"><p>caps</p></td> 3981<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td> 3982<td class="parameter_annotations"> </td> 3983</tr> 3984</tbody> 3985</table></div> 3986</div> 3987<div class="refsect3"> 3988<a name="gst-video-info-from-caps.returns"></a><h4>Returns</h4> 3989<p> TRUE if <em class="parameter"><code>caps</code></em> 3990could be parsed</p> 3991</div> 3992</div> 3993<hr> 3994<div class="refsect2"> 3995<a name="gst-video-info-to-caps"></a><h3>gst_video_info_to_caps ()</h3> 3996<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> * 3997gst_video_info_to_caps (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre> 3998<p>Convert the values of <em class="parameter"><code>info</code></em> 3999 into a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>.</p> 4000<div class="refsect3"> 4001<a name="gst-video-info-to-caps.parameters"></a><h4>Parameters</h4> 4002<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4003<colgroup> 4004<col width="150px" class="parameters_name"> 4005<col class="parameters_description"> 4006<col width="200px" class="parameters_annotations"> 4007</colgroup> 4008<tbody><tr> 4009<td class="parameter_name"><p>info</p></td> 4010<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4011<td class="parameter_annotations"> </td> 4012</tr></tbody> 4013</table></div> 4014</div> 4015<div class="refsect3"> 4016<a name="gst-video-info-to-caps.returns"></a><h4>Returns</h4> 4017<p> a new <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> containing the info of <em class="parameter"><code>info</code></em> 4018.</p> 4019</div> 4020</div> 4021<hr> 4022<div class="refsect2"> 4023<a name="gst-video-info-convert"></a><h3>gst_video_info_convert ()</h3> 4024<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4025gst_video_info_convert (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 4026 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> src_format</code></em>, 4027 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> src_value</code></em>, 4028 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> dest_format</code></em>, 4029 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *dest_value</code></em>);</pre> 4030<p>Converts among various <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> types. This function handles 4031GST_FORMAT_BYTES, GST_FORMAT_TIME, and GST_FORMAT_DEFAULT. For 4032raw video, GST_FORMAT_DEFAULT corresponds to video frames. This 4033function can be used to handle pad queries of the type GST_QUERY_CONVERT.</p> 4034<div class="refsect3"> 4035<a name="gst-video-info-convert.parameters"></a><h4>Parameters</h4> 4036<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4037<colgroup> 4038<col width="150px" class="parameters_name"> 4039<col class="parameters_description"> 4040<col width="200px" class="parameters_annotations"> 4041</colgroup> 4042<tbody> 4043<tr> 4044<td class="parameter_name"><p>info</p></td> 4045<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4046<td class="parameter_annotations"> </td> 4047</tr> 4048<tr> 4049<td class="parameter_name"><p>src_format</p></td> 4050<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> of the <em class="parameter"><code>src_value</code></em> 4051</p></td> 4052<td class="parameter_annotations"> </td> 4053</tr> 4054<tr> 4055<td class="parameter_name"><p>src_value</p></td> 4056<td class="parameter_description"><p>value to convert</p></td> 4057<td class="parameter_annotations"> </td> 4058</tr> 4059<tr> 4060<td class="parameter_name"><p>dest_format</p></td> 4061<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> of the <em class="parameter"><code>dest_value</code></em> 4062</p></td> 4063<td class="parameter_annotations"> </td> 4064</tr> 4065<tr> 4066<td class="parameter_name"><p>dest_value</p></td> 4067<td class="parameter_description"><p>pointer to destination value. </p></td> 4068<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> 4069</tr> 4070</tbody> 4071</table></div> 4072</div> 4073<div class="refsect3"> 4074<a name="gst-video-info-convert.returns"></a><h4>Returns</h4> 4075<p> TRUE if the conversion was successful.</p> 4076</div> 4077</div> 4078<hr> 4079<div class="refsect2"> 4080<a name="gst-video-info-is-equal"></a><h3>gst_video_info_is_equal ()</h3> 4081<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4082gst_video_info_is_equal (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 4083 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *other</code></em>);</pre> 4084<p>Compares two <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> and returns whether they are equal or not</p> 4085<div class="refsect3"> 4086<a name="gst-video-info-is-equal.parameters"></a><h4>Parameters</h4> 4087<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4088<colgroup> 4089<col width="150px" class="parameters_name"> 4090<col class="parameters_description"> 4091<col width="200px" class="parameters_annotations"> 4092</colgroup> 4093<tbody> 4094<tr> 4095<td class="parameter_name"><p>info</p></td> 4096<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4097<td class="parameter_annotations"> </td> 4098</tr> 4099<tr> 4100<td class="parameter_name"><p>other</p></td> 4101<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4102<td class="parameter_annotations"> </td> 4103</tr> 4104</tbody> 4105</table></div> 4106</div> 4107<div class="refsect3"> 4108<a name="gst-video-info-is-equal.returns"></a><h4>Returns</h4> 4109<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>info</code></em> 4110and <em class="parameter"><code>other</code></em> 4111are equal, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p> 4112</div> 4113</div> 4114<hr> 4115<div class="refsect2"> 4116<a name="gst-video-info-align"></a><h3>gst_video_info_align ()</h3> 4117<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4118gst_video_info_align (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 4119 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment"><span class="type">GstVideoAlignment</span></a> *align</code></em>);</pre> 4120<p>Adjust the offset and stride fields in <em class="parameter"><code>info</code></em> 4121 so that the padding and 4122stride alignment in <em class="parameter"><code>align</code></em> 4123 is respected.</p> 4124<p>Extra padding will be added to the right side when stride alignment padding 4125is required and <em class="parameter"><code>align</code></em> 4126 will be updated with the new padding values.</p> 4127<div class="refsect3"> 4128<a name="gst-video-info-align.parameters"></a><h4>Parameters</h4> 4129<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4130<colgroup> 4131<col width="150px" class="parameters_name"> 4132<col class="parameters_description"> 4133<col width="200px" class="parameters_annotations"> 4134</colgroup> 4135<tbody> 4136<tr> 4137<td class="parameter_name"><p>info</p></td> 4138<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4139<td class="parameter_annotations"> </td> 4140</tr> 4141<tr> 4142<td class="parameter_name"><p>align</p></td> 4143<td class="parameter_description"><p>alignment parameters</p></td> 4144<td class="parameter_annotations"> </td> 4145</tr> 4146</tbody> 4147</table></div> 4148</div> 4149<div class="refsect3"> 4150<a name="gst-video-info-align.returns"></a><h4>Returns</h4> 4151<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if alignment could not be applied, e.g. because the 4152size of a frame can't be represented as a 32 bit integer (Since: 1.12)</p> 4153</div> 4154</div> 4155<hr> 4156<div class="refsect2"> 4157<a name="gst-video-interlace-mode-from-string"></a><h3>gst_video_interlace_mode_from_string ()</h3> 4158<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="returnvalue">GstVideoInterlaceMode</span></a> 4159gst_video_interlace_mode_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mode</code></em>);</pre> 4160<p>Convert <em class="parameter"><code>mode</code></em> 4161 to a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a></p> 4162<div class="refsect3"> 4163<a name="gst-video-interlace-mode-from-string.parameters"></a><h4>Parameters</h4> 4164<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4165<colgroup> 4166<col width="150px" class="parameters_name"> 4167<col class="parameters_description"> 4168<col width="200px" class="parameters_annotations"> 4169</colgroup> 4170<tbody><tr> 4171<td class="parameter_name"><p>mode</p></td> 4172<td class="parameter_description"><p>a mode</p></td> 4173<td class="parameter_annotations"> </td> 4174</tr></tbody> 4175</table></div> 4176</div> 4177<div class="refsect3"> 4178<a name="gst-video-interlace-mode-from-string.returns"></a><h4>Returns</h4> 4179<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> of <em class="parameter"><code>mode</code></em> 4180or 4181<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INTERLACE-MODE-PROGRESSIVE:CAPS"><span class="type">GST_VIDEO_INTERLACE_MODE_PROGRESSIVE</span></a> when <em class="parameter"><code>mode</code></em> 4182is not a valid 4183string representation for a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a>.</p> 4184</div> 4185<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 4186</div> 4187<hr> 4188<div class="refsect2"> 4189<a name="gst-video-interlace-mode-to-string"></a><h3>gst_video_interlace_mode_to_string ()</h3> 4190<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4191gst_video_interlace_mode_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> mode</code></em>);</pre> 4192<p>Convert <em class="parameter"><code>mode</code></em> 4193 to its string representation.</p> 4194<div class="refsect3"> 4195<a name="gst-video-interlace-mode-to-string.parameters"></a><h4>Parameters</h4> 4196<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4197<colgroup> 4198<col width="150px" class="parameters_name"> 4199<col class="parameters_description"> 4200<col width="200px" class="parameters_annotations"> 4201</colgroup> 4202<tbody><tr> 4203<td class="parameter_name"><p>mode</p></td> 4204<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a></p></td> 4205<td class="parameter_annotations"> </td> 4206</tr></tbody> 4207</table></div> 4208</div> 4209<div class="refsect3"> 4210<a name="gst-video-interlace-mode-to-string.returns"></a><h4>Returns</h4> 4211<p> <em class="parameter"><code>mode</code></em> 4212as a string or NULL if <em class="parameter"><code>mode</code></em> 4213in invalid.</p> 4214</div> 4215<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 4216</div> 4217<hr> 4218<div class="refsect2"> 4219<a name="gst-video-field-order-from-string"></a><h3>gst_video_field_order_from_string ()</h3> 4220<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="returnvalue">GstVideoFieldOrder</span></a> 4221gst_video_field_order_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order</code></em>);</pre> 4222<p>Convert <em class="parameter"><code>order</code></em> 4223 to a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a></p> 4224<div class="refsect3"> 4225<a name="gst-video-field-order-from-string.parameters"></a><h4>Parameters</h4> 4226<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4227<colgroup> 4228<col width="150px" class="parameters_name"> 4229<col class="parameters_description"> 4230<col width="200px" class="parameters_annotations"> 4231</colgroup> 4232<tbody><tr> 4233<td class="parameter_name"><p>order</p></td> 4234<td class="parameter_description"><p>a field order</p></td> 4235<td class="parameter_annotations"> </td> 4236</tr></tbody> 4237</table></div> 4238</div> 4239<div class="refsect3"> 4240<a name="gst-video-field-order-from-string.returns"></a><h4>Returns</h4> 4241<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a> of <em class="parameter"><code>order</code></em> 4242or 4243<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FIELD-ORDER-UNKNOWN:CAPS"><span class="type">GST_VIDEO_FIELD_ORDER_UNKNOWN</span></a> when <em class="parameter"><code>order</code></em> 4244is not a valid 4245string representation for a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a>.</p> 4246</div> 4247<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 4248</div> 4249<hr> 4250<div class="refsect2"> 4251<a name="gst-video-field-order-to-string"></a><h3>gst_video_field_order_to_string ()</h3> 4252<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4253gst_video_field_order_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a> order</code></em>);</pre> 4254<p>Convert <em class="parameter"><code>order</code></em> 4255 to its string representation.</p> 4256<div class="refsect3"> 4257<a name="gst-video-field-order-to-string.parameters"></a><h4>Parameters</h4> 4258<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4259<colgroup> 4260<col width="150px" class="parameters_name"> 4261<col class="parameters_description"> 4262<col width="200px" class="parameters_annotations"> 4263</colgroup> 4264<tbody><tr> 4265<td class="parameter_name"><p>order</p></td> 4266<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a></p></td> 4267<td class="parameter_annotations"> </td> 4268</tr></tbody> 4269</table></div> 4270</div> 4271<div class="refsect3"> 4272<a name="gst-video-field-order-to-string.returns"></a><h4>Returns</h4> 4273<p> <em class="parameter"><code>order</code></em> 4274as a string or NULL if <em class="parameter"><code>order</code></em> 4275in invalid.</p> 4276</div> 4277<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 4278</div> 4279<hr> 4280<div class="refsect2"> 4281<a name="gst-video-frame-map-id"></a><h3>gst_video_frame_map_id ()</h3> 4282<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4283gst_video_frame_map_id (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>, 4284 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 4285 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *buffer</code></em>, 4286 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>, 4287 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a> flags</code></em>);</pre> 4288<p>Use <em class="parameter"><code>info</code></em> 4289 and <em class="parameter"><code>buffer</code></em> 4290 to fill in the values of <em class="parameter"><code>frame</code></em> 4291 with the video frame 4292information of frame <em class="parameter"><code>id</code></em> 4293.</p> 4294<p>When <em class="parameter"><code>id</code></em> 4295 is -1, the default frame is mapped. When <em class="parameter"><code>id</code></em> 4296 != -1, this function 4297will return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> when there is no GstVideoMeta with that id.</p> 4298<p>All video planes of <em class="parameter"><code>buffer</code></em> 4299 will be mapped and the pointers will be set in 4300<em class="parameter"><code>frame->data</code></em> 4301.</p> 4302<div class="refsect3"> 4303<a name="gst-video-frame-map-id.parameters"></a><h4>Parameters</h4> 4304<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4305<colgroup> 4306<col width="150px" class="parameters_name"> 4307<col class="parameters_description"> 4308<col width="200px" class="parameters_annotations"> 4309</colgroup> 4310<tbody> 4311<tr> 4312<td class="parameter_name"><p>frame</p></td> 4313<td class="parameter_description"><p>pointer to <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4314<td class="parameter_annotations"> </td> 4315</tr> 4316<tr> 4317<td class="parameter_name"><p>info</p></td> 4318<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4319<td class="parameter_annotations"> </td> 4320</tr> 4321<tr> 4322<td class="parameter_name"><p>buffer</p></td> 4323<td class="parameter_description"><p>the buffer to map</p></td> 4324<td class="parameter_annotations"> </td> 4325</tr> 4326<tr> 4327<td class="parameter_name"><p>id</p></td> 4328<td class="parameter_description"><p>the frame id to map</p></td> 4329<td class="parameter_annotations"> </td> 4330</tr> 4331<tr> 4332<td class="parameter_name"><p>flags</p></td> 4333<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a></p></td> 4334<td class="parameter_annotations"> </td> 4335</tr> 4336</tbody> 4337</table></div> 4338</div> 4339<div class="refsect3"> 4340<a name="gst-video-frame-map-id.returns"></a><h4>Returns</h4> 4341<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p> 4342</div> 4343</div> 4344<hr> 4345<div class="refsect2"> 4346<a name="gst-video-frame-map"></a><h3>gst_video_frame_map ()</h3> 4347<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4348gst_video_frame_map (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>, 4349 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 4350 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *buffer</code></em>, 4351 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a> flags</code></em>);</pre> 4352<p>Use <em class="parameter"><code>info</code></em> 4353 and <em class="parameter"><code>buffer</code></em> 4354 to fill in the values of <em class="parameter"><code>frame</code></em> 4355. <em class="parameter"><code>frame</code></em> 4356 is usually 4357allocated on the stack, and you will pass the address to the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> 4358structure allocated on the stack; <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a> will then fill in 4359the structures with the various video-specific information you need to access 4360the pixels of the video buffer. You can then use accessor macros such as 4361<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-DATA:CAPS" title="GST_VIDEO_FRAME_COMP_DATA()"><code class="function">GST_VIDEO_FRAME_COMP_DATA()</code></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-DATA:CAPS" title="GST_VIDEO_FRAME_PLANE_DATA()"><code class="function">GST_VIDEO_FRAME_PLANE_DATA()</code></a>, 4362<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-STRIDE:CAPS" title="GST_VIDEO_FRAME_COMP_STRIDE()"><code class="function">GST_VIDEO_FRAME_COMP_STRIDE()</code></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-STRIDE:CAPS" title="GST_VIDEO_FRAME_PLANE_STRIDE()"><code class="function">GST_VIDEO_FRAME_PLANE_STRIDE()</code></a> etc. 4363to get to the pixels.</p> 4364<div class="informalexample"> 4365 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 4366 <tbody> 4367 <tr> 4368 <td class="listing_lines" align="right"><pre>1 43692 43703 43714 43725 43736 43747 43758 43769 437710 437811 437912 438013 438114 438215 438316 438417 438518 438619</pre></td> 4387 <td class="listing_code"><pre class="programlisting">GstVideoFrame vframe<span class="gtkdoc opt">;</span> 4388<span class="gtkdoc opt">...</span> 4389<span class="gtkdoc slc">// set RGB pixels to black one at a time</span> 4390<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map">gst_video_frame_map</a></span> <span class="gtkdoc opt">(&</span>vframe<span class="gtkdoc opt">,</span> video_info<span class="gtkdoc opt">,</span> video_buffer<span class="gtkdoc opt">,</span> GST_MAP_WRITE<span class="gtkdoc opt">)) {</span> 4391 guint8 <span class="gtkdoc opt">*</span>pixels <span class="gtkdoc opt">=</span> <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-DATA:CAPS">GST_VIDEO_FRAME_PLANE_DATA</a></span> <span class="gtkdoc opt">(</span>vframe<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span> 4392 guint stride <span class="gtkdoc opt">=</span> <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-STRIDE:CAPS">GST_VIDEO_FRAME_PLANE_STRIDE</a></span> <span class="gtkdoc opt">(</span>vframe<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span> 4393 guint pixel_stride <span class="gtkdoc opt">=</span> <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-PSTRIDE:CAPS">GST_VIDEO_FRAME_COMP_PSTRIDE</a></span> <span class="gtkdoc opt">(</span>vframe<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span> 4394 4395 <span class="keyword">for</span> <span class="gtkdoc opt">(</span>h <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> h <span class="gtkdoc opt"><</span> height<span class="gtkdoc opt">; ++</span>h<span class="gtkdoc opt">) {</span> 4396 <span class="keyword">for</span> <span class="gtkdoc opt">(</span>w <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> w <span class="gtkdoc opt"><</span> width<span class="gtkdoc opt">; ++</span>w<span class="gtkdoc opt">) {</span> 4397 guint8 <span class="gtkdoc opt">*</span>pixel <span class="gtkdoc opt">=</span> pixels <span class="gtkdoc opt">+</span> h <span class="gtkdoc opt">*</span> stride <span class="gtkdoc opt">+</span> w <span class="gtkdoc opt">*</span> pixel_stride<span class="gtkdoc opt">;</span> 4398 4399 <span class="function">memset</span> <span class="gtkdoc opt">(</span>pixel<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> pixel_stride<span class="gtkdoc opt">);</span> 4400 <span class="gtkdoc opt">}</span> 4401 <span class="gtkdoc opt">}</span> 4402 4403 <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-unmap">gst_video_frame_unmap</a></span> <span class="gtkdoc opt">(&</span>vframe<span class="gtkdoc opt">);</span> 4404<span class="gtkdoc opt">}</span> 4405<span class="gtkdoc opt">...</span></pre></td> 4406 </tr> 4407 </tbody> 4408 </table> 4409</div> 4410 4411<p></p> 4412<p>All video planes of <em class="parameter"><code>buffer</code></em> 4413 will be mapped and the pointers will be set in 4414<em class="parameter"><code>frame->data</code></em> 4415.</p> 4416<p>The purpose of this function is to make it easy for you to get to the video 4417pixels in a generic way, without you having to worry too much about details 4418such as whether the video data is allocated in one contiguous memory chunk 4419or multiple memory chunks (e.g. one for each plane); or if custom strides 4420and custom plane offsets are used or not (as signalled by GstVideoMeta on 4421each buffer). This function will just fill the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> structure 4422with the right values and if you use the accessor macros everything will 4423just work and you can access the data easily. It also maps the underlying 4424memory chunks for you.</p> 4425<div class="refsect3"> 4426<a name="gst-video-frame-map.parameters"></a><h4>Parameters</h4> 4427<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4428<colgroup> 4429<col width="150px" class="parameters_name"> 4430<col class="parameters_description"> 4431<col width="200px" class="parameters_annotations"> 4432</colgroup> 4433<tbody> 4434<tr> 4435<td class="parameter_name"><p>frame</p></td> 4436<td class="parameter_description"><p>pointer to <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4437<td class="parameter_annotations"> </td> 4438</tr> 4439<tr> 4440<td class="parameter_name"><p>info</p></td> 4441<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 4442<td class="parameter_annotations"> </td> 4443</tr> 4444<tr> 4445<td class="parameter_name"><p>buffer</p></td> 4446<td class="parameter_description"><p>the buffer to map</p></td> 4447<td class="parameter_annotations"> </td> 4448</tr> 4449<tr> 4450<td class="parameter_name"><p>flags</p></td> 4451<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a></p></td> 4452<td class="parameter_annotations"> </td> 4453</tr> 4454</tbody> 4455</table></div> 4456</div> 4457<div class="refsect3"> 4458<a name="gst-video-frame-map.returns"></a><h4>Returns</h4> 4459<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p> 4460</div> 4461</div> 4462<hr> 4463<div class="refsect2"> 4464<a name="gst-video-frame-unmap"></a><h3>gst_video_frame_unmap ()</h3> 4465<pre class="programlisting"><span class="returnvalue">void</span> 4466gst_video_frame_unmap (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>);</pre> 4467<p>Unmap the memory previously mapped with gst_video_frame_map.</p> 4468<div class="refsect3"> 4469<a name="gst-video-frame-unmap.parameters"></a><h4>Parameters</h4> 4470<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4471<colgroup> 4472<col width="150px" class="parameters_name"> 4473<col class="parameters_description"> 4474<col width="200px" class="parameters_annotations"> 4475</colgroup> 4476<tbody><tr> 4477<td class="parameter_name"><p>frame</p></td> 4478<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4479<td class="parameter_annotations"> </td> 4480</tr></tbody> 4481</table></div> 4482</div> 4483</div> 4484<hr> 4485<div class="refsect2"> 4486<a name="gst-video-frame-copy"></a><h3>gst_video_frame_copy ()</h3> 4487<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4488gst_video_frame_copy (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>, 4489 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>);</pre> 4490<p>Copy the contents from <em class="parameter"><code>src</code></em> 4491 to <em class="parameter"><code>dest</code></em> 4492.</p> 4493<div class="refsect3"> 4494<a name="gst-video-frame-copy.parameters"></a><h4>Parameters</h4> 4495<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4496<colgroup> 4497<col width="150px" class="parameters_name"> 4498<col class="parameters_description"> 4499<col width="200px" class="parameters_annotations"> 4500</colgroup> 4501<tbody> 4502<tr> 4503<td class="parameter_name"><p>dest</p></td> 4504<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4505<td class="parameter_annotations"> </td> 4506</tr> 4507<tr> 4508<td class="parameter_name"><p>src</p></td> 4509<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4510<td class="parameter_annotations"> </td> 4511</tr> 4512</tbody> 4513</table></div> 4514</div> 4515<div class="refsect3"> 4516<a name="gst-video-frame-copy.returns"></a><h4>Returns</h4> 4517<p> TRUE if the contents could be copied.</p> 4518</div> 4519</div> 4520<hr> 4521<div class="refsect2"> 4522<a name="gst-video-frame-copy-plane"></a><h3>gst_video_frame_copy_plane ()</h3> 4523<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4524gst_video_frame_copy_plane (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>, 4525 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>, 4526 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> plane</code></em>);</pre> 4527<p>Copy the plane with index <em class="parameter"><code>plane</code></em> 4528 from <em class="parameter"><code>src</code></em> 4529 to <em class="parameter"><code>dest</code></em> 4530.</p> 4531<div class="refsect3"> 4532<a name="gst-video-frame-copy-plane.parameters"></a><h4>Parameters</h4> 4533<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4534<colgroup> 4535<col width="150px" class="parameters_name"> 4536<col class="parameters_description"> 4537<col width="200px" class="parameters_annotations"> 4538</colgroup> 4539<tbody> 4540<tr> 4541<td class="parameter_name"><p>dest</p></td> 4542<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4543<td class="parameter_annotations"> </td> 4544</tr> 4545<tr> 4546<td class="parameter_name"><p>src</p></td> 4547<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 4548<td class="parameter_annotations"> </td> 4549</tr> 4550<tr> 4551<td class="parameter_name"><p>plane</p></td> 4552<td class="parameter_description"><p>a plane</p></td> 4553<td class="parameter_annotations"> </td> 4554</tr> 4555</tbody> 4556</table></div> 4557</div> 4558<div class="refsect3"> 4559<a name="gst-video-frame-copy-plane.returns"></a><h4>Returns</h4> 4560<p> TRUE if the contents could be copied.</p> 4561</div> 4562</div> 4563<hr> 4564<div class="refsect2"> 4565<a name="GST-VIDEO-FRAME-FORMAT:CAPS"></a><h3>GST_VIDEO_FRAME_FORMAT()</h3> 4566<pre class="programlisting">#define GST_VIDEO_FRAME_FORMAT(f) (GST_VIDEO_INFO_FORMAT(&(f)->info)) 4567</pre> 4568</div> 4569<hr> 4570<div class="refsect2"> 4571<a name="GST-VIDEO-FRAME-WIDTH:CAPS"></a><h3>GST_VIDEO_FRAME_WIDTH()</h3> 4572<pre class="programlisting">#define GST_VIDEO_FRAME_WIDTH(f) (GST_VIDEO_INFO_WIDTH(&(f)->info)) 4573</pre> 4574</div> 4575<hr> 4576<div class="refsect2"> 4577<a name="GST-VIDEO-FRAME-HEIGHT:CAPS"></a><h3>GST_VIDEO_FRAME_HEIGHT()</h3> 4578<pre class="programlisting">#define GST_VIDEO_FRAME_HEIGHT(f) (GST_VIDEO_INFO_HEIGHT(&(f)->info)) 4579</pre> 4580</div> 4581<hr> 4582<div class="refsect2"> 4583<a name="GST-VIDEO-FRAME-SIZE:CAPS"></a><h3>GST_VIDEO_FRAME_SIZE()</h3> 4584<pre class="programlisting">#define GST_VIDEO_FRAME_SIZE(f) (GST_VIDEO_INFO_SIZE(&(f)->info)) 4585</pre> 4586</div> 4587<hr> 4588<div class="refsect2"> 4589<a name="GST-VIDEO-FRAME-FLAGS:CAPS"></a><h3>GST_VIDEO_FRAME_FLAGS()</h3> 4590<pre class="programlisting">#define GST_VIDEO_FRAME_FLAGS(f) ((f)->flags) 4591</pre> 4592</div> 4593<hr> 4594<div class="refsect2"> 4595<a name="GST-VIDEO-FRAME-FLAG-IS-SET:CAPS"></a><h3>GST_VIDEO_FRAME_FLAG_IS_SET()</h3> 4596<pre class="programlisting">#define GST_VIDEO_FRAME_FLAG_IS_SET(f,fl) ((GST_VIDEO_FRAME_FLAGS(f) & (fl)) == (fl)) 4597</pre> 4598</div> 4599<hr> 4600<div class="refsect2"> 4601<a name="GST-VIDEO-FRAME-IS-INTERLACED:CAPS"></a><h3>GST_VIDEO_FRAME_IS_INTERLACED()</h3> 4602<pre class="programlisting">#define GST_VIDEO_FRAME_IS_INTERLACED(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_INTERLACED)) 4603</pre> 4604</div> 4605<hr> 4606<div class="refsect2"> 4607<a name="GST-VIDEO-FRAME-IS-TFF:CAPS"></a><h3>GST_VIDEO_FRAME_IS_TFF()</h3> 4608<pre class="programlisting">#define GST_VIDEO_FRAME_IS_TFF(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_TFF)) 4609</pre> 4610</div> 4611<hr> 4612<div class="refsect2"> 4613<a name="GST-VIDEO-FRAME-IS-RFF:CAPS"></a><h3>GST_VIDEO_FRAME_IS_RFF()</h3> 4614<pre class="programlisting">#define GST_VIDEO_FRAME_IS_RFF(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_RFF)) 4615</pre> 4616</div> 4617<hr> 4618<div class="refsect2"> 4619<a name="GST-VIDEO-FRAME-IS-ONEFIELD:CAPS"></a><h3>GST_VIDEO_FRAME_IS_ONEFIELD()</h3> 4620<pre class="programlisting">#define GST_VIDEO_FRAME_IS_ONEFIELD(f) (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_ONEFIELD)) 4621</pre> 4622</div> 4623<hr> 4624<div class="refsect2"> 4625<a name="GST-VIDEO-FRAME-N-PLANES:CAPS"></a><h3>GST_VIDEO_FRAME_N_PLANES()</h3> 4626<pre class="programlisting">#define GST_VIDEO_FRAME_N_PLANES(f) (GST_VIDEO_INFO_N_PLANES(&(f)->info)) 4627</pre> 4628</div> 4629<hr> 4630<div class="refsect2"> 4631<a name="GST-VIDEO-FRAME-PLANE-DATA:CAPS"></a><h3>GST_VIDEO_FRAME_PLANE_DATA()</h3> 4632<pre class="programlisting">#define GST_VIDEO_FRAME_PLANE_DATA(f,p) ((f)->data[p]) 4633</pre> 4634</div> 4635<hr> 4636<div class="refsect2"> 4637<a name="GST-VIDEO-FRAME-PLANE-OFFSET:CAPS"></a><h3>GST_VIDEO_FRAME_PLANE_OFFSET()</h3> 4638<pre class="programlisting">#define GST_VIDEO_FRAME_PLANE_OFFSET(f,p) (GST_VIDEO_INFO_PLANE_OFFSET(&(f)->info,(p))) 4639</pre> 4640</div> 4641<hr> 4642<div class="refsect2"> 4643<a name="GST-VIDEO-FRAME-PLANE-STRIDE:CAPS"></a><h3>GST_VIDEO_FRAME_PLANE_STRIDE()</h3> 4644<pre class="programlisting">#define GST_VIDEO_FRAME_PLANE_STRIDE(f,p) (GST_VIDEO_INFO_PLANE_STRIDE(&(f)->info,(p))) 4645</pre> 4646</div> 4647<hr> 4648<div class="refsect2"> 4649<a name="GST-VIDEO-FRAME-N-COMPONENTS:CAPS"></a><h3>GST_VIDEO_FRAME_N_COMPONENTS()</h3> 4650<pre class="programlisting">#define GST_VIDEO_FRAME_N_COMPONENTS(f) GST_VIDEO_INFO_N_COMPONENTS(&(f)->info) 4651</pre> 4652</div> 4653<hr> 4654<div class="refsect2"> 4655<a name="GST-VIDEO-FRAME-COMP-DEPTH:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_DEPTH()</h3> 4656<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_DEPTH(f,c) GST_VIDEO_INFO_COMP_DEPTH(&(f)->info,(c)) 4657</pre> 4658</div> 4659<hr> 4660<div class="refsect2"> 4661<a name="GST-VIDEO-FRAME-COMP-DATA:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_DATA()</h3> 4662<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_DATA(f,c) GST_VIDEO_INFO_COMP_DATA(&(f)->info,(f)->data,(c)) 4663</pre> 4664</div> 4665<hr> 4666<div class="refsect2"> 4667<a name="GST-VIDEO-FRAME-COMP-STRIDE:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_STRIDE()</h3> 4668<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_STRIDE(f,c) GST_VIDEO_INFO_COMP_STRIDE(&(f)->info,(c)) 4669</pre> 4670</div> 4671<hr> 4672<div class="refsect2"> 4673<a name="GST-VIDEO-FRAME-COMP-OFFSET:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_OFFSET()</h3> 4674<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_OFFSET(f,c) GST_VIDEO_INFO_COMP_OFFSET(&(f)->info,(c)) 4675</pre> 4676</div> 4677<hr> 4678<div class="refsect2"> 4679<a name="GST-VIDEO-FRAME-COMP-WIDTH:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_WIDTH()</h3> 4680<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_WIDTH(f,c) GST_VIDEO_INFO_COMP_WIDTH(&(f)->info,(c)) 4681</pre> 4682</div> 4683<hr> 4684<div class="refsect2"> 4685<a name="GST-VIDEO-FRAME-COMP-HEIGHT:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_HEIGHT()</h3> 4686<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_HEIGHT(f,c) GST_VIDEO_INFO_COMP_HEIGHT(&(f)->info,(c)) 4687</pre> 4688</div> 4689<hr> 4690<div class="refsect2"> 4691<a name="GST-VIDEO-FRAME-COMP-PLANE:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_PLANE()</h3> 4692<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_PLANE(f,c) GST_VIDEO_INFO_COMP_PLANE(&(f)->info,(c)) 4693</pre> 4694</div> 4695<hr> 4696<div class="refsect2"> 4697<a name="GST-VIDEO-FRAME-COMP-PSTRIDE:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_PSTRIDE()</h3> 4698<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_PSTRIDE(f,c) GST_VIDEO_INFO_COMP_PSTRIDE(&(f)->info,(c)) 4699</pre> 4700</div> 4701<hr> 4702<div class="refsect2"> 4703<a name="GST-VIDEO-FRAME-COMP-POFFSET:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_POFFSET()</h3> 4704<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_POFFSET(f,c) GST_VIDEO_INFO_COMP_POFFSET(&(f)->info,(c)) 4705</pre> 4706</div> 4707<hr> 4708<div class="refsect2"> 4709<a name="gst-video-tile-get-index"></a><h3>gst_video_tile_get_index ()</h3> 4710<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 4711gst_video_tile_get_index (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode"><span class="type">GstVideoTileMode</span></a> mode</code></em>, 4712 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, 4713 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>, 4714 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_tiles</code></em>, 4715 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_tiles</code></em>);</pre> 4716<p>Get the tile index of the tile at coordinates <em class="parameter"><code>x</code></em> 4717 and <em class="parameter"><code>y</code></em> 4718 in the tiled 4719image of <em class="parameter"><code>x_tiles</code></em> 4720 by <em class="parameter"><code>y_tiles</code></em> 4721.</p> 4722<p>Use this method when <em class="parameter"><code>mode</code></em> 4723 is of type <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-TYPE-INDEXED:CAPS"><code class="literal">GST_VIDEO_TILE_TYPE_INDEXED</code></a>.</p> 4724<div class="refsect3"> 4725<a name="gst-video-tile-get-index.parameters"></a><h4>Parameters</h4> 4726<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4727<colgroup> 4728<col width="150px" class="parameters_name"> 4729<col class="parameters_description"> 4730<col width="200px" class="parameters_annotations"> 4731</colgroup> 4732<tbody> 4733<tr> 4734<td class="parameter_name"><p>mode</p></td> 4735<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode"><span class="type">GstVideoTileMode</span></a></p></td> 4736<td class="parameter_annotations"> </td> 4737</tr> 4738<tr> 4739<td class="parameter_name"><p>x</p></td> 4740<td class="parameter_description"><p>x coordinate</p></td> 4741<td class="parameter_annotations"> </td> 4742</tr> 4743<tr> 4744<td class="parameter_name"><p>y</p></td> 4745<td class="parameter_description"><p>y coordinate</p></td> 4746<td class="parameter_annotations"> </td> 4747</tr> 4748<tr> 4749<td class="parameter_name"><p>x_tiles</p></td> 4750<td class="parameter_description"><p>number of horizintal tiles</p></td> 4751<td class="parameter_annotations"> </td> 4752</tr> 4753<tr> 4754<td class="parameter_name"><p>y_tiles</p></td> 4755<td class="parameter_description"><p>number of vertical tiles</p></td> 4756<td class="parameter_annotations"> </td> 4757</tr> 4758</tbody> 4759</table></div> 4760</div> 4761<div class="refsect3"> 4762<a name="gst-video-tile-get-index.returns"></a><h4>Returns</h4> 4763<p> the index of the tile at <em class="parameter"><code>x</code></em> 4764and <em class="parameter"><code>y</code></em> 4765in the tiled image of 4766<em class="parameter"><code>x_tiles</code></em> 4767by <em class="parameter"><code>y_tiles</code></em> 4768.</p> 4769</div> 4770<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p> 4771</div> 4772<hr> 4773<div class="refsect2"> 4774<a name="GST-VIDEO-TILE-MAKE-MODE:CAPS"></a><h3>GST_VIDEO_TILE_MAKE_MODE()</h3> 4775<pre class="programlisting">#define GST_VIDEO_TILE_MAKE_MODE(num, type)</pre> 4776<p>use this macro to create new tile modes.</p> 4777<div class="refsect3"> 4778<a name="GST-VIDEO-TILE-MAKE-MODE.parameters"></a><h4>Parameters</h4> 4779<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4780<colgroup> 4781<col width="150px" class="parameters_name"> 4782<col class="parameters_description"> 4783<col width="200px" class="parameters_annotations"> 4784</colgroup> 4785<tbody> 4786<tr> 4787<td class="parameter_name"><p>num</p></td> 4788<td class="parameter_description"><p>the mode number to create</p></td> 4789<td class="parameter_annotations"> </td> 4790</tr> 4791<tr> 4792<td class="parameter_name"><p>type</p></td> 4793<td class="parameter_description"><p>the tile mode type</p></td> 4794<td class="parameter_annotations"> </td> 4795</tr> 4796</tbody> 4797</table></div> 4798</div> 4799</div> 4800<hr> 4801<div class="refsect2"> 4802<a name="GST-VIDEO-TILE-MODE-TYPE:CAPS"></a><h3>GST_VIDEO_TILE_MODE_TYPE()</h3> 4803<pre class="programlisting">#define GST_VIDEO_TILE_MODE_TYPE(mode) ((mode) & GST_VIDEO_TILE_TYPE_MASK) 4804</pre> 4805<p>Get the tile mode type of <em class="parameter"><code>mode</code></em> 4806</p> 4807<div class="refsect3"> 4808<a name="GST-VIDEO-TILE-MODE-TYPE.parameters"></a><h4>Parameters</h4> 4809<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4810<colgroup> 4811<col width="150px" class="parameters_name"> 4812<col class="parameters_description"> 4813<col width="200px" class="parameters_annotations"> 4814</colgroup> 4815<tbody><tr> 4816<td class="parameter_name"><p>mode</p></td> 4817<td class="parameter_description"><p>the tile mode</p></td> 4818<td class="parameter_annotations"> </td> 4819</tr></tbody> 4820</table></div> 4821</div> 4822</div> 4823<hr> 4824<div class="refsect2"> 4825<a name="GST-VIDEO-TILE-MODE-IS-INDEXED:CAPS"></a><h3>GST_VIDEO_TILE_MODE_IS_INDEXED()</h3> 4826<pre class="programlisting">#define GST_VIDEO_TILE_MODE_IS_INDEXED(mode) (GST_VIDEO_TILE_MODE_TYPE(mode) == GST_VIDEO_TILE_TYPE_INDEXED) 4827</pre> 4828<p>Check if <em class="parameter"><code>mode</code></em> 4829 is an indexed tile type</p> 4830<div class="refsect3"> 4831<a name="GST-VIDEO-TILE-MODE-IS-INDEXED.parameters"></a><h4>Parameters</h4> 4832<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4833<colgroup> 4834<col width="150px" class="parameters_name"> 4835<col class="parameters_description"> 4836<col width="200px" class="parameters_annotations"> 4837</colgroup> 4838<tbody><tr> 4839<td class="parameter_name"><p>mode</p></td> 4840<td class="parameter_description"><p>a tile mode</p></td> 4841<td class="parameter_annotations"> </td> 4842</tr></tbody> 4843</table></div> 4844</div> 4845</div> 4846<hr> 4847<div class="refsect2"> 4848<a name="GST-VIDEO-TILE-MAKE-STRIDE:CAPS"></a><h3>GST_VIDEO_TILE_MAKE_STRIDE()</h3> 4849<pre class="programlisting">#define GST_VIDEO_TILE_MAKE_STRIDE(x_tiles, y_tiles)</pre> 4850<p>Encode the number of tile in X and Y into the stride.</p> 4851<div class="refsect3"> 4852<a name="GST-VIDEO-TILE-MAKE-STRIDE.parameters"></a><h4>Parameters</h4> 4853<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4854<colgroup> 4855<col width="150px" class="parameters_name"> 4856<col class="parameters_description"> 4857<col width="200px" class="parameters_annotations"> 4858</colgroup> 4859<tbody> 4860<tr> 4861<td class="parameter_name"><p>x_tiles</p></td> 4862<td class="parameter_description"><p>number of tiles in X</p></td> 4863<td class="parameter_annotations"> </td> 4864</tr> 4865<tr> 4866<td class="parameter_name"><p>y_tiles</p></td> 4867<td class="parameter_description"><p>number of tiles in Y</p></td> 4868<td class="parameter_annotations"> </td> 4869</tr> 4870</tbody> 4871</table></div> 4872</div> 4873</div> 4874<hr> 4875<div class="refsect2"> 4876<a name="GST-VIDEO-TILE-X-TILES:CAPS"></a><h3>GST_VIDEO_TILE_X_TILES()</h3> 4877<pre class="programlisting">#define GST_VIDEO_TILE_X_TILES(stride) ((stride) & GST_VIDEO_TILE_X_TILES_MASK) 4878</pre> 4879<p>Extract the number of tiles in X from the stride value.</p> 4880<div class="refsect3"> 4881<a name="GST-VIDEO-TILE-X-TILES.parameters"></a><h4>Parameters</h4> 4882<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4883<colgroup> 4884<col width="150px" class="parameters_name"> 4885<col class="parameters_description"> 4886<col width="200px" class="parameters_annotations"> 4887</colgroup> 4888<tbody><tr> 4889<td class="parameter_name"><p>stride</p></td> 4890<td class="parameter_description"><p>plane stride</p></td> 4891<td class="parameter_annotations"> </td> 4892</tr></tbody> 4893</table></div> 4894</div> 4895</div> 4896<hr> 4897<div class="refsect2"> 4898<a name="GST-VIDEO-TILE-Y-TILES:CAPS"></a><h3>GST_VIDEO_TILE_Y_TILES()</h3> 4899<pre class="programlisting">#define GST_VIDEO_TILE_Y_TILES(stride) ((stride) >> GST_VIDEO_TILE_Y_TILES_SHIFT) 4900</pre> 4901<p>Extract the number of tiles in Y from the stride value.</p> 4902<div class="refsect3"> 4903<a name="GST-VIDEO-TILE-Y-TILES.parameters"></a><h4>Parameters</h4> 4904<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4905<colgroup> 4906<col width="150px" class="parameters_name"> 4907<col class="parameters_description"> 4908<col width="200px" class="parameters_annotations"> 4909</colgroup> 4910<tbody><tr> 4911<td class="parameter_name"><p>stride</p></td> 4912<td class="parameter_description"><p>plane stride</p></td> 4913<td class="parameter_annotations"> </td> 4914</tr></tbody> 4915</table></div> 4916</div> 4917</div> 4918<hr> 4919<div class="refsect2"> 4920<a name="gst-video-blend"></a><h3>gst_video_blend ()</h3> 4921<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 4922gst_video_blend (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>, 4923 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>, 4924 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, 4925 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>, 4926 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> global_alpha</code></em>);</pre> 4927<p>Lets you blend the <em class="parameter"><code>src</code></em> 4928 image into the <em class="parameter"><code>dest</code></em> 4929 image</p> 4930<div class="refsect3"> 4931<a name="gst-video-blend.parameters"></a><h4>Parameters</h4> 4932<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4933<colgroup> 4934<col width="150px" class="parameters_name"> 4935<col class="parameters_description"> 4936<col width="200px" class="parameters_annotations"> 4937</colgroup> 4938<tbody> 4939<tr> 4940<td class="parameter_name"><p>dest</p></td> 4941<td class="parameter_description"><p>The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> where to blend <em class="parameter"><code>src</code></em> 4942in</p></td> 4943<td class="parameter_annotations"> </td> 4944</tr> 4945<tr> 4946<td class="parameter_name"><p>src</p></td> 4947<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> that we want to blend into</p></td> 4948<td class="parameter_annotations"> </td> 4949</tr> 4950<tr> 4951<td class="parameter_name"><p>x</p></td> 4952<td class="parameter_description"><p>The x offset in pixel where the <em class="parameter"><code>src</code></em> 4953image should be blended</p></td> 4954<td class="parameter_annotations"> </td> 4955</tr> 4956<tr> 4957<td class="parameter_name"><p>y</p></td> 4958<td class="parameter_description"><p>the y offset in pixel where the <em class="parameter"><code>src</code></em> 4959image should be blended</p></td> 4960<td class="parameter_annotations"> </td> 4961</tr> 4962<tr> 4963<td class="parameter_name"><p>global_alpha</p></td> 4964<td class="parameter_description"><p>the global_alpha each per-pixel alpha value is multiplied 4965with</p></td> 4966<td class="parameter_annotations"> </td> 4967</tr> 4968</tbody> 4969</table></div> 4970</div> 4971</div> 4972<hr> 4973<div class="refsect2"> 4974<a name="gst-video-blend-scale-linear-RGBA"></a><h3>gst_video_blend_scale_linear_RGBA ()</h3> 4975<pre class="programlisting"><span class="returnvalue">void</span> 4976gst_video_blend_scale_linear_RGBA (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *src</code></em>, 4977 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *src_buffer</code></em>, 4978 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_height</code></em>, 4979 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_width</code></em>, 4980 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *dest</code></em>, 4981 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> **dest_buffer</code></em>);</pre> 4982<p>Scales a buffer containing RGBA (or AYUV) video. This is an internal 4983helper function which is used to scale subtitle overlays, and may be 4984deprecated in the near future. Use <a class="link" href="gst-plugins-base-libs-GstVideoScaler.html#GstVideoScaler" title="GstVideoScaler"><span class="type">GstVideoScaler</span></a> to scale video buffers 4985instead.</p> 4986<div class="refsect3"> 4987<a name="gst-video-blend-scale-linear-RGBA.parameters"></a><h4>Parameters</h4> 4988<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4989<colgroup> 4990<col width="150px" class="parameters_name"> 4991<col class="parameters_description"> 4992<col width="200px" class="parameters_annotations"> 4993</colgroup> 4994<tbody> 4995<tr> 4996<td class="parameter_name"><p>src</p></td> 4997<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> describing the video data in <em class="parameter"><code>src_buffer</code></em> 4998</p></td> 4999<td class="parameter_annotations"> </td> 5000</tr> 5001<tr> 5002<td class="parameter_name"><p>src_buffer</p></td> 5003<td class="parameter_description"><p>the source buffer containing video pixels to scale</p></td> 5004<td class="parameter_annotations"> </td> 5005</tr> 5006<tr> 5007<td class="parameter_name"><p>dest_height</p></td> 5008<td class="parameter_description"><p>the height in pixels to scale the video data in <em class="parameter"><code>src_buffer</code></em> 5009to</p></td> 5010<td class="parameter_annotations"> </td> 5011</tr> 5012<tr> 5013<td class="parameter_name"><p>dest_width</p></td> 5014<td class="parameter_description"><p>the width in pixels to scale the video data in <em class="parameter"><code>src_buffer</code></em> 5015to</p></td> 5016<td class="parameter_annotations"> </td> 5017</tr> 5018<tr> 5019<td class="parameter_name"><p>dest</p></td> 5020<td class="parameter_description"><p>pointer to a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> structure that will be filled in 5021with the details for <em class="parameter"><code>dest_buffer</code></em> 5022. </p></td> 5023<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> 5024</tr> 5025<tr> 5026<td class="parameter_name"><p>dest_buffer</p></td> 5027<td class="parameter_description"><p>a pointer to a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> variable, which will be 5028set to a newly-allocated buffer containing the scaled pixels. </p></td> 5029<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> 5030</tr> 5031</tbody> 5032</table></div> 5033</div> 5034</div> 5035<hr> 5036<div class="refsect2"> 5037<a name="gst-video-converter-new"></a><h3>gst_video_converter_new ()</h3> 5038<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="returnvalue">GstVideoConverter</span></a> * 5039gst_video_converter_new (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *in_info</code></em>, 5040 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *out_info</code></em>, 5041 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre> 5042<p>Create a new converter object to convert between <em class="parameter"><code>in_info</code></em> 5043 and <em class="parameter"><code>out_info</code></em> 5044 5045with <em class="parameter"><code>config</code></em> 5046.</p> 5047<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> 5048<div class="refsect3"> 5049<a name="gst-video-converter-new.parameters"></a><h4>Parameters</h4> 5050<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5051<colgroup> 5052<col width="150px" class="parameters_name"> 5053<col class="parameters_description"> 5054<col width="200px" class="parameters_annotations"> 5055</colgroup> 5056<tbody> 5057<tr> 5058<td class="parameter_name"><p>in_info</p></td> 5059<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 5060<td class="parameter_annotations"> </td> 5061</tr> 5062<tr> 5063<td class="parameter_name"><p>out_info</p></td> 5064<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 5065<td class="parameter_annotations"> </td> 5066</tr> 5067<tr> 5068<td class="parameter_name"><p>config</p></td> 5069<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> with configuration options. </p></td> 5070<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 5071</tr> 5072</tbody> 5073</table></div> 5074</div> 5075<div class="refsect3"> 5076<a name="gst-video-converter-new.returns"></a><h4>Returns</h4> 5077<p> a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if conversion is not possible.</p> 5078</div> 5079<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5080</div> 5081<hr> 5082<div class="refsect2"> 5083<a name="gst-video-converter-free"></a><h3>gst_video_converter_free ()</h3> 5084<pre class="programlisting"><span class="returnvalue">void</span> 5085gst_video_converter_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>);</pre> 5086<p>Free <em class="parameter"><code>convert</code></em> 5087</p> 5088<div class="refsect3"> 5089<a name="gst-video-converter-free.parameters"></a><h4>Parameters</h4> 5090<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5091<colgroup> 5092<col width="150px" class="parameters_name"> 5093<col class="parameters_description"> 5094<col width="200px" class="parameters_annotations"> 5095</colgroup> 5096<tbody><tr> 5097<td class="parameter_name"><p>convert</p></td> 5098<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td> 5099<td class="parameter_annotations"> </td> 5100</tr></tbody> 5101</table></div> 5102</div> 5103<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5104</div> 5105<hr> 5106<div class="refsect2"> 5107<a name="gst-video-converter-get-config"></a><h3>gst_video_converter_get_config ()</h3> 5108<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> * 5109gst_video_converter_get_config (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>);</pre> 5110<p>Get the current configuration of <em class="parameter"><code>convert</code></em> 5111.</p> 5112<div class="refsect3"> 5113<a name="gst-video-converter-get-config.parameters"></a><h4>Parameters</h4> 5114<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5115<colgroup> 5116<col width="150px" class="parameters_name"> 5117<col class="parameters_description"> 5118<col width="200px" class="parameters_annotations"> 5119</colgroup> 5120<tbody><tr> 5121<td class="parameter_name"><p>convert</p></td> 5122<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td> 5123<td class="parameter_annotations"> </td> 5124</tr></tbody> 5125</table></div> 5126</div> 5127<div class="refsect3"> 5128<a name="gst-video-converter-get-config.returns"></a><h4>Returns</h4> 5129<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> that remains valid for as long as <em class="parameter"><code>convert</code></em> 5130is valid 5131or until <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-set-config" title="gst_video_converter_set_config ()"><code class="function">gst_video_converter_set_config()</code></a> is called.</p> 5132</div> 5133</div> 5134<hr> 5135<div class="refsect2"> 5136<a name="gst-video-converter-set-config"></a><h3>gst_video_converter_set_config ()</h3> 5137<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 5138gst_video_converter_set_config (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>, 5139 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre> 5140<p>Set <em class="parameter"><code>config</code></em> 5141 as extra configuraion for <em class="parameter"><code>convert</code></em> 5142.</p> 5143<p>If the parameters in <em class="parameter"><code>config</code></em> 5144 can not be set exactly, this function returns 5145<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and will try to update as much state as possible. The new state can 5146then be retrieved and refined with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-get-config" title="gst_video_converter_get_config ()"><code class="function">gst_video_converter_get_config()</code></a>.</p> 5147<p>Look at the <span class="type">GST_VIDEO_CONVERTER_OPT_</span>* fields to check valid configuration 5148option and values.</p> 5149<div class="refsect3"> 5150<a name="gst-video-converter-set-config.parameters"></a><h4>Parameters</h4> 5151<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5152<colgroup> 5153<col width="150px" class="parameters_name"> 5154<col class="parameters_description"> 5155<col width="200px" class="parameters_annotations"> 5156</colgroup> 5157<tbody> 5158<tr> 5159<td class="parameter_name"><p>convert</p></td> 5160<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td> 5161<td class="parameter_annotations"> </td> 5162</tr> 5163<tr> 5164<td class="parameter_name"><p>config</p></td> 5165<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a>. </p></td> 5166<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 5167</tr> 5168</tbody> 5169</table></div> 5170</div> 5171<div class="refsect3"> 5172<a name="gst-video-converter-set-config.returns"></a><h4>Returns</h4> 5173<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when <em class="parameter"><code>config</code></em> 5174could be set.</p> 5175</div> 5176<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5177</div> 5178<hr> 5179<div class="refsect2"> 5180<a name="gst-video-converter-frame"></a><h3>gst_video_converter_frame ()</h3> 5181<pre class="programlisting"><span class="returnvalue">void</span> 5182gst_video_converter_frame (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>, 5183 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>, 5184 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>);</pre> 5185<p>Convert the pixels of <em class="parameter"><code>src</code></em> 5186 into <em class="parameter"><code>dest</code></em> 5187 using <em class="parameter"><code>convert</code></em> 5188.</p> 5189<div class="refsect3"> 5190<a name="gst-video-converter-frame.parameters"></a><h4>Parameters</h4> 5191<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5192<colgroup> 5193<col width="150px" class="parameters_name"> 5194<col class="parameters_description"> 5195<col width="200px" class="parameters_annotations"> 5196</colgroup> 5197<tbody> 5198<tr> 5199<td class="parameter_name"><p>convert</p></td> 5200<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td> 5201<td class="parameter_annotations"> </td> 5202</tr> 5203<tr> 5204<td class="parameter_name"><p>dest</p></td> 5205<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 5206<td class="parameter_annotations"> </td> 5207</tr> 5208<tr> 5209<td class="parameter_name"><p>src</p></td> 5210<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td> 5211<td class="parameter_annotations"> </td> 5212</tr> 5213</tbody> 5214</table></div> 5215</div> 5216<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5217</div> 5218<hr> 5219<div class="refsect2"> 5220<a name="gst-video-multiview-get-mono-modes"></a><h3>gst_video_multiview_get_mono_modes ()</h3> 5221<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 5222gst_video_multiview_get_mono_modes (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 5223<div class="refsect3"> 5224<a name="gst-video-multiview-get-mono-modes.returns"></a><h4>Returns</h4> 5225<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of mono video modes</p> 5226<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of mono video 5227modes (mono/left/right) for use in caps negotiations.</p> 5228</div> 5229<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5230</div> 5231<hr> 5232<div class="refsect2"> 5233<a name="gst-video-multiview-get-unpacked-modes"></a><h3>gst_video_multiview_get_unpacked_modes ()</h3> 5234<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 5235gst_video_multiview_get_unpacked_modes 5236 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 5237<div class="refsect3"> 5238<a name="gst-video-multiview-get-unpacked-modes.returns"></a><h4>Returns</h4> 5239<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of 'unpacked' stereo video modes</p> 5240<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of unpacked 5241stereo video modes (separated/frame-by-frame/frame-by-frame-multiview) 5242for use in caps negotiations.</p> 5243</div> 5244<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5245</div> 5246<hr> 5247<div class="refsect2"> 5248<a name="gst-video-multiview-get-doubled-height-modes"></a><h3>gst_video_multiview_get_doubled_height_modes ()</h3> 5249<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 5250gst_video_multiview_get_doubled_height_modes 5251 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 5252<div class="refsect3"> 5253<a name="gst-video-multiview-get-doubled-height-modes.returns"></a><h4>Returns</h4> 5254<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of stereo video modes</p> 5255<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of packed stereo 5256video modes with double the height of a single view for use in 5257caps negotiations. Currently this is top-bottom and row-interleaved.</p> 5258</div> 5259<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5260</div> 5261<hr> 5262<div class="refsect2"> 5263<a name="gst-video-multiview-get-doubled-size-modes"></a><h3>gst_video_multiview_get_doubled_size_modes ()</h3> 5264<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 5265gst_video_multiview_get_doubled_size_modes 5266 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 5267<div class="refsect3"> 5268<a name="gst-video-multiview-get-doubled-size-modes.returns"></a><h4>Returns</h4> 5269<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of stereo video modes</p> 5270<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of packed 5271stereo video modes that have double the width/height of a single 5272view for use in caps negotiation. Currently this is just 5273'checkerboard' layout.</p> 5274</div> 5275<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5276</div> 5277<hr> 5278<div class="refsect2"> 5279<a name="gst-video-multiview-get-doubled-width-modes"></a><h3>gst_video_multiview_get_doubled_width_modes ()</h3> 5280<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> * 5281gst_video_multiview_get_doubled_width_modes 5282 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 5283<div class="refsect3"> 5284<a name="gst-video-multiview-get-doubled-width-modes.returns"></a><h4>Returns</h4> 5285<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of stereo video modes</p> 5286<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of packed stereo 5287video modes with double the width of a single view for use in 5288caps negotiations. Currently this is side-by-side, side-by-side-quincunx 5289and column-interleaved.</p> 5290</div> 5291<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5292</div> 5293<hr> 5294<div class="refsect2"> 5295<a name="gst-video-multiview-mode-from-caps-string"></a><h3>gst_video_multiview_mode_from_caps_string ()</h3> 5296<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="returnvalue">GstVideoMultiviewMode</span></a> 5297gst_video_multiview_mode_from_caps_string 5298 (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *caps_mview_mode</code></em>);</pre> 5299<div class="refsect3"> 5300<a name="gst-video-multiview-mode-from-caps-string.parameters"></a><h4>Parameters</h4> 5301<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5302<colgroup> 5303<col width="150px" class="parameters_name"> 5304<col class="parameters_description"> 5305<col width="200px" class="parameters_annotations"> 5306</colgroup> 5307<tbody><tr> 5308<td class="parameter_name"><p>caps_mview_mode</p></td> 5309<td class="parameter_description"><p>multiview-mode field string from caps</p></td> 5310<td class="parameter_annotations"> </td> 5311</tr></tbody> 5312</table></div> 5313</div> 5314<div class="refsect3"> 5315<a name="gst-video-multiview-mode-from-caps-string.returns"></a><h4>Returns</h4> 5316<p> The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> value</p> 5317<p>Given a string from a caps multiview-mode field, 5318output the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> 5319or <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MULTIVIEW-MODE-NONE:CAPS"><span class="type">GST_VIDEO_MULTIVIEW_MODE_NONE</span></a></p> 5320</div> 5321<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5322</div> 5323<hr> 5324<div class="refsect2"> 5325<a name="gst-video-multiview-mode-to-caps-string"></a><h3>gst_video_multiview_mode_to_caps_string ()</h3> 5326<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 5327gst_video_multiview_mode_to_caps_string 5328 (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> mview_mode</code></em>);</pre> 5329<div class="refsect3"> 5330<a name="gst-video-multiview-mode-to-caps-string.parameters"></a><h4>Parameters</h4> 5331<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5332<colgroup> 5333<col width="150px" class="parameters_name"> 5334<col class="parameters_description"> 5335<col width="200px" class="parameters_annotations"> 5336</colgroup> 5337<tbody><tr> 5338<td class="parameter_name"><p>mview_mode</p></td> 5339<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> value</p></td> 5340<td class="parameter_annotations"> </td> 5341</tr></tbody> 5342</table></div> 5343</div> 5344<div class="refsect3"> 5345<a name="gst-video-multiview-mode-to-caps-string.returns"></a><h4>Returns</h4> 5346<p> The caps string representation of the mode, or NULL if invalid.</p> 5347<p>Given a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> returns the multiview-mode caps string 5348for insertion into a caps structure</p> 5349</div> 5350<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5351</div> 5352<hr> 5353<div class="refsect2"> 5354<a name="gst-video-multiview-guess-half-aspect"></a><h3>gst_video_multiview_guess_half_aspect ()</h3> 5355<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 5356gst_video_multiview_guess_half_aspect (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> mv_mode</code></em>, 5357 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>, 5358 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>, 5359 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> par_n</code></em>, 5360 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> par_d</code></em>);</pre> 5361<div class="refsect3"> 5362<a name="gst-video-multiview-guess-half-aspect.parameters"></a><h4>Parameters</h4> 5363<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5364<colgroup> 5365<col width="150px" class="parameters_name"> 5366<col class="parameters_description"> 5367<col width="200px" class="parameters_annotations"> 5368</colgroup> 5369<tbody> 5370<tr> 5371<td class="parameter_name"><p>mv_mode</p></td> 5372<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a></p></td> 5373<td class="parameter_annotations"> </td> 5374</tr> 5375<tr> 5376<td class="parameter_name"><p>width</p></td> 5377<td class="parameter_description"><p>Video frame width in pixels</p></td> 5378<td class="parameter_annotations"> </td> 5379</tr> 5380<tr> 5381<td class="parameter_name"><p>height</p></td> 5382<td class="parameter_description"><p>Video frame height in pixels</p></td> 5383<td class="parameter_annotations"> </td> 5384</tr> 5385<tr> 5386<td class="parameter_name"><p>par_n</p></td> 5387<td class="parameter_description"><p>Numerator of the video pixel-aspect-ratio</p></td> 5388<td class="parameter_annotations"> </td> 5389</tr> 5390<tr> 5391<td class="parameter_name"><p>par_d</p></td> 5392<td class="parameter_description"><p>Denominator of the video pixel-aspect-ratio</p></td> 5393<td class="parameter_annotations"> </td> 5394</tr> 5395</tbody> 5396</table></div> 5397</div> 5398<div class="refsect3"> 5399<a name="gst-video-multiview-guess-half-aspect.returns"></a><h4>Returns</h4> 5400<p> A boolean indicating whether the 5401<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MULTIVIEW-FLAGS-HALF-ASPECT:CAPS"><span class="type">GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT</span></a> flag should be set.</p> 5402<p>Utility function that heuristically guess whether a 5403frame-packed stereoscopic video contains half width/height 5404encoded views, or full-frame views by looking at the 5405overall display aspect ratio.</p> 5406</div> 5407<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5408</div> 5409<hr> 5410<div class="refsect2"> 5411<a name="gst-video-multiview-video-info-change-mode"></a><h3>gst_video_multiview_video_info_change_mode ()</h3> 5412<pre class="programlisting"><span class="returnvalue">void</span> 5413gst_video_multiview_video_info_change_mode 5414 (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>, 5415 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> out_mview_mode</code></em>, 5416 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a> out_mview_flags</code></em>);</pre> 5417<p>Utility function that transforms the width/height/PAR 5418and multiview mode and flags of a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> into 5419the requested mode.</p> 5420<div class="refsect3"> 5421<a name="gst-video-multiview-video-info-change-mode.parameters"></a><h4>Parameters</h4> 5422<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5423<colgroup> 5424<col width="150px" class="parameters_name"> 5425<col class="parameters_description"> 5426<col width="200px" class="parameters_annotations"> 5427</colgroup> 5428<tbody> 5429<tr> 5430<td class="parameter_name"><p>info</p></td> 5431<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> structure to operate on</p></td> 5432<td class="parameter_annotations"> </td> 5433</tr> 5434<tr> 5435<td class="parameter_name"><p>out_mview_mode</p></td> 5436<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> value</p></td> 5437<td class="parameter_annotations"> </td> 5438</tr> 5439<tr> 5440<td class="parameter_name"><p>out_mview_flags</p></td> 5441<td class="parameter_description"><p>A set of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></p></td> 5442<td class="parameter_annotations"> </td> 5443</tr> 5444</tbody> 5445</table></div> 5446</div> 5447<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 5448</div> 5449<hr> 5450<div class="refsect2"> 5451<a name="gst-video-time-code-new"></a><h3>gst_video_time_code_new ()</h3> 5452<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 5453gst_video_time_code_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>, 5454 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>, 5455 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *latest_daily_jam</code></em>, 5456 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>, 5457 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>, 5458 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>, 5459 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>, 5460 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>, 5461 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre> 5462<p><em class="parameter"><code>field_count</code></em> 5463 is 0 for progressive, 1 or 2 for interlaced. 5464<em class="parameter"><code>latest_daiy_jam</code></em> 5465 reference is stolen from caller.</p> 5466<div class="refsect3"> 5467<a name="gst-video-time-code-new.parameters"></a><h4>Parameters</h4> 5468<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5469<colgroup> 5470<col width="150px" class="parameters_name"> 5471<col class="parameters_description"> 5472<col width="200px" class="parameters_annotations"> 5473</colgroup> 5474<tbody> 5475<tr> 5476<td class="parameter_name"><p>fps_n</p></td> 5477<td class="parameter_description"><p>Numerator of the frame rate</p></td> 5478<td class="parameter_annotations"> </td> 5479</tr> 5480<tr> 5481<td class="parameter_name"><p>fps_d</p></td> 5482<td class="parameter_description"><p>Denominator of the frame rate</p></td> 5483<td class="parameter_annotations"> </td> 5484</tr> 5485<tr> 5486<td class="parameter_name"><p>latest_daily_jam</p></td> 5487<td class="parameter_description"><p>The latest daily jam of the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5488<td class="parameter_annotations"> </td> 5489</tr> 5490<tr> 5491<td class="parameter_name"><p>flags</p></td> 5492<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 5493<td class="parameter_annotations"> </td> 5494</tr> 5495<tr> 5496<td class="parameter_name"><p>hours</p></td> 5497<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5498<td class="parameter_annotations"> </td> 5499</tr> 5500<tr> 5501<td class="parameter_name"><p>minutes</p></td> 5502<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5503<td class="parameter_annotations"> </td> 5504</tr> 5505<tr> 5506<td class="parameter_name"><p>seconds</p></td> 5507<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5508<td class="parameter_annotations"> </td> 5509</tr> 5510<tr> 5511<td class="parameter_name"><p>frames</p></td> 5512<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5513<td class="parameter_annotations"> </td> 5514</tr> 5515<tr> 5516<td class="parameter_name"><p>field_count</p></td> 5517<td class="parameter_description"><p>Interlaced video field count</p></td> 5518<td class="parameter_annotations"> </td> 5519</tr> 5520</tbody> 5521</table></div> 5522</div> 5523<div class="refsect3"> 5524<a name="gst-video-time-code-new.returns"></a><h4>Returns</h4> 5525<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> with the given values. 5526The values are not checked for being in a valid range. To see if your 5527timecode actually has valid content, use <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()"><code class="function">gst_video_time_code_is_valid()</code></a>.</p> 5528</div> 5529<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5530</div> 5531<hr> 5532<div class="refsect2"> 5533<a name="gst-video-time-code-new-empty"></a><h3>gst_video_time_code_new_empty ()</h3> 5534<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 5535gst_video_time_code_new_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> 5536<div class="refsect3"> 5537<a name="gst-video-time-code-new-empty.returns"></a><h4>Returns</h4> 5538<p> a new empty, invalid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p> 5539</div> 5540<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5541</div> 5542<hr> 5543<div class="refsect2"> 5544<a name="gst-video-time-code-free"></a><h3>gst_video_time_code_free ()</h3> 5545<pre class="programlisting"><span class="returnvalue">void</span> 5546gst_video_time_code_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5547<p>Frees <em class="parameter"><code>tc</code></em> 5548.</p> 5549<div class="refsect3"> 5550<a name="gst-video-time-code-free.parameters"></a><h4>Parameters</h4> 5551<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5552<colgroup> 5553<col width="150px" class="parameters_name"> 5554<col class="parameters_description"> 5555<col width="200px" class="parameters_annotations"> 5556</colgroup> 5557<tbody><tr> 5558<td class="parameter_name"><p>tc</p></td> 5559<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5560<td class="parameter_annotations"> </td> 5561</tr></tbody> 5562</table></div> 5563</div> 5564<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5565</div> 5566<hr> 5567<div class="refsect2"> 5568<a name="gst-video-time-code-copy"></a><h3>gst_video_time_code_copy ()</h3> 5569<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 5570gst_video_time_code_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5571<div class="refsect3"> 5572<a name="gst-video-time-code-copy.parameters"></a><h4>Parameters</h4> 5573<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5574<colgroup> 5575<col width="150px" class="parameters_name"> 5576<col class="parameters_description"> 5577<col width="200px" class="parameters_annotations"> 5578</colgroup> 5579<tbody><tr> 5580<td class="parameter_name"><p>tc</p></td> 5581<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5582<td class="parameter_annotations"> </td> 5583</tr></tbody> 5584</table></div> 5585</div> 5586<div class="refsect3"> 5587<a name="gst-video-time-code-copy.returns"></a><h4>Returns</h4> 5588<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> with the same values as <em class="parameter"><code>tc</code></em> 5589.</p> 5590</div> 5591<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5592</div> 5593<hr> 5594<div class="refsect2"> 5595<a name="gst-video-time-code-init"></a><h3>gst_video_time_code_init ()</h3> 5596<pre class="programlisting"><span class="returnvalue">void</span> 5597gst_video_time_code_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>, 5598 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>, 5599 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>, 5600 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *latest_daily_jam</code></em>, 5601 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>, 5602 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>, 5603 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>, 5604 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>, 5605 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>, 5606 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre> 5607<p><em class="parameter"><code>field_count</code></em> 5608 is 0 for progressive, 1 or 2 for interlaced. 5609<em class="parameter"><code>latest_daiy_jam</code></em> 5610 reference is stolen from caller.</p> 5611<p>Initializes <em class="parameter"><code>tc</code></em> 5612 with the given values. 5613The values are not checked for being in a valid range. To see if your 5614timecode actually has valid content, use <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()"><code class="function">gst_video_time_code_is_valid()</code></a>.</p> 5615<div class="refsect3"> 5616<a name="gst-video-time-code-init.parameters"></a><h4>Parameters</h4> 5617<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5618<colgroup> 5619<col width="150px" class="parameters_name"> 5620<col class="parameters_description"> 5621<col width="200px" class="parameters_annotations"> 5622</colgroup> 5623<tbody> 5624<tr> 5625<td class="parameter_name"><p>tc</p></td> 5626<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5627<td class="parameter_annotations"> </td> 5628</tr> 5629<tr> 5630<td class="parameter_name"><p>fps_n</p></td> 5631<td class="parameter_description"><p>Numerator of the frame rate</p></td> 5632<td class="parameter_annotations"> </td> 5633</tr> 5634<tr> 5635<td class="parameter_name"><p>fps_d</p></td> 5636<td class="parameter_description"><p>Denominator of the frame rate</p></td> 5637<td class="parameter_annotations"> </td> 5638</tr> 5639<tr> 5640<td class="parameter_name"><p>latest_daily_jam</p></td> 5641<td class="parameter_description"><p>The latest daily jam of the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5642<td class="parameter_annotations"> </td> 5643</tr> 5644<tr> 5645<td class="parameter_name"><p>flags</p></td> 5646<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 5647<td class="parameter_annotations"> </td> 5648</tr> 5649<tr> 5650<td class="parameter_name"><p>hours</p></td> 5651<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5652<td class="parameter_annotations"> </td> 5653</tr> 5654<tr> 5655<td class="parameter_name"><p>minutes</p></td> 5656<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5657<td class="parameter_annotations"> </td> 5658</tr> 5659<tr> 5660<td class="parameter_name"><p>seconds</p></td> 5661<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5662<td class="parameter_annotations"> </td> 5663</tr> 5664<tr> 5665<td class="parameter_name"><p>frames</p></td> 5666<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5667<td class="parameter_annotations"> </td> 5668</tr> 5669<tr> 5670<td class="parameter_name"><p>field_count</p></td> 5671<td class="parameter_description"><p>Interlaced video field count</p></td> 5672<td class="parameter_annotations"> </td> 5673</tr> 5674</tbody> 5675</table></div> 5676</div> 5677<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5678</div> 5679<hr> 5680<div class="refsect2"> 5681<a name="gst-video-time-code-init-from-date-time"></a><h3>gst_video_time_code_init_from_date_time ()</h3> 5682<pre class="programlisting"><span class="returnvalue">void</span> 5683gst_video_time_code_init_from_date_time 5684 (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>, 5685 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>, 5686 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>, 5687 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>, 5688 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>, 5689 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre> 5690<div class="warning"><p><code class="literal">gst_video_time_code_init_from_date_time</code> is deprecated and should not be used in newly-written code.</p></div> 5691<p>The resulting config->latest_daily_jam is set to midnight, and timecode is 5692set to the given time.</p> 5693<p>Will assert on invalid parameters, use <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init-from-date-time-full" title="gst_video_time_code_init_from_date_time_full ()"><code class="function">gst_video_time_code_init_from_date_time_full()</code></a> 5694for being able to handle invalid parameters.</p> 5695<div class="refsect3"> 5696<a name="gst-video-time-code-init-from-date-time.parameters"></a><h4>Parameters</h4> 5697<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5698<colgroup> 5699<col width="150px" class="parameters_name"> 5700<col class="parameters_description"> 5701<col width="200px" class="parameters_annotations"> 5702</colgroup> 5703<tbody> 5704<tr> 5705<td class="parameter_name"><p>tc</p></td> 5706<td class="parameter_description"><p>an uninitialized <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5707<td class="parameter_annotations"> </td> 5708</tr> 5709<tr> 5710<td class="parameter_name"><p>fps_n</p></td> 5711<td class="parameter_description"><p>Numerator of the frame rate</p></td> 5712<td class="parameter_annotations"> </td> 5713</tr> 5714<tr> 5715<td class="parameter_name"><p>fps_d</p></td> 5716<td class="parameter_description"><p>Denominator of the frame rate</p></td> 5717<td class="parameter_annotations"> </td> 5718</tr> 5719<tr> 5720<td class="parameter_name"><p>dt</p></td> 5721<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td> 5722<td class="parameter_annotations"> </td> 5723</tr> 5724<tr> 5725<td class="parameter_name"><p>flags</p></td> 5726<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 5727<td class="parameter_annotations"> </td> 5728</tr> 5729<tr> 5730<td class="parameter_name"><p>field_count</p></td> 5731<td class="parameter_description"><p>Interlaced video field count</p></td> 5732<td class="parameter_annotations"> </td> 5733</tr> 5734</tbody> 5735</table></div> 5736</div> 5737<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 5738</div> 5739<hr> 5740<div class="refsect2"> 5741<a name="gst-video-time-code-init-from-date-time-full"></a><h3>gst_video_time_code_init_from_date_time_full ()</h3> 5742<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 5743gst_video_time_code_init_from_date_time_full 5744 (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>, 5745 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>, 5746 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>, 5747 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>, 5748 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>, 5749 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre> 5750<p>The resulting config->latest_daily_jam is set to 5751midnight, and timecode is set to the given time.</p> 5752<div class="refsect3"> 5753<a name="gst-video-time-code-init-from-date-time-full.parameters"></a><h4>Parameters</h4> 5754<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5755<colgroup> 5756<col width="150px" class="parameters_name"> 5757<col class="parameters_description"> 5758<col width="200px" class="parameters_annotations"> 5759</colgroup> 5760<tbody> 5761<tr> 5762<td class="parameter_name"><p>tc</p></td> 5763<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5764<td class="parameter_annotations"> </td> 5765</tr> 5766<tr> 5767<td class="parameter_name"><p>fps_n</p></td> 5768<td class="parameter_description"><p>Numerator of the frame rate</p></td> 5769<td class="parameter_annotations"> </td> 5770</tr> 5771<tr> 5772<td class="parameter_name"><p>fps_d</p></td> 5773<td class="parameter_description"><p>Denominator of the frame rate</p></td> 5774<td class="parameter_annotations"> </td> 5775</tr> 5776<tr> 5777<td class="parameter_name"><p>dt</p></td> 5778<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td> 5779<td class="parameter_annotations"> </td> 5780</tr> 5781<tr> 5782<td class="parameter_name"><p>flags</p></td> 5783<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 5784<td class="parameter_annotations"> </td> 5785</tr> 5786<tr> 5787<td class="parameter_name"><p>field_count</p></td> 5788<td class="parameter_description"><p>Interlaced video field count</p></td> 5789<td class="parameter_annotations"> </td> 5790</tr> 5791</tbody> 5792</table></div> 5793</div> 5794<div class="refsect3"> 5795<a name="gst-video-time-code-init-from-date-time-full.returns"></a><h4>Returns</h4> 5796<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tc</code></em> 5797could be correctly initialized to a valid timecode</p> 5798</div> 5799<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p> 5800</div> 5801<hr> 5802<div class="refsect2"> 5803<a name="gst-video-time-code-clear"></a><h3>gst_video_time_code_clear ()</h3> 5804<pre class="programlisting"><span class="returnvalue">void</span> 5805gst_video_time_code_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5806<p>Initializes <em class="parameter"><code>tc</code></em> 5807 with empty/zero/NULL values and frees any memory 5808it might currently use.</p> 5809<div class="refsect3"> 5810<a name="gst-video-time-code-clear.parameters"></a><h4>Parameters</h4> 5811<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5812<colgroup> 5813<col width="150px" class="parameters_name"> 5814<col class="parameters_description"> 5815<col width="200px" class="parameters_annotations"> 5816</colgroup> 5817<tbody><tr> 5818<td class="parameter_name"><p>tc</p></td> 5819<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5820<td class="parameter_annotations"> </td> 5821</tr></tbody> 5822</table></div> 5823</div> 5824<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5825</div> 5826<hr> 5827<div class="refsect2"> 5828<a name="gst-video-time-code-is-valid"></a><h3>gst_video_time_code_is_valid ()</h3> 5829<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 5830gst_video_time_code_is_valid (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5831<div class="refsect3"> 5832<a name="gst-video-time-code-is-valid.parameters"></a><h4>Parameters</h4> 5833<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5834<colgroup> 5835<col width="150px" class="parameters_name"> 5836<col class="parameters_description"> 5837<col width="200px" class="parameters_annotations"> 5838</colgroup> 5839<tbody><tr> 5840<td class="parameter_name"><p>tc</p></td> 5841<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> to check</p></td> 5842<td class="parameter_annotations"> </td> 5843</tr></tbody> 5844</table></div> 5845</div> 5846<div class="refsect3"> 5847<a name="gst-video-time-code-is-valid.returns"></a><h4>Returns</h4> 5848<p> whether <em class="parameter"><code>tc</code></em> 5849is a valid timecode (supported frame rate, 5850hours/minutes/seconds/frames not overflowing)</p> 5851</div> 5852<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5853</div> 5854<hr> 5855<div class="refsect2"> 5856<a name="gst-video-time-code-compare"></a><h3>gst_video_time_code_compare ()</h3> 5857<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 5858gst_video_time_code_compare (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc1</code></em>, 5859 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc2</code></em>);</pre> 5860<p>Compares <em class="parameter"><code>tc1</code></em> 5861 and <em class="parameter"><code>tc2</code></em> 5862. If both have latest daily jam information, it is 5863taken into account. Otherwise, it is assumed that the daily jam of both 5864<em class="parameter"><code>tc1</code></em> 5865 and <em class="parameter"><code>tc2</code></em> 5866 was at the same time. Both time codes must be valid.</p> 5867<div class="refsect3"> 5868<a name="gst-video-time-code-compare.parameters"></a><h4>Parameters</h4> 5869<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5870<colgroup> 5871<col width="150px" class="parameters_name"> 5872<col class="parameters_description"> 5873<col width="200px" class="parameters_annotations"> 5874</colgroup> 5875<tbody> 5876<tr> 5877<td class="parameter_name"><p>tc1</p></td> 5878<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5879<td class="parameter_annotations"> </td> 5880</tr> 5881<tr> 5882<td class="parameter_name"><p>tc2</p></td> 5883<td class="parameter_description"><p>another valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5884<td class="parameter_annotations"> </td> 5885</tr> 5886</tbody> 5887</table></div> 5888</div> 5889<div class="refsect3"> 5890<a name="gst-video-time-code-compare.returns"></a><h4>Returns</h4> 5891<p> 1 if <em class="parameter"><code>tc1</code></em> 5892is after <em class="parameter"><code>tc2</code></em> 5893, -1 if <em class="parameter"><code>tc1</code></em> 5894is before <em class="parameter"><code>tc2</code></em> 5895, 0 otherwise.</p> 5896</div> 5897<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5898</div> 5899<hr> 5900<div class="refsect2"> 5901<a name="gst-video-time-code-increment-frame"></a><h3>gst_video_time_code_increment_frame ()</h3> 5902<pre class="programlisting"><span class="returnvalue">void</span> 5903gst_video_time_code_increment_frame (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5904<p>Adds one frame to <em class="parameter"><code>tc</code></em> 5905.</p> 5906<div class="refsect3"> 5907<a name="gst-video-time-code-increment-frame.parameters"></a><h4>Parameters</h4> 5908<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5909<colgroup> 5910<col width="150px" class="parameters_name"> 5911<col class="parameters_description"> 5912<col width="200px" class="parameters_annotations"> 5913</colgroup> 5914<tbody><tr> 5915<td class="parameter_name"><p>tc</p></td> 5916<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5917<td class="parameter_annotations"> </td> 5918</tr></tbody> 5919</table></div> 5920</div> 5921<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5922</div> 5923<hr> 5924<div class="refsect2"> 5925<a name="gst-video-time-code-add-frames"></a><h3>gst_video_time_code_add_frames ()</h3> 5926<pre class="programlisting"><span class="returnvalue">void</span> 5927gst_video_time_code_add_frames (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>, 5928 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> frames</code></em>);</pre> 5929<p>Adds or subtracts <em class="parameter"><code>frames</code></em> 5930 amount of frames to <em class="parameter"><code>tc</code></em> 5931. tc needs to 5932contain valid data, as verified by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()"><code class="function">gst_video_time_code_is_valid()</code></a>.</p> 5933<div class="refsect3"> 5934<a name="gst-video-time-code-add-frames.parameters"></a><h4>Parameters</h4> 5935<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5936<colgroup> 5937<col width="150px" class="parameters_name"> 5938<col class="parameters_description"> 5939<col width="200px" class="parameters_annotations"> 5940</colgroup> 5941<tbody> 5942<tr> 5943<td class="parameter_name"><p>tc</p></td> 5944<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5945<td class="parameter_annotations"> </td> 5946</tr> 5947<tr> 5948<td class="parameter_name"><p>frames</p></td> 5949<td class="parameter_description"><p>How many frames to add or subtract</p></td> 5950<td class="parameter_annotations"> </td> 5951</tr> 5952</tbody> 5953</table></div> 5954</div> 5955<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5956</div> 5957<hr> 5958<div class="refsect2"> 5959<a name="gst-video-time-code-frames-since-daily-jam"></a><h3>gst_video_time_code_frames_since_daily_jam ()</h3> 5960<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> 5961gst_video_time_code_frames_since_daily_jam 5962 (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5963<div class="refsect3"> 5964<a name="gst-video-time-code-frames-since-daily-jam.parameters"></a><h4>Parameters</h4> 5965<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5966<colgroup> 5967<col width="150px" class="parameters_name"> 5968<col class="parameters_description"> 5969<col width="200px" class="parameters_annotations"> 5970</colgroup> 5971<tbody><tr> 5972<td class="parameter_name"><p>tc</p></td> 5973<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 5974<td class="parameter_annotations"> </td> 5975</tr></tbody> 5976</table></div> 5977</div> 5978<div class="refsect3"> 5979<a name="gst-video-time-code-frames-since-daily-jam.returns"></a><h4>Returns</h4> 5980<p> how many frames have passed since the daily jam of <em class="parameter"><code>tc</code></em> 5981.</p> 5982</div> 5983<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 5984</div> 5985<hr> 5986<div class="refsect2"> 5987<a name="gst-video-time-code-nsec-since-daily-jam"></a><h3>gst_video_time_code_nsec_since_daily_jam ()</h3> 5988<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> 5989gst_video_time_code_nsec_since_daily_jam 5990 (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 5991<div class="refsect3"> 5992<a name="gst-video-time-code-nsec-since-daily-jam.parameters"></a><h4>Parameters</h4> 5993<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5994<colgroup> 5995<col width="150px" class="parameters_name"> 5996<col class="parameters_description"> 5997<col width="200px" class="parameters_annotations"> 5998</colgroup> 5999<tbody><tr> 6000<td class="parameter_name"><p>tc</p></td> 6001<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 6002<td class="parameter_annotations"> </td> 6003</tr></tbody> 6004</table></div> 6005</div> 6006<div class="refsect3"> 6007<a name="gst-video-time-code-nsec-since-daily-jam.returns"></a><h4>Returns</h4> 6008<p> how many nsec have passed since the daily jam of <em class="parameter"><code>tc</code></em> 6009.</p> 6010</div> 6011<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 6012</div> 6013<hr> 6014<div class="refsect2"> 6015<a name="gst-video-time-code-to-date-time"></a><h3>gst_video_time_code_to_date_time ()</h3> 6016<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> * 6017gst_video_time_code_to_date_time (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 6018<p>The <em class="parameter"><code>tc.config->latest_daily_jam</code></em> 6019 is required to be non-NULL.</p> 6020<div class="refsect3"> 6021<a name="gst-video-time-code-to-date-time.parameters"></a><h4>Parameters</h4> 6022<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6023<colgroup> 6024<col width="150px" class="parameters_name"> 6025<col class="parameters_description"> 6026<col width="200px" class="parameters_annotations"> 6027</colgroup> 6028<tbody><tr> 6029<td class="parameter_name"><p>tc</p></td> 6030<td class="parameter_description"><p>A valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> to convert</p></td> 6031<td class="parameter_annotations"> </td> 6032</tr></tbody> 6033</table></div> 6034</div> 6035<div class="refsect3"> 6036<a name="gst-video-time-code-to-date-time.returns"></a><h4>Returns</h4> 6037<p>the <a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> representation of <em class="parameter"><code>tc</code></em> 6038or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>tc</code></em> 6039has no daily jam. </p> 6040<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> 6041</div> 6042<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 6043</div> 6044<hr> 6045<div class="refsect2"> 6046<a name="gst-video-time-code-to-string"></a><h3>gst_video_time_code_to_string ()</h3> 6047<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 6048gst_video_time_code_to_string (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre> 6049<div class="refsect3"> 6050<a name="gst-video-time-code-to-string.parameters"></a><h4>Parameters</h4> 6051<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6052<colgroup> 6053<col width="150px" class="parameters_name"> 6054<col class="parameters_description"> 6055<col width="200px" class="parameters_annotations"> 6056</colgroup> 6057<tbody><tr> 6058<td class="parameter_name"><p>tc</p></td> 6059<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> to convert</p></td> 6060<td class="parameter_annotations"> </td> 6061</tr></tbody> 6062</table></div> 6063</div> 6064<div class="refsect3"> 6065<a name="gst-video-time-code-to-string.returns"></a><h4>Returns</h4> 6066<p> the SMPTE ST 2059-1:2015 string representation of <em class="parameter"><code>tc</code></em> 6067. That will 6068take the form hh:mm:ss:ff. The last separator (between seconds and frames) 6069may vary:</p> 6070<p>';' for drop-frame, non-interlaced content and for drop-frame interlaced 6071field 2 6072',' for drop-frame interlaced field 1 6073':' for non-drop-frame, non-interlaced content and for non-drop-frame 6074interlaced field 2 6075'.' for non-drop-frame interlaced field 1</p> 6076</div> 6077<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 6078</div> 6079<hr> 6080<div class="refsect2"> 6081<a name="gst-video-time-code-add-interval"></a><h3>gst_video_time_code_add_interval ()</h3> 6082<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 6083gst_video_time_code_add_interval (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>, 6084 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc_inter</code></em>);</pre> 6085<p>This makes a component-wise addition of <em class="parameter"><code>tc_inter</code></em> 6086 to <em class="parameter"><code>tc</code></em> 6087. For example, 6088adding ("01:02:03:04", "00:01:00:00") will return "01:03:03:04". 6089When it comes to drop-frame timecodes, 6090adding ("00:00:00;00", "00:01:00:00") will return "00:01:00;02" 6091because of drop-frame oddities. However, 6092adding ("00:09:00;02", "00:01:00:00") will return "00:10:00;00" 6093because this time we can have an exact minute.</p> 6094<div class="refsect3"> 6095<a name="gst-video-time-code-add-interval.parameters"></a><h4>Parameters</h4> 6096<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6097<colgroup> 6098<col width="150px" class="parameters_name"> 6099<col class="parameters_description"> 6100<col width="200px" class="parameters_annotations"> 6101</colgroup> 6102<tbody> 6103<tr> 6104<td class="parameter_name"><p>tc</p></td> 6105<td class="parameter_description"><p>The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> where the diff should be added. This 6106must contain valid timecode values.</p></td> 6107<td class="parameter_annotations"> </td> 6108</tr> 6109<tr> 6110<td class="parameter_name"><p>tc_inter</p></td> 6111<td class="parameter_description"><p>The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> to add to <em class="parameter"><code>tc</code></em> 6112. 6113The interval must contain valid values, except that for drop-frame 6114timecode, it may also contain timecodes which would normally 6115be dropped. These are then corrected to the next reasonable timecode.</p></td> 6116<td class="parameter_annotations"> </td> 6117</tr> 6118</tbody> 6119</table></div> 6120</div> 6121<div class="refsect3"> 6122<a name="gst-video-time-code-add-interval.returns"></a><h4>Returns</h4> 6123<p>A new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> with <em class="parameter"><code>tc_inter</code></em> 6124added or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> 6125if the interval can't be added. </p> 6126<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> 6127</div> 6128<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6129</div> 6130<hr> 6131<div class="refsect2"> 6132<a name="gst-video-time-code-new-from-string"></a><h3>gst_video_time_code_new_from_string ()</h3> 6133<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 6134gst_video_time_code_new_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tc_str</code></em>);</pre> 6135<div class="refsect3"> 6136<a name="gst-video-time-code-new-from-string.parameters"></a><h4>Parameters</h4> 6137<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6138<colgroup> 6139<col width="150px" class="parameters_name"> 6140<col class="parameters_description"> 6141<col width="200px" class="parameters_annotations"> 6142</colgroup> 6143<tbody><tr> 6144<td class="parameter_name"><p>tc_str</p></td> 6145<td class="parameter_description"><p>The string that represents the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 6146<td class="parameter_annotations"> </td> 6147</tr></tbody> 6148</table></div> 6149</div> 6150<div class="refsect3"> 6151<a name="gst-video-time-code-new-from-string.returns"></a><h4>Returns</h4> 6152<p>a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> from the given string or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> 6153if the string could not be passed. </p> 6154<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> 6155</div> 6156<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6157</div> 6158<hr> 6159<div class="refsect2"> 6160<a name="gst-video-time-code-new-from-date-time"></a><h3>gst_video_time_code_new_from_date_time ()</h3> 6161<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 6162gst_video_time_code_new_from_date_time 6163 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>, 6164 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>, 6165 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>, 6166 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>, 6167 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre> 6168<div class="warning"><p><code class="literal">gst_video_time_code_new_from_date_time</code> is deprecated and should not be used in newly-written code.</p></div> 6169<p>The resulting config->latest_daily_jam is set to 6170midnight, and timecode is set to the given time.</p> 6171<p>This might return a completely invalid timecode, use 6172<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-date-time-full" title="gst_video_time_code_new_from_date_time_full ()"><code class="function">gst_video_time_code_new_from_date_time_full()</code></a> to ensure 6173that you would get <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> instead in that case.</p> 6174<div class="refsect3"> 6175<a name="gst-video-time-code-new-from-date-time.parameters"></a><h4>Parameters</h4> 6176<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6177<colgroup> 6178<col width="150px" class="parameters_name"> 6179<col class="parameters_description"> 6180<col width="200px" class="parameters_annotations"> 6181</colgroup> 6182<tbody> 6183<tr> 6184<td class="parameter_name"><p>fps_n</p></td> 6185<td class="parameter_description"><p>Numerator of the frame rate</p></td> 6186<td class="parameter_annotations"> </td> 6187</tr> 6188<tr> 6189<td class="parameter_name"><p>fps_d</p></td> 6190<td class="parameter_description"><p>Denominator of the frame rate</p></td> 6191<td class="parameter_annotations"> </td> 6192</tr> 6193<tr> 6194<td class="parameter_name"><p>dt</p></td> 6195<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td> 6196<td class="parameter_annotations"> </td> 6197</tr> 6198<tr> 6199<td class="parameter_name"><p>flags</p></td> 6200<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 6201<td class="parameter_annotations"> </td> 6202</tr> 6203<tr> 6204<td class="parameter_name"><p>field_count</p></td> 6205<td class="parameter_description"><p>Interlaced video field count</p></td> 6206<td class="parameter_annotations"> </td> 6207</tr> 6208</tbody> 6209</table></div> 6210</div> 6211<div class="refsect3"> 6212<a name="gst-video-time-code-new-from-date-time.returns"></a><h4>Returns</h4> 6213<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> representation of <em class="parameter"><code>dt</code></em> 6214.</p> 6215</div> 6216<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6217</div> 6218<hr> 6219<div class="refsect2"> 6220<a name="gst-video-time-code-new-from-date-time-full"></a><h3>gst_video_time_code_new_from_date_time_full ()</h3> 6221<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> * 6222gst_video_time_code_new_from_date_time_full 6223 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>, 6224 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>, 6225 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>, 6226 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>, 6227 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre> 6228<p>The resulting config->latest_daily_jam is set to 6229midnight, and timecode is set to the given time.</p> 6230<div class="refsect3"> 6231<a name="gst-video-time-code-new-from-date-time-full.parameters"></a><h4>Parameters</h4> 6232<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6233<colgroup> 6234<col width="150px" class="parameters_name"> 6235<col class="parameters_description"> 6236<col width="200px" class="parameters_annotations"> 6237</colgroup> 6238<tbody> 6239<tr> 6240<td class="parameter_name"><p>fps_n</p></td> 6241<td class="parameter_description"><p>Numerator of the frame rate</p></td> 6242<td class="parameter_annotations"> </td> 6243</tr> 6244<tr> 6245<td class="parameter_name"><p>fps_d</p></td> 6246<td class="parameter_description"><p>Denominator of the frame rate</p></td> 6247<td class="parameter_annotations"> </td> 6248</tr> 6249<tr> 6250<td class="parameter_name"><p>dt</p></td> 6251<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td> 6252<td class="parameter_annotations"> </td> 6253</tr> 6254<tr> 6255<td class="parameter_name"><p>flags</p></td> 6256<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 6257<td class="parameter_annotations"> </td> 6258</tr> 6259<tr> 6260<td class="parameter_name"><p>field_count</p></td> 6261<td class="parameter_description"><p>Interlaced video field count</p></td> 6262<td class="parameter_annotations"> </td> 6263</tr> 6264</tbody> 6265</table></div> 6266</div> 6267<div class="refsect3"> 6268<a name="gst-video-time-code-new-from-date-time-full.returns"></a><h4>Returns</h4> 6269<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> representation of <em class="parameter"><code>dt</code></em> 6270, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if 6271no valid timecode could be created.</p> 6272</div> 6273<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p> 6274</div> 6275<hr> 6276<div class="refsect2"> 6277<a name="gst-video-time-code-interval-new"></a><h3>gst_video_time_code_interval_new ()</h3> 6278<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> * 6279gst_video_time_code_interval_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>, 6280 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>, 6281 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>, 6282 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>);</pre> 6283<div class="refsect3"> 6284<a name="gst-video-time-code-interval-new.parameters"></a><h4>Parameters</h4> 6285<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6286<colgroup> 6287<col width="150px" class="parameters_name"> 6288<col class="parameters_description"> 6289<col width="200px" class="parameters_annotations"> 6290</colgroup> 6291<tbody> 6292<tr> 6293<td class="parameter_name"><p>hours</p></td> 6294<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6295<td class="parameter_annotations"> </td> 6296</tr> 6297<tr> 6298<td class="parameter_name"><p>minutes</p></td> 6299<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6300<td class="parameter_annotations"> </td> 6301</tr> 6302<tr> 6303<td class="parameter_name"><p>seconds</p></td> 6304<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6305<td class="parameter_annotations"> </td> 6306</tr> 6307<tr> 6308<td class="parameter_name"><p>frames</p></td> 6309<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6310<td class="parameter_annotations"> </td> 6311</tr> 6312</tbody> 6313</table></div> 6314</div> 6315<div class="refsect3"> 6316<a name="gst-video-time-code-interval-new.returns"></a><h4>Returns</h4> 6317<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> with the given values.</p> 6318</div> 6319<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6320</div> 6321<hr> 6322<div class="refsect2"> 6323<a name="gst-video-time-code-interval-new-from-string"></a><h3>gst_video_time_code_interval_new_from_string ()</h3> 6324<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> * 6325gst_video_time_code_interval_new_from_string 6326 (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tc_inter_str</code></em>);</pre> 6327<p><em class="parameter"><code>tc_inter_str</code></em> 6328 must only have ":" as separators.</p> 6329<div class="refsect3"> 6330<a name="gst-video-time-code-interval-new-from-string.parameters"></a><h4>Parameters</h4> 6331<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6332<colgroup> 6333<col width="150px" class="parameters_name"> 6334<col class="parameters_description"> 6335<col width="200px" class="parameters_annotations"> 6336</colgroup> 6337<tbody><tr> 6338<td class="parameter_name"><p>tc_inter_str</p></td> 6339<td class="parameter_description"><p>The string that represents the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6340<td class="parameter_annotations"> </td> 6341</tr></tbody> 6342</table></div> 6343</div> 6344<div class="refsect3"> 6345<a name="gst-video-time-code-interval-new-from-string.returns"></a><h4>Returns</h4> 6346<p>a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> from the given string 6347or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the string could not be passed. </p> 6348<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> 6349</div> 6350<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6351</div> 6352<hr> 6353<div class="refsect2"> 6354<a name="gst-video-time-code-interval-init"></a><h3>gst_video_time_code_interval_init ()</h3> 6355<pre class="programlisting"><span class="returnvalue">void</span> 6356gst_video_time_code_interval_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>, 6357 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>, 6358 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>, 6359 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>, 6360 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>);</pre> 6361<p>Initializes <em class="parameter"><code>tc</code></em> 6362 with the given values.</p> 6363<div class="refsect3"> 6364<a name="gst-video-time-code-interval-init.parameters"></a><h4>Parameters</h4> 6365<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6366<colgroup> 6367<col width="150px" class="parameters_name"> 6368<col class="parameters_description"> 6369<col width="200px" class="parameters_annotations"> 6370</colgroup> 6371<tbody> 6372<tr> 6373<td class="parameter_name"><p>tc</p></td> 6374<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6375<td class="parameter_annotations"> </td> 6376</tr> 6377<tr> 6378<td class="parameter_name"><p>hours</p></td> 6379<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6380<td class="parameter_annotations"> </td> 6381</tr> 6382<tr> 6383<td class="parameter_name"><p>minutes</p></td> 6384<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6385<td class="parameter_annotations"> </td> 6386</tr> 6387<tr> 6388<td class="parameter_name"><p>seconds</p></td> 6389<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6390<td class="parameter_annotations"> </td> 6391</tr> 6392<tr> 6393<td class="parameter_name"><p>frames</p></td> 6394<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6395<td class="parameter_annotations"> </td> 6396</tr> 6397</tbody> 6398</table></div> 6399</div> 6400<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6401</div> 6402<hr> 6403<div class="refsect2"> 6404<a name="gst-video-time-code-interval-clear"></a><h3>gst_video_time_code_interval_clear ()</h3> 6405<pre class="programlisting"><span class="returnvalue">void</span> 6406gst_video_time_code_interval_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>);</pre> 6407<p>Initializes <em class="parameter"><code>tc</code></em> 6408 with empty/zero/NULL values.</p> 6409<div class="refsect3"> 6410<a name="gst-video-time-code-interval-clear.parameters"></a><h4>Parameters</h4> 6411<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6412<colgroup> 6413<col width="150px" class="parameters_name"> 6414<col class="parameters_description"> 6415<col width="200px" class="parameters_annotations"> 6416</colgroup> 6417<tbody><tr> 6418<td class="parameter_name"><p>tc</p></td> 6419<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6420<td class="parameter_annotations"> </td> 6421</tr></tbody> 6422</table></div> 6423</div> 6424<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6425</div> 6426<hr> 6427<div class="refsect2"> 6428<a name="gst-video-time-code-interval-copy"></a><h3>gst_video_time_code_interval_copy ()</h3> 6429<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> * 6430gst_video_time_code_interval_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>);</pre> 6431<div class="refsect3"> 6432<a name="gst-video-time-code-interval-copy.parameters"></a><h4>Parameters</h4> 6433<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6434<colgroup> 6435<col width="150px" class="parameters_name"> 6436<col class="parameters_description"> 6437<col width="200px" class="parameters_annotations"> 6438</colgroup> 6439<tbody><tr> 6440<td class="parameter_name"><p>tc</p></td> 6441<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6442<td class="parameter_annotations"> </td> 6443</tr></tbody> 6444</table></div> 6445</div> 6446<div class="refsect3"> 6447<a name="gst-video-time-code-interval-copy.returns"></a><h4>Returns</h4> 6448<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> with the same values as <em class="parameter"><code>tc</code></em> 6449.</p> 6450</div> 6451<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6452</div> 6453<hr> 6454<div class="refsect2"> 6455<a name="gst-video-time-code-interval-free"></a><h3>gst_video_time_code_interval_free ()</h3> 6456<pre class="programlisting"><span class="returnvalue">void</span> 6457gst_video_time_code_interval_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>);</pre> 6458<p>Frees <em class="parameter"><code>tc</code></em> 6459.</p> 6460<div class="refsect3"> 6461<a name="gst-video-time-code-interval-free.parameters"></a><h4>Parameters</h4> 6462<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6463<colgroup> 6464<col width="150px" class="parameters_name"> 6465<col class="parameters_description"> 6466<col width="200px" class="parameters_annotations"> 6467</colgroup> 6468<tbody><tr> 6469<td class="parameter_name"><p>tc</p></td> 6470<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 6471<td class="parameter_annotations"> </td> 6472</tr></tbody> 6473</table></div> 6474</div> 6475<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 6476</div> 6477</div> 6478<div class="refsect1"> 6479<a name="gst-plugins-base-libs-GstVideo.other_details"></a><h2>Types and Values</h2> 6480<div class="refsect2"> 6481<a name="GstVideoAlignment"></a><h3>struct GstVideoAlignment</h3> 6482<pre class="programlisting">struct GstVideoAlignment { 6483 guint padding_top; 6484 guint padding_bottom; 6485 guint padding_left; 6486 guint padding_right; 6487 guint stride_align[GST_VIDEO_MAX_PLANES]; 6488}; 6489</pre> 6490<p>Extra alignment parameters for the memory of video buffers. This 6491structure is usually used to configure the bufferpool if it supports the 6492<a class="link" href="gst-plugins-base-libs-GstVideoPool.html#GST-BUFFER-POOL-OPTION-VIDEO-ALIGNMENT:CAPS" title="GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT"><span class="type">GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT</span></a>.</p> 6493<div class="refsect3"> 6494<a name="GstVideoAlignment.members"></a><h4>Members</h4> 6495<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6496<colgroup> 6497<col width="300px" class="struct_members_name"> 6498<col class="struct_members_description"> 6499<col width="200px" class="struct_members_annotations"> 6500</colgroup> 6501<tbody> 6502<tr> 6503<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-top"></a>padding_top</code></em>;</p></td> 6504<td class="struct_member_description"><p>extra pixels on the top</p></td> 6505<td class="struct_member_annotations"> </td> 6506</tr> 6507<tr> 6508<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-bottom"></a>padding_bottom</code></em>;</p></td> 6509<td class="struct_member_description"><p>extra pixels on the bottom</p></td> 6510<td class="struct_member_annotations"> </td> 6511</tr> 6512<tr> 6513<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-left"></a>padding_left</code></em>;</p></td> 6514<td class="struct_member_description"><p>extra pixels on the left side</p></td> 6515<td class="struct_member_annotations"> </td> 6516</tr> 6517<tr> 6518<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-right"></a>padding_right</code></em>;</p></td> 6519<td class="struct_member_description"><p>extra pixels on the right side</p></td> 6520<td class="struct_member_annotations"> </td> 6521</tr> 6522<tr> 6523<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.stride-align"></a>stride_align</code></em>[GST_VIDEO_MAX_PLANES];</p></td> 6524<td class="struct_member_description"><p>array with extra alignment requirements for the strides</p></td> 6525<td class="struct_member_annotations"> </td> 6526</tr> 6527</tbody> 6528</table></div> 6529</div> 6530</div> 6531<hr> 6532<div class="refsect2"> 6533<a name="GST-META-TAG-VIDEO-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_STR</h3> 6534<pre class="programlisting">#define GST_META_TAG_VIDEO_STR "video" 6535</pre> 6536<p>This metadata is relevant for video streams.</p> 6537<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 6538</div> 6539<hr> 6540<div class="refsect2"> 6541<a name="GST-META-TAG-VIDEO-ORIENTATION-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_ORIENTATION_STR</h3> 6542<pre class="programlisting">#define GST_META_TAG_VIDEO_ORIENTATION_STR "orientation" 6543</pre> 6544<p>This metadata stays relevant as long as video orientation is unchanged.</p> 6545<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 6546</div> 6547<hr> 6548<div class="refsect2"> 6549<a name="GST-META-TAG-VIDEO-SIZE-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_SIZE_STR</h3> 6550<pre class="programlisting">#define GST_META_TAG_VIDEO_SIZE_STR "size" 6551</pre> 6552<p>This metadata stays relevant as long as video size is unchanged.</p> 6553<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 6554</div> 6555<hr> 6556<div class="refsect2"> 6557<a name="GST-META-TAG-VIDEO-COLORSPACE-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_COLORSPACE_STR</h3> 6558<pre class="programlisting">#define GST_META_TAG_VIDEO_COLORSPACE_STR "colorspace" 6559</pre> 6560<p>This metadata stays relevant as long as video colorspace is unchanged.</p> 6561<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 6562</div> 6563<hr> 6564<div class="refsect2"> 6565<a name="GstVideoOrientationMethod"></a><h3>enum GstVideoOrientationMethod</h3> 6566<p>The different video orientation methods.</p> 6567<div class="refsect3"> 6568<a name="GstVideoOrientationMethod.members"></a><h4>Members</h4> 6569<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6570<colgroup> 6571<col width="300px" class="enum_members_name"> 6572<col class="enum_members_description"> 6573<col width="200px" class="enum_members_annotations"> 6574</colgroup> 6575<tbody> 6576<tr> 6577<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-IDENTITY:CAPS"></a>GST_VIDEO_ORIENTATION_IDENTITY</p></td> 6578<td class="enum_member_description"> 6579<p>Identity (no rotation)</p> 6580</td> 6581<td class="enum_member_annotations"> </td> 6582</tr> 6583<tr> 6584<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-90R:CAPS"></a>GST_VIDEO_ORIENTATION_90R</p></td> 6585<td class="enum_member_description"> 6586<p>Rotate clockwise 90 degrees</p> 6587</td> 6588<td class="enum_member_annotations"> </td> 6589</tr> 6590<tr> 6591<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-180:CAPS"></a>GST_VIDEO_ORIENTATION_180</p></td> 6592<td class="enum_member_description"> 6593<p>Rotate 180 degrees</p> 6594</td> 6595<td class="enum_member_annotations"> </td> 6596</tr> 6597<tr> 6598<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-90L:CAPS"></a>GST_VIDEO_ORIENTATION_90L</p></td> 6599<td class="enum_member_description"> 6600<p>Rotate counter-clockwise 90 degrees</p> 6601</td> 6602<td class="enum_member_annotations"> </td> 6603</tr> 6604<tr> 6605<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-HORIZ:CAPS"></a>GST_VIDEO_ORIENTATION_HORIZ</p></td> 6606<td class="enum_member_description"> 6607<p>Flip horizontally</p> 6608</td> 6609<td class="enum_member_annotations"> </td> 6610</tr> 6611<tr> 6612<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-VERT:CAPS"></a>GST_VIDEO_ORIENTATION_VERT</p></td> 6613<td class="enum_member_description"> 6614<p>Flip vertically</p> 6615</td> 6616<td class="enum_member_annotations"> </td> 6617</tr> 6618<tr> 6619<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-UL-LR:CAPS"></a>GST_VIDEO_ORIENTATION_UL_LR</p></td> 6620<td class="enum_member_description"> 6621<p>Flip across upper left/lower right diagonal</p> 6622</td> 6623<td class="enum_member_annotations"> </td> 6624</tr> 6625<tr> 6626<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-UR-LL:CAPS"></a>GST_VIDEO_ORIENTATION_UR_LL</p></td> 6627<td class="enum_member_description"> 6628<p>Flip across upper right/lower left diagonal</p> 6629</td> 6630<td class="enum_member_annotations"> </td> 6631</tr> 6632<tr> 6633<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-AUTO:CAPS"></a>GST_VIDEO_ORIENTATION_AUTO</p></td> 6634<td class="enum_member_description"> 6635<p>Select flip method based on image-orientation tag</p> 6636</td> 6637<td class="enum_member_annotations"> </td> 6638</tr> 6639<tr> 6640<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-CUSTOM:CAPS"></a>GST_VIDEO_ORIENTATION_CUSTOM</p></td> 6641<td class="enum_member_description"> 6642<p>Current status depends on plugin internal setup</p> 6643</td> 6644<td class="enum_member_annotations"> </td> 6645</tr> 6646</tbody> 6647</table></div> 6648</div> 6649<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 6650</div> 6651<hr> 6652<div class="refsect2"> 6653<a name="GstVideoFormat"></a><h3>enum GstVideoFormat</h3> 6654<p>Enum value describing the most common video formats.</p> 6655<p>See the <a class="ulink" href="https://gstreamer.freedesktop.org/documentation/design/mediatype-video-raw.html#formats" target="_top">GStreamer raw video format design document</a> 6656for details about the layout and packing of these formats in memory.</p> 6657<div class="refsect3"> 6658<a name="GstVideoFormat.members"></a><h4>Members</h4> 6659<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6660<colgroup> 6661<col width="300px" class="enum_members_name"> 6662<col class="enum_members_description"> 6663<col width="200px" class="enum_members_annotations"> 6664</colgroup> 6665<tbody> 6666<tr> 6667<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-UNKNOWN:CAPS"></a>GST_VIDEO_FORMAT_UNKNOWN</p></td> 6668<td class="enum_member_description"> 6669<p>Unknown or unset video format id</p> 6670</td> 6671<td class="enum_member_annotations"> </td> 6672</tr> 6673<tr> 6674<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ENCODED:CAPS"></a>GST_VIDEO_FORMAT_ENCODED</p></td> 6675<td class="enum_member_description"> 6676<p>Encoded video format. Only ever use that in caps for 6677 special video formats in combination with non-system 6678 memory GstCapsFeatures where it does not make sense 6679 to specify a real video format.</p> 6680</td> 6681<td class="enum_member_annotations"> </td> 6682</tr> 6683<tr> 6684<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420:CAPS"></a>GST_VIDEO_FORMAT_I420</p></td> 6685<td class="enum_member_description"> 6686<p>planar 4:2:0 YUV</p> 6687</td> 6688<td class="enum_member_annotations"> </td> 6689</tr> 6690<tr> 6691<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YV12:CAPS"></a>GST_VIDEO_FORMAT_YV12</p></td> 6692<td class="enum_member_description"> 6693<p>planar 4:2:0 YVU (like I420 but UV planes swapped)</p> 6694</td> 6695<td class="enum_member_annotations"> </td> 6696</tr> 6697<tr> 6698<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YUY2:CAPS"></a>GST_VIDEO_FORMAT_YUY2</p></td> 6699<td class="enum_member_description"> 6700<p>packed 4:2:2 YUV (Y0-U0-Y1-V0 Y2-U2-Y3-V2 Y4 ...)</p> 6701</td> 6702<td class="enum_member_annotations"> </td> 6703</tr> 6704<tr> 6705<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-UYVY:CAPS"></a>GST_VIDEO_FORMAT_UYVY</p></td> 6706<td class="enum_member_description"> 6707<p>packed 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)</p> 6708</td> 6709<td class="enum_member_annotations"> </td> 6710</tr> 6711<tr> 6712<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-AYUV:CAPS"></a>GST_VIDEO_FORMAT_AYUV</p></td> 6713<td class="enum_member_description"> 6714<p>packed 4:4:4 YUV with alpha channel (A0-Y0-U0-V0 ...)</p> 6715</td> 6716<td class="enum_member_annotations"> </td> 6717</tr> 6718<tr> 6719<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGBx"></a>GST_VIDEO_FORMAT_RGBx</p></td> 6720<td class="enum_member_description"> 6721<p>sparse rgb packed into 32 bit, space last</p> 6722</td> 6723<td class="enum_member_annotations"> </td> 6724</tr> 6725<tr> 6726<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGRx"></a>GST_VIDEO_FORMAT_BGRx</p></td> 6727<td class="enum_member_description"> 6728<p>sparse reverse rgb packed into 32 bit, space last</p> 6729</td> 6730<td class="enum_member_annotations"> </td> 6731</tr> 6732<tr> 6733<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-xRGB"></a>GST_VIDEO_FORMAT_xRGB</p></td> 6734<td class="enum_member_description"> 6735<p>sparse rgb packed into 32 bit, space first</p> 6736</td> 6737<td class="enum_member_annotations"> </td> 6738</tr> 6739<tr> 6740<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-xBGR"></a>GST_VIDEO_FORMAT_xBGR</p></td> 6741<td class="enum_member_description"> 6742<p>sparse reverse rgb packed into 32 bit, space first</p> 6743</td> 6744<td class="enum_member_annotations"> </td> 6745</tr> 6746<tr> 6747<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGBA:CAPS"></a>GST_VIDEO_FORMAT_RGBA</p></td> 6748<td class="enum_member_description"> 6749<p>rgb with alpha channel last</p> 6750</td> 6751<td class="enum_member_annotations"> </td> 6752</tr> 6753<tr> 6754<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGRA:CAPS"></a>GST_VIDEO_FORMAT_BGRA</p></td> 6755<td class="enum_member_description"> 6756<p>reverse rgb with alpha channel last</p> 6757</td> 6758<td class="enum_member_annotations"> </td> 6759</tr> 6760<tr> 6761<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ARGB:CAPS"></a>GST_VIDEO_FORMAT_ARGB</p></td> 6762<td class="enum_member_description"> 6763<p>rgb with alpha channel first</p> 6764</td> 6765<td class="enum_member_annotations"> </td> 6766</tr> 6767<tr> 6768<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ABGR:CAPS"></a>GST_VIDEO_FORMAT_ABGR</p></td> 6769<td class="enum_member_description"> 6770<p>reverse rgb with alpha channel first</p> 6771</td> 6772<td class="enum_member_annotations"> </td> 6773</tr> 6774<tr> 6775<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB:CAPS"></a>GST_VIDEO_FORMAT_RGB</p></td> 6776<td class="enum_member_description"> 6777<p>RGB packed into 24 bits without padding (<code class="literal">R-G-B-R-G-B</code>)</p> 6778</td> 6779<td class="enum_member_annotations"> </td> 6780</tr> 6781<tr> 6782<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR:CAPS"></a>GST_VIDEO_FORMAT_BGR</p></td> 6783<td class="enum_member_description"> 6784<p>reverse RGB packed into 24 bits without padding (<code class="literal">B-G-R-B-G-R</code>)</p> 6785</td> 6786<td class="enum_member_annotations"> </td> 6787</tr> 6788<tr> 6789<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y41B:CAPS"></a>GST_VIDEO_FORMAT_Y41B</p></td> 6790<td class="enum_member_description"> 6791<p>planar 4:1:1 YUV</p> 6792</td> 6793<td class="enum_member_annotations"> </td> 6794</tr> 6795<tr> 6796<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y42B:CAPS"></a>GST_VIDEO_FORMAT_Y42B</p></td> 6797<td class="enum_member_description"> 6798<p>planar 4:2:2 YUV</p> 6799</td> 6800<td class="enum_member_annotations"> </td> 6801</tr> 6802<tr> 6803<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YVYU:CAPS"></a>GST_VIDEO_FORMAT_YVYU</p></td> 6804<td class="enum_member_description"> 6805<p>packed 4:2:2 YUV (Y0-V0-Y1-U0 Y2-V2-Y3-U2 Y4 ...)</p> 6806</td> 6807<td class="enum_member_annotations"> </td> 6808</tr> 6809<tr> 6810<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444:CAPS"></a>GST_VIDEO_FORMAT_Y444</p></td> 6811<td class="enum_member_description"> 6812<p>planar 4:4:4 YUV</p> 6813</td> 6814<td class="enum_member_annotations"> </td> 6815</tr> 6816<tr> 6817<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-v210"></a>GST_VIDEO_FORMAT_v210</p></td> 6818<td class="enum_member_description"> 6819<p>packed 4:2:2 10-bit YUV, complex format</p> 6820</td> 6821<td class="enum_member_annotations"> </td> 6822</tr> 6823<tr> 6824<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-v216"></a>GST_VIDEO_FORMAT_v216</p></td> 6825<td class="enum_member_description"> 6826<p>packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order</p> 6827</td> 6828<td class="enum_member_annotations"> </td> 6829</tr> 6830<tr> 6831<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12:CAPS"></a>GST_VIDEO_FORMAT_NV12</p></td> 6832<td class="enum_member_description"> 6833<p>planar 4:2:0 YUV with interleaved UV plane</p> 6834</td> 6835<td class="enum_member_annotations"> </td> 6836</tr> 6837<tr> 6838<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV21:CAPS"></a>GST_VIDEO_FORMAT_NV21</p></td> 6839<td class="enum_member_description"> 6840<p>planar 4:2:0 YUV with interleaved VU plane</p> 6841</td> 6842<td class="enum_member_annotations"> </td> 6843</tr> 6844<tr> 6845<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY8:CAPS"></a>GST_VIDEO_FORMAT_GRAY8</p></td> 6846<td class="enum_member_description"> 6847<p>8-bit grayscale</p> 6848</td> 6849<td class="enum_member_annotations"> </td> 6850</tr> 6851<tr> 6852<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY16-BE:CAPS"></a>GST_VIDEO_FORMAT_GRAY16_BE</p></td> 6853<td class="enum_member_description"> 6854<p>16-bit grayscale, most significant byte first</p> 6855</td> 6856<td class="enum_member_annotations"> </td> 6857</tr> 6858<tr> 6859<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY16-LE:CAPS"></a>GST_VIDEO_FORMAT_GRAY16_LE</p></td> 6860<td class="enum_member_description"> 6861<p>16-bit grayscale, least significant byte first</p> 6862</td> 6863<td class="enum_member_annotations"> </td> 6864</tr> 6865<tr> 6866<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-v308"></a>GST_VIDEO_FORMAT_v308</p></td> 6867<td class="enum_member_description"> 6868<p>packed 4:4:4 YUV (Y-U-V ...)</p> 6869</td> 6870<td class="enum_member_annotations"> </td> 6871</tr> 6872<tr> 6873<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB16:CAPS"></a>GST_VIDEO_FORMAT_RGB16</p></td> 6874<td class="enum_member_description"> 6875<p>rgb 5-6-5 bits per component</p> 6876</td> 6877<td class="enum_member_annotations"> </td> 6878</tr> 6879<tr> 6880<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR16:CAPS"></a>GST_VIDEO_FORMAT_BGR16</p></td> 6881<td class="enum_member_description"> 6882<p>reverse rgb 5-6-5 bits per component</p> 6883</td> 6884<td class="enum_member_annotations"> </td> 6885</tr> 6886<tr> 6887<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB15:CAPS"></a>GST_VIDEO_FORMAT_RGB15</p></td> 6888<td class="enum_member_description"> 6889<p>rgb 5-5-5 bits per component</p> 6890</td> 6891<td class="enum_member_annotations"> </td> 6892</tr> 6893<tr> 6894<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR15:CAPS"></a>GST_VIDEO_FORMAT_BGR15</p></td> 6895<td class="enum_member_description"> 6896<p>reverse rgb 5-5-5 bits per component</p> 6897</td> 6898<td class="enum_member_annotations"> </td> 6899</tr> 6900<tr> 6901<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-UYVP:CAPS"></a>GST_VIDEO_FORMAT_UYVP</p></td> 6902<td class="enum_member_description"> 6903<p>packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)</p> 6904</td> 6905<td class="enum_member_annotations"> </td> 6906</tr> 6907<tr> 6908<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A420:CAPS"></a>GST_VIDEO_FORMAT_A420</p></td> 6909<td class="enum_member_description"> 6910<p>planar 4:4:2:0 AYUV</p> 6911</td> 6912<td class="enum_member_annotations"> </td> 6913</tr> 6914<tr> 6915<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB8P:CAPS"></a>GST_VIDEO_FORMAT_RGB8P</p></td> 6916<td class="enum_member_description"> 6917<p>8-bit paletted RGB</p> 6918</td> 6919<td class="enum_member_annotations"> </td> 6920</tr> 6921<tr> 6922<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YUV9:CAPS"></a>GST_VIDEO_FORMAT_YUV9</p></td> 6923<td class="enum_member_description"> 6924<p>planar 4:1:0 YUV</p> 6925</td> 6926<td class="enum_member_annotations"> </td> 6927</tr> 6928<tr> 6929<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YVU9:CAPS"></a>GST_VIDEO_FORMAT_YVU9</p></td> 6930<td class="enum_member_description"> 6931<p>planar 4:1:0 YUV (like YUV9 but UV planes swapped)</p> 6932</td> 6933<td class="enum_member_annotations"> </td> 6934</tr> 6935<tr> 6936<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-IYU1:CAPS"></a>GST_VIDEO_FORMAT_IYU1</p></td> 6937<td class="enum_member_description"> 6938<p>packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...)</p> 6939</td> 6940<td class="enum_member_annotations"> </td> 6941</tr> 6942<tr> 6943<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ARGB64:CAPS"></a>GST_VIDEO_FORMAT_ARGB64</p></td> 6944<td class="enum_member_description"> 6945<p>rgb with alpha channel first, 16 bits per channel</p> 6946</td> 6947<td class="enum_member_annotations"> </td> 6948</tr> 6949<tr> 6950<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-AYUV64:CAPS"></a>GST_VIDEO_FORMAT_AYUV64</p></td> 6951<td class="enum_member_description"> 6952<p>packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...)</p> 6953</td> 6954<td class="enum_member_annotations"> </td> 6955</tr> 6956<tr> 6957<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-r210"></a>GST_VIDEO_FORMAT_r210</p></td> 6958<td class="enum_member_description"> 6959<p>packed 4:4:4 RGB, 10 bits per channel</p> 6960</td> 6961<td class="enum_member_annotations"> </td> 6962</tr> 6963<tr> 6964<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-10BE:CAPS"></a>GST_VIDEO_FORMAT_I420_10BE</p></td> 6965<td class="enum_member_description"> 6966<p>planar 4:2:0 YUV, 10 bits per channel</p> 6967</td> 6968<td class="enum_member_annotations"> </td> 6969</tr> 6970<tr> 6971<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-10LE:CAPS"></a>GST_VIDEO_FORMAT_I420_10LE</p></td> 6972<td class="enum_member_description"> 6973<p>planar 4:2:0 YUV, 10 bits per channel</p> 6974</td> 6975<td class="enum_member_annotations"> </td> 6976</tr> 6977<tr> 6978<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-10BE:CAPS"></a>GST_VIDEO_FORMAT_I422_10BE</p></td> 6979<td class="enum_member_description"> 6980<p>planar 4:2:2 YUV, 10 bits per channel</p> 6981</td> 6982<td class="enum_member_annotations"> </td> 6983</tr> 6984<tr> 6985<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-10LE:CAPS"></a>GST_VIDEO_FORMAT_I422_10LE</p></td> 6986<td class="enum_member_description"> 6987<p>planar 4:2:2 YUV, 10 bits per channel</p> 6988</td> 6989<td class="enum_member_annotations"> </td> 6990</tr> 6991<tr> 6992<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-10BE:CAPS"></a>GST_VIDEO_FORMAT_Y444_10BE</p></td> 6993<td class="enum_member_description"> 6994<p>planar 4:4:4 YUV, 10 bits per channel (Since: 1.2)</p> 6995</td> 6996<td class="enum_member_annotations"> </td> 6997</tr> 6998<tr> 6999<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-10LE:CAPS"></a>GST_VIDEO_FORMAT_Y444_10LE</p></td> 7000<td class="enum_member_description"> 7001<p>planar 4:4:4 YUV, 10 bits per channel (Since: 1.2)</p> 7002</td> 7003<td class="enum_member_annotations"> </td> 7004</tr> 7005<tr> 7006<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR:CAPS"></a>GST_VIDEO_FORMAT_GBR</p></td> 7007<td class="enum_member_description"> 7008<p>planar 4:4:4 RGB, 8 bits per channel (Since: 1.2)</p> 7009</td> 7010<td class="enum_member_annotations"> </td> 7011</tr> 7012<tr> 7013<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-10BE:CAPS"></a>GST_VIDEO_FORMAT_GBR_10BE</p></td> 7014<td class="enum_member_description"> 7015<p>planar 4:4:4 RGB, 10 bits per channel (Since: 1.2)</p> 7016</td> 7017<td class="enum_member_annotations"> </td> 7018</tr> 7019<tr> 7020<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-10LE:CAPS"></a>GST_VIDEO_FORMAT_GBR_10LE</p></td> 7021<td class="enum_member_description"> 7022<p>planar 4:4:4 RGB, 10 bits per channel (Since: 1.2)</p> 7023</td> 7024<td class="enum_member_annotations"> </td> 7025</tr> 7026<tr> 7027<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV16:CAPS"></a>GST_VIDEO_FORMAT_NV16</p></td> 7028<td class="enum_member_description"> 7029<p>planar 4:2:2 YUV with interleaved UV plane (Since: 1.2)</p> 7030</td> 7031<td class="enum_member_annotations"> </td> 7032</tr> 7033<tr> 7034<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV24:CAPS"></a>GST_VIDEO_FORMAT_NV24</p></td> 7035<td class="enum_member_description"> 7036<p>planar 4:4:4 YUV with interleaved UV plane (Since: 1.2)</p> 7037</td> 7038<td class="enum_member_annotations"> </td> 7039</tr> 7040<tr> 7041<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12-64Z32:CAPS"></a>GST_VIDEO_FORMAT_NV12_64Z32</p></td> 7042<td class="enum_member_description"> 7043<p>NV12 with 64x32 tiling in zigzag pattern (Since: 1.4)</p> 7044</td> 7045<td class="enum_member_annotations"> </td> 7046</tr> 7047<tr> 7048<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A420-10BE:CAPS"></a>GST_VIDEO_FORMAT_A420_10BE</p></td> 7049<td class="enum_member_description"> 7050<p>planar 4:4:2:0 YUV, 10 bits per channel (Since: 1.6)</p> 7051</td> 7052<td class="enum_member_annotations"> </td> 7053</tr> 7054<tr> 7055<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A420-10LE:CAPS"></a>GST_VIDEO_FORMAT_A420_10LE</p></td> 7056<td class="enum_member_description"> 7057<p>planar 4:4:2:0 YUV, 10 bits per channel (Since: 1.6)</p> 7058</td> 7059<td class="enum_member_annotations"> </td> 7060</tr> 7061<tr> 7062<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A422-10BE:CAPS"></a>GST_VIDEO_FORMAT_A422_10BE</p></td> 7063<td class="enum_member_description"> 7064<p>planar 4:4:2:2 YUV, 10 bits per channel (Since: 1.6)</p> 7065</td> 7066<td class="enum_member_annotations"> </td> 7067</tr> 7068<tr> 7069<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A422-10LE:CAPS"></a>GST_VIDEO_FORMAT_A422_10LE</p></td> 7070<td class="enum_member_description"> 7071<p>planar 4:4:2:2 YUV, 10 bits per channel (Since: 1.6)</p> 7072</td> 7073<td class="enum_member_annotations"> </td> 7074</tr> 7075<tr> 7076<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A444-10BE:CAPS"></a>GST_VIDEO_FORMAT_A444_10BE</p></td> 7077<td class="enum_member_description"> 7078<p>planar 4:4:4:4 YUV, 10 bits per channel (Since: 1.6)</p> 7079</td> 7080<td class="enum_member_annotations"> </td> 7081</tr> 7082<tr> 7083<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A444-10LE:CAPS"></a>GST_VIDEO_FORMAT_A444_10LE</p></td> 7084<td class="enum_member_description"> 7085<p>planar 4:4:4:4 YUV, 10 bits per channel (Since: 1.6)</p> 7086</td> 7087<td class="enum_member_annotations"> </td> 7088</tr> 7089<tr> 7090<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV61:CAPS"></a>GST_VIDEO_FORMAT_NV61</p></td> 7091<td class="enum_member_description"> 7092<p>planar 4:2:2 YUV with interleaved VU plane (Since: 1.6)</p> 7093</td> 7094<td class="enum_member_annotations"> </td> 7095</tr> 7096<tr> 7097<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-P010-10BE:CAPS"></a>GST_VIDEO_FORMAT_P010_10BE</p></td> 7098<td class="enum_member_description"> 7099<p>planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel (Since: 1.10)</p> 7100</td> 7101<td class="enum_member_annotations"> </td> 7102</tr> 7103<tr> 7104<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-P010-10LE:CAPS"></a>GST_VIDEO_FORMAT_P010_10LE</p></td> 7105<td class="enum_member_description"> 7106<p>planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel (Since: 1.10)</p> 7107</td> 7108<td class="enum_member_annotations"> </td> 7109</tr> 7110<tr> 7111<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-IYU2:CAPS"></a>GST_VIDEO_FORMAT_IYU2</p></td> 7112<td class="enum_member_description"> 7113<p>packed 4:4:4 YUV (U-Y-V ...) (Since: 1.10)</p> 7114</td> 7115<td class="enum_member_annotations"> </td> 7116</tr> 7117<tr> 7118<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-VYUY:CAPS"></a>GST_VIDEO_FORMAT_VYUY</p></td> 7119<td class="enum_member_description"> 7120<p>packed 4:2:2 YUV (V0-Y0-U0-Y1 V2-Y2-U2-Y3 V4 ...)</p> 7121</td> 7122<td class="enum_member_annotations"> </td> 7123</tr> 7124<tr> 7125<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA:CAPS"></a>GST_VIDEO_FORMAT_GBRA</p></td> 7126<td class="enum_member_description"> 7127<p>planar 4:4:4:4 ARGB, 8 bits per channel (Since: 1.12)</p> 7128</td> 7129<td class="enum_member_annotations"> </td> 7130</tr> 7131<tr> 7132<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-10BE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_10BE</p></td> 7133<td class="enum_member_description"> 7134<p>planar 4:4:4:4 ARGB, 10 bits per channel (Since: 1.12)</p> 7135</td> 7136<td class="enum_member_annotations"> </td> 7137</tr> 7138<tr> 7139<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-10LE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_10LE</p></td> 7140<td class="enum_member_description"> 7141<p>planar 4:4:4:4 ARGB, 10 bits per channel (Since: 1.12)</p> 7142</td> 7143<td class="enum_member_annotations"> </td> 7144</tr> 7145<tr> 7146<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-12BE:CAPS"></a>GST_VIDEO_FORMAT_GBR_12BE</p></td> 7147<td class="enum_member_description"> 7148<p>planar 4:4:4 RGB, 12 bits per channel (Since: 1.12)</p> 7149</td> 7150<td class="enum_member_annotations"> </td> 7151</tr> 7152<tr> 7153<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-12LE:CAPS"></a>GST_VIDEO_FORMAT_GBR_12LE</p></td> 7154<td class="enum_member_description"> 7155<p>planar 4:4:4 RGB, 12 bits per channel (Since: 1.12)</p> 7156</td> 7157<td class="enum_member_annotations"> </td> 7158</tr> 7159<tr> 7160<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-12BE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_12BE</p></td> 7161<td class="enum_member_description"> 7162<p>planar 4:4:4:4 ARGB, 12 bits per channel (Since: 1.12)</p> 7163</td> 7164<td class="enum_member_annotations"> </td> 7165</tr> 7166<tr> 7167<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-12LE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_12LE</p></td> 7168<td class="enum_member_description"> 7169<p>planar 4:4:4:4 ARGB, 12 bits per channel (Since: 1.12)</p> 7170</td> 7171<td class="enum_member_annotations"> </td> 7172</tr> 7173<tr> 7174<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-12BE:CAPS"></a>GST_VIDEO_FORMAT_I420_12BE</p></td> 7175<td class="enum_member_description"> 7176<p>planar 4:2:0 YUV, 12 bits per channel (Since: 1.12)</p> 7177</td> 7178<td class="enum_member_annotations"> </td> 7179</tr> 7180<tr> 7181<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-12LE:CAPS"></a>GST_VIDEO_FORMAT_I420_12LE</p></td> 7182<td class="enum_member_description"> 7183<p>planar 4:2:0 YUV, 12 bits per channel (Since: 1.12)</p> 7184</td> 7185<td class="enum_member_annotations"> </td> 7186</tr> 7187<tr> 7188<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-12BE:CAPS"></a>GST_VIDEO_FORMAT_I422_12BE</p></td> 7189<td class="enum_member_description"> 7190<p>planar 4:2:2 YUV, 12 bits per channel (Since: 1.12)</p> 7191</td> 7192<td class="enum_member_annotations"> </td> 7193</tr> 7194<tr> 7195<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-12LE:CAPS"></a>GST_VIDEO_FORMAT_I422_12LE</p></td> 7196<td class="enum_member_description"> 7197<p>planar 4:2:2 YUV, 12 bits per channel (Since: 1.12)</p> 7198</td> 7199<td class="enum_member_annotations"> </td> 7200</tr> 7201<tr> 7202<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-12BE:CAPS"></a>GST_VIDEO_FORMAT_Y444_12BE</p></td> 7203<td class="enum_member_description"> 7204<p>planar 4:4:4 YUV, 12 bits per channel (Since: 1.12)</p> 7205</td> 7206<td class="enum_member_annotations"> </td> 7207</tr> 7208<tr> 7209<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-12LE:CAPS"></a>GST_VIDEO_FORMAT_Y444_12LE</p></td> 7210<td class="enum_member_description"> 7211<p>planar 4:4:4 YUV, 12 bits per channel (Since: 1.12)</p> 7212</td> 7213<td class="enum_member_annotations"> </td> 7214</tr> 7215<tr> 7216<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY10-LE32:CAPS"></a>GST_VIDEO_FORMAT_GRAY10_LE32</p></td> 7217<td class="enum_member_description"> 7218<p>10-bit grayscale, packed into 32bit words (2 bits padding) (Since: 1.14)</p> 7219</td> 7220<td class="enum_member_annotations"> </td> 7221</tr> 7222<tr> 7223<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12-10LE32:CAPS"></a>GST_VIDEO_FORMAT_NV12_10LE32</p></td> 7224<td class="enum_member_description"> 7225<p>10-bit variant of <em class="parameter"><code>GST_VIDEO_FORMAT_NV12</code></em> 7226, packed into 32bit words (MSB 2 bits padding) (Since: 1.14)</p> 7227</td> 7228<td class="enum_member_annotations"> </td> 7229</tr> 7230<tr> 7231<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV16-10LE32:CAPS"></a>GST_VIDEO_FORMAT_NV16_10LE32</p></td> 7232<td class="enum_member_description"> 7233<p>10-bit variant of <em class="parameter"><code>GST_VIDEO_FORMAT_NV16</code></em> 7234, packed into 32bit words (MSB 2 bits padding) (Since: 1.14)</p> 7235</td> 7236<td class="enum_member_annotations"> </td> 7237</tr> 7238<tr> 7239<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12-10LE40:CAPS"></a>GST_VIDEO_FORMAT_NV12_10LE40</p></td> 7240<td class="enum_member_description"> 7241<p>Fully packed variant of NV12_10LE32 (Since: 1.16)</p> 7242</td> 7243<td class="enum_member_annotations"> </td> 7244</tr> 7245<tr> 7246<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y210:CAPS"></a>GST_VIDEO_FORMAT_Y210</p></td> 7247<td class="enum_member_description"> 7248<p>packed 4:2:2 YUV, 10 bits per channel (Since: 1.16)</p> 7249</td> 7250<td class="enum_member_annotations"> </td> 7251</tr> 7252<tr> 7253<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y410:CAPS"></a>GST_VIDEO_FORMAT_Y410</p></td> 7254<td class="enum_member_description"> 7255<p>packed 4:4:4 YUV, 10 bits per channel(A-V-Y-U...) (Since: 1.16)</p> 7256</td> 7257<td class="enum_member_annotations"> </td> 7258</tr> 7259<tr> 7260<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-VUYA:CAPS"></a>GST_VIDEO_FORMAT_VUYA</p></td> 7261<td class="enum_member_description"> 7262<p>packed 4:4:4 YUV with alpha channel (V0-U0-Y0-A0...) (Since: 1.16)</p> 7263</td> 7264<td class="enum_member_annotations"> </td> 7265</tr> 7266<tr> 7267<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR10A2-LE:CAPS"></a>GST_VIDEO_FORMAT_BGR10A2_LE</p></td> 7268<td class="enum_member_description"> 7269<p>packed 4:4:4 RGB with alpha channel(B-G-R-A), 10 bits for R/G/B channel and MSB 2 bits for alpha channel (Since: 1.16)</p> 7270</td> 7271<td class="enum_member_annotations"> </td> 7272</tr> 7273</tbody> 7274</table></div> 7275</div> 7276</div> 7277<hr> 7278<div class="refsect2"> 7279<a name="GST-VIDEO-MAX-PLANES:CAPS"></a><h3>GST_VIDEO_MAX_PLANES</h3> 7280<pre class="programlisting">#define GST_VIDEO_MAX_PLANES 4 7281</pre> 7282</div> 7283<hr> 7284<div class="refsect2"> 7285<a name="GST-VIDEO-MAX-COMPONENTS:CAPS"></a><h3>GST_VIDEO_MAX_COMPONENTS</h3> 7286<pre class="programlisting">#define GST_VIDEO_MAX_COMPONENTS 4 7287</pre> 7288</div> 7289<hr> 7290<div class="refsect2"> 7291<a name="GstVideoFormatInfo"></a><h3>struct GstVideoFormatInfo</h3> 7292<pre class="programlisting">struct GstVideoFormatInfo { 7293 GstVideoFormat format; 7294 const gchar *name; 7295 const gchar *description; 7296 GstVideoFormatFlags flags; 7297 guint bits; 7298 guint n_components; 7299 guint shift[GST_VIDEO_MAX_COMPONENTS]; 7300 guint depth[GST_VIDEO_MAX_COMPONENTS]; 7301 gint pixel_stride[GST_VIDEO_MAX_COMPONENTS]; 7302 guint n_planes; 7303 guint plane[GST_VIDEO_MAX_COMPONENTS]; 7304 guint poffset[GST_VIDEO_MAX_COMPONENTS]; 7305 guint w_sub[GST_VIDEO_MAX_COMPONENTS]; 7306 guint h_sub[GST_VIDEO_MAX_COMPONENTS]; 7307 7308 GstVideoFormat unpack_format; 7309 GstVideoFormatUnpack unpack_func; 7310 gint pack_lines; 7311 GstVideoFormatPack pack_func; 7312 7313 GstVideoTileMode tile_mode; 7314 guint tile_ws; 7315 guint tile_hs; 7316}; 7317</pre> 7318<p>Information for a video format.</p> 7319<div class="refsect3"> 7320<a name="GstVideoFormatInfo.members"></a><h4>Members</h4> 7321<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7322<colgroup> 7323<col width="300px" class="struct_members_name"> 7324<col class="struct_members_description"> 7325<col width="200px" class="struct_members_annotations"> 7326</colgroup> 7327<tbody> 7328<tr> 7329<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.format"></a>format</code></em>;</p></td> 7330<td class="struct_member_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td> 7331<td class="struct_member_annotations"> </td> 7332</tr> 7333<tr> 7334<td class="struct_member_name"><p>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstVideoFormatInfo.name"></a>name</code></em>;</p></td> 7335<td class="struct_member_description"><p>string representation of the format</p></td> 7336<td class="struct_member_annotations"> </td> 7337</tr> 7338<tr> 7339<td class="struct_member_name"><p>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstVideoFormatInfo.description"></a>description</code></em>;</p></td> 7340<td class="struct_member_description"><p>use readable description of the format</p></td> 7341<td class="struct_member_annotations"> </td> 7342</tr> 7343<tr> 7344<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatFlags" title="enum GstVideoFormatFlags"><span class="type">GstVideoFormatFlags</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.flags"></a>flags</code></em>;</p></td> 7345<td class="struct_member_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatFlags" title="enum GstVideoFormatFlags"><span class="type">GstVideoFormatFlags</span></a></p></td> 7346<td class="struct_member_annotations"> </td> 7347</tr> 7348<tr> 7349<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.bits"></a>bits</code></em>;</p></td> 7350<td class="struct_member_description"><p>The number of bits used to pack data items. This can be less than 8 7351when multiple pixels are stored in a byte. for values > 8 multiple bytes 7352should be read according to the endianness flag before applying the shift 7353and mask.</p></td> 7354<td class="struct_member_annotations"> </td> 7355</tr> 7356<tr> 7357<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.n-components"></a>n_components</code></em>;</p></td> 7358<td class="struct_member_description"><p>the number of components in the video format.</p></td> 7359<td class="struct_member_annotations"> </td> 7360</tr> 7361<tr> 7362<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.shift"></a>shift</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7363<td class="struct_member_description"><p>the number of bits to shift away to get the component data</p></td> 7364<td class="struct_member_annotations"> </td> 7365</tr> 7366<tr> 7367<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.depth"></a>depth</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7368<td class="struct_member_description"><p>the depth in bits for each component</p></td> 7369<td class="struct_member_annotations"> </td> 7370</tr> 7371<tr> 7372<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.pixel-stride"></a>pixel_stride</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7373<td class="struct_member_description"><p>the pixel stride of each component. This is the amount of 7374bytes to the pixel immediately to the right. When bits < 8, the stride is 7375expressed in bits. For 24-bit RGB, this would be 3 bytes, for example, 7376while it would be 4 bytes for RGBx or ARGB.</p></td> 7377<td class="struct_member_annotations"> </td> 7378</tr> 7379<tr> 7380<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.n-planes"></a>n_planes</code></em>;</p></td> 7381<td class="struct_member_description"><p>the number of planes for this format. The number of planes can be 7382less than the amount of components when multiple components are packed into 7383one plane.</p></td> 7384<td class="struct_member_annotations"> </td> 7385</tr> 7386<tr> 7387<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.plane"></a>plane</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7388<td class="struct_member_description"><p>the plane number where a component can be found</p></td> 7389<td class="struct_member_annotations"> </td> 7390</tr> 7391<tr> 7392<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.poffset"></a>poffset</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7393<td class="struct_member_description"><p>the offset in the plane where the first pixel of the components 7394can be found.</p></td> 7395<td class="struct_member_annotations"> </td> 7396</tr> 7397<tr> 7398<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.w-sub"></a>w_sub</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7399<td class="struct_member_description"><p>subsampling factor of the width for the component. Use 7400GST_VIDEO_SUB_SCALE to scale a width.</p></td> 7401<td class="struct_member_annotations"> </td> 7402</tr> 7403<tr> 7404<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.h-sub"></a>h_sub</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td> 7405<td class="struct_member_description"><p>subsampling factor of the height for the component. Use 7406GST_VIDEO_SUB_SCALE to scale a height.</p></td> 7407<td class="struct_member_annotations"> </td> 7408</tr> 7409<tr> 7410<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.unpack-format"></a>unpack_format</code></em>;</p></td> 7411<td class="struct_member_description"><p>the format of the unpacked pixels. This format must have the 7412<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-FLAG-UNPACK:CAPS"><span class="type">GST_VIDEO_FORMAT_FLAG_UNPACK</span></a> flag set.</p></td> 7413<td class="struct_member_annotations"> </td> 7414</tr> 7415<tr> 7416<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatUnpack" title="GstVideoFormatUnpack ()"><span class="type">GstVideoFormatUnpack</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.unpack-func"></a>unpack_func</code></em>;</p></td> 7417<td class="struct_member_description"><p>an unpack function for this format</p></td> 7418<td class="struct_member_annotations"> </td> 7419</tr> 7420<tr> 7421<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.pack-lines"></a>pack_lines</code></em>;</p></td> 7422<td class="struct_member_description"><p>the amount of lines that will be packed</p></td> 7423<td class="struct_member_annotations"> </td> 7424</tr> 7425<tr> 7426<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatPack" title="GstVideoFormatPack ()"><span class="type">GstVideoFormatPack</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.pack-func"></a>pack_func</code></em>;</p></td> 7427<td class="struct_member_description"><p>an pack function for this format</p></td> 7428<td class="struct_member_annotations"> </td> 7429</tr> 7430<tr> 7431<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode"><span class="type">GstVideoTileMode</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.tile-mode"></a>tile_mode</code></em>;</p></td> 7432<td class="struct_member_description"><p>The tiling mode</p></td> 7433<td class="struct_member_annotations"> </td> 7434</tr> 7435<tr> 7436<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.tile-ws"></a>tile_ws</code></em>;</p></td> 7437<td class="struct_member_description"><p>The width of a tile, in bytes, represented as a shift</p></td> 7438<td class="struct_member_annotations"> </td> 7439</tr> 7440<tr> 7441<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.tile-hs"></a>tile_hs</code></em>;</p></td> 7442<td class="struct_member_description"><p>The height of a tile, in bytes, represented as a shift</p></td> 7443<td class="struct_member_annotations"> </td> 7444</tr> 7445</tbody> 7446</table></div> 7447</div> 7448</div> 7449<hr> 7450<div class="refsect2"> 7451<a name="GstVideoFormatFlags"></a><h3>enum GstVideoFormatFlags</h3> 7452<p>The different video flags that a format info can have.</p> 7453<div class="refsect3"> 7454<a name="GstVideoFormatFlags.members"></a><h4>Members</h4> 7455<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7456<colgroup> 7457<col width="300px" class="enum_members_name"> 7458<col class="enum_members_description"> 7459<col width="200px" class="enum_members_annotations"> 7460</colgroup> 7461<tbody> 7462<tr> 7463<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-YUV:CAPS"></a>GST_VIDEO_FORMAT_FLAG_YUV</p></td> 7464<td class="enum_member_description"> 7465<p>The video format is YUV, components are numbered 7466 0=Y, 1=U, 2=V.</p> 7467</td> 7468<td class="enum_member_annotations"> </td> 7469</tr> 7470<tr> 7471<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-RGB:CAPS"></a>GST_VIDEO_FORMAT_FLAG_RGB</p></td> 7472<td class="enum_member_description"> 7473<p>The video format is RGB, components are numbered 7474 0=R, 1=G, 2=B.</p> 7475</td> 7476<td class="enum_member_annotations"> </td> 7477</tr> 7478<tr> 7479<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-GRAY:CAPS"></a>GST_VIDEO_FORMAT_FLAG_GRAY</p></td> 7480<td class="enum_member_description"> 7481<p>The video is gray, there is one gray component 7482 with index 0.</p> 7483</td> 7484<td class="enum_member_annotations"> </td> 7485</tr> 7486<tr> 7487<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-ALPHA:CAPS"></a>GST_VIDEO_FORMAT_FLAG_ALPHA</p></td> 7488<td class="enum_member_description"> 7489<p>The video format has an alpha components with 7490 the number 3.</p> 7491</td> 7492<td class="enum_member_annotations"> </td> 7493</tr> 7494<tr> 7495<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-LE:CAPS"></a>GST_VIDEO_FORMAT_FLAG_LE</p></td> 7496<td class="enum_member_description"> 7497<p>The video format has data stored in little 7498 endianness.</p> 7499</td> 7500<td class="enum_member_annotations"> </td> 7501</tr> 7502<tr> 7503<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-PALETTE:CAPS"></a>GST_VIDEO_FORMAT_FLAG_PALETTE</p></td> 7504<td class="enum_member_description"> 7505<p>The video format has a palette. The palette 7506 is stored in the second plane and indexes are stored in the first plane.</p> 7507</td> 7508<td class="enum_member_annotations"> </td> 7509</tr> 7510<tr> 7511<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-COMPLEX:CAPS"></a>GST_VIDEO_FORMAT_FLAG_COMPLEX</p></td> 7512<td class="enum_member_description"> 7513<p>The video format has a complex layout that 7514 can't be described with the usual information in the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a>.</p> 7515</td> 7516<td class="enum_member_annotations"> </td> 7517</tr> 7518<tr> 7519<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-UNPACK:CAPS"></a>GST_VIDEO_FORMAT_FLAG_UNPACK</p></td> 7520<td class="enum_member_description"> 7521<p>This format can be used in a 7522 <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatUnpack" title="GstVideoFormatUnpack ()"><span class="type">GstVideoFormatUnpack</span></a> and <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatPack" title="GstVideoFormatPack ()"><span class="type">GstVideoFormatPack</span></a> function.</p> 7523</td> 7524<td class="enum_member_annotations"> </td> 7525</tr> 7526<tr> 7527<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-TILED:CAPS"></a>GST_VIDEO_FORMAT_FLAG_TILED</p></td> 7528<td class="enum_member_description"> 7529<p>The format is tiled, there is tiling information 7530 in the last plane.</p> 7531</td> 7532<td class="enum_member_annotations"> </td> 7533</tr> 7534</tbody> 7535</table></div> 7536</div> 7537</div> 7538<hr> 7539<div class="refsect2"> 7540<a name="GstVideoPackFlags"></a><h3>enum GstVideoPackFlags</h3> 7541<p>The different flags that can be used when packing and unpacking.</p> 7542<div class="refsect3"> 7543<a name="GstVideoPackFlags.members"></a><h4>Members</h4> 7544<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7545<colgroup> 7546<col width="300px" class="enum_members_name"> 7547<col class="enum_members_description"> 7548<col width="200px" class="enum_members_annotations"> 7549</colgroup> 7550<tbody> 7551<tr> 7552<td class="enum_member_name"><p><a name="GST-VIDEO-PACK-FLAG-NONE:CAPS"></a>GST_VIDEO_PACK_FLAG_NONE</p></td> 7553<td class="enum_member_description"> 7554<p>No flag</p> 7555</td> 7556<td class="enum_member_annotations"> </td> 7557</tr> 7558<tr> 7559<td class="enum_member_name"><p><a name="GST-VIDEO-PACK-FLAG-TRUNCATE-RANGE:CAPS"></a>GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE</p></td> 7560<td class="enum_member_description"> 7561<p>When the source has a smaller depth 7562 than the target format, set the least significant bits of the target 7563 to 0. This is likely sightly faster but less accurate. When this flag 7564 is not specified, the most significant bits of the source are duplicated 7565 in the least significant bits of the destination.</p> 7566</td> 7567<td class="enum_member_annotations"> </td> 7568</tr> 7569<tr> 7570<td class="enum_member_name"><p><a name="GST-VIDEO-PACK-FLAG-INTERLACED:CAPS"></a>GST_VIDEO_PACK_FLAG_INTERLACED</p></td> 7571<td class="enum_member_description"> 7572<p>The source is interlaced. The unpacked 7573 format will be interlaced as well with each line containing 7574 information from alternating fields. (Since: 1.2)</p> 7575</td> 7576<td class="enum_member_annotations"> </td> 7577</tr> 7578</tbody> 7579</table></div> 7580</div> 7581</div> 7582<hr> 7583<div class="refsect2"> 7584<a name="GST-VIDEO-SIZE-RANGE:CAPS"></a><h3>GST_VIDEO_SIZE_RANGE</h3> 7585<pre class="programlisting">#define GST_VIDEO_SIZE_RANGE "(int) [ 1, max ]" 7586</pre> 7587</div> 7588<hr> 7589<div class="refsect2"> 7590<a name="GST-VIDEO-FPS-RANGE:CAPS"></a><h3>GST_VIDEO_FPS_RANGE</h3> 7591<pre class="programlisting">#define GST_VIDEO_FPS_RANGE "(fraction) [ 0, max ]" 7592</pre> 7593</div> 7594<hr> 7595<div class="refsect2"> 7596<a name="GST-VIDEO-FORMATS-ALL:CAPS"></a><h3>GST_VIDEO_FORMATS_ALL</h3> 7597<pre class="programlisting">#define GST_VIDEO_FORMATS_ALL</pre> 7598</div> 7599<hr> 7600<div class="refsect2"> 7601<a name="GST-CAPS-FEATURE-FORMAT-INTERLACED:CAPS"></a><h3>GST_CAPS_FEATURE_FORMAT_INTERLACED</h3> 7602<pre class="programlisting">#define GST_CAPS_FEATURE_FORMAT_INTERLACED "format:Interlaced" 7603</pre> 7604<p>Name of the caps feature indicating that the stream is interlaced. Currently 7605it is only used for video.</p> 7606<p class="since">Since: 1.16.</p> 7607</div> 7608<hr> 7609<div class="refsect2"> 7610<a name="GstVideoColorRange"></a><h3>enum GstVideoColorRange</h3> 7611<p>Possible color range values. These constants are defined for 8 bit color 7612values and can be scaled for other bit depths.</p> 7613<div class="refsect3"> 7614<a name="GstVideoColorRange.members"></a><h4>Members</h4> 7615<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7616<colgroup> 7617<col width="300px" class="enum_members_name"> 7618<col class="enum_members_description"> 7619<col width="200px" class="enum_members_annotations"> 7620</colgroup> 7621<tbody> 7622<tr> 7623<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-RANGE-UNKNOWN:CAPS"></a>GST_VIDEO_COLOR_RANGE_UNKNOWN</p></td> 7624<td class="enum_member_description"> 7625<p>unknown range</p> 7626</td> 7627<td class="enum_member_annotations"> </td> 7628</tr> 7629<tr> 7630<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-RANGE-0-255:CAPS"></a>GST_VIDEO_COLOR_RANGE_0_255</p></td> 7631<td class="enum_member_description"> 7632<p>[0..255] for 8 bit components</p> 7633</td> 7634<td class="enum_member_annotations"> </td> 7635</tr> 7636<tr> 7637<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-RANGE-16-235:CAPS"></a>GST_VIDEO_COLOR_RANGE_16_235</p></td> 7638<td class="enum_member_description"> 7639<p>[16..235] for 8 bit components. Chroma has 7640 [16..240] range.</p> 7641</td> 7642<td class="enum_member_annotations"> </td> 7643</tr> 7644</tbody> 7645</table></div> 7646</div> 7647</div> 7648<hr> 7649<div class="refsect2"> 7650<a name="GstVideoColorMatrix"></a><h3>enum GstVideoColorMatrix</h3> 7651<p>The color matrix is used to convert between Y'PbPr and 7652non-linear RGB (R'G'B')</p> 7653<div class="refsect3"> 7654<a name="GstVideoColorMatrix.members"></a><h4>Members</h4> 7655<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7656<colgroup> 7657<col width="300px" class="enum_members_name"> 7658<col class="enum_members_description"> 7659<col width="200px" class="enum_members_annotations"> 7660</colgroup> 7661<tbody> 7662<tr> 7663<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-UNKNOWN:CAPS"></a>GST_VIDEO_COLOR_MATRIX_UNKNOWN</p></td> 7664<td class="enum_member_description"> 7665<p>unknown matrix</p> 7666</td> 7667<td class="enum_member_annotations"> </td> 7668</tr> 7669<tr> 7670<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-RGB:CAPS"></a>GST_VIDEO_COLOR_MATRIX_RGB</p></td> 7671<td class="enum_member_description"> 7672<p>identity matrix</p> 7673</td> 7674<td class="enum_member_annotations"> </td> 7675</tr> 7676<tr> 7677<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-FCC:CAPS"></a>GST_VIDEO_COLOR_MATRIX_FCC</p></td> 7678<td class="enum_member_description"> 7679<p>FCC color matrix</p> 7680</td> 7681<td class="enum_member_annotations"> </td> 7682</tr> 7683<tr> 7684<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-BT709:CAPS"></a>GST_VIDEO_COLOR_MATRIX_BT709</p></td> 7685<td class="enum_member_description"> 7686<p>ITU-R BT.709 color matrix</p> 7687</td> 7688<td class="enum_member_annotations"> </td> 7689</tr> 7690<tr> 7691<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-BT601:CAPS"></a>GST_VIDEO_COLOR_MATRIX_BT601</p></td> 7692<td class="enum_member_description"> 7693<p>ITU-R BT.601 color matrix</p> 7694</td> 7695<td class="enum_member_annotations"> </td> 7696</tr> 7697<tr> 7698<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-SMPTE240M:CAPS"></a>GST_VIDEO_COLOR_MATRIX_SMPTE240M</p></td> 7699<td class="enum_member_description"> 7700<p>SMPTE 240M color matrix</p> 7701</td> 7702<td class="enum_member_annotations"> </td> 7703</tr> 7704<tr> 7705<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-BT2020:CAPS"></a>GST_VIDEO_COLOR_MATRIX_BT2020</p></td> 7706<td class="enum_member_description"> 7707<p>ITU-R BT.2020 color matrix. Since: 1.6</p> 7708</td> 7709<td class="enum_member_annotations"> </td> 7710</tr> 7711</tbody> 7712</table></div> 7713</div> 7714</div> 7715<hr> 7716<div class="refsect2"> 7717<a name="GstVideoColorPrimaries"></a><h3>enum GstVideoColorPrimaries</h3> 7718<p>The color primaries define the how to transform linear RGB values to and from 7719the CIE XYZ colorspace.</p> 7720<div class="refsect3"> 7721<a name="GstVideoColorPrimaries.members"></a><h4>Members</h4> 7722<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7723<colgroup> 7724<col width="300px" class="enum_members_name"> 7725<col class="enum_members_description"> 7726<col width="200px" class="enum_members_annotations"> 7727</colgroup> 7728<tbody> 7729<tr> 7730<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-UNKNOWN:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_UNKNOWN</p></td> 7731<td class="enum_member_description"> 7732<p>unknown color primaries</p> 7733</td> 7734<td class="enum_member_annotations"> </td> 7735</tr> 7736<tr> 7737<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT709:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT709</p></td> 7738<td class="enum_member_description"> 7739<p>BT709 primaries</p> 7740</td> 7741<td class="enum_member_annotations"> </td> 7742</tr> 7743<tr> 7744<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT470M:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT470M</p></td> 7745<td class="enum_member_description"> 7746<p>BT470M primaries</p> 7747</td> 7748<td class="enum_member_annotations"> </td> 7749</tr> 7750<tr> 7751<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT470BG:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT470BG</p></td> 7752<td class="enum_member_description"> 7753<p>BT470BG primaries</p> 7754</td> 7755<td class="enum_member_annotations"> </td> 7756</tr> 7757<tr> 7758<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTE170M:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTE170M</p></td> 7759<td class="enum_member_description"> 7760<p>SMPTE170M primaries</p> 7761</td> 7762<td class="enum_member_annotations"> </td> 7763</tr> 7764<tr> 7765<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTE240M:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTE240M</p></td> 7766<td class="enum_member_description"> 7767<p>SMPTE240M primaries</p> 7768</td> 7769<td class="enum_member_annotations"> </td> 7770</tr> 7771<tr> 7772<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-FILM:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_FILM</p></td> 7773<td class="enum_member_description"> 7774<p>Generic film</p> 7775</td> 7776<td class="enum_member_annotations"> </td> 7777</tr> 7778<tr> 7779<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT2020:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT2020</p></td> 7780<td class="enum_member_description"> 7781<p>BT2020 primaries. Since: 1.6</p> 7782</td> 7783<td class="enum_member_annotations"> </td> 7784</tr> 7785<tr> 7786<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-ADOBERGB:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_ADOBERGB</p></td> 7787<td class="enum_member_description"> 7788<p>Adobe RGB primaries. Since: 1.8</p> 7789</td> 7790<td class="enum_member_annotations"> </td> 7791</tr> 7792<tr> 7793<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTEST428:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTEST428</p></td> 7794<td class="enum_member_description"> 7795<p>SMPTE ST 428 primaries. Since: 1.16</p> 7796</td> 7797<td class="enum_member_annotations"> </td> 7798</tr> 7799<tr> 7800<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTERP431:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTERP431</p></td> 7801<td class="enum_member_description"> 7802<p>SMPTE RP 431 primaries. Since: 1.16</p> 7803</td> 7804<td class="enum_member_annotations"> </td> 7805</tr> 7806<tr> 7807<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTEEG432:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432</p></td> 7808<td class="enum_member_description"> 7809<p>SMPTE EG 432 primaries. Since: 1.16</p> 7810</td> 7811<td class="enum_member_annotations"> </td> 7812</tr> 7813<tr> 7814<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-EBU3213:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_EBU3213</p></td> 7815<td class="enum_member_description"> 7816<p>EBU 3213 primaries. Since: 1.16</p> 7817</td> 7818<td class="enum_member_annotations"> </td> 7819</tr> 7820</tbody> 7821</table></div> 7822</div> 7823</div> 7824<hr> 7825<div class="refsect2"> 7826<a name="GstVideoTransferFunction"></a><h3>enum GstVideoTransferFunction</h3> 7827<p>The video transfer function defines the formula for converting between 7828non-linear RGB (R'G'B') and linear RGB</p> 7829<div class="refsect3"> 7830<a name="GstVideoTransferFunction.members"></a><h4>Members</h4> 7831<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7832<colgroup> 7833<col width="300px" class="enum_members_name"> 7834<col class="enum_members_description"> 7835<col width="200px" class="enum_members_annotations"> 7836</colgroup> 7837<tbody> 7838<tr> 7839<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-UNKNOWN:CAPS"></a>GST_VIDEO_TRANSFER_UNKNOWN</p></td> 7840<td class="enum_member_description"> 7841<p>unknown transfer function</p> 7842</td> 7843<td class="enum_member_annotations"> </td> 7844</tr> 7845<tr> 7846<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA10:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA10</p></td> 7847<td class="enum_member_description"> 7848<p>linear RGB, gamma 1.0 curve</p> 7849</td> 7850<td class="enum_member_annotations"> </td> 7851</tr> 7852<tr> 7853<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA18:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA18</p></td> 7854<td class="enum_member_description"> 7855<p>Gamma 1.8 curve</p> 7856</td> 7857<td class="enum_member_annotations"> </td> 7858</tr> 7859<tr> 7860<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA20:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA20</p></td> 7861<td class="enum_member_description"> 7862<p>Gamma 2.0 curve</p> 7863</td> 7864<td class="enum_member_annotations"> </td> 7865</tr> 7866<tr> 7867<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA22:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA22</p></td> 7868<td class="enum_member_description"> 7869<p>Gamma 2.2 curve</p> 7870</td> 7871<td class="enum_member_annotations"> </td> 7872</tr> 7873<tr> 7874<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-BT709:CAPS"></a>GST_VIDEO_TRANSFER_BT709</p></td> 7875<td class="enum_member_description"> 7876<p>Gamma 2.2 curve with a linear segment in the lower 7877 range</p> 7878</td> 7879<td class="enum_member_annotations"> </td> 7880</tr> 7881<tr> 7882<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-SMPTE240M:CAPS"></a>GST_VIDEO_TRANSFER_SMPTE240M</p></td> 7883<td class="enum_member_description"> 7884<p>Gamma 2.2 curve with a linear segment in the 7885 lower range</p> 7886</td> 7887<td class="enum_member_annotations"> </td> 7888</tr> 7889<tr> 7890<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-SRGB:CAPS"></a>GST_VIDEO_TRANSFER_SRGB</p></td> 7891<td class="enum_member_description"> 7892<p>Gamma 2.4 curve with a linear segment in the lower 7893 range</p> 7894</td> 7895<td class="enum_member_annotations"> </td> 7896</tr> 7897<tr> 7898<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA28:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA28</p></td> 7899<td class="enum_member_description"> 7900<p>Gamma 2.8 curve</p> 7901</td> 7902<td class="enum_member_annotations"> </td> 7903</tr> 7904<tr> 7905<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-LOG100:CAPS"></a>GST_VIDEO_TRANSFER_LOG100</p></td> 7906<td class="enum_member_description"> 7907<p>Logarithmic transfer characteristic 7908 100:1 range</p> 7909</td> 7910<td class="enum_member_annotations"> </td> 7911</tr> 7912<tr> 7913<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-LOG316:CAPS"></a>GST_VIDEO_TRANSFER_LOG316</p></td> 7914<td class="enum_member_description"> 7915<p>Logarithmic transfer characteristic 7916 316.22777:1 range</p> 7917</td> 7918<td class="enum_member_annotations"> </td> 7919</tr> 7920<tr> 7921<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-BT2020-12:CAPS"></a>GST_VIDEO_TRANSFER_BT2020_12</p></td> 7922<td class="enum_member_description"> 7923<p>Gamma 2.2 curve with a linear segment in the lower 7924 range. Used for BT.2020 with 12 bits per 7925 component. Since: 1.6</p> 7926</td> 7927<td class="enum_member_annotations"> </td> 7928</tr> 7929<tr> 7930<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-ADOBERGB:CAPS"></a>GST_VIDEO_TRANSFER_ADOBERGB</p></td> 7931<td class="enum_member_description"> 7932<p>Gamma 2.19921875. Since: 1.8</p> 7933</td> 7934<td class="enum_member_annotations"> </td> 7935</tr> 7936</tbody> 7937</table></div> 7938</div> 7939</div> 7940<hr> 7941<div class="refsect2"> 7942<a name="GstVideoColorPrimariesInfo"></a><h3>GstVideoColorPrimariesInfo</h3> 7943<pre class="programlisting">typedef struct { 7944 GstVideoColorPrimaries primaries; 7945 gdouble Wx, Wy; 7946 gdouble Rx, Ry; 7947 gdouble Gx, Gy; 7948 gdouble Bx, By; 7949} GstVideoColorPrimariesInfo; 7950</pre> 7951<p>Structure describing the chromaticity coordinates of an RGB system. These 7952values can be used to construct a matrix to transform RGB to and from the 7953XYZ colorspace.</p> 7954<div class="refsect3"> 7955<a name="GstVideoColorPrimariesInfo.members"></a><h4>Members</h4> 7956<div class="informaltable"><table class="informaltable" width="100%" border="0"> 7957<colgroup> 7958<col width="300px" class="struct_members_name"> 7959<col class="struct_members_description"> 7960<col width="200px" class="struct_members_annotations"> 7961</colgroup> 7962<tbody> 7963<tr> 7964<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.primaries"></a>primaries</code></em>;</p></td> 7965<td class="struct_member_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a></p></td> 7966<td class="struct_member_annotations"> </td> 7967</tr> 7968<tr> 7969<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Wx"></a>Wx</code></em>;</p></td> 7970<td class="struct_member_description"><p>reference white x coordinate</p></td> 7971<td class="struct_member_annotations"> </td> 7972</tr> 7973<tr> 7974<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Wy"></a>Wy</code></em>;</p></td> 7975<td class="struct_member_description"><p>reference white y coordinate</p></td> 7976<td class="struct_member_annotations"> </td> 7977</tr> 7978<tr> 7979<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Rx"></a>Rx</code></em>;</p></td> 7980<td class="struct_member_description"><p>red x coordinate</p></td> 7981<td class="struct_member_annotations"> </td> 7982</tr> 7983<tr> 7984<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Ry"></a>Ry</code></em>;</p></td> 7985<td class="struct_member_description"><p>red y coordinate</p></td> 7986<td class="struct_member_annotations"> </td> 7987</tr> 7988<tr> 7989<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Gx"></a>Gx</code></em>;</p></td> 7990<td class="struct_member_description"><p>green x coordinate</p></td> 7991<td class="struct_member_annotations"> </td> 7992</tr> 7993<tr> 7994<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Gy"></a>Gy</code></em>;</p></td> 7995<td class="struct_member_description"><p>green y coordinate</p></td> 7996<td class="struct_member_annotations"> </td> 7997</tr> 7998<tr> 7999<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Bx"></a>Bx</code></em>;</p></td> 8000<td class="struct_member_description"><p>blue x coordinate</p></td> 8001<td class="struct_member_annotations"> </td> 8002</tr> 8003<tr> 8004<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.By"></a>By</code></em>;</p></td> 8005<td class="struct_member_description"><p>blue y coordinate</p></td> 8006<td class="struct_member_annotations"> </td> 8007</tr> 8008</tbody> 8009</table></div> 8010</div> 8011<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8012</div> 8013<hr> 8014<div class="refsect2"> 8015<a name="GstVideoColorimetry"></a><h3>GstVideoColorimetry</h3> 8016<pre class="programlisting">typedef struct { 8017 GstVideoColorRange range; 8018 GstVideoColorMatrix matrix; 8019 GstVideoTransferFunction transfer; 8020 GstVideoColorPrimaries primaries; 8021} GstVideoColorimetry; 8022</pre> 8023<p>Structure describing the color info.</p> 8024<div class="refsect3"> 8025<a name="GstVideoColorimetry.members"></a><h4>Members</h4> 8026<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8027<colgroup> 8028<col width="300px" class="struct_members_name"> 8029<col class="struct_members_description"> 8030<col width="200px" class="struct_members_annotations"> 8031</colgroup> 8032<tbody> 8033<tr> 8034<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange"><span class="type">GstVideoColorRange</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.range"></a>range</code></em>;</p></td> 8035<td class="struct_member_description"><p>the color range. This is the valid range for the samples. 8036It is used to convert the samples to Y'PbPr values.</p></td> 8037<td class="struct_member_annotations"> </td> 8038</tr> 8039<tr> 8040<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix"><span class="type">GstVideoColorMatrix</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.matrix"></a>matrix</code></em>;</p></td> 8041<td class="struct_member_description"><p>the color matrix. Used to convert between Y'PbPr and 8042non-linear RGB (R'G'B')</p></td> 8043<td class="struct_member_annotations"> </td> 8044</tr> 8045<tr> 8046<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.transfer"></a>transfer</code></em>;</p></td> 8047<td class="struct_member_description"><p>the transfer function. used to convert between R'G'B' and RGB</p></td> 8048<td class="struct_member_annotations"> </td> 8049</tr> 8050<tr> 8051<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.primaries"></a>primaries</code></em>;</p></td> 8052<td class="struct_member_description"><p>color primaries. used to convert between R'G'B' and CIE XYZ</p></td> 8053<td class="struct_member_annotations"> </td> 8054</tr> 8055</tbody> 8056</table></div> 8057</div> 8058</div> 8059<hr> 8060<div class="refsect2"> 8061<a name="GST-VIDEO-COLORIMETRY-BT2020:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_BT2020</h3> 8062<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_BT2020 "bt2020" 8063</pre> 8064</div> 8065<hr> 8066<div class="refsect2"> 8067<a name="GST-VIDEO-COLORIMETRY-BT601:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_BT601</h3> 8068<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_BT601 "bt601" 8069</pre> 8070</div> 8071<hr> 8072<div class="refsect2"> 8073<a name="GST-VIDEO-COLORIMETRY-BT709:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_BT709</h3> 8074<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_BT709 "bt709" 8075</pre> 8076</div> 8077<hr> 8078<div class="refsect2"> 8079<a name="GST-VIDEO-COLORIMETRY-SMPTE240M:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_SMPTE240M</h3> 8080<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_SMPTE240M "smpte240m" 8081</pre> 8082</div> 8083<hr> 8084<div class="refsect2"> 8085<a name="GST-VIDEO-COLORIMETRY-SRGB:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_SRGB</h3> 8086<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_SRGB "sRGB" 8087</pre> 8088</div> 8089<hr> 8090<div class="refsect2"> 8091<a name="GstVideoInfo"></a><h3>struct GstVideoInfo</h3> 8092<pre class="programlisting">struct GstVideoInfo { 8093 const GstVideoFormatInfo *finfo; 8094 8095 GstVideoInterlaceMode interlace_mode; 8096 GstVideoFlags flags; 8097 gint width; 8098 gint height; 8099 gsize size; 8100 gint views; 8101 8102 GstVideoChromaSite chroma_site; 8103 GstVideoColorimetry colorimetry; 8104 8105 gint par_n; 8106 gint par_d; 8107 gint fps_n; 8108 gint fps_d; 8109 8110 gsize offset[GST_VIDEO_MAX_PLANES]; 8111 gint stride[GST_VIDEO_MAX_PLANES]; 8112 8113 /* Union preserves padded struct size for backwards compat 8114 * Consumer code should use the accessor macros for fields */ 8115 union { 8116 struct { 8117 GstVideoMultiviewMode multiview_mode; 8118 GstVideoMultiviewFlags multiview_flags; 8119 GstVideoFieldOrder field_order; 8120 } abi; 8121}; 8122</pre> 8123<p>Information describing image properties. This information can be filled 8124in from GstCaps with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-from-caps" title="gst_video_info_from_caps ()"><code class="function">gst_video_info_from_caps()</code></a>. The information is also used 8125to store the specific video info when mapping a video frame with 8126<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a>.</p> 8127<p>Use the provided macros to access the info in this structure.</p> 8128<div class="refsect3"> 8129<a name="GstVideoInfo.members"></a><h4>Members</h4> 8130<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8131<colgroup> 8132<col width="300px" class="struct_members_name"> 8133<col class="struct_members_description"> 8134<col width="200px" class="struct_members_annotations"> 8135</colgroup> 8136<tbody> 8137<tr> 8138<td class="struct_member_name"><p>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *<em class="structfield"><code><a name="GstVideoInfo.finfo"></a>finfo</code></em>;</p></td> 8139<td class="struct_member_description"><p>the format info of the video</p></td> 8140<td class="struct_member_annotations"> </td> 8141</tr> 8142<tr> 8143<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> <em class="structfield"><code><a name="GstVideoInfo.interlace-mode"></a>interlace_mode</code></em>;</p></td> 8144<td class="struct_member_description"><p>the interlace mode</p></td> 8145<td class="struct_member_annotations"> </td> 8146</tr> 8147<tr> 8148<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFlags" title="enum GstVideoFlags"><span class="type">GstVideoFlags</span></a> <em class="structfield"><code><a name="GstVideoInfo.flags"></a>flags</code></em>;</p></td> 8149<td class="struct_member_description"><p>additional video flags</p></td> 8150<td class="struct_member_annotations"> </td> 8151</tr> 8152<tr> 8153<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.width"></a>width</code></em>;</p></td> 8154<td class="struct_member_description"><p>the width of the video</p></td> 8155<td class="struct_member_annotations"> </td> 8156</tr> 8157<tr> 8158<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.height"></a>height</code></em>;</p></td> 8159<td class="struct_member_description"><p>the height of the video</p></td> 8160<td class="struct_member_annotations"> </td> 8161</tr> 8162<tr> 8163<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GstVideoInfo.size"></a>size</code></em>;</p></td> 8164<td class="struct_member_description"><p>the default size of one frame</p></td> 8165<td class="struct_member_annotations"> </td> 8166</tr> 8167<tr> 8168<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.views"></a>views</code></em>;</p></td> 8169<td class="struct_member_description"><p>the number of views for multiview video</p></td> 8170<td class="struct_member_annotations"> </td> 8171</tr> 8172<tr> 8173<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideoChroma.html#GstVideoChromaSite" title="enum GstVideoChromaSite"><span class="type">GstVideoChromaSite</span></a> <em class="structfield"><code><a name="GstVideoInfo.chroma-site"></a>chroma_site</code></em>;</p></td> 8174<td class="struct_member_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideoChroma.html#GstVideoChromaSite" title="enum GstVideoChromaSite"><span class="type">GstVideoChromaSite</span></a>.</p></td> 8175<td class="struct_member_annotations"> </td> 8176</tr> 8177<tr> 8178<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> <em class="structfield"><code><a name="GstVideoInfo.colorimetry"></a>colorimetry</code></em>;</p></td> 8179<td class="struct_member_description"><p>the colorimetry info</p></td> 8180<td class="struct_member_annotations"> </td> 8181</tr> 8182<tr> 8183<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.par-n"></a>par_n</code></em>;</p></td> 8184<td class="struct_member_description"><p>the pixel-aspect-ratio numerator</p></td> 8185<td class="struct_member_annotations"> </td> 8186</tr> 8187<tr> 8188<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.par-d"></a>par_d</code></em>;</p></td> 8189<td class="struct_member_description"><p>the pixel-aspect-ratio demnominator</p></td> 8190<td class="struct_member_annotations"> </td> 8191</tr> 8192<tr> 8193<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.fps-n"></a>fps_n</code></em>;</p></td> 8194<td class="struct_member_description"><p>the framerate numerator</p></td> 8195<td class="struct_member_annotations"> </td> 8196</tr> 8197<tr> 8198<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.fps-d"></a>fps_d</code></em>;</p></td> 8199<td class="struct_member_description"><p>the framerate demnominator</p></td> 8200<td class="struct_member_annotations"> </td> 8201</tr> 8202<tr> 8203<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GstVideoInfo.offset"></a>offset</code></em>[GST_VIDEO_MAX_PLANES];</p></td> 8204<td class="struct_member_description"><p>offsets of the planes</p></td> 8205<td class="struct_member_annotations"> </td> 8206</tr> 8207<tr> 8208<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.stride"></a>stride</code></em>[GST_VIDEO_MAX_PLANES];</p></td> 8209<td class="struct_member_description"><p>strides of the planes</p></td> 8210<td class="struct_member_annotations"> </td> 8211</tr> 8212</tbody> 8213</table></div> 8214</div> 8215</div> 8216<hr> 8217<div class="refsect2"> 8218<a name="GstVideoInterlaceMode"></a><h3>enum GstVideoInterlaceMode</h3> 8219<p>The possible values of the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> describing the interlace 8220mode of the stream.</p> 8221<div class="refsect3"> 8222<a name="GstVideoInterlaceMode.members"></a><h4>Members</h4> 8223<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8224<colgroup> 8225<col width="300px" class="enum_members_name"> 8226<col class="enum_members_description"> 8227<col width="200px" class="enum_members_annotations"> 8228</colgroup> 8229<tbody> 8230<tr> 8231<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-PROGRESSIVE:CAPS"></a>GST_VIDEO_INTERLACE_MODE_PROGRESSIVE</p></td> 8232<td class="enum_member_description"> 8233<p>all frames are progressive</p> 8234</td> 8235<td class="enum_member_annotations"> </td> 8236</tr> 8237<tr> 8238<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-INTERLEAVED:CAPS"></a>GST_VIDEO_INTERLACE_MODE_INTERLEAVED</p></td> 8239<td class="enum_member_description"> 8240<p>2 fields are interleaved in one video 8241 frame. Extra buffer flags describe the field order.</p> 8242</td> 8243<td class="enum_member_annotations"> </td> 8244</tr> 8245<tr> 8246<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-MIXED:CAPS"></a>GST_VIDEO_INTERLACE_MODE_MIXED</p></td> 8247<td class="enum_member_description"> 8248<p>frames contains both interlaced and 8249 progressive video, the buffer flags describe the frame and fields.</p> 8250</td> 8251<td class="enum_member_annotations"> </td> 8252</tr> 8253<tr> 8254<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-FIELDS:CAPS"></a>GST_VIDEO_INTERLACE_MODE_FIELDS</p></td> 8255<td class="enum_member_description"> 8256<p>2 fields are stored in one buffer, use the 8257 frame ID to get access to the required field. For multiview (the 8258 'views' property > 1) the fields of view N can be found at frame ID 8259 (N * 2) and (N * 2) + 1. 8260 Each field has only half the amount of lines as noted in the 8261 height property. This mode requires multiple GstVideoMeta metadata 8262 to describe the fields.</p> 8263</td> 8264<td class="enum_member_annotations"> </td> 8265</tr> 8266<tr> 8267<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-ALTERNATE:CAPS"></a>GST_VIDEO_INTERLACE_MODE_ALTERNATE</p></td> 8268<td class="enum_member_description"> 8269<p>1 field is stored in one buffer, 8270 <em class="parameter"><code>GST_VIDEO_BUFFER_FLAG_TF</code></em> 8271 or <em class="parameter"><code>GST_VIDEO_BUFFER_FLAG_BF</code></em> 8272 indicates if 8273 the buffer is carrying the top or bottom field, respectively. The top and 8274 bottom buffers are expected to alternate in the pipeline, with this mode 8275 (Since: 1.16).</p> 8276</td> 8277<td class="enum_member_annotations"> </td> 8278</tr> 8279</tbody> 8280</table></div> 8281</div> 8282</div> 8283<hr> 8284<div class="refsect2"> 8285<a name="GstVideoFieldOrder"></a><h3>enum GstVideoFieldOrder</h3> 8286<p>Field order of interlaced content. This is only valid for 8287interlace-mode=interleaved and not interlace-mode=mixed. In the case of 8288mixed or GST_VIDEO_FIELD_ORDER_UNKOWN, the field order is signalled via 8289buffer flags.</p> 8290<div class="refsect3"> 8291<a name="GstVideoFieldOrder.members"></a><h4>Members</h4> 8292<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8293<colgroup> 8294<col width="300px" class="enum_members_name"> 8295<col class="enum_members_description"> 8296<col width="200px" class="enum_members_annotations"> 8297</colgroup> 8298<tbody> 8299<tr> 8300<td class="enum_member_name"><p><a name="GST-VIDEO-FIELD-ORDER-UNKNOWN:CAPS"></a>GST_VIDEO_FIELD_ORDER_UNKNOWN</p></td> 8301<td class="enum_member_description"> 8302<p>unknown field order for interlaced content. 8303 The actual field order is signalled via buffer flags.</p> 8304</td> 8305<td class="enum_member_annotations"> </td> 8306</tr> 8307<tr> 8308<td class="enum_member_name"><p><a name="GST-VIDEO-FIELD-ORDER-TOP-FIELD-FIRST:CAPS"></a>GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST</p></td> 8309<td class="enum_member_description"> 8310<p>top field is first</p> 8311</td> 8312<td class="enum_member_annotations"> </td> 8313</tr> 8314<tr> 8315<td class="enum_member_name"><p><a name="GST-VIDEO-FIELD-ORDER-BOTTOM-FIELD-FIRST:CAPS"></a>GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST</p></td> 8316<td class="enum_member_description"> 8317<p>bottom field is first</p> 8318</td> 8319<td class="enum_member_annotations"> </td> 8320</tr> 8321</tbody> 8322</table></div> 8323</div> 8324<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 8325</div> 8326<hr> 8327<div class="refsect2"> 8328<a name="GstVideoFlags"></a><h3>enum GstVideoFlags</h3> 8329<p>Extra video flags</p> 8330<div class="refsect3"> 8331<a name="GstVideoFlags.members"></a><h4>Members</h4> 8332<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8333<colgroup> 8334<col width="300px" class="enum_members_name"> 8335<col class="enum_members_description"> 8336<col width="200px" class="enum_members_annotations"> 8337</colgroup> 8338<tbody> 8339<tr> 8340<td class="enum_member_name"><p><a name="GST-VIDEO-FLAG-NONE:CAPS"></a>GST_VIDEO_FLAG_NONE</p></td> 8341<td class="enum_member_description"> 8342<p>no flags</p> 8343</td> 8344<td class="enum_member_annotations"> </td> 8345</tr> 8346<tr> 8347<td class="enum_member_name"><p><a name="GST-VIDEO-FLAG-VARIABLE-FPS:CAPS"></a>GST_VIDEO_FLAG_VARIABLE_FPS</p></td> 8348<td class="enum_member_description"> 8349<p>a variable fps is selected, fps_n and fps_d 8350 denote the maximum fps of the video</p> 8351</td> 8352<td class="enum_member_annotations"> </td> 8353</tr> 8354<tr> 8355<td class="enum_member_name"><p><a name="GST-VIDEO-FLAG-PREMULTIPLIED-ALPHA:CAPS"></a>GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA</p></td> 8356<td class="enum_member_description"> 8357<p>Each color has been scaled by the alpha 8358 value.</p> 8359</td> 8360<td class="enum_member_annotations"> </td> 8361</tr> 8362</tbody> 8363</table></div> 8364</div> 8365</div> 8366<hr> 8367<div class="refsect2"> 8368<a name="GstVideoFrame"></a><h3>struct GstVideoFrame</h3> 8369<pre class="programlisting">struct GstVideoFrame { 8370 GstVideoInfo info; 8371 GstVideoFrameFlags flags; 8372 8373 GstBuffer *buffer; 8374 gpointer meta; 8375 gint id; 8376 8377 gpointer data[GST_VIDEO_MAX_PLANES]; 8378 GstMapInfo map[GST_VIDEO_MAX_PLANES]; 8379}; 8380</pre> 8381<p>A video frame obtained from <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a></p> 8382<div class="refsect3"> 8383<a name="GstVideoFrame.members"></a><h4>Members</h4> 8384<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8385<colgroup> 8386<col width="300px" class="struct_members_name"> 8387<col class="struct_members_description"> 8388<col width="200px" class="struct_members_annotations"> 8389</colgroup> 8390<tbody> 8391<tr> 8392<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> <em class="structfield"><code><a name="GstVideoFrame.info"></a>info</code></em>;</p></td> 8393<td class="struct_member_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td> 8394<td class="struct_member_annotations"> </td> 8395</tr> 8396<tr> 8397<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameFlags" title="enum GstVideoFrameFlags"><span class="type">GstVideoFrameFlags</span></a> <em class="structfield"><code><a name="GstVideoFrame.flags"></a>flags</code></em>;</p></td> 8398<td class="struct_member_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameFlags" title="enum GstVideoFrameFlags"><span class="type">GstVideoFrameFlags</span></a> for the frame</p></td> 8399<td class="struct_member_annotations"> </td> 8400</tr> 8401<tr> 8402<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoFrame.buffer"></a>buffer</code></em>;</p></td> 8403<td class="struct_member_description"><p>the mapped buffer</p></td> 8404<td class="struct_member_annotations"> </td> 8405</tr> 8406<tr> 8407<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GstVideoFrame.meta"></a>meta</code></em>;</p></td> 8408<td class="struct_member_description"><p>pointer to metadata if any</p></td> 8409<td class="struct_member_annotations"> </td> 8410</tr> 8411<tr> 8412<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoFrame.id"></a>id</code></em>;</p></td> 8413<td class="struct_member_description"><p>id of the mapped frame. the id can for example be used to 8414indentify the frame in case of multiview video.</p></td> 8415<td class="struct_member_annotations"> </td> 8416</tr> 8417<tr> 8418<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GstVideoFrame.data"></a>data</code></em>[GST_VIDEO_MAX_PLANES];</p></td> 8419<td class="struct_member_description"><p>pointers to the plane data</p></td> 8420<td class="struct_member_annotations"> </td> 8421</tr> 8422<tr> 8423<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapInfo"><span class="type">GstMapInfo</span></a> <em class="structfield"><code><a name="GstVideoFrame.map"></a>map</code></em>[GST_VIDEO_MAX_PLANES];</p></td> 8424<td class="struct_member_description"><p>mappings of the planes</p></td> 8425<td class="struct_member_annotations"> </td> 8426</tr> 8427</tbody> 8428</table></div> 8429</div> 8430</div> 8431<hr> 8432<div class="refsect2"> 8433<a name="GstVideoFrameFlags"></a><h3>enum GstVideoFrameFlags</h3> 8434<p>Extra video frame flags</p> 8435<div class="refsect3"> 8436<a name="GstVideoFrameFlags.members"></a><h4>Members</h4> 8437<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8438<colgroup> 8439<col width="300px" class="enum_members_name"> 8440<col class="enum_members_description"> 8441<col width="200px" class="enum_members_annotations"> 8442</colgroup> 8443<tbody> 8444<tr> 8445<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-NONE:CAPS"></a>GST_VIDEO_FRAME_FLAG_NONE</p></td> 8446<td class="enum_member_description"> 8447<p>no flags</p> 8448</td> 8449<td class="enum_member_annotations"> </td> 8450</tr> 8451<tr> 8452<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-INTERLACED:CAPS"></a>GST_VIDEO_FRAME_FLAG_INTERLACED</p></td> 8453<td class="enum_member_description"> 8454<p>The video frame is interlaced. In mixed 8455 interlace-mode, this flag specifies if the frame is interlaced or 8456 progressive.</p> 8457</td> 8458<td class="enum_member_annotations"> </td> 8459</tr> 8460<tr> 8461<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-TFF:CAPS"></a>GST_VIDEO_FRAME_FLAG_TFF</p></td> 8462<td class="enum_member_description"> 8463<p>The video frame has the top field first</p> 8464</td> 8465<td class="enum_member_annotations"> </td> 8466</tr> 8467<tr> 8468<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-RFF:CAPS"></a>GST_VIDEO_FRAME_FLAG_RFF</p></td> 8469<td class="enum_member_description"> 8470<p>The video frame has the repeat flag</p> 8471</td> 8472<td class="enum_member_annotations"> </td> 8473</tr> 8474<tr> 8475<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-ONEFIELD:CAPS"></a>GST_VIDEO_FRAME_FLAG_ONEFIELD</p></td> 8476<td class="enum_member_description"> 8477<p>The video frame has one field</p> 8478</td> 8479<td class="enum_member_annotations"> </td> 8480</tr> 8481<tr> 8482<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-MULTIPLE-VIEW:CAPS"></a>GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW</p></td> 8483<td class="enum_member_description"> 8484<p>The video contains one or 8485 more non-mono views</p> 8486</td> 8487<td class="enum_member_annotations"> </td> 8488</tr> 8489<tr> 8490<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-FIRST-IN-BUNDLE:CAPS"></a>GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE</p></td> 8491<td class="enum_member_description"> 8492<p>The video frame is the first 8493 in a set of corresponding views provided as sequential frames.</p> 8494</td> 8495<td class="enum_member_annotations"> </td> 8496</tr> 8497<tr> 8498<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-TOP-FIELD:CAPS"></a>GST_VIDEO_FRAME_FLAG_TOP_FIELD</p></td> 8499<td class="enum_member_description"> 8500<p>The video frame has the top field only. This 8501 is the same as GST_VIDEO_FRAME_FLAG_TFF | GST_VIDEO_FRAME_FLAG_ONEFIELD 8502 (Since: 1.16).</p> 8503</td> 8504<td class="enum_member_annotations"> </td> 8505</tr> 8506<tr> 8507<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-BOTTOM-FIELD:CAPS"></a>GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD</p></td> 8508<td class="enum_member_description"> 8509<p>The video frame has the bottom field 8510 only. This is the same as GST_VIDEO_FRAME_FLAG_ONEFIELD 8511 (GST_VIDEO_FRAME_FLAG_TFF flag unset) (Since: 1.16).</p> 8512</td> 8513<td class="enum_member_annotations"> </td> 8514</tr> 8515</tbody> 8516</table></div> 8517</div> 8518</div> 8519<hr> 8520<div class="refsect2"> 8521<a name="GstVideoFrameMapFlags"></a><h3>enum GstVideoFrameMapFlags</h3> 8522<p>Additional mapping flags for <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a>.</p> 8523<div class="refsect3"> 8524<a name="GstVideoFrameMapFlags.members"></a><h4>Members</h4> 8525<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8526<colgroup> 8527<col width="300px" class="enum_members_name"> 8528<col class="enum_members_description"> 8529<col width="200px" class="enum_members_annotations"> 8530</colgroup> 8531<tbody> 8532<tr> 8533<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-MAP-FLAG-NO-REF:CAPS"></a>GST_VIDEO_FRAME_MAP_FLAG_NO_REF</p></td> 8534<td class="enum_member_description"> 8535<p>Don't take another reference of the buffer and store it in 8536 the GstVideoFrame. This makes sure that the buffer stays 8537 writable while the frame is mapped, but requires that the 8538 buffer reference stays valid until the frame is unmapped again.</p> 8539</td> 8540<td class="enum_member_annotations"> </td> 8541</tr> 8542<tr> 8543<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-MAP-FLAG-LAST:CAPS"></a>GST_VIDEO_FRAME_MAP_FLAG_LAST</p></td> 8544<td class="enum_member_description"> 8545<p>Offset to define more flags</p> 8546</td> 8547<td class="enum_member_annotations"> </td> 8548</tr> 8549</tbody> 8550</table></div> 8551</div> 8552<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8553</div> 8554<hr> 8555<div class="refsect2"> 8556<a name="GstVideoBufferFlags"></a><h3>enum GstVideoBufferFlags</h3> 8557<p>Additional video buffer flags. These flags can potentially be used on any 8558buffers carrying video data - even encoded data.</p> 8559<p>Note that these are only valid for <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> of type: video/... 8560They can conflict with other extended buffer flags.</p> 8561<div class="refsect3"> 8562<a name="GstVideoBufferFlags.members"></a><h4>Members</h4> 8563<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8564<colgroup> 8565<col width="300px" class="enum_members_name"> 8566<col class="enum_members_description"> 8567<col width="200px" class="enum_members_annotations"> 8568</colgroup> 8569<tbody> 8570<tr> 8571<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-INTERLACED:CAPS"></a>GST_VIDEO_BUFFER_FLAG_INTERLACED</p></td> 8572<td class="enum_member_description"> 8573<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced. In mixed 8574 interlace-mode, this flags specifies if the frame is 8575 interlaced or progressive.</p> 8576</td> 8577<td class="enum_member_annotations"> </td> 8578</tr> 8579<tr> 8580<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-TFF:CAPS"></a>GST_VIDEO_BUFFER_FLAG_TFF</p></td> 8581<td class="enum_member_description"> 8582<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced, then the first field 8583 in the video frame is the top field. If unset, the 8584 bottom field is first.</p> 8585</td> 8586<td class="enum_member_annotations"> </td> 8587</tr> 8588<tr> 8589<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-RFF:CAPS"></a>GST_VIDEO_BUFFER_FLAG_RFF</p></td> 8590<td class="enum_member_description"> 8591<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced, then the first field 8592 (as defined by the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-BUFFER-FLAG-TFF:CAPS"><code class="literal">GST_VIDEO_BUFFER_FLAG_TFF</code></a> flag setting) 8593 is repeated.</p> 8594</td> 8595<td class="enum_member_annotations"> </td> 8596</tr> 8597<tr> 8598<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-ONEFIELD:CAPS"></a>GST_VIDEO_BUFFER_FLAG_ONEFIELD</p></td> 8599<td class="enum_member_description"> 8600<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced, then only the 8601 first field (as defined by the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-BUFFER-FLAG-TFF:CAPS"><code class="literal">GST_VIDEO_BUFFER_FLAG_TFF</code></a> 8602 flag setting) is to be displayed (Since: 1.16).</p> 8603</td> 8604<td class="enum_member_annotations"> </td> 8605</tr> 8606<tr> 8607<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-MULTIPLE-VIEW:CAPS"></a>GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW</p></td> 8608<td class="enum_member_description"> 8609<p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> contains one or more specific views, 8610 such as left or right eye view. This flags is set on 8611 any buffer that contains non-mono content - even for 8612 streams that contain only a single viewpoint. In mixed 8613 mono / non-mono streams, the absense of the flag marks 8614 mono buffers.</p> 8615</td> 8616<td class="enum_member_annotations"> </td> 8617</tr> 8618<tr> 8619<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-FIRST-IN-BUNDLE:CAPS"></a>GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE</p></td> 8620<td class="enum_member_description"> 8621<p>When conveying stereo/multiview content with 8622 frame-by-frame methods, this flag marks the first buffer 8623 in a bundle of frames that belong together.</p> 8624</td> 8625<td class="enum_member_annotations"> </td> 8626</tr> 8627<tr> 8628<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-TOP-FIELD:CAPS"></a>GST_VIDEO_BUFFER_FLAG_TOP_FIELD</p></td> 8629<td class="enum_member_description"> 8630<p>The video frame has the top field only. This is the 8631 same as GST_VIDEO_BUFFER_FLAG_TFF | 8632 GST_VIDEO_BUFFER_FLAG_ONEFIELD (Since: 1.16).</p> 8633</td> 8634<td class="enum_member_annotations"> </td> 8635</tr> 8636<tr> 8637<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-BOTTOM-FIELD:CAPS"></a>GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD</p></td> 8638<td class="enum_member_description"> 8639<p>The video frame has the bottom field only. This is 8640 the same as GST_VIDEO_BUFFER_FLAG_ONEFIELD 8641 (GST_VIDEO_BUFFER_FLAG_TFF flag unset) (Since: 1.16).</p> 8642</td> 8643<td class="enum_member_annotations"> </td> 8644</tr> 8645<tr> 8646<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-LAST:CAPS"></a>GST_VIDEO_BUFFER_FLAG_LAST</p></td> 8647<td class="enum_member_description"> 8648<p>Offset to define more flags</p> 8649</td> 8650<td class="enum_member_annotations"> </td> 8651</tr> 8652</tbody> 8653</table></div> 8654</div> 8655</div> 8656<hr> 8657<div class="refsect2"> 8658<a name="GstVideoTileType"></a><h3>enum GstVideoTileType</h3> 8659<p>Enum value describing the most common tiling types.</p> 8660<div class="refsect3"> 8661<a name="GstVideoTileType.members"></a><h4>Members</h4> 8662<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8663<colgroup> 8664<col width="300px" class="enum_members_name"> 8665<col class="enum_members_description"> 8666<col width="200px" class="enum_members_annotations"> 8667</colgroup> 8668<tbody><tr> 8669<td class="enum_member_name"><p><a name="GST-VIDEO-TILE-TYPE-INDEXED:CAPS"></a>GST_VIDEO_TILE_TYPE_INDEXED</p></td> 8670<td class="enum_member_description"> 8671<p>Tiles are indexed. Use 8672 <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-tile-get-index" title="gst_video_tile_get_index ()"><code class="function">gst_video_tile_get_index()</code></a> to retrieve the tile at the requested 8673 coordinates.</p> 8674</td> 8675<td class="enum_member_annotations"> </td> 8676</tr></tbody> 8677</table></div> 8678</div> 8679</div> 8680<hr> 8681<div class="refsect2"> 8682<a name="GstVideoTileMode"></a><h3>enum GstVideoTileMode</h3> 8683<p>Enum value describing the available tiling modes.</p> 8684<div class="refsect3"> 8685<a name="GstVideoTileMode.members"></a><h4>Members</h4> 8686<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8687<colgroup> 8688<col width="300px" class="enum_members_name"> 8689<col class="enum_members_description"> 8690<col width="200px" class="enum_members_annotations"> 8691</colgroup> 8692<tbody> 8693<tr> 8694<td class="enum_member_name"><p><a name="GST-VIDEO-TILE-MODE-UNKNOWN:CAPS"></a>GST_VIDEO_TILE_MODE_UNKNOWN</p></td> 8695<td class="enum_member_description"> 8696<p>Unknown or unset tile mode</p> 8697</td> 8698<td class="enum_member_annotations"> </td> 8699</tr> 8700<tr> 8701<td class="enum_member_name"><p><a name="GST-VIDEO-TILE-MODE-ZFLIPZ-2X2:CAPS"></a>GST_VIDEO_TILE_MODE_ZFLIPZ_2X2</p></td> 8702<td class="enum_member_description"> 8703<p>Every four adjacent blocks - two 8704 horizontally and two vertically are grouped together and are located 8705 in memory in Z or flipped Z order. In case of odd rows, the last row 8706 of blocks is arranged in linear order.</p> 8707</td> 8708<td class="enum_member_annotations"> </td> 8709</tr> 8710</tbody> 8711</table></div> 8712</div> 8713</div> 8714<hr> 8715<div class="refsect2"> 8716<a name="GST-VIDEO-TILE-TYPE-MASK:CAPS"></a><h3>GST_VIDEO_TILE_TYPE_MASK</h3> 8717<pre class="programlisting">#define GST_VIDEO_TILE_TYPE_MASK ((1 << GST_VIDEO_TILE_TYPE_SHIFT) - 1) 8718</pre> 8719</div> 8720<hr> 8721<div class="refsect2"> 8722<a name="GST-VIDEO-TILE-TYPE-SHIFT:CAPS"></a><h3>GST_VIDEO_TILE_TYPE_SHIFT</h3> 8723<pre class="programlisting">#define GST_VIDEO_TILE_TYPE_SHIFT (16) 8724</pre> 8725</div> 8726<hr> 8727<div class="refsect2"> 8728<a name="GST-VIDEO-TILE-X-TILES-MASK:CAPS"></a><h3>GST_VIDEO_TILE_X_TILES_MASK</h3> 8729<pre class="programlisting">#define GST_VIDEO_TILE_X_TILES_MASK ((1 << GST_VIDEO_TILE_Y_TILES_SHIFT) - 1) 8730</pre> 8731</div> 8732<hr> 8733<div class="refsect2"> 8734<a name="GST-VIDEO-TILE-Y-TILES-SHIFT:CAPS"></a><h3>GST_VIDEO_TILE_Y_TILES_SHIFT</h3> 8735<pre class="programlisting">#define GST_VIDEO_TILE_Y_TILES_SHIFT (16) 8736</pre> 8737</div> 8738<hr> 8739<div class="refsect2"> 8740<a name="GstVideoConverter"></a><h3>GstVideoConverter</h3> 8741<pre class="programlisting">typedef struct _GstVideoConverter GstVideoConverter;</pre> 8742</div> 8743<hr> 8744<div class="refsect2"> 8745<a name="GstVideoAlphaMode"></a><h3>enum GstVideoAlphaMode</h3> 8746<p>Different alpha modes.</p> 8747<div class="refsect3"> 8748<a name="GstVideoAlphaMode.members"></a><h4>Members</h4> 8749<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8750<colgroup> 8751<col width="300px" class="enum_members_name"> 8752<col class="enum_members_description"> 8753<col width="200px" class="enum_members_annotations"> 8754</colgroup> 8755<tbody> 8756<tr> 8757<td class="enum_member_name"><p><a name="GST-VIDEO-ALPHA-MODE-COPY:CAPS"></a>GST_VIDEO_ALPHA_MODE_COPY</p></td> 8758<td class="enum_member_description"> 8759<p>When input and output have alpha, it will be copied. 8760 When the input has no alpha, alpha will be set to 8761 <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a></p> 8762</td> 8763<td class="enum_member_annotations"> </td> 8764</tr> 8765<tr> 8766<td class="enum_member_name"><p><a name="GST-VIDEO-ALPHA-MODE-SET:CAPS"></a>GST_VIDEO_ALPHA_MODE_SET</p></td> 8767<td class="enum_member_description"> 8768<p>set all alpha to 8769 <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a></p> 8770</td> 8771<td class="enum_member_annotations"> </td> 8772</tr> 8773<tr> 8774<td class="enum_member_name"><p><a name="GST-VIDEO-ALPHA-MODE-MULT:CAPS"></a>GST_VIDEO_ALPHA_MODE_MULT</p></td> 8775<td class="enum_member_description"> 8776<p>multiply all alpha with 8777 <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a>. 8778 When the input format has no alpha but the output format has, the 8779 alpha value will be set to <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a></p> 8780</td> 8781<td class="enum_member_annotations"> </td> 8782</tr> 8783</tbody> 8784</table></div> 8785</div> 8786<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8787</div> 8788<hr> 8789<div class="refsect2"> 8790<a name="GstVideoChromaMode"></a><h3>enum GstVideoChromaMode</h3> 8791<p>Different chroma downsampling and upsampling modes</p> 8792<div class="refsect3"> 8793<a name="GstVideoChromaMode.members"></a><h4>Members</h4> 8794<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8795<colgroup> 8796<col width="300px" class="enum_members_name"> 8797<col class="enum_members_description"> 8798<col width="200px" class="enum_members_annotations"> 8799</colgroup> 8800<tbody> 8801<tr> 8802<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-FULL:CAPS"></a>GST_VIDEO_CHROMA_MODE_FULL</p></td> 8803<td class="enum_member_description"> 8804<p>do full chroma up and down sampling</p> 8805</td> 8806<td class="enum_member_annotations"> </td> 8807</tr> 8808<tr> 8809<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-UPSAMPLE-ONLY:CAPS"></a>GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY</p></td> 8810<td class="enum_member_description"> 8811<p>only perform chroma upsampling</p> 8812</td> 8813<td class="enum_member_annotations"> </td> 8814</tr> 8815<tr> 8816<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-DOWNSAMPLE-ONLY:CAPS"></a>GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY</p></td> 8817<td class="enum_member_description"> 8818<p>only perform chroma downsampling</p> 8819</td> 8820<td class="enum_member_annotations"> </td> 8821</tr> 8822<tr> 8823<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-NONE:CAPS"></a>GST_VIDEO_CHROMA_MODE_NONE</p></td> 8824<td class="enum_member_description"> 8825<p>disable chroma resampling</p> 8826</td> 8827<td class="enum_member_annotations"> </td> 8828</tr> 8829</tbody> 8830</table></div> 8831</div> 8832<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8833</div> 8834<hr> 8835<div class="refsect2"> 8836<a name="GstVideoGammaMode"></a><h3>enum GstVideoGammaMode</h3> 8837<div class="refsect3"> 8838<a name="GstVideoGammaMode.members"></a><h4>Members</h4> 8839<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8840<colgroup> 8841<col width="300px" class="enum_members_name"> 8842<col class="enum_members_description"> 8843<col width="200px" class="enum_members_annotations"> 8844</colgroup> 8845<tbody> 8846<tr> 8847<td class="enum_member_name"><p><a name="GST-VIDEO-GAMMA-MODE-NONE:CAPS"></a>GST_VIDEO_GAMMA_MODE_NONE</p></td> 8848<td class="enum_member_description"> 8849<p>disable gamma handling</p> 8850</td> 8851<td class="enum_member_annotations"> </td> 8852</tr> 8853<tr> 8854<td class="enum_member_name"><p><a name="GST-VIDEO-GAMMA-MODE-REMAP:CAPS"></a>GST_VIDEO_GAMMA_MODE_REMAP</p></td> 8855<td class="enum_member_description"> 8856<p>convert between input and output gamma 8857Different gamma conversion modes</p> 8858</td> 8859<td class="enum_member_annotations"> </td> 8860</tr> 8861</tbody> 8862</table></div> 8863</div> 8864<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8865</div> 8866<hr> 8867<div class="refsect2"> 8868<a name="GstVideoMatrixMode"></a><h3>enum GstVideoMatrixMode</h3> 8869<p>Different color matrix conversion modes</p> 8870<div class="refsect3"> 8871<a name="GstVideoMatrixMode.members"></a><h4>Members</h4> 8872<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8873<colgroup> 8874<col width="300px" class="enum_members_name"> 8875<col class="enum_members_description"> 8876<col width="200px" class="enum_members_annotations"> 8877</colgroup> 8878<tbody> 8879<tr> 8880<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-FULL:CAPS"></a>GST_VIDEO_MATRIX_MODE_FULL</p></td> 8881<td class="enum_member_description"> 8882<p>do conversion between color matrices</p> 8883</td> 8884<td class="enum_member_annotations"> </td> 8885</tr> 8886<tr> 8887<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-INPUT-ONLY:CAPS"></a>GST_VIDEO_MATRIX_MODE_INPUT_ONLY</p></td> 8888<td class="enum_member_description"> 8889<p>use the input color matrix to convert 8890 to and from R'G'B</p> 8891</td> 8892<td class="enum_member_annotations"> </td> 8893</tr> 8894<tr> 8895<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-OUTPUT-ONLY:CAPS"></a>GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY</p></td> 8896<td class="enum_member_description"> 8897<p>use the output color matrix to convert 8898 to and from R'G'B</p> 8899</td> 8900<td class="enum_member_annotations"> </td> 8901</tr> 8902<tr> 8903<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-NONE:CAPS"></a>GST_VIDEO_MATRIX_MODE_NONE</p></td> 8904<td class="enum_member_description"> 8905<p>disable color matrix conversion.</p> 8906</td> 8907<td class="enum_member_annotations"> </td> 8908</tr> 8909</tbody> 8910</table></div> 8911</div> 8912<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8913</div> 8914<hr> 8915<div class="refsect2"> 8916<a name="GstVideoPrimariesMode"></a><h3>enum GstVideoPrimariesMode</h3> 8917<p>Different primaries conversion modes</p> 8918<div class="refsect3"> 8919<a name="GstVideoPrimariesMode.members"></a><h4>Members</h4> 8920<div class="informaltable"><table class="informaltable" width="100%" border="0"> 8921<colgroup> 8922<col width="300px" class="enum_members_name"> 8923<col class="enum_members_description"> 8924<col width="200px" class="enum_members_annotations"> 8925</colgroup> 8926<tbody> 8927<tr> 8928<td class="enum_member_name"><p><a name="GST-VIDEO-PRIMARIES-MODE-NONE:CAPS"></a>GST_VIDEO_PRIMARIES_MODE_NONE</p></td> 8929<td class="enum_member_description"> 8930<p>disable conversion between primaries</p> 8931</td> 8932<td class="enum_member_annotations"> </td> 8933</tr> 8934<tr> 8935<td class="enum_member_name"><p><a name="GST-VIDEO-PRIMARIES-MODE-MERGE-ONLY:CAPS"></a>GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY</p></td> 8936<td class="enum_member_description"> 8937<p>do conversion between primaries only 8938 when it can be merged with color matrix conversion.</p> 8939</td> 8940<td class="enum_member_annotations"> </td> 8941</tr> 8942<tr> 8943<td class="enum_member_name"><p><a name="GST-VIDEO-PRIMARIES-MODE-FAST:CAPS"></a>GST_VIDEO_PRIMARIES_MODE_FAST</p></td> 8944<td class="enum_member_description"> 8945<p>fast conversion between primaries</p> 8946</td> 8947<td class="enum_member_annotations"> </td> 8948</tr> 8949</tbody> 8950</table></div> 8951</div> 8952<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p> 8953</div> 8954<hr> 8955<div class="refsect2"> 8956<a name="GST-VIDEO-CONVERTER-OPT-ALPHA-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_ALPHA_MODE</h3> 8957<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_ALPHA_MODE "GstVideoConverter.alpha-mode" 8958</pre> 8959<p><span class="type">GST_TYPE_VIDEO_ALPHA_MODE</span>, the alpha mode to use. 8960Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-ALPHA-MODE-COPY:CAPS"><span class="type">GST_VIDEO_ALPHA_MODE_COPY</span></a>.</p> 8961</div> 8962<hr> 8963<div class="refsect2"> 8964<a name="GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</h3> 8965<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE "GstVideoConverter.alpha-value" 8966</pre> 8967<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><span class="type">G_TYPE_DOUBLE</span></a>, the alpha color value to use. 8968Default to 1.0</p> 8969</div> 8970<hr> 8971<div class="refsect2"> 8972<a name="GST-VIDEO-CONVERTER-OPT-BORDER-ARGB:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_BORDER_ARGB</h3> 8973<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_BORDER_ARGB "GstVideoConverter.border-argb" 8974</pre> 8975<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, the border color to use if <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-FILL-BORDER:CAPS" title="GST_VIDEO_CONVERTER_OPT_FILL_BORDER"><span class="type">GST_VIDEO_CONVERTER_OPT_FILL_BORDER</span></a> 8976is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. The color is in ARGB format. 8977Default 0xff000000</p> 8978</div> 8979<hr> 8980<div class="refsect2"> 8981<a name="GST-VIDEO-CONVERTER-OPT-CHROMA-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_CHROMA_MODE</h3> 8982<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_CHROMA_MODE "GstVideoConverter.chroma-mode" 8983</pre> 8984<p><span class="type">GST_TYPE_VIDEO_CHROMA_MODE</span>, set the chroma resample mode subsampled 8985formats. Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CHROMA-MODE-FULL:CAPS"><span class="type">GST_VIDEO_CHROMA_MODE_FULL</span></a>.</p> 8986</div> 8987<hr> 8988<div class="refsect2"> 8989<a name="GST-VIDEO-CONVERTER-OPT-CHROMA-RESAMPLER-METHOD:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD</h3> 8990<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD "GstVideoConverter.chroma-resampler-method" 8991</pre> 8992<p><span class="type">GST_TYPE_VIDEO_RESAMPLER_METHOD</span>, The resampler method to use for 8993chroma resampling. Other options for the resampler can be used, see 8994the <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GstVideoResampler" title="struct GstVideoResampler"><span class="type">GstVideoResampler</span></a>. Default is <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GST-VIDEO-RESAMPLER-METHOD-LINEAR:CAPS"><span class="type">GST_VIDEO_RESAMPLER_METHOD_LINEAR</span></a></p> 8995</div> 8996<hr> 8997<div class="refsect2"> 8998<a name="GST-VIDEO-CONVERTER-OPT-DEST-HEIGHT:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT</h3> 8999<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT "GstVideoConverter.dest-height" 9000</pre> 9001<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, height in the destination frame, default destination height</p> 9002</div> 9003<hr> 9004<div class="refsect2"> 9005<a name="GST-VIDEO-CONVERTER-OPT-DEST-WIDTH:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_WIDTH</h3> 9006<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_WIDTH "GstVideoConverter.dest-width" 9007</pre> 9008<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, width in the destination frame, default destination width</p> 9009</div> 9010<hr> 9011<div class="refsect2"> 9012<a name="GST-VIDEO-CONVERTER-OPT-DEST-X:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_X</h3> 9013<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_X "GstVideoConverter.dest-x" 9014</pre> 9015<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, x position in the destination frame, default 0</p> 9016</div> 9017<hr> 9018<div class="refsect2"> 9019<a name="GST-VIDEO-CONVERTER-OPT-DEST-Y:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_Y</h3> 9020<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_Y "GstVideoConverter.dest-y" 9021</pre> 9022<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, y position in the destination frame, default 0</p> 9023</div> 9024<hr> 9025<div class="refsect2"> 9026<a name="GST-VIDEO-CONVERTER-OPT-DITHER-METHOD:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DITHER_METHOD</h3> 9027<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DITHER_METHOD "GstVideoConverter.dither-method" 9028</pre> 9029<p><span class="type">GST_TYPE_VIDEO_DITHER_METHOD</span>, The dither method to use when 9030changing bit depth. 9031Default is <a class="link" href="gst-plugins-base-libs-GstVideoDither.html#GST-VIDEO-DITHER-BAYER:CAPS"><span class="type">GST_VIDEO_DITHER_BAYER</span></a>.</p> 9032</div> 9033<hr> 9034<div class="refsect2"> 9035<a name="GST-VIDEO-CONVERTER-OPT-DITHER-QUANTIZATION:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION</h3> 9036<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION "GstVideoConverter.dither-quantization" 9037</pre> 9038<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, The quantization amount to dither to. Components will be 9039quantized to multiples of this value. 9040Default is 1</p> 9041</div> 9042<hr> 9043<div class="refsect2"> 9044<a name="GST-VIDEO-CONVERTER-OPT-FILL-BORDER:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_FILL_BORDER</h3> 9045<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_FILL_BORDER "GstVideoConverter.fill-border" 9046</pre> 9047<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><span class="type">G_TYPE_BOOLEAN</span></a>, if the destination rectangle does not fill the complete 9048destination image, render a border with 9049<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-BORDER-ARGB:CAPS" title="GST_VIDEO_CONVERTER_OPT_BORDER_ARGB"><span class="type">GST_VIDEO_CONVERTER_OPT_BORDER_ARGB</span></a>. Otherwise the unusded pixels in the 9050destination are untouched. Default <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p> 9051</div> 9052<hr> 9053<div class="refsect2"> 9054<a name="GST-VIDEO-CONVERTER-OPT-GAMMA-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_GAMMA_MODE</h3> 9055<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_GAMMA_MODE "GstVideoConverter.gamma-mode" 9056</pre> 9057<p><span class="type">GST_TYPE_VIDEO_GAMMA_MODE</span>, set the gamma mode. 9058Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-GAMMA-MODE-NONE:CAPS"><span class="type">GST_VIDEO_GAMMA_MODE_NONE</span></a>.</p> 9059</div> 9060<hr> 9061<div class="refsect2"> 9062<a name="GST-VIDEO-CONVERTER-OPT-MATRIX-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_MATRIX_MODE</h3> 9063<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_MATRIX_MODE "GstVideoConverter.matrix-mode" 9064</pre> 9065<p><span class="type">GST_TYPE_VIDEO_MATRIX_MODE</span>, set the color matrix conversion mode for 9066converting between Y'PbPr and non-linear RGB (R'G'B'). 9067Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MATRIX-MODE-FULL:CAPS"><span class="type">GST_VIDEO_MATRIX_MODE_FULL</span></a>.</p> 9068</div> 9069<hr> 9070<div class="refsect2"> 9071<a name="GST-VIDEO-CONVERTER-OPT-PRIMARIES-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE</h3> 9072<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE "GstVideoConverter.primaries-mode" 9073</pre> 9074<p><span class="type">GST_TYPE_VIDEO_PRIMARIES_MODE</span>, set the primaries conversion mode. 9075Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-PRIMARIES-MODE-NONE:CAPS"><span class="type">GST_VIDEO_PRIMARIES_MODE_NONE</span></a>.</p> 9076</div> 9077<hr> 9078<div class="refsect2"> 9079<a name="GST-VIDEO-CONVERTER-OPT-RESAMPLER-METHOD:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD</h3> 9080<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD "GstVideoConverter.resampler-method" 9081</pre> 9082<p><span class="type">GST_TYPE_VIDEO_RESAMPLER_METHOD</span>, The resampler method to use for 9083resampling. Other options for the resampler can be used, see 9084the <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GstVideoResampler" title="struct GstVideoResampler"><span class="type">GstVideoResampler</span></a>. Default is <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GST-VIDEO-RESAMPLER-METHOD-CUBIC:CAPS"><span class="type">GST_VIDEO_RESAMPLER_METHOD_CUBIC</span></a></p> 9085</div> 9086<hr> 9087<div class="refsect2"> 9088<a name="GST-VIDEO-CONVERTER-OPT-RESAMPLER-TAPS:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS</h3> 9089<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS "GstVideoConverter.resampler-taps" 9090</pre> 9091<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, The number of taps for the resampler. 9092Default is 0: let the resampler choose a good value.</p> 9093</div> 9094<hr> 9095<div class="refsect2"> 9096<a name="GST-VIDEO-CONVERTER-OPT-SRC-HEIGHT:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT</h3> 9097<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT "GstVideoConverter.src-height" 9098</pre> 9099<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source height to convert, default source height</p> 9100</div> 9101<hr> 9102<div class="refsect2"> 9103<a name="GST-VIDEO-CONVERTER-OPT-SRC-WIDTH:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_WIDTH</h3> 9104<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_WIDTH "GstVideoConverter.src-width" 9105</pre> 9106<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source width to convert, default source width</p> 9107</div> 9108<hr> 9109<div class="refsect2"> 9110<a name="GST-VIDEO-CONVERTER-OPT-SRC-X:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_X</h3> 9111<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_X "GstVideoConverter.src-x" 9112</pre> 9113<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source x position to start conversion, default 0</p> 9114</div> 9115<hr> 9116<div class="refsect2"> 9117<a name="GST-VIDEO-CONVERTER-OPT-SRC-Y:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_Y</h3> 9118<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_Y "GstVideoConverter.src-y" 9119</pre> 9120<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source y position to start conversion, default 0</p> 9121</div> 9122<hr> 9123<div class="refsect2"> 9124<a name="GST-VIDEO-CONVERTER-OPT-THREADS:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_THREADS</h3> 9125<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_THREADS "GstVideoConverter.threads" 9126</pre> 9127<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, maximum number of threads to use. Default 1, 0 for the number 9128of cores.</p> 9129</div> 9130<hr> 9131<div class="refsect2"> 9132<a name="GstVideoMultiviewMode"></a><h3>enum GstVideoMultiviewMode</h3> 9133<p>All possible stereoscopic 3D and multiview representations. 9134In conjunction with <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a>, describes how 9135multiview content is being transported in the stream.</p> 9136<div class="refsect3"> 9137<a name="GstVideoMultiviewMode.members"></a><h4>Members</h4> 9138<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9139<colgroup> 9140<col width="300px" class="enum_members_name"> 9141<col class="enum_members_description"> 9142<col width="200px" class="enum_members_annotations"> 9143</colgroup> 9144<tbody> 9145<tr> 9146<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-NONE:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_NONE</p></td> 9147<td class="enum_member_description"> 9148<p>A special value indicating 9149no multiview information. Used in GstVideoInfo and other places to 9150indicate that no specific multiview handling has been requested or 9151provided. This value is never carried on caps.</p> 9152</td> 9153<td class="enum_member_annotations"> </td> 9154</tr> 9155<tr> 9156<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-MONO:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_MONO</p></td> 9157<td class="enum_member_description"> 9158<p>All frames are monoscopic.</p> 9159</td> 9160<td class="enum_member_annotations"> </td> 9161</tr> 9162<tr> 9163<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-LEFT:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_LEFT</p></td> 9164<td class="enum_member_description"> 9165<p>All frames represent a left-eye view.</p> 9166</td> 9167<td class="enum_member_annotations"> </td> 9168</tr> 9169<tr> 9170<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-RIGHT:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_RIGHT</p></td> 9171<td class="enum_member_description"> 9172<p>All frames represent a right-eye view.</p> 9173</td> 9174<td class="enum_member_annotations"> </td> 9175</tr> 9176<tr> 9177<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-SIDE-BY-SIDE:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE</p></td> 9178<td class="enum_member_description"> 9179<p>Left and right eye views are 9180provided in the left and right half of the frame respectively.</p> 9181</td> 9182<td class="enum_member_annotations"> </td> 9183</tr> 9184<tr> 9185<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-SIDE-BY-SIDE-QUINCUNX:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX</p></td> 9186<td class="enum_member_description"> 9187<p>Left and right eye 9188views are provided in the left and right half of the frame, but 9189have been sampled using quincunx method, with half-pixel offset 9190between the 2 views.</p> 9191</td> 9192<td class="enum_member_annotations"> </td> 9193</tr> 9194<tr> 9195<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-COLUMN-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED</p></td> 9196<td class="enum_member_description"> 9197<p>Alternating vertical 9198columns of pixels represent the left and right eye view respectively.</p> 9199</td> 9200<td class="enum_member_annotations"> </td> 9201</tr> 9202<tr> 9203<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-ROW-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED</p></td> 9204<td class="enum_member_description"> 9205<p>Alternating horizontal 9206rows of pixels represent the left and right eye view respectively.</p> 9207</td> 9208<td class="enum_member_annotations"> </td> 9209</tr> 9210<tr> 9211<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-TOP-BOTTOM:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM</p></td> 9212<td class="enum_member_description"> 9213<p>The top half of the frame 9214contains the left eye, and the bottom half the right eye.</p> 9215</td> 9216<td class="enum_member_annotations"> </td> 9217</tr> 9218<tr> 9219<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-CHECKERBOARD:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD</p></td> 9220<td class="enum_member_description"> 9221<p>Pixels are arranged with 9222alternating pixels representing left and right eye views in a 9223checkerboard fashion.</p> 9224</td> 9225<td class="enum_member_annotations"> </td> 9226</tr> 9227<tr> 9228<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-FRAME-BY-FRAME:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME</p></td> 9229<td class="enum_member_description"> 9230<p>Left and right eye views 9231are provided in separate frames alternately.</p> 9232</td> 9233<td class="enum_member_annotations"> </td> 9234</tr> 9235<tr> 9236<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-MULTIVIEW-FRAME-BY-FRAME:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME</p></td> 9237<td class="enum_member_description"> 9238<p>Multiple 9239independent views are provided in separate frames in sequence. 9240This method only applies to raw video buffers at the moment. 9241Specific view identification is via the <span class="type">GstVideoMultiviewMeta</span> 9242and <a class="link" href="gst-plugins-base-libs-GstMeta-for-video.html#GstVideoMeta" title="struct GstVideoMeta"><span class="type">GstVideoMeta</span></a>(s) on raw video buffers.</p> 9243</td> 9244<td class="enum_member_annotations"> </td> 9245</tr> 9246<tr> 9247<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-SEPARATED:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_SEPARATED</p></td> 9248<td class="enum_member_description"> 9249<p>Multiple views are 9250provided as separate <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMemory-struct"><span class="type">GstMemory</span></a> framebuffers attached to each 9251<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a>, described by the <span class="type">GstVideoMultiviewMeta</span> 9252and <a class="link" href="gst-plugins-base-libs-GstMeta-for-video.html#GstVideoMeta" title="struct GstVideoMeta"><span class="type">GstVideoMeta</span></a>(s)</p> 9253</td> 9254<td class="enum_member_annotations"> </td> 9255</tr> 9256</tbody> 9257</table></div> 9258</div> 9259</div> 9260<hr> 9261<div class="refsect2"> 9262<a name="GstVideoMultiviewFramePacking"></a><h3>enum GstVideoMultiviewFramePacking</h3> 9263<p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking" title="enum GstVideoMultiviewFramePacking"><span class="type">GstVideoMultiviewFramePacking</span></a> represents the subset of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> 9264values that can be applied to any video frame without needing extra metadata. 9265It can be used by elements that provide a property to override the 9266multiview interpretation of a video stream when the video doesn't contain 9267any markers.</p> 9268<p>This enum is used (for example) on playbin, to re-interpret a played 9269video stream as a stereoscopic video. The individual enum values are 9270equivalent to and have the same value as the matching <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a>.</p> 9271<div class="refsect3"> 9272<a name="GstVideoMultiviewFramePacking.members"></a><h4>Members</h4> 9273<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9274<colgroup> 9275<col width="300px" class="enum_members_name"> 9276<col class="enum_members_description"> 9277<col width="200px" class="enum_members_annotations"> 9278</colgroup> 9279<tbody> 9280<tr> 9281<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-NONE:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE</p></td> 9282<td class="enum_member_description"> 9283<p>A special value indicating 9284no frame packing info.</p> 9285</td> 9286<td class="enum_member_annotations"> </td> 9287</tr> 9288<tr> 9289<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-MONO:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO</p></td> 9290<td class="enum_member_description"> 9291<p>All frames are monoscopic.</p> 9292</td> 9293<td class="enum_member_annotations"> </td> 9294</tr> 9295<tr> 9296<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-LEFT:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT</p></td> 9297<td class="enum_member_description"> 9298<p>All frames represent a left-eye view.</p> 9299</td> 9300<td class="enum_member_annotations"> </td> 9301</tr> 9302<tr> 9303<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-RIGHT:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT</p></td> 9304<td class="enum_member_description"> 9305<p>All frames represent a right-eye view.</p> 9306</td> 9307<td class="enum_member_annotations"> </td> 9308</tr> 9309<tr> 9310<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-SIDE-BY-SIDE:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE</p></td> 9311<td class="enum_member_description"> 9312<p>Left and right eye views are 9313provided in the left and right half of the frame respectively.</p> 9314</td> 9315<td class="enum_member_annotations"> </td> 9316</tr> 9317<tr> 9318<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-SIDE-BY-SIDE-QUINCUNX:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX</p></td> 9319<td class="enum_member_description"> 9320<p>Left and right eye 9321views are provided in the left and right half of the frame, but 9322have been sampled using quincunx method, with half-pixel offset 9323between the 2 views.</p> 9324</td> 9325<td class="enum_member_annotations"> </td> 9326</tr> 9327<tr> 9328<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-COLUMN-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED</p></td> 9329<td class="enum_member_description"> 9330<p>Alternating vertical 9331columns of pixels represent the left and right eye view respectively.</p> 9332</td> 9333<td class="enum_member_annotations"> </td> 9334</tr> 9335<tr> 9336<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-ROW-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED</p></td> 9337<td class="enum_member_description"> 9338<p>Alternating horizontal 9339rows of pixels represent the left and right eye view respectively.</p> 9340</td> 9341<td class="enum_member_annotations"> </td> 9342</tr> 9343<tr> 9344<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-TOP-BOTTOM:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM</p></td> 9345<td class="enum_member_description"> 9346<p>The top half of the frame 9347contains the left eye, and the bottom half the right eye.</p> 9348</td> 9349<td class="enum_member_annotations"> </td> 9350</tr> 9351<tr> 9352<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-CHECKERBOARD:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD</p></td> 9353<td class="enum_member_description"> 9354<p>Pixels are arranged with 9355alternating pixels representing left and right eye views in a 9356checkerboard fashion.</p> 9357</td> 9358<td class="enum_member_annotations"> </td> 9359</tr> 9360</tbody> 9361</table></div> 9362</div> 9363</div> 9364<hr> 9365<div class="refsect2"> 9366<a name="GstVideoMultiviewFlags"></a><h3>enum GstVideoMultiviewFlags</h3> 9367<p>GstVideoMultiviewFlags are used to indicate extra properties of a 9368stereo/multiview stream beyond the frame layout and buffer mapping 9369that is conveyed in the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a>.</p> 9370<div class="refsect3"> 9371<a name="GstVideoMultiviewFlags.members"></a><h4>Members</h4> 9372<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9373<colgroup> 9374<col width="300px" class="enum_members_name"> 9375<col class="enum_members_description"> 9376<col width="200px" class="enum_members_annotations"> 9377</colgroup> 9378<tbody> 9379<tr> 9380<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-NONE:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_NONE</p></td> 9381<td class="enum_member_description"> 9382<p>No flags</p> 9383</td> 9384<td class="enum_member_annotations"> </td> 9385</tr> 9386<tr> 9387<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-RIGHT-VIEW-FIRST:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST</p></td> 9388<td class="enum_member_description"> 9389<p>For stereo streams, the 9390 normal arrangement of left and right views is reversed.</p> 9391</td> 9392<td class="enum_member_annotations"> </td> 9393</tr> 9394<tr> 9395<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-LEFT-FLIPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED</p></td> 9396<td class="enum_member_description"> 9397<p>The left view is vertically 9398 mirrored.</p> 9399</td> 9400<td class="enum_member_annotations"> </td> 9401</tr> 9402<tr> 9403<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-LEFT-FLOPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED</p></td> 9404<td class="enum_member_description"> 9405<p>The left view is horizontally 9406 mirrored.</p> 9407</td> 9408<td class="enum_member_annotations"> </td> 9409</tr> 9410<tr> 9411<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-RIGHT-FLIPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED</p></td> 9412<td class="enum_member_description"> 9413<p>The right view is 9414 vertically mirrored.</p> 9415</td> 9416<td class="enum_member_annotations"> </td> 9417</tr> 9418<tr> 9419<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-RIGHT-FLOPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED</p></td> 9420<td class="enum_member_description"> 9421<p>The right view is 9422 horizontally mirrored.</p> 9423</td> 9424<td class="enum_member_annotations"> </td> 9425</tr> 9426<tr> 9427<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-HALF-ASPECT:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT</p></td> 9428<td class="enum_member_description"> 9429<p>For frame-packed 9430 multiview modes, indicates that the individual 9431 views have been encoded with half the true width or height 9432 and should be scaled back up for display. This flag 9433 is used for overriding input layout interpretation 9434 by adjusting pixel-aspect-ratio. 9435 For side-by-side, column interleaved or checkerboard packings, the 9436 pixel width will be doubled. For row interleaved and top-bottom 9437 encodings, pixel height will be doubled.</p> 9438</td> 9439<td class="enum_member_annotations"> </td> 9440</tr> 9441<tr> 9442<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-MIXED-MONO:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO</p></td> 9443<td class="enum_member_description"> 9444<p>The video stream contains both 9445 mono and multiview portions, signalled on each buffer by the 9446 absence or presence of the <em class="parameter"><code>GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW</code></em> 9447 9448 buffer flag.</p> 9449</td> 9450<td class="enum_member_annotations"> </td> 9451</tr> 9452</tbody> 9453</table></div> 9454</div> 9455</div> 9456<hr> 9457<div class="refsect2"> 9458<a name="GST-VIDEO-MULTIVIEW-MAX-FRAME-PACKING:CAPS"></a><h3>GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING</h3> 9459<pre class="programlisting">#define GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD 9460</pre> 9461</div> 9462<hr> 9463<div class="refsect2"> 9464<a name="GstVideoTimeCode"></a><h3>struct GstVideoTimeCode</h3> 9465<pre class="programlisting">struct GstVideoTimeCode { 9466 GstVideoTimeCodeConfig config; 9467 9468 guint hours; 9469 guint minutes; 9470 guint seconds; 9471 guint frames; 9472 guint field_count; 9473}; 9474</pre> 9475<p><em class="parameter"><code>field_count</code></em> 9476 must be 0 for progressive video and 1 or 2 for interlaced.</p> 9477<p>A representation of a SMPTE time code.</p> 9478<p><em class="parameter"><code>hours</code></em> 9479 must be positive and less than 24. Will wrap around otherwise. 9480<em class="parameter"><code>minutes</code></em> 9481 and <em class="parameter"><code>seconds</code></em> 9482 must be positive and less than 60. 9483<em class="parameter"><code>frames</code></em> 9484 must be less than or equal to <em class="parameter"><code>config.fps_n</code></em> 9485 / <em class="parameter"><code>config.fps_d</code></em> 9486 9487These values are *NOT* automatically normalized.</p> 9488<div class="refsect3"> 9489<a name="GstVideoTimeCode.members"></a><h4>Members</h4> 9490<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9491<colgroup> 9492<col width="300px" class="struct_members_name"> 9493<col class="struct_members_description"> 9494<col width="200px" class="struct_members_annotations"> 9495</colgroup> 9496<tbody> 9497<tr> 9498<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeConfig" title="struct GstVideoTimeCodeConfig"><span class="type">GstVideoTimeCodeConfig</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.config"></a>config</code></em>;</p></td> 9499<td class="struct_member_description"><p>the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeConfig" title="struct GstVideoTimeCodeConfig"><span class="type">GstVideoTimeCodeConfig</span></a></p></td> 9500<td class="struct_member_annotations"> </td> 9501</tr> 9502<tr> 9503<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.hours"></a>hours</code></em>;</p></td> 9504<td class="struct_member_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 9505<td class="struct_member_annotations"> </td> 9506</tr> 9507<tr> 9508<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.minutes"></a>minutes</code></em>;</p></td> 9509<td class="struct_member_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 9510<td class="struct_member_annotations"> </td> 9511</tr> 9512<tr> 9513<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.seconds"></a>seconds</code></em>;</p></td> 9514<td class="struct_member_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 9515<td class="struct_member_annotations"> </td> 9516</tr> 9517<tr> 9518<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.frames"></a>frames</code></em>;</p></td> 9519<td class="struct_member_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td> 9520<td class="struct_member_annotations"> </td> 9521</tr> 9522<tr> 9523<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.field-count"></a>field_count</code></em>;</p></td> 9524<td class="struct_member_description"><p>Interlaced video field count</p></td> 9525<td class="struct_member_annotations"> </td> 9526</tr> 9527</tbody> 9528</table></div> 9529</div> 9530<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 9531</div> 9532<hr> 9533<div class="refsect2"> 9534<a name="GstVideoTimeCodeConfig"></a><h3>struct GstVideoTimeCodeConfig</h3> 9535<pre class="programlisting">struct GstVideoTimeCodeConfig { 9536 guint fps_n; 9537 guint fps_d; 9538 GstVideoTimeCodeFlags flags; 9539 GDateTime *latest_daily_jam; 9540}; 9541</pre> 9542<p>Supported frame rates: 30000/1001, 60000/1001 (both with and without drop 9543frame), and integer frame rates e.g. 25/1, 30/1, 50/1, 60/1.</p> 9544<p>The configuration of the time code.</p> 9545<div class="refsect3"> 9546<a name="GstVideoTimeCodeConfig.members"></a><h4>Members</h4> 9547<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9548<colgroup> 9549<col width="300px" class="struct_members_name"> 9550<col class="struct_members_description"> 9551<col width="200px" class="struct_members_annotations"> 9552</colgroup> 9553<tbody> 9554<tr> 9555<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeConfig.fps-n"></a>fps_n</code></em>;</p></td> 9556<td class="struct_member_description"><p>Numerator of the frame rate</p></td> 9557<td class="struct_member_annotations"> </td> 9558</tr> 9559<tr> 9560<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeConfig.fps-d"></a>fps_d</code></em>;</p></td> 9561<td class="struct_member_description"><p>Denominator of the frame rate</p></td> 9562<td class="struct_member_annotations"> </td> 9563</tr> 9564<tr> 9565<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeConfig.flags"></a>flags</code></em>;</p></td> 9566<td class="struct_member_description"><p>the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td> 9567<td class="struct_member_annotations"> </td> 9568</tr> 9569<tr> 9570<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *<em class="structfield"><code><a name="GstVideoTimeCodeConfig.latest-daily-jam"></a>latest_daily_jam</code></em>;</p></td> 9571<td class="struct_member_description"><p>The latest daily jam information, if present, or NULL</p></td> 9572<td class="struct_member_annotations"> </td> 9573</tr> 9574</tbody> 9575</table></div> 9576</div> 9577<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 9578</div> 9579<hr> 9580<div class="refsect2"> 9581<a name="GstVideoTimeCodeFlags"></a><h3>enum GstVideoTimeCodeFlags</h3> 9582<p>Flags related to the time code information. 9583For drop frame, only 30000/1001 and 60000/1001 frame rates are supported.</p> 9584<div class="refsect3"> 9585<a name="GstVideoTimeCodeFlags.members"></a><h4>Members</h4> 9586<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9587<colgroup> 9588<col width="300px" class="enum_members_name"> 9589<col class="enum_members_description"> 9590<col width="200px" class="enum_members_annotations"> 9591</colgroup> 9592<tbody> 9593<tr> 9594<td class="enum_member_name"><p><a name="GST-VIDEO-TIME-CODE-FLAGS-NONE:CAPS"></a>GST_VIDEO_TIME_CODE_FLAGS_NONE</p></td> 9595<td class="enum_member_description"> 9596<p>No flags</p> 9597</td> 9598<td class="enum_member_annotations"> </td> 9599</tr> 9600<tr> 9601<td class="enum_member_name"><p><a name="GST-VIDEO-TIME-CODE-FLAGS-DROP-FRAME:CAPS"></a>GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME</p></td> 9602<td class="enum_member_description"> 9603<p>Whether we have drop frame rate</p> 9604</td> 9605<td class="enum_member_annotations"> </td> 9606</tr> 9607<tr> 9608<td class="enum_member_name"><p><a name="GST-VIDEO-TIME-CODE-FLAGS-INTERLACED:CAPS"></a>GST_VIDEO_TIME_CODE_FLAGS_INTERLACED</p></td> 9609<td class="enum_member_description"> 9610<p>Whether we have interlaced video</p> 9611</td> 9612<td class="enum_member_annotations"> </td> 9613</tr> 9614</tbody> 9615</table></div> 9616</div> 9617<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p> 9618</div> 9619<hr> 9620<div class="refsect2"> 9621<a name="GST-VIDEO-TIME-CODE-INIT:CAPS"></a><h3>GST_VIDEO_TIME_CODE_INIT</h3> 9622<pre class="programlisting">#define GST_VIDEO_TIME_CODE_INIT { {0, 0, 0, NULL}, 0, 0, 0, 0, 0 } 9623</pre> 9624</div> 9625<hr> 9626<div class="refsect2"> 9627<a name="GstVideoTimeCodeInterval"></a><h3>struct GstVideoTimeCodeInterval</h3> 9628<pre class="programlisting">struct GstVideoTimeCodeInterval { 9629 guint hours; 9630 guint minutes; 9631 guint seconds; 9632 guint frames; 9633}; 9634</pre> 9635<p>A representation of a difference between two <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> instances. 9636Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)</p> 9637<div class="refsect3"> 9638<a name="GstVideoTimeCodeInterval.members"></a><h4>Members</h4> 9639<div class="informaltable"><table class="informaltable" width="100%" border="0"> 9640<colgroup> 9641<col width="300px" class="struct_members_name"> 9642<col class="struct_members_description"> 9643<col width="200px" class="struct_members_annotations"> 9644</colgroup> 9645<tbody> 9646<tr> 9647<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.hours"></a>hours</code></em>;</p></td> 9648<td class="struct_member_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 9649<td class="struct_member_annotations"> </td> 9650</tr> 9651<tr> 9652<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.minutes"></a>minutes</code></em>;</p></td> 9653<td class="struct_member_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 9654<td class="struct_member_annotations"> </td> 9655</tr> 9656<tr> 9657<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.seconds"></a>seconds</code></em>;</p></td> 9658<td class="struct_member_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 9659<td class="struct_member_annotations"> </td> 9660</tr> 9661<tr> 9662<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.frames"></a>frames</code></em>;</p></td> 9663<td class="struct_member_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td> 9664<td class="struct_member_annotations"> </td> 9665</tr> 9666</tbody> 9667</table></div> 9668</div> 9669<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p> 9670</div> 9671</div> 9672</div> 9673<div class="footer"> 9674<hr>Generated by GTK-Doc V1.28</div> 9675</body> 9676</html>