util: improve SMPTE color LUT accuracy
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 30 Jun 2022 13:16:23 +0000 (15:16 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 24 Oct 2023 07:43:30 +0000 (09:43 +0200)
commiteb06a81e42195ef57dab4b567f646b5b7596ca90
treed36082e7af82ee30709ef162938c3eea233b8fd7
parent5254fd1146b95a86fef1bb8e950d0146d829f3c4
util: improve SMPTE color LUT accuracy

Fill in the LSB when converting color components from 8-bit to 16-bit.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
v5:
  - Add Reviewed-by,

v4:
  - No changes,

v3:
  - Add Acked-by,

v2:
  - New.
tests/util/pattern.c