util: fix grey in YUV SMPTE patterns
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Jul 2022 12:05:31 +0000 (14:05 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 8 Sep 2023 18:01:43 +0000 (18:01 +0000)
commit022a4d8a82f8d621cfa0eccec92446b289a23e28
treebfa36cd48b844d4f142c2c176a5aaf7676649852
parentbe42051eadc53c55ca1920a7bfedb9ad867838dc
util: fix grey in YUV SMPTE patterns

The YUV SMPTE patterns use RGB 191/192/192 instead of 192/192/192 for
the grey color in the top color bar.

Change it to 192/192/192, to match the RGB SMPTE patterns.

Fixes: a94ee624292bff96 ("modetest: Add SMPTE test pattern")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
v2:
  - Add Reviewed-by.
tests/util/pattern.c