History

drm/colorop: Add multiplier type

This introduces a new drm_colorop_type: DRM_COLOROP_MULTIPLIER. It's a simple multiplier to all pixel values. The value is specified via a S31.32 fixed point provided via the "MULTIPLIER" property.

Alex Hung committed 12 months ago

Commit 34101081 parent 16e0f785 files · +67 −0Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/drm/drm_mode.h+11−0
@@ -931,6 +931,17 @@ enum drm_colorop_type { · 930 unmodified lines
931 * | B | | 8 9 10 12 | | B |931 * | B | | 8 9 10 12 | | B |
932 */932 */
933 DRM_COLOROP_CTM_3X4,933 DRM_COLOROP_CTM_3X4,
934
935 /**
936 * @DRM_COLOROP_MULTIPLIER:
937 *
938 * enum string "Multiplier"
939 *
940 * A simple multiplier, applied to all color values. The
941 * multiplier is specified as a S31.32 via the MULTIPLIER
942 * property.
943 */
944 DRM_COLOROP_MULTIPLIER,
934};945};
935 946
936/**947/**