author | harlekin <harlekin> | 2002-10-10 10:17:20 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-10 10:17:20 (UTC) |
commit | 6e766588ca61322c59d0a527cb240522d9d8210e (patch) (side-by-side diff) | |
tree | 4a4114876f4bfaac699177a0b44f3424644d256f /noncore/multimedia/opieplayer2/yuv2rgb.h | |
parent | 2cbc91d6aff15c931426f3c835b5126c7da3ba2b (diff) | |
download | opie-6e766588ca61322c59d0a527cb240522d9d8210e.zip opie-6e766588ca61322c59d0a527cb240522d9d8210e.tar.gz opie-6e766588ca61322c59d0a527cb240522d9d8210e.tar.bz2 |
little changes to the gamma
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 { void **table_gU; int *table_gV; void **table_bU; uint8_t *cmap; scale_line_func_t scale_line; - + } ; /* * convenience class to easily create a lot of converters */ struct yuv2rgb_factory_s { yuv2rgb_t* (*create_converter) (yuv2rgb_factory_t *this); - /* - * adjust gamma (-100 to 100 looks fine) + /* + * adjust gamma (-100 to 100 looks fine) * for all converters produced by this factory */ void (*set_gamma) (yuv2rgb_factory_t *this, int gamma); - /* - * get gamma value + /* + * get gamma value */ int (*get_gamma) (yuv2rgb_factory_t *this); - + /* private data */ int mode; int swapped; uint8_t *cmap; @@ -135,17 +135,18 @@ struct yuv2rgb_factory_s { yuv2rgb_single_pixel_fun_t yuv2rgb_single_pixel_fun; }; yuv2rgb_factory_t *yuv2rgb_factory_init (int mode, int swapped, uint8_t *colormap); - + /* * internal stuff below this line */ void mmx_yuv2rgb_set_gamma(int gamma); void yuv2rgb_init_mmxext (yuv2rgb_factory_t *this); void yuv2rgb_init_mmx (yuv2rgb_factory_t *this); void yuv2rgb_init_mlib (yuv2rgb_factory_t *this); +void yuv2rgb_init_arm (yuv2rgb_factory_t *this); #endif |