Home
last modified time | relevance | path

Searched refs:inbuffer (Results 1 – 25 of 52) sorted by relevance

123

/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dvolume.c189 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
200 inbuffer = gst_buffer_new_and_alloc (2); in GST_START_TEST()
201 gst_buffer_fill (inbuffer, 0, in, 2); in GST_START_TEST()
205 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
208 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
210 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
213 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
229 GstBuffer *inbuffer; in GST_START_TEST() local
243 inbuffer = gst_buffer_new_and_alloc (2); in GST_START_TEST()
244 gst_buffer_fill (inbuffer, 0, in, 2); in GST_START_TEST()
[all …]
Dvorbisdec.c111 GstBuffer *inbuffer; in GST_START_TEST() local
122 inbuffer = gst_buffer_new_and_alloc (30); in GST_START_TEST()
123 gst_buffer_fill (inbuffer, 0, identification_header, 30); in GST_START_TEST()
124 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
125 gst_buffer_ref (inbuffer); in GST_START_TEST()
129 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
131 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
132 gst_buffer_unref (inbuffer); in GST_START_TEST()
136 inbuffer = gst_buffer_new_and_alloc (sizeof (comment_header)); in GST_START_TEST()
137 gst_buffer_fill (inbuffer, 0, comment_header, sizeof (comment_header)); in GST_START_TEST()
[all …]
Dtextoverlay.c418 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
430 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
433 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
438 gst_buffer_ref (inbuffer); in GST_START_TEST()
439 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
442 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
445 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
451 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
452 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
455 gst_buffer_ref (inbuffer); in GST_START_TEST()
[all …]
Dvorbistag.c244 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
259 inbuffer = gst_buffer_new_and_alloc (sizeof (identification_header)); in GST_START_TEST()
260 gst_buffer_fill (inbuffer, 0, identification_header, in GST_START_TEST()
262 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
265 inbuffer = gst_buffer_new_and_alloc (sizeof (empty_comment_header)); in GST_START_TEST()
266 gst_buffer_fill (inbuffer, 0, empty_comment_header, in GST_START_TEST()
268 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
271 inbuffer = _create_codebook_header_buffer (); in GST_START_TEST()
272 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
273 inbuffer = _create_audio_buffer (); in GST_START_TEST()
[all …]
Daudioresample.c163 GstBuffer *inbuffer, *outbuffer; in test_perfect_stream_instance() local
181 inbuffer = gst_buffer_new_and_alloc (samples * 4); in test_perfect_stream_instance()
182 GST_BUFFER_DURATION (inbuffer) = GST_FRAMES_TO_CLOCK_TIME (samples, inrate); in test_perfect_stream_instance()
183 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_DURATION (inbuffer) * (j - 1); in test_perfect_stream_instance()
184 GST_BUFFER_OFFSET (inbuffer) = offset; in test_perfect_stream_instance()
186 GST_BUFFER_OFFSET_END (inbuffer) = offset; in test_perfect_stream_instance()
188 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in test_perfect_stream_instance()
198 gst_buffer_unmap (inbuffer, &map); in test_perfect_stream_instance()
201 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in test_perfect_stream_instance()
248 GstBuffer *inbuffer, *outbuffer; in test_discont_stream_instance() local
[all …]
Dopus.c183 GstBuffer *inbuffer; in GST_START_TEST() local
192 inbuffer = gst_buffer_new_and_alloc (nsamples * 2); in GST_START_TEST()
193 gst_buffer_memset (inbuffer, 0, 0, nsamples * 2); in GST_START_TEST()
195 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = 0; in GST_START_TEST()
196 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
197 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
203 gst_buffer_ref (inbuffer); in GST_START_TEST()
206 fail_unless (gst_pad_push (myencsrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
210 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
211 gst_buffer_unref (inbuffer); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dkate.c294 GstBuffer *inbuffer; in GST_START_TEST() local
309 inbuffer = gst_buffer_new_and_alloc (0); in GST_START_TEST()
310 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
315 fail_unless_equals_int (gst_pad_push (mydecsrcpad, inbuffer), GST_FLOW_ERROR); in GST_START_TEST()
332 GstBuffer *inbuffer; in GST_START_TEST() local
346 inbuffer = in GST_START_TEST()
348 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
349 gst_buffer_ref (inbuffer); in GST_START_TEST()
353 fail_unless (gst_pad_push (mydecsrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
355 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
[all …]
Dgdppay.c135 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
148 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
149 gst_buffer_memset (inbuffer, 0, 0x00, 4); in GST_START_TEST()
153 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
156 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
180 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
181 gst_buffer_memset (inbuffer, 0, 0x00, 4); in GST_START_TEST()
183 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
186 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
200 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
[all …]
Dgdpdepay.c95 GstBuffer *inbuffer; in gdpdepay_push_mem_per_byte() local
105 inbuffer = gst_buffer_new_and_alloc (1); in gdpdepay_push_mem_per_byte()
106 gst_buffer_fill (inbuffer, 0, map.data + i, 1); in gdpdepay_push_mem_per_byte()
107 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK, in gdpdepay_push_mem_per_byte()
214 GstBuffer *buffer, *inbuffer; in GST_START_TEST() local
257 inbuffer = gst_buffer_append (streamstart_buf, caps_buf); in GST_START_TEST()
258 inbuffer = gst_buffer_append (inbuffer, segment_buf); in GST_START_TEST()
259 inbuffer = gst_buffer_append (inbuffer, data_buf); in GST_START_TEST()
262 gst_pad_push (mysrcpad, inbuffer); in GST_START_TEST()
308 GstBuffer *buffer, *inbuffer, *outbuffer, *shbuffer; in GST_START_TEST() local
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Daudiocheblimit.c105 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
123 inbuffer = gst_buffer_new_allocate (NULL, 128 * sizeof (gfloat), NULL); in GST_START_TEST()
124 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
128 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
133 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
136 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
164 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
182 inbuffer = gst_buffer_new_allocate (NULL, 128 * sizeof (gfloat), NULL); in GST_START_TEST()
183 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
189 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
[all …]
Daudiochebband.c105 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
126 inbuffer = gst_buffer_new_allocate (NULL, 1024 * sizeof (gfloat), NULL); in GST_START_TEST()
127 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
131 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
136 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
139 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
167 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
188 inbuffer = gst_buffer_new_allocate (NULL, 1024 * sizeof (gfloat), NULL); in GST_START_TEST()
189 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
197 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
[all …]
Daudiowsincband.c105 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
126 inbuffer = gst_buffer_new_and_alloc (1024 * sizeof (gfloat)); in GST_START_TEST()
127 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
129 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
133 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
138 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
145 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
180 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
201 inbuffer = gst_buffer_new_and_alloc (1024 * sizeof (gfloat)); in GST_START_TEST()
202 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
[all …]
Daudiowsinclimit.c105 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
124 inbuffer = gst_buffer_new_and_alloc (128 * sizeof (gfloat)); in GST_START_TEST()
125 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
126 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
130 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
135 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
142 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
175 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
193 inbuffer = gst_buffer_new_and_alloc (128 * sizeof (gfloat)); in GST_START_TEST()
194 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
[all …]
Daudiodynamic.c96 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
106 inbuffer = in GST_START_TEST()
109 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 12) == 0); in GST_START_TEST()
113 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
116 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
137 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
151 inbuffer = gst_buffer_new_and_alloc (16); in GST_START_TEST()
152 gst_buffer_fill (inbuffer, 0, in, 16); in GST_START_TEST()
153 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 16) == 0); in GST_START_TEST()
157 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
[all …]
Daudioamplify.c96 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
110 inbuffer = in GST_START_TEST()
113 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 12) == 0); in GST_START_TEST()
114 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
117 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
138 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
154 inbuffer = in GST_START_TEST()
157 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 12) == 0); in GST_START_TEST()
158 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
161 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
[all …]
Dwavpackdec.c116 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
124 inbuffer = gst_buffer_new_and_alloc (sizeof (test_frame)); in GST_START_TEST()
125 gst_buffer_fill (inbuffer, 0, test_frame, sizeof (test_frame)); in GST_START_TEST()
126 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
127 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
132 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
167 GstBuffer *inbuffer; in GST_START_TEST() local
174 inbuffer = gst_buffer_new_and_alloc (sizeof (test_frame)); in GST_START_TEST()
175 gst_buffer_fill (inbuffer, 0, test_frame, sizeof (test_frame)); in GST_START_TEST()
177 gst_buffer_memset (inbuffer, 2, 'e', 1); in GST_START_TEST()
[all …]
Daudioinvert.c96 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
107 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
108 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
109 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 8) == 0); in GST_START_TEST()
113 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
116 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
138 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
151 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
152 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
153 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 8) == 0); in GST_START_TEST()
[all …]
Dspectrum.c126 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
146 inbuffer = gst_buffer_new_allocate (NULL, 44100 * sizeof (gint16), 0); in GST_START_TEST()
147 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
159 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
160 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
169 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
171 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
174 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
201 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
226 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
[all …]
Dlevel.c148 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
165 inbuffer = create_s16_buffer (16536, 16536); in GST_START_TEST()
166 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
169 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
171 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
174 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
206 GstBuffer *inbuffer; in GST_START_TEST() local
221 inbuffer = create_s16_buffer (16536, 16536); in GST_START_TEST()
222 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
248 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
[all …]
Daudioecho.c90 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
106 inbuffer = in GST_START_TEST()
109 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, sizeof (in)) == 0); in GST_START_TEST()
110 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
113 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
135 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
152 inbuffer = in GST_START_TEST()
155 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, sizeof (in)) == 0); in GST_START_TEST()
156 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
159 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
[all …]
Dequalizer.c93 GstBuffer *inbuffer; in GST_START_TEST() local
109 inbuffer = gst_buffer_new_and_alloc (1024 * sizeof (gdouble)); in GST_START_TEST()
110 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
114 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
119 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
122 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
143 GstBuffer *inbuffer; in GST_START_TEST() local
168 inbuffer = gst_buffer_new_and_alloc (1024 * sizeof (gdouble)); in GST_START_TEST()
169 gst_buffer_map (inbuffer, &map, GST_MAP_WRITE); in GST_START_TEST()
173 gst_buffer_unmap (inbuffer, &map); in GST_START_TEST()
[all …]
Dmatroskamux.c71 GstBuffer *inbuffer, *outbuffer; in test_ebml_header_with_version() local
76 inbuffer = gst_harness_create_buffer (h, 1); in test_ebml_header_with_version()
77 fail_unless_equals_int (GST_FLOW_OK, gst_harness_push (h, inbuffer)); in test_ebml_header_with_version()
133 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
144 inbuffer = gst_harness_create_buffer (h, 1); in GST_START_TEST()
145 fail_unless_equals_int (GST_FLOW_OK, gst_harness_push (h, inbuffer)); in GST_START_TEST()
179 GstBuffer *inbuffer, *outbuffer; in test_block_group_with_version() local
186 inbuffer = gst_harness_create_buffer (h, 1); in test_block_group_with_version()
187 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in test_block_group_with_version()
188 fail_unless_equals_int (GST_FLOW_OK, gst_harness_push (h, inbuffer)); in test_block_group_with_version()
[all …]
Dwavpackparse.c101 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
111 inbuffer = gst_buffer_new_and_alloc (sizeof (test_file)); in GST_START_TEST()
112 gst_buffer_fill (inbuffer, 0, test_file, sizeof (test_file)); in GST_START_TEST()
115 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
166 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
174 inbuffer = gst_buffer_new_and_alloc (sizeof (test_file)); in GST_START_TEST()
175 gst_buffer_fill (inbuffer, 0, test_file, sizeof (test_file)); in GST_START_TEST()
176 gst_buffer_memset (inbuffer, 0, 'k', 1); in GST_START_TEST()
179 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
Dalpha.c130 GstBuffer *inbuffer; in GST_START_TEST() local
149 inbuffer = create_buffer_rgba32 (FILL_GREEN); in GST_START_TEST()
151 gst_buffer_get_size (inbuffer)); in GST_START_TEST()
152 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
154 fail_unless_equals_int (gst_pad_push (srcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
194 GstBuffer *inbuffer; in GST_START_TEST() local
213 inbuffer = create_buffer_rgba32 (FILL_BLUE); in GST_START_TEST()
215 gst_buffer_get_size (inbuffer)); in GST_START_TEST()
216 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
220 fail_unless_equals_int (gst_pad_push (srcpad, inbuffer), GST_FLOW_OK); in GST_START_TEST()
Dqtmux.c257 GstBuffer *inbuffer, *outbuffer; in check_qtmux_pad() local
282 inbuffer = gst_buffer_new_and_alloc (1); in check_qtmux_pad()
283 gst_buffer_memset (inbuffer, 0, 0, 1); in check_qtmux_pad()
284 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in check_qtmux_pad()
285 GST_BUFFER_DURATION (inbuffer) = 40 * GST_MSECOND; in check_qtmux_pad()
286 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in check_qtmux_pad()
287 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in check_qtmux_pad()
348 GstBuffer *inbuffer, *outbuffer; in check_qtmux_pad_fragmented() local
377 inbuffer = gst_buffer_new_and_alloc (1); in check_qtmux_pad_fragmented()
378 gst_buffer_memset (inbuffer, 0, 0, 1); in check_qtmux_pad_fragmented()
[all …]

123