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.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -931,6 +931,17 @@ enum drm_colorop_type { · 930 unmodified lines | ||
| 931 | 931 | * | B | | 8 9 10 12 | | B | |
| 932 | 932 | */ |
| 933 | 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 | /** |