-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcmm.json
More file actions
37 lines (37 loc) · 1.22 KB
/
cmm.json
File metadata and controls
37 lines (37 loc) · 1.22 KB
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
{
"name": "ColorManagement",
"types": [{
"name": "RGBPixel",
"fields": [
{ "name": "blue", "type": "ubyte" },
{ "name": "green", "type": "ubyte" },
{ "name": "red", "type": "ubyte" }
]
},
{
"name": "YUVPixel",
"fields": [
{ "name": "y", "type": "float" },
{ "name": "u", "type": "float" },
{ "name": "v", "type": "float" }
]
}],
"functions": [{
"name": "rgb_to_yuv",
"arguments": [
{ "name": "aWidth", "type": "int", "argType": "in" },
{ "name": "aHeight", "type": "int", "argType": "in" },
{ "name": "aBufferIn", "type": { "arrayType": "RGBPixel" }, "memoryType": "global", "argType": "in" },
{ "name": "aBufferOut", "type": { "arrayType": "YUVPixel" }, "memoryType": "global", "argType": "out" }
]
},
{
"name": "yuv_to_rgb",
"arguments": [
{ "name": "aWidth", "type": "int", "argType": "in" },
{ "name": "aHeight", "type": "int", "argType": "in" },
{ "name": "aBufferIn", "type": { "arrayType": "YUVPixel" }, "memoryType": "global", "argType": "in" },
{ "name": "aBufferOut", "type": { "arrayType": "RGBPixel" }, "memoryType": "global", "argType": "out" }
]
}]
}