comparison postproc/rgb2rgb.h @ 9476:eff727517e6b

yuv2rgb brightness/contrast/saturation/different colorspaces support finished yuv2rgb deglobalize yuv2rgb optimizations / cleanup bugs?
author michael
date Fri, 21 Feb 2003 20:35:18 +0000
parents 7bbe4bce6293
children 988c2ffc5bc1
comparison
equal deleted inserted replaced
9475:6d4d66421b29 9476:eff727517e6b
82 82
83 83
84 #define MODE_RGB 0x1 84 #define MODE_RGB 0x1
85 #define MODE_BGR 0x2 85 #define MODE_BGR 0x2
86 86
87 typedef void (* yuv2rgb_fun) (uint8_t * image, uint8_t * py, 87 static void yuv2rgb(uint8_t * image, uint8_t * py,
88 uint8_t * pu, uint8_t * pv, 88 uint8_t * pu, uint8_t * pv,
89 unsigned h_size, unsigned v_size, 89 unsigned h_size, unsigned v_size,
90 int rgb_stride, int y_stride, int uv_stride); 90 int rgb_stride, int y_stride, int uv_stride){
91 printf("broken, this should use the swscaler\n");
92 }
91 93
92 extern yuv2rgb_fun yuv2rgb; 94 static void yuv2rgb_init (unsigned bpp, int mode){
93 95 printf("broken, this should use the swscaler\n");
94 void yuv2rgb_init (unsigned bpp, int mode); 96 }
95 97
96 #endif 98 #endif