• Home
  • Raw
  • Download

Lines Matching refs:inbuffer

257   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()
379 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in check_qtmux_pad_fragmented()
380 GST_BUFFER_DURATION (inbuffer) = 40 * GST_MSECOND; in check_qtmux_pad_fragmented()
381 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in check_qtmux_pad_fragmented()
382 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in check_qtmux_pad_fragmented()
453 GstBuffer *inbuffer, *outbuffer; in check_qtmux_pad_fragmented_finalise() local
482 inbuffer = gst_buffer_new_and_alloc (1); in check_qtmux_pad_fragmented_finalise()
483 gst_buffer_memset (inbuffer, 0, 0, 1); in check_qtmux_pad_fragmented_finalise()
484 GST_BUFFER_TIMESTAMP (inbuffer) = 0 * 40 * GST_MSECOND; in check_qtmux_pad_fragmented_finalise()
485 GST_BUFFER_DURATION (inbuffer) = 40 * GST_MSECOND; in check_qtmux_pad_fragmented_finalise()
486 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in check_qtmux_pad_fragmented_finalise()
487 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in check_qtmux_pad_fragmented_finalise()
489 inbuffer = gst_buffer_new_and_alloc (1); in check_qtmux_pad_fragmented_finalise()
490 gst_buffer_memset (inbuffer, 0, 0, 1); in check_qtmux_pad_fragmented_finalise()
491 GST_BUFFER_TIMESTAMP (inbuffer) = 1 * 40 * GST_MSECOND; in check_qtmux_pad_fragmented_finalise()
492 GST_BUFFER_DURATION (inbuffer) = 40 * GST_MSECOND; in check_qtmux_pad_fragmented_finalise()
493 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in check_qtmux_pad_fragmented_finalise()
494 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in check_qtmux_pad_fragmented_finalise()
496 inbuffer = gst_buffer_new_and_alloc (1); in check_qtmux_pad_fragmented_finalise()
497 gst_buffer_memset (inbuffer, 0, 0, 1); in check_qtmux_pad_fragmented_finalise()
498 GST_BUFFER_TIMESTAMP (inbuffer) = 2 * 40 * GST_MSECOND; in check_qtmux_pad_fragmented_finalise()
499 GST_BUFFER_DURATION (inbuffer) = 40 * GST_MSECOND; in check_qtmux_pad_fragmented_finalise()
500 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in check_qtmux_pad_fragmented_finalise()
501 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in check_qtmux_pad_fragmented_finalise()
763 GstBuffer *inbuffer; in GST_START_TEST() local
783 inbuffer = gst_buffer_new_and_alloc (1); in GST_START_TEST()
784 fail_unless (inbuffer != NULL); in GST_START_TEST()
785 gst_buffer_memset (inbuffer, 0, 0, 1); in GST_START_TEST()
786 GST_BUFFER_TIMESTAMP (inbuffer) = 0; in GST_START_TEST()
787 GST_BUFFER_DURATION (inbuffer) = 40 * GST_MSECOND; in GST_START_TEST()
788 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in GST_START_TEST()
789 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in GST_START_TEST()
1043 GstBuffer *inbuffer; in test_average_bitrate_custom() local
1086 inbuffer = gst_buffer_new_and_alloc (bytes[i]); in test_average_bitrate_custom()
1087 gst_buffer_memset (inbuffer, 0, 0, bytes[i]); in test_average_bitrate_custom()
1088 GST_BUFFER_TIMESTAMP (inbuffer) = total_duration; in test_average_bitrate_custom()
1089 GST_BUFFER_DURATION (inbuffer) = (GstClockTime) durations[i]; in test_average_bitrate_custom()
1090 ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1); in test_average_bitrate_custom()
1092 total_bytes += gst_buffer_get_size (inbuffer); in test_average_bitrate_custom()
1093 total_duration += GST_BUFFER_DURATION (inbuffer); in test_average_bitrate_custom()
1094 fail_unless (gst_pad_push (mysrcpad, inbuffer) == GST_FLOW_OK); in test_average_bitrate_custom()