diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-02-16 22:43:24 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-02-16 22:43:24 +0000 |
commit | f030f9e939d8949d43a6a4c11fc1e7c16617ca8d (patch) | |
tree | 75216b2ea75f8ca2a12c6960571ea8a03e216d93 /src/video_out/yuv2rgb_mlib.c | |
parent | 0068b2d4877b794ed7112e4c49ee0deb214193d2 (diff) | |
download | xine-lib-f030f9e939d8949d43a6a4c11fc1e7c16617ca8d.tar.gz xine-lib-f030f9e939d8949d43a6a4c11fc1e7c16617ca8d.tar.bz2 |
beginning of video_out_driver changes
- driver will ask gui for output size on every frame
- shm driver has a seperate yuv2rgb converter instance for every frame
- all drivers disabled except xshm, until they're fixed
I'm planning to introduce a queue of video_out_events in video_out.c,
so events are delivered by video_out_loop which means that all driver
functions are called from the same thread (no locking necessary, should
help the opengl driver)
CVS patchset: 1499
CVS date: 2002/02/16 22:43:24
Diffstat (limited to 'src/video_out/yuv2rgb_mlib.c')
-rw-r--r-- | src/video_out/yuv2rgb_mlib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_out/yuv2rgb_mlib.c b/src/video_out/yuv2rgb_mlib.c index 0e992e1c0..c627e8a73 100644 --- a/src/video_out/yuv2rgb_mlib.c +++ b/src/video_out/yuv2rgb_mlib.c @@ -293,11 +293,11 @@ static void mlib_yuv420_abgr32 (yuv2rgb_t *this, } -void yuv2rgb_init_mlib (yuv2rgb_t *this, int mode, int swapped) -{ - if (swapped) return; /*no swapped pixel output upto now*/ +void yuv2rgb_init_mlib (yuv2rgb_factory_t *this) { + + if (this->swapped) return; /*no swapped pixel output upto now*/ - switch (mode) { + switch (this->mode) { case MODE_24_RGB: this->yuv2rgb_fun = mlib_yuv420_rgb24; break; |