summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-06-03 18:11:50 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-06-13 08:52:29 +0200
commita979a54165c224f3a469b59dcbd2e9754e7e0f41 (patch)
treea4c33184244feea6b70b1717a989e8586b679664 /tools/perf/scripts/python/compaction-times.py
parente2944dc6587f39c3eefb15ee607e700314230a0b (diff)
drm/format-helper: Normalize BT.601 factors to 256
BT.601 weights RGB components by certain factors to convert the color to grayscale. Normalize the constants to 256 instead of 10. Allows for slightly more precise rounding. The division by 256 can be compiled as an 8-bit shift, which might be faster on some hardware. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://lore.kernel.org/r/20250603161158.423962-1-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions