path: root/legacy/emotion/src/modules/emotion_xine.h
diff options
authormoom16 <moom16>2005-07-08 19:56:48 +0000
committermoom16 <moom16@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-07-08 19:56:48 +0000
commit8e4e372d878c2a964d9b3ef123c7aa34f0691915 (patch)
tree93f0724f2865b2f5478fd384b8e25063603dd4f6 /legacy/emotion/src/modules/emotion_xine.h
parent0bc77892a096d12a14a5bdda233be7c310fe7670 (diff)
* Add support of yuy2 to emotion_xine module. So now, we can play wmv
movies! I had to make some module API changes: - rename yuv_size_get to video_data_size_get - add the function "Emotion_Format (*format_get) (void *ef);" in Emotion_Video_Module. This function should return the format used by the video (EMOTION_YV12, EMOTION_YUY2 or EMOTION_BGRA). I use a yuy2->bgra converter since evas doesn't support YUY2. This converter should be rewrite since it's really not optimized and since it is under GPLv2 (emotion is under BSD). I added an explicit comment above the function for that, but it'd be better to use a converter under BSD. If it's really incompatible with emotion license, I will remove it. SVN revision: 15675
Diffstat (limited to '')
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/emotion/src/modules/emotion_xine.h b/legacy/emotion/src/modules/emotion_xine.h
index f796bc9369..47bab1a73a 100644
--- a/legacy/emotion/src/modules/emotion_xine.h
+++ b/legacy/emotion/src/modules/emotion_xine.h
@@ -57,7 +57,9 @@ struct _Emotion_Xine_Video_Frame
57{ 57{
58 int w, h; 58 int w, h;
59 double ratio; 59 double ratio;
60 Emotion_Format format;
60 unsigned char *y, *u, *v; 61 unsigned char *y, *u, *v;
62 unsigned char *bgra_data;
61 int y_stride, u_stride, v_stride; 63 int y_stride, u_stride, v_stride;
62 Evas_Object *obj; 64 Evas_Object *obj;
63 double timestamp; 65 double timestamp;