Structs§
- Block of bytes that we’ll use as input and output of xbr algorithm.
- A structure for conveniently working with YUV colors. https://en.wikipedia.org/wiki/YUV
Enums§
Traits§
- Pixel in format: RRGGBBAA
Functions§
- Blends two
Pixel
s together and retuns the new pixel asu32
. - Calculates the weighted difference between two
Pixel
s. - Compares
LUV
of twoPixel
s and depending on thresholds tells us if pixels are considered equal. - Converts
RGB
toYUV
color space. - Applies the xBR filter.
- Converts
Pixel
fromRGB
toYUV
color space.