1 /* GStreamer byte writer dummy header for gtk-doc
2 * Copyright (C) 2010 Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 /* This header is not installed, it just contains stuff for gtk-doc to parse,
21 * in particular docs and some dummy function declarations for the static
22 * inline functions we generate via macros in gstbitreader.h.
25 #error "This header should never be included in code, it is only for gtk-doc"
28 * gst_byte_writer_put_uint8_unchecked:
29 * @writer: #GstByteWriter instance
30 * @val: Value to write
32 * Writes a unsigned 8 bit integer to @writer without checking if there
33 * is enough free space available in the byte writer.
37 void gst_byte_writer_put_uint8_unchecked (GstByteWriter *writer, guint8 val);
40 * gst_byte_writer_put_uint16_be_unchecked:
41 * @writer: #GstByteWriter instance
42 * @val: Value to write
44 * Writes a unsigned big endian 16 bit integer to @writer without
45 * checking if there is enough free space available in the byte writer.
49 void gst_byte_writer_put_uint16_be_unchecked (GstByteWriter *writer, guint16 val);
52 * gst_byte_writer_put_uint24_be_unchecked:
53 * @writer: #GstByteWriter instance
54 * @val: Value to write
56 * Writes a unsigned big endian 24 bit integer to @writer without
57 * checking if there is enough free space available in the byte writer.
61 void gst_byte_writer_put_uint24_be_unchecked (GstByteWriter *writer, guint32 val);
64 * gst_byte_writer_put_uint32_be_unchecked:
65 * @writer: #GstByteWriter instance
66 * @val: Value to write
68 * Writes a unsigned big endian 32 bit integer to @writer without
69 * checking if there is enough free space available in the byte writer.
73 void gst_byte_writer_put_uint32_be_unchecked (GstByteWriter *writer, guint32 val);
76 * gst_byte_writer_put_uint64_be_unchecked:
77 * @writer: #GstByteWriter instance
78 * @val: Value to write
80 * Writes a unsigned big endian 64 bit integer to @writer without
81 * checking if there is enough free space available in the byte writer.
85 void gst_byte_writer_put_uint64_be_unchecked (GstByteWriter *writer, guint64 val);
88 * gst_byte_writer_put_uint16_le_unchecked:
89 * @writer: #GstByteWriter instance
90 * @val: Value to write
92 * Writes a unsigned little endian 16 bit integer to @writer without
93 * checking if there is enough free space available in the byte writer.
97 void gst_byte_writer_put_uint16_le_unchecked (GstByteWriter *writer, guint16 val);
100 * gst_byte_writer_put_uint24_le_unchecked:
101 * @writer: #GstByteWriter instance
102 * @val: Value to write
104 * Writes a unsigned little endian 24 bit integer to @writer without
105 * checking if there is enough free space available in the byte writer.
109 void gst_byte_writer_put_uint24_le_unchecked (GstByteWriter *writer, guint32 val);
112 * gst_byte_writer_put_uint32_le_unchecked:
113 * @writer: #GstByteWriter instance
114 * @val: Value to write
116 * Writes a unsigned little endian 32 bit integer to @writer without
117 * checking if there is enough free space available in the byte writer.
121 void gst_byte_writer_put_uint32_le_unchecked (GstByteWriter *writer, guint32 val);
124 * gst_byte_writer_put_uint64_le_unchecked:
125 * @writer: #GstByteWriter instance
126 * @val: Value to write
128 * Writes a unsigned little endian 64 bit integer to @writer without
129 * checking if there is enough free space available in the byte writer.
133 void gst_byte_writer_put_uint64_le_unchecked (GstByteWriter *writer, guint64 val);
136 * gst_byte_writer_put_int8:
137 * @writer: #GstByteWriter instance
138 * @val: Value to write
140 * Writes a signed 8 bit integer to @writer without
141 * checking if there is enough free space available in the byte writer.
145 void gst_byte_writer_put_int8_unchecked (GstByteWriter *writer, gint8 val);
148 * gst_byte_writer_put_int16_be_unchecked:
149 * @writer: #GstByteWriter instance
150 * @val: Value to write
152 * Writes a signed big endian 16 bit integer to @writer without
153 * checking if there is enough free space available in the byte writer.
157 void gst_byte_writer_put_int16_be_unchecked (GstByteWriter *writer, gint16 val);
160 * gst_byte_writer_put_int24_be_unchecked:
161 * @writer: #GstByteWriter instance
162 * @val: Value to write
164 * Writes a signed big endian 24 bit integer to @writer without
165 * checking if there is enough free space available in the byte writer.
169 void gst_byte_writer_put_int24_be_unchecked (GstByteWriter *writer, gint32 val);
172 * gst_byte_writer_put_int32_be_unchecked:
173 * @writer: #GstByteWriter instance
174 * @val: Value to write
176 * Writes a signed big endian 32 bit integer to @writer without
177 * checking if there is enough free space available in the byte writer.
181 void gst_byte_writer_put_int32_be_unchecked (GstByteWriter *writer, gint32 val);
184 * gst_byte_writer_put_int64_be_unchecked:
185 * @writer: #GstByteWriter instance
186 * @val: Value to write
188 * Writes a signed big endian 64 bit integer to @writer without
189 * checking if there is enough free space available in the byte writer.
193 void gst_byte_writer_put_int64_be_unchecked (GstByteWriter *writer, gint64 val);
196 * gst_byte_writer_put_int16_le_unchecked:
197 * @writer: #GstByteWriter instance
198 * @val: Value to write
200 * Writes a signed little endian 16 bit integer to @writer without
201 * checking if there is enough free space available in the byte writer.
205 void gst_byte_writer_put_int16_le_unchecked (GstByteWriter *writer, gint16 val);
208 * gst_byte_writer_put_int24_le_unchecked:
209 * @writer: #GstByteWriter instance
210 * @val: Value to write
212 * Writes a signed little endian 24 bit integer to @writer without
213 * checking if there is enough free space available in the byte writer.
217 void gst_byte_writer_put_int24_le_unchecked (GstByteWriter *writer, gint32 val);
220 * gst_byte_writer_put_int32_le_unchecked:
221 * @writer: #GstByteWriter instance
222 * @val: Value to write
224 * Writes a signed little endian 32 bit integer to @writer without
225 * checking if there is enough free space available in the byte writer.
229 void gst_byte_writer_put_int32_le_unchecked (GstByteWriter *writer, gint32 val);
232 * gst_byte_writer_put_int64_le_unchecked:
233 * @writer: #GstByteWriter instance
234 * @val: Value to write
236 * Writes a signed little endian 64 bit integer to @writer without
237 * checking if there is enough free space available in the byte writer.
241 void gst_byte_writer_put_int64_le_unchecked (GstByteWriter *writer, gint64 val);
244 * gst_byte_writer_put_float32_be_unchecked:
245 * @writer: #GstByteWriter instance
246 * @val: Value to write
248 * Writes a big endian 32 bit float to @writer without
249 * checking if there is enough free space available in the byte writer.
253 void gst_byte_writer_put_float32_be_unchecked (GstByteWriter *writer, gfloat val);
256 * gst_byte_writer_put_float64_be_unchecked:
257 * @writer: #GstByteWriter instance
258 * @val: Value to write
260 * Writes a big endian 64 bit float to @writer without
261 * checking if there is enough free space available in the byte writer.
265 void gst_byte_writer_put_float64_be_unchecked (GstByteWriter *writer, gdouble val);
268 * gst_byte_writer_put_float32_le_unchecked:
269 * @writer: #GstByteWriter instance
270 * @val: Value to write
272 * Writes a little endian 32 bit float to @writer without
273 * checking if there is enough free space available in the byte writer.
277 void gst_byte_writer_put_float32_le_unchecked (GstByteWriter *writer, gfloat val);
280 * gst_byte_writer_put_float64_le_unchecked:
281 * @writer: #GstByteWriter instance
282 * @val: Value to write
284 * Writes a little endian 64 bit float to @writer without
285 * checking if there is enough free space available in the byte writer.
289 void gst_byte_writer_put_float64_le_unchecked (GstByteWriter *writer, gdouble val);
292 * gst_byte_writer_put_data_unchecked:
293 * @writer: #GstByteWriter instance
294 * @data: Data to write
295 * @size: Size of @data in bytes
297 * Writes @size bytes of @data to @writer without
298 * checking if there is enough free space available in the byte writer.
302 void gst_byte_writer_put_data_unchecked (GstByteWriter *writer, const guint8 *data, guint size);
305 * gst_byte_writer_fill_unchecked:
306 * @writer: #GstByteWriter instance
307 * @value: Value to be writen
308 * @size: Number of bytes to be writen
310 * Writes @size bytes containing @value to @writer without
311 * checking if there is enough free space available in the byte writer.
315 void gst_byte_writer_fill_unchecked (GstByteWriter *writer, guint8 value, guint size);