[gst-devel] int2float and float2int

Thomas Vander Stichele thomas at urgent.rug.ac.be
Thu Jun 20 04:47:02 CEST 2002


Hi,

I'm sending this mail because wingo asked me to ;)

I had written a small app to test out filters (like all of the ladspa 
ones) in gst-plugins/examples/dynparams because I need to write some 
filter stuff for work.

The app worked nicely but also showed something about int2float and 
float2int that make them hard to work with.

int2float also does automatic deinterleaving, and thus has request pads, 
and thus creating pipelines with it doesn't work as I would expect it to.

My personal opinion is that an element should be as basic as possible and 
perform only one function.  int2float should just do what it says, namely 
translate a channel of int data to a channel of float data.  So I set out 
to start writing interleaving and deinterleaving plug-ins.

Now, wingo doesn't agree, and he wanted me to mail so he could comment on 
why the deinterleaving behaviour should remain in int2float and float2int.

So, wingo ? ;)

Thomas

-- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
I got your phone number baby
Call you sometime
Think I might go out tonight
Maybe give you a ride
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/





More information about the gstreamer-devel mailing list