1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 22:45:08 +00:00
serenity/Userland/Libraries/LibVideo/Color
Zaggy1024 b10da81c7c LibVideo: Fast-path converting colors by only matrix coefficients
We don't need to run through the whole floating-point color converter
for videos that use sRGB transfer characteristics and BT.709 color
primaries. This commit adds a new templated inlining function to
ColorConverter to do a very fast fixed-point YCbCr to RGB conversion.

With the fast path, frame conversion times go from ~7.8ms down to
~3.7ms. The fast path can benefit a lot more from extra SIMD vector
width, as well.
2023-04-25 17:44:36 -04:00
..
CodingIndependentCodePoints.h LibVideo: Add a video_full_range_flag_to_string() function 2023-02-09 16:35:08 +00:00
ColorConverter.cpp LibVideo: Fast-path converting colors by only matrix coefficients 2023-04-25 17:44:36 -04:00
ColorConverter.h LibVideo: Fast-path converting colors by only matrix coefficients 2023-04-25 17:44:36 -04:00
ColorPrimaries.cpp LibVideo: Implement CICP color space conversion 2022-10-25 11:06:11 +02:00
ColorPrimaries.h LibVideo: Implement CICP color space conversion 2022-10-25 11:06:11 +02:00
TransferCharacteristics.cpp LibVideo: Implement CICP color space conversion 2022-10-25 11:06:11 +02:00
TransferCharacteristics.h LibVideo: Implement CICP color space conversion 2022-10-25 11:06:11 +02:00