forked from Tasshack/libSambilight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathled_profile.h
76 lines (73 loc) · 1.75 KB
/
led_profile.h
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
66
67
68
69
70
71
72
73
74
75
76
/*
* tasshack
* (c) 2019 - 2022
*
* License: GPLv3
*
*/
#ifndef LED_PROFILE_H
#define LED_PROFILE_H
typedef struct {
unsigned short index;
char name[10];
unsigned short saturation_gain_percent;
unsigned short value_gain_percent;
short brightness_correction;
unsigned short horizontal_depth_percent;
unsigned short vertical_depth_percent;
short overlap_percent;
short h_padding_percent;
short v_padding_percent;
} led_manager_profile_t;
static led_manager_profile_t led_profiles[10] = {
{
1, /// index
"16:9", /// name
130, /// saturation_gain_percent
90, /// value_gain_percent
-7, /// brightness_correction
26, /// horizontal_depth_percent
15, /// vertical_depth_percent
0, /// overlap_percent
0, /// h_padding_percent
0, /// v_padding_percent
},
{
2, /// index
"21:9", /// name
120, /// saturation_gain_percent
90, /// value_gain_percent
-7, /// brightness_correction
15, /// horizontal_depth_percent
7, /// vertical_depth_percent
0, /// overlap_percent
12, /// h_padding_percent
0, /// v_padding_percent
},
{
3, /// index
"4:3", /// name
100, /// saturation_gain_percent
100, /// value_gain_percent
0, /// brightness_correction
12, /// horizontal_depth_percent
12, /// vertical_depth_percent
0, /// overlap_percent
0, /// h_padding_percent
12, /// v_padding_percent
},
{
4, /// index
"3:2", /// name
100, /// saturation_gain_percent
100, /// value_gain_percent
0, /// brightness_correction
12, /// horizontal_depth_percent
12, /// vertical_depth_percent
0, /// overlap_percent
0, /// h_padding_percent
8, /// v_padding_percent
},
{ 0,0,0,0,0,0,0,0,0,0 } /// Terminator
};
#endif