qtffthread.h

00001 #ifndef QTFFTHREAD_H_
00002 #define QTFFTHREAD_H_
00003 
00004 #include <QThread>
00005 #include "qtffplay_includes.h"
00006 
00016 class qtffthread : public QThread
00017 {
00018 public:
00022         qtffthread();
00028         void run();
00032         virtual ~qtffthread();
00036         int EXIT_INPUT_THREAD;
00042         void init(VideoState *is);
00046         SDL_Surface *myscreen;
00051         void schedule_refresh(VideoState *is, int delay);
00056         void togglePause();
00057         
00058 private:
00062         void do_exit(void);
00066         void toggle_full_screen(void);
00070         void toggle_pause(void);
00074         void stream_cycle_channel(VideoState *is, int codec_type);
00078         void step_to_next_frame(void);
00082         void toggle_audio_display(void);
00086         void stream_seek(VideoState *is, int64_t pos, int rel);
00090         void alloc_picture(void *opaque);
00094         void video_refresh_timer(void *opaque);
00098         void stream_close(VideoState *is);
00102         void video_display(VideoState *is);
00106         void free_subpicture(SubPicture *sp);
00110         void video_audio_display(VideoState *s);
00114         void video_image_display(VideoState *is);
00118         void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect);
00122         inline int compute_mod(int a, int b);
00126         inline void fill_rectangle(SDL_Surface *myscreen,int x, int y, int w, int h, int color);
00127         
00128         
00129         
00130         
00131 };
00132 
00133 #endif /*QTFFTHREAD_H_*/

Generated on Thu Aug 17 12:14:56 2006 for VisualODF by  doxygen 1.4.7