• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>gstavprotocol: GStreamer libav 1.0 Plugins Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer libav 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-libav Base and Support classes">
9<link rel="prev" href="gst-libav-plugins-gstavcodecmap.html" title="gstavcodecmap">
10<link rel="next" href="gst-libav-plugins-gstavutils.html" title="gstavutils">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-libav-plugins-gstavprotocol.description" class="shortcut">Description</a></span>
19</td>
20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22<td><a accesskey="p" href="gst-libav-plugins-gstavcodecmap.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23<td><a accesskey="n" href="gst-libav-plugins-gstavutils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24</tr></table>
25<div class="refentry">
26<a name="gst-libav-plugins-gstavprotocol"></a><div class="titlepage"></div>
27<div class="refnamediv"><table width="100%"><tr>
28<td valign="top">
29<h2><span class="refentrytitle"><a name="gst-libav-plugins-gstavprotocol.top_of_page"></a>gstavprotocol</span></h2>
30<p>gstavprotocol</p>
31</td>
32<td class="gallery_image" valign="top" align="right"></td>
33</tr></table></div>
34<div class="refsect1">
35<a name="gst-libav-plugins-gstavprotocol.functions"></a><h2>Functions</h2>
36<div class="informaltable"><table class="informaltable" width="100%" border="0">
37<colgroup>
38<col width="150px" class="functions_return">
39<col class="functions_name">
40</colgroup>
41<tbody>
42<tr>
43<td class="define_keyword">#define</td>
44<td class="function_name">
45<a class="link" href="gst-libav-plugins-gstavprotocol.html#GST-FFMPEG-PIPE-MUTEX-LOCK:CAPS" title="GST_FFMPEG_PIPE_MUTEX_LOCK()">GST_FFMPEG_PIPE_MUTEX_LOCK</a><span class="c_punctuation">()</span>
46</td>
47</tr>
48<tr>
49<td class="define_keyword">#define</td>
50<td class="function_name">
51<a class="link" href="gst-libav-plugins-gstavprotocol.html#GST-FFMPEG-PIPE-MUTEX-UNLOCK:CAPS" title="GST_FFMPEG_PIPE_MUTEX_UNLOCK()">GST_FFMPEG_PIPE_MUTEX_UNLOCK</a><span class="c_punctuation">()</span>
52</td>
53</tr>
54<tr>
55<td class="define_keyword">#define</td>
56<td class="function_name">
57<a class="link" href="gst-libav-plugins-gstavprotocol.html#GST-FFMPEG-PIPE-WAIT:CAPS" title="GST_FFMPEG_PIPE_WAIT()">GST_FFMPEG_PIPE_WAIT</a><span class="c_punctuation">()</span>
58</td>
59</tr>
60<tr>
61<td class="define_keyword">#define</td>
62<td class="function_name">
63<a class="link" href="gst-libav-plugins-gstavprotocol.html#GST-FFMPEG-PIPE-SIGNAL:CAPS" title="GST_FFMPEG_PIPE_SIGNAL()">GST_FFMPEG_PIPE_SIGNAL</a><span class="c_punctuation">()</span>
64</td>
65</tr>
66<tr>
67<td class="function_type">
68<span class="returnvalue">int</span>
69</td>
70<td class="function_name">
71<a class="link" href="gst-libav-plugins-gstavprotocol.html#gst-ffmpeg-pipe-open" title="gst_ffmpeg_pipe_open ()">gst_ffmpeg_pipe_open</a> <span class="c_punctuation">()</span>
72</td>
73</tr>
74<tr>
75<td class="function_type">
76<span class="returnvalue">int</span>
77</td>
78<td class="function_name">
79<a class="link" href="gst-libav-plugins-gstavprotocol.html#gst-ffmpeg-pipe-close" title="gst_ffmpeg_pipe_close ()">gst_ffmpeg_pipe_close</a> <span class="c_punctuation">()</span>
80</td>
81</tr>
82<tr>
83<td class="function_type">
84<span class="returnvalue">int</span>
85</td>
86<td class="function_name">
87<a class="link" href="gst-libav-plugins-gstavprotocol.html#gst-ffmpegdata-open" title="gst_ffmpegdata_open ()">gst_ffmpegdata_open</a> <span class="c_punctuation">()</span>
88</td>
89</tr>
90<tr>
91<td class="function_type">
92<span class="returnvalue">int</span>
93</td>
94<td class="function_name">
95<a class="link" href="gst-libav-plugins-gstavprotocol.html#gst-ffmpegdata-close" title="gst_ffmpegdata_close ()">gst_ffmpegdata_close</a> <span class="c_punctuation">()</span>
96</td>
97</tr>
98</tbody>
99</table></div>
100</div>
101<div class="refsect1">
102<a name="gst-libav-plugins-gstavprotocol.other"></a><h2>Types and Values</h2>
103<div class="informaltable"><table class="informaltable" width="100%" border="0">
104<colgroup>
105<col width="150px" class="name">
106<col class="description">
107</colgroup>
108<tbody><tr>
109<td class="datatype_keyword">struct</td>
110<td class="function_name"><a class="link" href="gst-libav-plugins-gstavprotocol.html#GstFFMpegPipe" title="struct GstFFMpegPipe">GstFFMpegPipe</a></td>
111</tr></tbody>
112</table></div>
113</div>
114<div class="refsect1">
115<a name="gst-libav-plugins-gstavprotocol.description"></a><h2>Description</h2>
116</div>
117<div class="refsect1">
118<a name="gst-libav-plugins-gstavprotocol.functions_details"></a><h2>Functions</h2>
119<div class="refsect2">
120<a name="GST-FFMPEG-PIPE-MUTEX-LOCK:CAPS"></a><h3>GST_FFMPEG_PIPE_MUTEX_LOCK()</h3>
121<pre class="programlisting">#define             GST_FFMPEG_PIPE_MUTEX_LOCK(m)</pre>
122</div>
123<hr>
124<div class="refsect2">
125<a name="GST-FFMPEG-PIPE-MUTEX-UNLOCK:CAPS"></a><h3>GST_FFMPEG_PIPE_MUTEX_UNLOCK()</h3>
126<pre class="programlisting">#define             GST_FFMPEG_PIPE_MUTEX_UNLOCK(m)</pre>
127</div>
128<hr>
129<div class="refsect2">
130<a name="GST-FFMPEG-PIPE-WAIT:CAPS"></a><h3>GST_FFMPEG_PIPE_WAIT()</h3>
131<pre class="programlisting">#define             GST_FFMPEG_PIPE_WAIT(m)</pre>
132</div>
133<hr>
134<div class="refsect2">
135<a name="GST-FFMPEG-PIPE-SIGNAL:CAPS"></a><h3>GST_FFMPEG_PIPE_SIGNAL()</h3>
136<pre class="programlisting">#define             GST_FFMPEG_PIPE_SIGNAL(m)</pre>
137</div>
138<hr>
139<div class="refsect2">
140<a name="gst-ffmpeg-pipe-open"></a><h3>gst_ffmpeg_pipe_open ()</h3>
141<pre class="programlisting"><span class="returnvalue">int</span>
142gst_ffmpeg_pipe_open (<em class="parameter"><code><a class="link" href="gst-libav-plugins-gstavprotocol.html#GstFFMpegPipe" title="struct GstFFMpegPipe"><span class="type">GstFFMpegPipe</span></a> *ffpipe</code></em>,
143                      <em class="parameter"><code><span class="type">int</span> flags</code></em>,
144                      <em class="parameter"><code><span class="type">AVIOContext</span> **context</code></em>);</pre>
145</div>
146<hr>
147<div class="refsect2">
148<a name="gst-ffmpeg-pipe-close"></a><h3>gst_ffmpeg_pipe_close ()</h3>
149<pre class="programlisting"><span class="returnvalue">int</span>
150gst_ffmpeg_pipe_close (<em class="parameter"><code><span class="type">AVIOContext</span> *h</code></em>);</pre>
151</div>
152<hr>
153<div class="refsect2">
154<a name="gst-ffmpegdata-open"></a><h3>gst_ffmpegdata_open ()</h3>
155<pre class="programlisting"><span class="returnvalue">int</span>
156gst_ffmpegdata_open (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstPad-struct"><span class="type">GstPad</span></a> *pad</code></em>,
157                     <em class="parameter"><code><span class="type">int</span> flags</code></em>,
158                     <em class="parameter"><code><span class="type">AVIOContext</span> **context</code></em>);</pre>
159</div>
160<hr>
161<div class="refsect2">
162<a name="gst-ffmpegdata-close"></a><h3>gst_ffmpegdata_close ()</h3>
163<pre class="programlisting"><span class="returnvalue">int</span>
164gst_ffmpegdata_close (<em class="parameter"><code><span class="type">AVIOContext</span> *h</code></em>);</pre>
165</div>
166</div>
167<div class="refsect1">
168<a name="gst-libav-plugins-gstavprotocol.other_details"></a><h2>Types and Values</h2>
169<div class="refsect2">
170<a name="GstFFMpegPipe"></a><h3>struct GstFFMpegPipe</h3>
171<pre class="programlisting">struct GstFFMpegPipe {
172  /* lock for syncing */
173  GMutex tlock;
174  /* with TLOCK */
175  /* signals counterpart thread to have a look */
176  GCond cond;
177  /* seen eos */
178  gboolean eos;
179  /* flowreturn obtained by src task */
180  GstFlowReturn srcresult;
181  /* adpater collecting data */
182  GstAdapter *adapter;
183  /* amount needed in adapter by src task */
184  guint needed;
185};
186</pre>
187</div>
188</div>
189</div>
190<div class="footer">
191<hr>Generated by GTK-Doc V1.28</div>
192</body>
193</html>