Diffstat (limited to 'noncore/multimedia/opieplayer2/yuv2rgb.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/yuv2rgb.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/yuv2rgb.h b/noncore/multimedia/opieplayer2/yuv2rgb.h index 5b9c3f6..e453243 100644 --- a/noncore/multimedia/opieplayer2/yuv2rgb.h +++ b/noncore/multimedia/opieplayer2/yuv2rgb.h | |||
@@ -88,34 +88,34 @@ struct yuv2rgb_s { | |||
88 | void **table_gU; | 88 | void **table_gU; |
89 | int *table_gV; | 89 | int *table_gV; |
90 | void **table_bU; | 90 | void **table_bU; |
91 | 91 | ||
92 | uint8_t *cmap; | 92 | uint8_t *cmap; |
93 | scale_line_func_t scale_line; | 93 | scale_line_func_t scale_line; |
94 | 94 | ||
95 | } ; | 95 | } ; |
96 | 96 | ||
97 | /* | 97 | /* |
98 | * convenience class to easily create a lot of converters | 98 | * convenience class to easily create a lot of converters |
99 | */ | 99 | */ |
100 | 100 | ||
101 | struct yuv2rgb_factory_s { | 101 | struct yuv2rgb_factory_s { |
102 | 102 | ||
103 | yuv2rgb_t* (*create_converter) (yuv2rgb_factory_t *this); | 103 | yuv2rgb_t* (*create_converter) (yuv2rgb_factory_t *this); |
104 | 104 | ||
105 | /* | 105 | /* |
106 | * adjust gamma (-100 to 100 looks fine) | 106 | * adjust gamma (-100 to 100 looks fine) |
107 | * for all converters produced by this factory | 107 | * for all converters produced by this factory |
108 | */ | 108 | */ |
109 | void (*set_gamma) (yuv2rgb_factory_t *this, int gamma); | 109 | void (*set_gamma) (yuv2rgb_factory_t *this, int gamma); |
110 | 110 | ||
111 | /* | 111 | /* |
112 | * get gamma value | 112 | * get gamma value |
113 | */ | 113 | */ |
114 | int (*get_gamma) (yuv2rgb_factory_t *this); | 114 | int (*get_gamma) (yuv2rgb_factory_t *this); |
115 | 115 | ||
116 | /* private data */ | 116 | /* private data */ |
117 | 117 | ||
118 | int mode; | 118 | int mode; |
119 | int swapped; | 119 | int swapped; |
120 | uint8_t *cmap; | 120 | uint8_t *cmap; |
121 | 121 | ||
@@ -135,17 +135,18 @@ struct yuv2rgb_factory_s { | |||
135 | yuv2rgb_single_pixel_fun_t yuv2rgb_single_pixel_fun; | 135 | yuv2rgb_single_pixel_fun_t yuv2rgb_single_pixel_fun; |
136 | 136 | ||
137 | }; | 137 | }; |
138 | 138 | ||
139 | yuv2rgb_factory_t *yuv2rgb_factory_init (int mode, int swapped, uint8_t *colormap); | 139 | yuv2rgb_factory_t *yuv2rgb_factory_init (int mode, int swapped, uint8_t *colormap); |
140 | 140 | ||
141 | 141 | ||
142 | /* | 142 | /* |
143 | * internal stuff below this line | 143 | * internal stuff below this line |
144 | */ | 144 | */ |
145 | 145 | ||
146 | void mmx_yuv2rgb_set_gamma(int gamma); | 146 | void mmx_yuv2rgb_set_gamma(int gamma); |
147 | void yuv2rgb_init_mmxext (yuv2rgb_factory_t *this); | 147 | void yuv2rgb_init_mmxext (yuv2rgb_factory_t *this); |
148 | void yuv2rgb_init_mmx (yuv2rgb_factory_t *this); | 148 | void yuv2rgb_init_mmx (yuv2rgb_factory_t *this); |
149 | void yuv2rgb_init_mlib (yuv2rgb_factory_t *this); | 149 | void yuv2rgb_init_mlib (yuv2rgb_factory_t *this); |
150 | void yuv2rgb_init_arm (yuv2rgb_factory_t *this); | ||
150 | 151 | ||
151 | #endif | 152 | #endif |