00001 #ifndef UTIL_OSD_H
00002 #define UTIL_OSD_H
00003
00004 #include "mythlogging.h"
00005 #include "mythimage.h"
00006 #include "frame.h"
00007
00008 #define ALIGN_C 2
00009 #ifdef MMX
00010 #define ALIGN_X_MMX 8
00011 #else
00012 #define ALIGN_X_MMX 2
00013 #endif
00014
00015 void yuv888_to_yv12(VideoFrame *frame, MythImage *osd_image,
00016 int left, int top, int right, int bottom);
00017 void inline mmx_yuv888_to_yv12(VideoFrame *frame, MythImage *osd_image,
00018 int left, int top, int right, int bottom);
00019 void inline c_yuv888_to_yv12(VideoFrame *frame, MythImage *osd_image,
00020 int left, int top, int right, int bottom);
00021 void yuv888_to_i44(unsigned char *dest, MythImage *osd_image, QSize dst_size,
00022 int left, int top, int right, int bottom, bool ifirst);
00023 #endif
00024