[gst-devel] does gstreamer support sub-square buffer transfer

Tim Müller t.i.m at zen.co.uk
Thu Jul 5 15:27:55 CEST 2007


On Thu, 2007-07-05 at 21:11 +0800, zhangfei gao wrote:
 
> I am really wandering whether GStreamer supports transfering buffer
> with padding or stride.
> How to send information to post element that only pats of buffer is
> effective.
> Does caps negotiations support this function.
>  
> If gstreamer can not support this feature, one aditional memcpy can
> not be saved, which may down 3~4fps.

Unfortunately, GStreamer does not support this yet.  Strides and row
padding for the various formats in GStreamer are mostly implicit at the
moment.  Border padding/cropping isn't defined/used at all.  It's
something we want to fix though, it's just that no one has gotten around
to actually doing it yet.

You are of course free to create your own video/x-raw-my-yuv format
which has additional parameters like that, but obviously that would only
work for GStreamer pipelines (or parts thereof) that consist only of
elements you have written and not any of the stock GStreamer elements.

Cheers
 -Tim






More information about the gstreamer-devel mailing list