mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10:27:32 +09:00
Issue #2101 - Part 4: Add color range support to gfx/ycbcr
Loosely based on current mozilla code https://hg.mozilla.org/mozilla-central/file/25a8668d92431d469b443f0f2030328bab754aea/gfx/ycbcr/yuv_convert.cpp
This commit is contained in:
parent
a4d1f57b9e
commit
b5f9e9abb6
6 changed files with 128 additions and 78 deletions
|
|
@ -57,7 +57,8 @@ void ConvertYCbCrToRGB32(const uint8_t* yplane,
|
|||
int uvstride,
|
||||
int rgbstride,
|
||||
YUVType yuv_type,
|
||||
YUVColorSpace yuv_color_space);
|
||||
YUVColorSpace yuv_color_space,
|
||||
ColorRange color_range);
|
||||
|
||||
void ConvertYCbCrToRGB32_deprecated(const uint8_t* yplane,
|
||||
const uint8_t* uplane,
|
||||
|
|
@ -87,6 +88,7 @@ void ScaleYCbCrToRGB32(const uint8_t* yplane,
|
|||
int rgbstride,
|
||||
YUVType yuv_type,
|
||||
YUVColorSpace yuv_color_space,
|
||||
ColorRange color_range,
|
||||
ScaleFilter filter);
|
||||
|
||||
void ScaleYCbCrToRGB32_deprecated(const uint8_t* yplane,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue