Debian Codegraph @

testsuite/gsk/offload/default-cs.node

raw
1 @cicp "cicp0" {
2 primaries: 1;
3 transfer: 13;
4 matrix: 6;
5 range: narrow;
6 }
7
8 /* premultiplied rgba can be offloaded without color-repr */
9 subsurface {
10 child: texture {
11 texture: dmabuf {
12 fourcc: "RA24";
13 color-state: srgb;
14 premultiplied: true;
15 width: 24;
16 height: 24;
17 offset: 0;
18 stride: 96;
19 data: url("data:application/gzip;base64,H4sIAAAAAAACA+3DAQ0AAAzDoPo3/QsZJFSXqurQB+U+4OIACQAA");
20 }
21 }
22 }
23 /* straight rgba can't */
24 transform {
25 transform: translate(100,0);
26 child: subsurface {
27 child: texture {
28 texture: dmabuf {
29 fourcc: "RA24";
30 color-state: srgb;
31 premultiplied: false;
32 width: 24;
33 height: 24;
34 offset: 0;
35 stride: 96;
36 data: url("data:application/gzip;base64,H4sIAAAAAAACA+3DAQ0AAAzDoPo3/QsZJFSXqurQB+U+4OIACQAA");
37
38 }
39 }
40 }
41 }
42 /* yuv can */
43 transform {
44 transform: translate(200,0);
45 child: subsurface {
46 child: texture {
47 texture: dmabuf {
48 fourcc: "NV12";
49 width: 256;
50 height: 64;
51 offset: 0, 16384;
52 stride: 256, 256;
53 color-state: "cicp0";
54 data: url("data:application/gzip;base64,H4sIAAAAAAACA+3BAQkAAAwDoArrn3IRFuMc1AQAAAAAAAAAAAAAAAAAAAA4V1VVVVVVVVX1+wGMTciZAGAAAA==");
55 }
56 }
57 }
58 }