blob: 1ca212b5d42c1fd8c7abc1c7c58d3d468065f86b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
Usage: cmdemo -o OUTPUT_NAME [-d DEGAMMA_OPTS] [-c CTM_OPTS] [-r REGAMMA_OPTS] [-h] [-v]
Demo app for setting non-legacy color management via libXrandr. Note that this
requires color management support from the amdgpu DDX driver.
Mandatory arguments:
-o OUTPUT_NAME
The output name, as listed in xrandr
Optional arguments:
-d DEGAMMA_OPTS
Set degamma to the specified DEGAMMA_OPTS. Available options are:
srgb: SRGB degamma
linear: Linear degamma
-c CTM_OPTS
Set the Color Transform Matrix (CTM) to the specified CTM_OPTS.
Available options are:
id:
Identity CTM
rg:
Red-to-green CTM
rb:
Red-to-blue CTM
f:f:f:f:f:f:f:f:f
A nonuple (9-element tuple) of doubles, delimited by colons,
row-representing a 3x3 matrix. For example, 1:0:1:0:0.5:0:0:0:1
will depict:
|1 0 1|
|0 0.5 0|
|0 0 1|
-d REGAMMA_OPTS
Set regamma to the specified REGAMMA_OPTS. Available options are:
srgb:
SRGB regamma
min:
All-zero regamma curve.
max:
All maximum regamma curve. Maps everything, except for
0-colors, to their maximum.
f:f:f
A triple (3-element tuple) of doubles, delimited by colons.
They define an inverse-polynomial curve within the real range
[0, 1], for each r:g:b channel respectively.
For example, 1:0.5:1.11 will use the following gamma curves for
each channel:
y_r = x_r ^ (1/1)
y_g = x_g ^ (1/0.5)
y_b = x_b ^ (1/1.11)
where y=f(x) represents the regamma curve, and x and y are
color vectors containing real values within range [0, 1]
-v
Print version.
-h
Show this message.
|