This also adds a helper to generate a color LUT, which has to be used in conjunction with the C8 indexed format.
8d27dece util: add C8 format, support it with SMPTE pattern
tests/util/format.c | 2 ++
tests/util/pattern.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/util/pattern.h | 4 +++
3 files changed, 81 insertions(+)
Upstream: cgit.freedesktop.org