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 @@ -82,46 +82,46 @@ struct yuv2rgb_s { uint8_t *v_buffer; void *y_chunk; void *u_chunk; void *v_chunk; void **table_rV; 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; int gamma; int entry_size; uint32_t matrix_coefficients; void *table_rV[256]; @@ -129,23 +129,24 @@ struct yuv2rgb_factory_s { int table_gV[256]; void *table_bU[256]; /* preselected functions for mode/swap/hardware */ yuv2rgb_fun_t yuv2rgb_fun; yuy22rgb_fun_t yuy22rgb_fun; 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 |