[Cin] Plugins in integer or in float

Andrew Randrianasulu randrianasulu at gmail.com
Sun Nov 5 22:00:47 CET 2023


вс, 5 нояб. 2023 г., 23:16 Phyllis Smith via Cin <cin at lists.cinelerra-gg.org
>:

> Maybe Andrew knows how to detect this -- if it is just a matter of looking
> at each plugin to see if it looks like the word "float" is in effect for
> the majority of variables, that is something I could do.  Or if Andrew has
> another way?
>

may be look for lines like

case BC_RGB_FLOAT
case BC_RGBA_FLOAT

with grep -r  in plugins directory?



> On Sun, Nov 5, 2023 at 12:10 PM Andrea paz via Cin <
> cin at lists.cinelerra-gg.org> wrote:
>
>> From the source code we can tell if a plugin works in 32 bit float or
>> 8/10 bit integer?
>> I don't know, maybe by searching for the string "float" in the code or
>> something like that? Or the normalized range (0-1.0) instead of the
>> range (0-255), etc.
>> It would be important to put this information in the manual because,
>> for example, I know that Histogram works with integers and this can
>> lead to clipping (with loss of information) in highlights or deep
>> blacks. In contrast, Blue Banana works in floats.
>> --
>> Cin mailing list
>> Cin at lists.cinelerra-gg.org
>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20231106/2f22cfbf/attachment.htm>


More information about the Cin mailing list