[FFmpeg-devel] [PATCH v3 1/3] swscale/yuv2rgb: fix conversion to X2RGB10
Michael Niedermayer
michael at niedermayer.cc
Fri Sep 24 19:41:48 EEST 2021
On Thu, Sep 23, 2021 at 11:22:29PM -0400, Manuel Stoeckl wrote:
> This resolves a problem where conversions from YUV to X2RGB10LE
> would produce color values a factor 4 too small, because an 8-bit
> value was placed in a 10-bit channel.
>
> Signed-off-by: Manuel Stoeckl <code at mstoeckl.com>
> ---
> libswscale/yuv2rgb.c | 2 +-
> tests/ref/fate/filter-pixdesc-x2rgb10le | 2 +-
> tests/ref/fate/filter-pixfmts-copy | 2 +-
> tests/ref/fate/filter-pixfmts-crop | 2 +-
> tests/ref/fate/filter-pixfmts-field | 2 +-
> tests/ref/fate/filter-pixfmts-fieldorder | 2 +-
> tests/ref/fate/filter-pixfmts-hflip | 2 +-
> tests/ref/fate/filter-pixfmts-il | 2 +-
> tests/ref/fate/filter-pixfmts-null | 2 +-
> tests/ref/fate/filter-pixfmts-pad | 2 +-
> tests/ref/fate/filter-pixfmts-scale | 2 +-
> tests/ref/fate/filter-pixfmts-transpose | 2 +-
> tests/ref/fate/filter-pixfmts-vflip | 2 +-
> 13 files changed, 13 insertions(+), 13 deletions(-)
LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210924/4740a499/attachment.sig>
More information about the ffmpeg-devel
mailing list