summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb.h
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2003-02-02 17:27:45 +0000
committerEwald Snel <esnel@users.sourceforge.net>2003-02-02 17:27:45 +0000
commitfd3ac34684e6471972a9d9e8eea20370cc63cb92 (patch)
tree1a18eac50dc596e923b83a858cad73143f18e041 /src/video_out/yuv2rgb.h
parent2eb36e1ddcf7d2a4ee584d07834d3ce281dfa55e (diff)
downloadxine-lib-fd3ac34684e6471972a9d9e8eea20370cc63cb92.tar.gz
xine-lib-fd3ac34684e6471972a9d9e8eea20370cc63cb92.tar.bz2
Don't use globals for MMX yuv2rgb conversion variables (not thread-safe)
CVS patchset: 4092 CVS date: 2003/02/02 17:27:45
Diffstat (limited to 'src/video_out/yuv2rgb.h')
-rw-r--r--src/video_out/yuv2rgb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_out/yuv2rgb.h b/src/video_out/yuv2rgb.h
index a85d37458..8beea99e9 100644
--- a/src/video_out/yuv2rgb.h
+++ b/src/video_out/yuv2rgb.h
@@ -99,10 +99,11 @@ struct yuv2rgb_s {
void **table_gU;
int *table_gV;
void **table_bU;
+ void *table_mmx;
uint8_t *cmap;
- scale_line_func_t scale_line;
-
+ scale_line_func_t scale_line;
+
} ;
/*
@@ -131,9 +132,6 @@ struct yuv2rgb_factory_s {
int swapped;
uint8_t *cmap;
- int gamma;
- int entry_size;
-
uint32_t matrix_coefficients;
void *table_base;
@@ -141,6 +139,8 @@ struct yuv2rgb_factory_s {
void *table_gU[256];
int table_gV[256];
void *table_bU[256];
+ void *table_mmx_base;
+ void *table_mmx;
/* preselected functions for mode/swap/hardware */
yuv2rgb_fun_t yuv2rgb_fun;