1 #ifndef EMOTION_GENERIC_H
2 #define EMOTION_GENERIC_H
4 #include "Emotion_Generic_Plugin.h"
8 typedef struct _Emotion_Generic_Video Emotion_Generic_Video;
9 typedef struct _Emotion_Generic_Player Emotion_Generic_Player;
10 typedef struct _Emotion_Generic_Cmd_Buffer Emotion_Generic_Cmd_Buffer;
11 typedef struct _Emotion_Generic_Channel Emotion_Generic_Channel;
12 typedef struct _Emotion_Generic_Meta Emotion_Generic_Meta;
14 struct _Emotion_Generic_Player
19 struct _Emotion_Generic_Channel
25 struct _Emotion_Generic_Meta
37 struct _Emotion_Generic_Cmd_Buffer
43 int num_params, cur_param;
55 Emotion_Generic_Channel *channels;
57 Emotion_Generic_Meta meta;
61 /* emotion/generic main structure */
62 struct _Emotion_Generic_Video
67 Emotion_Generic_Player player;
68 Emotion_Generic_Cmd_Buffer cmd;
69 Ecore_Event_Handler *player_add, *player_del, *player_data;
70 Ecore_Idler *player_restart;
72 int fd_read, fd_write;
73 Ecore_Fd_Handler *fd_handler;
82 Emotion_Generic_Video_Shared *shared;
83 Emotion_Generic_Video_Frame frame;
88 Eina_Bool initializing : 1;
91 Eina_Bool video_mute : 1;
92 Eina_Bool audio_mute : 1;
93 Eina_Bool spu_mute : 1;
94 Eina_Bool seekable : 1;
95 volatile Eina_Bool opening : 1;
96 volatile Eina_Bool closing : 1;
97 Eina_Bool file_changed : 1;
98 Eina_Bool file_ready : 1;
99 int audio_channels_count;
100 int audio_channel_current;
101 Emotion_Generic_Channel *audio_channels;
102 int video_channels_count;
103 int video_channel_current;
104 Emotion_Generic_Channel *video_channels;
105 int spu_channels_count;
106 int spu_channel_current;
107 Emotion_Generic_Channel *spu_channels;
108 Emotion_Generic_Meta meta;