[CinCV TNG] RFC:Next version

Johannes Sixt j6t at kdbg.org
Wed May 20 20:29:03 CEST 2015

Am 20.05.2015 um 19:51 schrieb Nicola Ferralis:
> Not sure if this is where the problem is... But one notable difference
> between the MaskUnit::do_feather in CV 2.2 (where it seems to be broken)
> and HV 4.6 (where it seems to work) is the casting of feather. In 4.6:
> void MaskUnit::do_feather(VFrame *output,
>                            VFrame *input,
>                            double feather,
>                            int start_y,
>                            int end_y,
>                            int start_x,
>                            int end_x)
> in CV:
> void MaskUnit::do_feather(VFrame *output,
>      VFrame *input,
>      float feather,
>      int start_out,
>      int end_out)
> This is percolated through the code with other variables been casted as
> double rather than floats in MaskUnit::do_feather.

It's not impossible. It is barely an overflow as the numbers do not grow 
ad infinitum. On the other hand, there are a number additions and 
subtractions, and it is possible that numeric imprecision causes the 
observed problems.

-- Hannes

More information about the Cinelerra mailing list