summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-29 02:15:22 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-29 02:15:22 +0000
commit1ff753619b7732db28e76b4ae1e3c06ee00f0ef4 (patch)
treefccad01fcb74e44953f2a90e578298557fc796d2 /src/video_out/yuv2rgb.h
parent9091514f5cef881fca3ff256e6da28404fd91601 (diff)
downloadxine-lib-1ff753619b7732db28e76b4ae1e3c06ee00f0ef4.tar.gz
xine-lib-1ff753619b7732db28e76b4ae1e3c06ee00f0ef4.tar.bz2
XShm gamma adjusting (brightness)
CVS patchset: 906 CVS date: 2001/10/29 02:15:22
Diffstat (limited to 'src/video_out/yuv2rgb.h')
-rw-r--r--src/video_out/yuv2rgb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_out/yuv2rgb.h b/src/video_out/yuv2rgb.h
index 9502f100d..493481260 100644
--- a/src/video_out/yuv2rgb.h
+++ b/src/video_out/yuv2rgb.h
@@ -72,6 +72,9 @@ struct yuv2rgb_s {
uint8_t *fast_rgb;
scale_line_func_t scale_line;
+
+ int gamma;
+ int entry_size;
} ;
@@ -88,10 +91,18 @@ int yuv2rgb_setup (yuv2rgb_t *this,
int dest_width, int dest_height,
int rgb_stride);
+/* adjust gamma (-100 to 100 looks fine) */
+void yuv2rgb_set_gamma (yuv2rgb_t *this, int gamma);
+
+/* get gamma value */
+int yuv2rgb_get_gamma (yuv2rgb_t *this);
+
+
/*
* internal stuff below this line
*/
+void mmx_yuv2rgb_set_gamma(int gamma);
void yuv2rgb_init_mmxext (yuv2rgb_t *this, int mode, int swapped);
void yuv2rgb_init_mmx (yuv2rgb_t *this, int mode, int swapped);
void yuv2rgb_init_mlib (yuv2rgb_t *this, int mode, int swapped);