9 #include "videowindowgui.inc"
12 class VideoWindow
: public Thread
15 VideoWindow(MWindow
*mwindow
);
20 int load_defaults(BC_Hash
*defaults
);
21 int update_defaults(BC_Hash
*defaults
);
22 int get_aspect_ratio(float &aspect_w
, float &aspect_h
);
23 int fix_size(int &w
, int &h
, int width_given
, float aspect_ratio
);
24 int get_full_sizes(int &w
, int &h
);
30 int original_size(); // Put the window at its original size
34 int update(BC_Bitmap
*frame
);
39 BC_Bitmap
* get_bitmap(); // get a bitmap for playback
41 // allocated according to playback buffers
45 int video_cropping
; // Currently performing a cropping operation
47 int video_window_w
; // Horizontal size of the window independant of frame size
48 VFrame
**vbuffer
; // output frame buffer