util: add C8 format, support it with SMPTE pattern

Graphics / Mesa 3D Graphics Library / libdrm - Ilia Mirkin [alum.mit.edu] - 22 June 2019 17:29 EDT

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


  • Share