• Home
  • Raw
  • Download

Lines Matching refs:inbuffer

418   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()
456 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
459 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
465 fail_unless (outbuffer == inbuffer); in GST_START_TEST()
469 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
475 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
486 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
487 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
490 gst_buffer_ref (inbuffer); in GST_START_TEST()
491 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
494 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
498 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
505 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
508 gst_buffer_ref (inbuffer); in GST_START_TEST()
509 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
512 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
515 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
523 GST_BUFFER_TIMESTAMP (inbuffer) = GST_SECOND / 4; in GST_START_TEST()
524 GST_BUFFER_DURATION (inbuffer) = GST_SECOND; in GST_START_TEST()
527 gst_buffer_ref (inbuffer); in GST_START_TEST()
528 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
531 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
534 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
538 fail_unless (outbuffer != inbuffer); in GST_START_TEST()
547 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
551 gst_buffer_unref (inbuffer); in GST_START_TEST()
559 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
576 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
578 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
580 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
581 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
584 gst_buffer_ref (inbuffer); in GST_START_TEST()
585 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
588 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
591 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
595 fail_unless (outbuffer != inbuffer); in GST_START_TEST()
612 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
616 gst_buffer_unref (inbuffer); in GST_START_TEST()
624 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
642 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
644 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
646 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
647 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
650 gst_buffer_ref (inbuffer); in GST_START_TEST()
651 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
654 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
657 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
661 fail_unless (outbuffer != inbuffer); in GST_START_TEST()
678 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
682 gst_buffer_unref (inbuffer); in GST_START_TEST()
691 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
709 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
711 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
713 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
714 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
717 gst_buffer_ref (inbuffer); in GST_START_TEST()
718 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
721 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
724 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
728 fail_unless (outbuffer != inbuffer); in GST_START_TEST()
749 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
753 gst_buffer_unref (inbuffer); in GST_START_TEST()
762 GstBuffer *inbuffer, *outbuffer; in GST_START_TEST() local
777 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
779 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
781 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
782 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
785 gst_buffer_ref (inbuffer); in GST_START_TEST()
786 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 2); in GST_START_TEST()
789 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
792 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
796 fail_unless (outbuffer != inbuffer); in GST_START_TEST()
809 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
813 gst_buffer_unref (inbuffer); in GST_START_TEST()
854 GstBuffer *inbuffer, *outbuffer, *tbuf; in GST_START_TEST() local
884 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
886 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
888 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
889 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 2; in GST_START_TEST()
893 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
909 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
910 GST_BUFFER_TIMESTAMP (inbuffer) = GST_SECOND; in GST_START_TEST()
911 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 2; in GST_START_TEST()
912 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
916 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
932 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
933 GST_BUFFER_TIMESTAMP (inbuffer) = 30 * GST_SECOND; in GST_START_TEST()
934 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 2; in GST_START_TEST()
947 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
963 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
964 GST_BUFFER_TIMESTAMP (inbuffer) = 35 * GST_SECOND; in GST_START_TEST()
965 GST_BUFFER_DURATION (inbuffer) = GST_SECOND; in GST_START_TEST()
977 fail_unless (gst_pad_push (myvideosrcpad, inbuffer) == GST_FLOW_FLUSHING); in GST_START_TEST()