Not-in-place transform

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Not-in-place transform

Siber
   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.
   Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: Not-in-place transform

Wim Taymans
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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel