Not-in-place transform

Wim Taymans wim.taymans at gmail.com
Tue Nov 8 00:53:44 PST 2011


On 11/08/2011 09:33 AM, Siber wrote:
>     Hello everybody!
>     I'm trying to implement a not-in-place transform filter and I have
> question:
>     /Is it possible to use for this purpose GstBaseTransform class? /When I
> was reading docs for GstBaseTransform I found a small notice about this
> possibility, but I can't understand it clearly or find any example of doing
> so. I tried to inspect some decoders code but all of them do not use it and
> I don't really understand why. Can anybody give an example or explain it in
> more detailed way.

Basetransform only works if the sizes of the input and output buffers 
are completely
defined by the caps and there is a fixed transform between input and 
output caps.

A decoder has variable input size and the output size (and caps) depend 
on the content
of the encoded data. This means that you can't use basetransform.

Wim

>     Thank you!
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Not-in-place-transform-tp4015271p4015271.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list