mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 22:45:08 +00:00
![]() 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. |
||
---|---|---|
.. | ||
CodingIndependentCodePoints.h | ||
ColorConverter.cpp | ||
ColorConverter.h | ||
ColorPrimaries.cpp | ||
ColorPrimaries.h | ||
TransferCharacteristics.cpp | ||
TransferCharacteristics.h |