Lines Matching refs:inbuf
338 gst_remove_silence_transform_ip (GstBaseTransform * trans, GstBuffer * inbuf) in gst_remove_silence_transform_ip() argument
347 gst_buffer_map (inbuf, &map, GST_MAP_READ); in gst_remove_silence_transform_ip()
350 gst_buffer_unmap (inbuf, &map); in gst_remove_silence_transform_ip()
355 if (GST_BUFFER_DURATION_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip()
356 filter->consecutive_silence_time += inbuf->duration; in gst_remove_silence_transform_ip()
374 if (GST_BUFFER_PTS_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip()
378 G_TYPE_UINT64, GST_BUFFER_PTS (inbuf) - filter->ts_offset, NULL); in gst_remove_silence_transform_ip()
389 if (GST_BUFFER_DURATION_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip()
390 filter->ts_offset += inbuf->duration; in gst_remove_silence_transform_ip()
403 if (GST_BUFFER_PTS_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip()
407 G_TYPE_UINT64, GST_BUFFER_PTS (inbuf) - filter->ts_offset, NULL); in gst_remove_silence_transform_ip()
417 if (GST_BUFFER_PTS_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip()
418 inbuf = gst_buffer_make_writable (inbuf); in gst_remove_silence_transform_ip()
419 GST_BUFFER_PTS (inbuf) -= filter->ts_offset; in gst_remove_silence_transform_ip()