diff options
author | Torsten Jager <t.jager@gmx.de> | 2012-12-05 13:46:57 +0200 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2012-12-05 13:46:57 +0200 |
commit | e3209df6725617d3aeb0844a511a50de49524a9c (patch) | |
tree | 088e5840e40088b13fbedf8cedea604986f4ae96 /include | |
parent | d705224ae16873d33475bd025cc468349d03ba1b (diff) | |
download | xine-lib-e3209df6725617d3aeb0844a511a50de49524a9c.tar.gz xine-lib-e3209df6725617d3aeb0844a511a50de49524a9c.tar.bz2 |
color.c: direct rgb->yuy2 converter
Diffstat (limited to 'include')
-rw-r--r-- | include/xine/xineutils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xine/xineutils.h b/include/xine/xineutils.h index 12f2256f9..1576415a6 100644 --- a/include/xine/xineutils.h +++ b/include/xine/xineutils.h @@ -307,6 +307,13 @@ extern int v_r_table[256] XINE_PROTECTED; extern int v_g_table[256] XINE_PROTECTED; extern int v_b_table[256] XINE_PROTECTED; +/* TJ. direct sliced rgb -> yuy2 conversion */ +extern void *rgb2yuy2_alloc (int color_matrix, const char *format) XINE_PROTECTED; +extern void rgb2yuy2_free (void *rgb2yuy2) XINE_PROTECTED; +extern void rgb2yuy2_slice (void *rgb2yuy2, const uint8_t *in, int ipitch, uint8_t *out, int opitch, + int width, int height) XINE_PROTECTED; + + /* frame copying functions */ extern void yv12_to_yv12 (const unsigned char *y_src, int y_src_pitch, unsigned char *y_dst, int y_dst_pitch, |