:: Re: [Frei0r] [PATCH] Add "colgate",…
Top Pagina
Delete this message
Reply to this message
Auteur: Dan Dennedy
Datum:  
Aan: Minimalistic plugin API for video effects
Onderwerp: Re: [Frei0r] [PATCH] Add "colgate", a new color correction plugin.
On Wed, Sep 19, 2012 at 10:48 AM, Steinar H. Gunderson
<sgunderson@???> wrote:
> On Wed, Sep 19, 2012 at 10:35:07AM -0700, Dan Dennedy wrote:
>> Sorry for the delay. The other day I was thinking that I need to push
>> it after a quick build and test, but have been attending to some other
>> tasks in my multitude of projects. I will do this tonight.
>
> Thanks. One thing that might be relevant is that I'm unsure if MSVC
> supports lrintf() (it's C99/POSIX, and MSVC has no C99 support);
> I'm not sure if you care about it or not. (Unfortunately, it's by far the
> best way to round float-to-int, and it's not that easy to replace in a good
> way.)


a couple of other plugins are doing:

#if defined(_MSC_VER)
__inline const long int lrintf(float x){
        return (long int)(x+0.5);
}
#endif /* _MSC_VER */


Do you want to provide an update with that?

--
+-DRD-+