Skip to content

[Discussion] Should sdr::Rgb use fixed precision instead of integers? #8

Description

@Adnn

Currently RGB<uint8_t> component-wise multiplication does not work as expected: it will essentially overflow the integral value (a * b), instead of providing the product of "normalized values" (i.e. a/255 * b/255)

This might be addressed with fixed point precision.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions