diff options
-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; }; |