summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb.h
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2001-09-21 14:34:58 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2001-09-21 14:34:58 +0000
commitd63a32635ff7eac3795ab212903fa9af8d89d90c (patch)
tree5f39d2da2a31d7a336429b019bf34ba3265d7e96 /src/video_out/yuv2rgb.h
parentaf8905c774ab1398672fe146b54a09b76a22c53c (diff)
downloadxine-lib-d63a32635ff7eac3795ab212903fa9af8d89d90c.tar.gz
xine-lib-d63a32635ff7eac3795ab212903fa9af8d89d90c.tar.bz2
Add some optimized scale_line functions for: DVD -> 16:9, DVD -> 4:3, and zoom*2
CVS patchset: 679 CVS date: 2001/09/21 14:34:58
Diffstat (limited to 'src/video_out/yuv2rgb.h')
-rw-r--r--src/video_out/yuv2rgb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_out/yuv2rgb.h b/src/video_out/yuv2rgb.h
index 6cf7e0e5c..5e9869a3b 100644
--- a/src/video_out/yuv2rgb.h
+++ b/src/video_out/yuv2rgb.h
@@ -4,6 +4,12 @@
#include <inttypes.h>
+
+/* internal function use to scale yuv data */
+typedef void (*scale_line_func_t) (uint8_t *source, uint8_t *dest,
+ int width, int step);
+
+
/*
* modes supported - feel free to implement yours
*/
@@ -53,6 +59,8 @@ struct yuv2rgb_s {
void *table_gU[256];
int table_gV[256];
void *table_bU[256];
+
+ scale_line_func_t scale_line;
} ;