• Home
  • Raw
  • Download

Lines Matching refs:inbuffer

189   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()
248 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
255 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
258 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
261 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
278 GstBuffer *inbuffer; in GST_START_TEST() local
292 inbuffer = gst_buffer_new_and_alloc (2); in GST_START_TEST()
293 gst_buffer_fill (inbuffer, 0, in, 2); in GST_START_TEST()
297 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
304 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
307 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
310 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
327 GstBuffer *inbuffer; in GST_START_TEST() local
341 inbuffer = gst_buffer_new_and_alloc (2); in GST_START_TEST()
342 gst_buffer_fill (inbuffer, 0, in, 2); in GST_START_TEST()
343 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 2) == 0); in GST_START_TEST()
347 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
354 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
357 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
360 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
377 GstBuffer *inbuffer; in GST_START_TEST() local
390 inbuffer = gst_buffer_new_and_alloc (2); in GST_START_TEST()
391 gst_buffer_fill (inbuffer, 0, in, 2); in GST_START_TEST()
395 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
402 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
405 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
408 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
424 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
434 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
435 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
439 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
442 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
444 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
447 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
463 GstBuffer *inbuffer; in GST_START_TEST() local
476 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
477 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
481 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
488 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
491 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
494 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
510 GstBuffer *inbuffer; in GST_START_TEST() local
523 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
524 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
528 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
535 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
538 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
541 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
557 GstBuffer *inbuffer; in GST_START_TEST() local
570 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
571 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
572 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 4) == 0); in GST_START_TEST()
576 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
583 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
586 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
589 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
606 GstBuffer *inbuffer; in GST_START_TEST() local
619 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
620 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
624 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
631 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
634 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
637 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
661 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
676 inbuffer = gst_buffer_new_and_alloc (6); in GST_START_TEST()
677 gst_buffer_fill (inbuffer, 0, in, 6); in GST_START_TEST()
681 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
684 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
686 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
689 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
709 GstBuffer *inbuffer; in GST_START_TEST() local
727 inbuffer = gst_buffer_new_and_alloc (6); in GST_START_TEST()
728 gst_buffer_fill (inbuffer, 0, in, 6); in GST_START_TEST()
732 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
739 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
742 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
745 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
765 GstBuffer *inbuffer; in GST_START_TEST() local
783 inbuffer = gst_buffer_new_and_alloc (6); in GST_START_TEST()
784 gst_buffer_fill (inbuffer, 0, in, 6); in GST_START_TEST()
788 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
795 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
798 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
801 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
821 GstBuffer *inbuffer; in GST_START_TEST() local
839 inbuffer = gst_buffer_new_and_alloc (6); in GST_START_TEST()
840 gst_buffer_fill (inbuffer, 0, in, 6); in GST_START_TEST()
841 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 6) == 0); in GST_START_TEST()
845 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
852 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
855 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
858 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
878 GstBuffer *inbuffer; in GST_START_TEST() local
896 inbuffer = gst_buffer_new_and_alloc (6); in GST_START_TEST()
897 gst_buffer_fill (inbuffer, 0, in, 6); in GST_START_TEST()
901 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
908 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
911 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
914 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
935 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
945 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
946 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
950 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
953 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
955 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
958 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
974 GstBuffer *inbuffer; in GST_START_TEST() local
987 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
988 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
992 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
999 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1002 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1005 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1021 GstBuffer *inbuffer; in GST_START_TEST() local
1034 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1035 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1039 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1046 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1049 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1052 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1068 GstBuffer *inbuffer; in GST_START_TEST() local
1081 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1082 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1083 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 8) == 0); in GST_START_TEST()
1087 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1094 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1097 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1100 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1116 GstBuffer *inbuffer; in GST_START_TEST() local
1129 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1130 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1134 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1141 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1144 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1147 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1163 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
1173 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1174 gst_buffer_fill (inbuffer, 0, in, sizeof (in)); in GST_START_TEST()
1178 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1181 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1183 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1186 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1204 GstBuffer *inbuffer; in GST_START_TEST() local
1218 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1219 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1223 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1230 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1233 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1236 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1254 GstBuffer *inbuffer; in GST_START_TEST() local
1268 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1269 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1273 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1280 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1283 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1286 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1304 GstBuffer *inbuffer; in GST_START_TEST() local
1318 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1319 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1320 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 8) == 0); in GST_START_TEST()
1324 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1331 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1334 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1337 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1356 GstBuffer *inbuffer; in GST_START_TEST() local
1370 inbuffer = gst_buffer_new_and_alloc (8); in GST_START_TEST()
1371 gst_buffer_fill (inbuffer, 0, in, 8); in GST_START_TEST()
1375 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1382 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1385 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1388 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1406 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
1417 inbuffer = gst_buffer_new_and_alloc (16); in GST_START_TEST()
1418 gst_buffer_fill (inbuffer, 0, in, 16); in GST_START_TEST()
1422 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1425 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1427 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1430 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1448 GstBuffer *inbuffer; in GST_START_TEST() local
1462 inbuffer = gst_buffer_new_and_alloc (16); in GST_START_TEST()
1463 gst_buffer_fill (inbuffer, 0, in, 16); in GST_START_TEST()
1467 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1474 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1477 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1480 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1498 GstBuffer *inbuffer; in GST_START_TEST() local
1512 inbuffer = gst_buffer_new_and_alloc (16); in GST_START_TEST()
1513 gst_buffer_fill (inbuffer, 0, in, 16); in GST_START_TEST()
1517 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1524 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1527 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1530 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1548 GstBuffer *inbuffer; in GST_START_TEST() local
1562 inbuffer = gst_buffer_new_and_alloc (16); in GST_START_TEST()
1563 gst_buffer_fill (inbuffer, 0, in, 16); in GST_START_TEST()
1564 fail_unless (gst_buffer_memcmp (inbuffer, 0, in, 16) == 0); in GST_START_TEST()
1568 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1575 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1578 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1581 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1600 GstBuffer *inbuffer; in GST_START_TEST() local
1614 inbuffer = gst_buffer_new_and_alloc (16); in GST_START_TEST()
1615 gst_buffer_fill (inbuffer, 0, in, 16); in GST_START_TEST()
1619 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1626 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1629 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1632 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1650 GstBuffer *inbuffer; in GST_START_TEST() local
1663 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
1664 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
1668 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1669 gst_buffer_ref (inbuffer); in GST_START_TEST()
1675 fail_unless_equals_int (gst_pad_push (mysrcpad, inbuffer), in GST_START_TEST()
1678 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1679 gst_buffer_unref (inbuffer); in GST_START_TEST()
1697 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
1708 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
1709 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
1713 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1716 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1718 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1721 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1767 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
1788 inbuffer = gst_buffer_new_and_alloc (4); in GST_START_TEST()
1789 gst_buffer_fill (inbuffer, 0, in, 4); in GST_START_TEST()
1792 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
1794 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1801 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1803 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
1806 fail_unless (inbuffer == outbuffer); in GST_START_TEST()
1824 GstBuffer *inbuffer; in GST_START_TEST() local
1847 inbuffer = gst_buffer_new_and_alloc (1000 * sizeof (gint16)); in GST_START_TEST()
1848 gst_buffer_memset (inbuffer, 0, 0, 1000 * sizeof (gint16)); in GST_START_TEST()
1851 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
1859 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()