Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index 2607193..a6ac033 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h | |||
@@ -178,38 +178,42 @@ namespace XINE { | |||
178 | signals: | 178 | signals: |
179 | 179 | ||
180 | void stopped(); | 180 | void stopped(); |
181 | 181 | ||
182 | void initialized(); | 182 | void initialized(); |
183 | 183 | ||
184 | protected: | 184 | protected: |
185 | virtual void receiveMessage( ThreadUtil::ChannelMessage *msg, SendType sendType ); | 185 | virtual void receiveMessage( ThreadUtil::ChannelMessage *msg, SendType sendType ); |
186 | 186 | ||
187 | virtual void run(); | 187 | virtual void run(); |
188 | 188 | ||
189 | private: | 189 | private: |
190 | void initialize(); | 190 | void initialize(); |
191 | 191 | ||
192 | int m_bytes_per_pixel; | 192 | int m_bytes_per_pixel; |
193 | bool m_initialized:1; | 193 | bool m_initialized:1; |
194 | bool m_duringInitialization:1; | 194 | bool m_duringInitialization:1; |
195 | bool m_video:1; | 195 | bool m_video:1; |
196 | XineVideoWidget *m_wid; | 196 | XineVideoWidget *m_wid; |
197 | xine_t *m_xine; | 197 | QSize m_videoSize; |
198 | xine_stream_t *m_stream; | 198 | xine_t *m_xine; |
199 | xine_cfg_entry_t *m_config; | 199 | xine_stream_t *m_stream; |
200 | xine_vo_driver_t *m_videoOutput; | 200 | xine_cfg_entry_t *m_config; |
201 | xine_ao_driver_t* m_audioOutput; | 201 | xine_vo_driver_t *m_videoOutput; |
202 | xine_event_queue_t *m_queue; | 202 | xine_ao_driver_t* m_audioOutput; |
203 | 203 | xine_event_queue_t *m_queue; | |
204 | void handleXineEvent( const xine_event_t* t ); | 204 | |
205 | void handleXineEvent( int type, int data, const char* name ); | 205 | void handleXineEvent( const xine_event_t* t ); |
206 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); | 206 | void handleXineEvent( int type, int data, const char* name ); |
207 | void drawFrame( uint8_t* frame, int width, int height, int bytes ); | ||
207 | // C -> C++ bridge for the event system | 208 | // C -> C++ bridge for the event system |
208 | static void xine_event_handler( void* user_data, const xine_event_t* t); | 209 | static void xine_event_handler( void* user_data, const xine_event_t* t); |
209 | static void xine_display_frame( void* user_data, uint8_t* frame , | 210 | static void xine_display_frame( void* user_data, uint8_t* frame , |
210 | int width, int height, int bytes ); | 211 | int width, int height, int bytes ); |
212 | static void xine_vo_scale_cb(void *, int, int, double, | ||
213 | int*,int*,int*,int*,double*,int*,int*); | ||
214 | static void xine_dest_cb(void*,int,int,double,int*,int*,double*); | ||
211 | }; | 215 | }; |
212 | }; | 216 | }; |
213 | 217 | ||
214 | 218 | ||
215 | #endif | 219 | #endif |