summaryrefslogtreecommitdiff
path: root/src/video_out/yuv2rgb.h
diff options
context:
space:
mode:
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;
} ;