diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-02-27 20:23:41 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-02-27 20:23:41 +0000 |
commit | 1bfaa5c3c9b4ce8590f50b6f4c30e13481e2f54b (patch) | |
tree | f6000a7e3feaac7f88444f20c374c6ff1ff87e16 /src | |
parent | edea4583028eacf91bf7324eb0beedcb7369e103 (diff) | |
download | xine-lib-1bfaa5c3c9b4ce8590f50b6f4c30e13481e2f54b.tar.gz xine-lib-1bfaa5c3c9b4ce8590f50b6f4c30e13481e2f54b.tar.bz2 |
Fixed datatype.
CVS patchset: 1532
CVS date: 2002/02/27 20:23:41
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/yuv2rgb.h | 15 |
1 files changed, 6 insertions, 9 deletions
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; }; |