From 1bfaa5c3c9b4ce8590f50b6f4c30e13481e2f54b Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 27 Feb 2002 20:23:41 +0000 Subject: Fixed datatype. CVS patchset: 1532 CVS date: 2002/02/27 20:23:41 --- src/video_out/yuv2rgb.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/video_out/yuv2rgb.h b/src/video_out/yuv2rgb.h index 6efa64f28..5b9c3f6a0 100644 --- a/src/video_out/yuv2rgb.h +++ b/src/video_out/yuv2rgb.h @@ -14,16 +14,13 @@ typedef struct yuv2rgb_factory_s yuv2rgb_factory_t; */ /* internal function use to scale yuv data */ -typedef void (*scale_line_func_t) (uint8_t *source, uint8_t *dest, - int width, int step); +typedef void (*scale_line_func_t) (uint8_t *source, uint8_t *dest, int width, int step); -typedef void (*yuv2rgb_fun_t) (yuv2rgb_t *this, uint8_t * image, uint8_t * py, - uint8_t * pu, uint8_t * pv) ; +typedef void (*yuv2rgb_fun_t) (yuv2rgb_t *this, uint8_t * image, uint8_t * py, uint8_t * pu, uint8_t * pv) ; typedef void (*yuy22rgb_fun_t) (yuv2rgb_t *this, uint8_t * image, uint8_t * p); -typedef uint32_t (*yuv2rgb_single_pixel_fun_t) (yuv2rgb_t *this, uint8_t y, - uint8_t u, uint8_t v); +typedef uint32_t (*yuv2rgb_single_pixel_fun_t) (yuv2rgb_t *this, uint8_t y, uint8_t u, uint8_t v); /* @@ -133,9 +130,9 @@ struct yuv2rgb_factory_s { 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_fun_t yuv2rgb_fun; + yuy22rgb_fun_t yuy22rgb_fun; + yuv2rgb_single_pixel_fun_t yuv2rgb_single_pixel_fun; }; -- cgit v1.2.3