

Public Member Functions | |
| VideoWindow (int v_width, int v_height, BRect frame, vout_thread_t *p_vout) | |
| virtual | ~VideoWindow () |
| virtual void | MessageReceived (BMessage *message) |
| virtual void | Zoom (BPoint origin, float width, float height) |
| virtual void | FrameResized (float width, float height) |
| virtual void | FrameMoved (BPoint origin) |
| virtual void | ScreenChanged (BRect frame, color_space mode) |
| virtual void | WindowActivated (bool active) |
| void | drawBuffer (int bufferIndex) |
| void | ToggleInterfaceShowing () |
| void | SetInterfaceShowing (bool showIt) |
| void | SetCorrectAspectRatio (bool doIt) |
| bool | CorrectAspectRatio () const |
| void | ToggleFullScreen () |
| void | SetFullScreen (bool doIt) |
| bool | IsFullScreen () const |
| void | SetOnTop (bool doIt) |
| bool | IsOnTop () const |
| void | SetSyncToRetrace (bool doIt) |
| bool | IsSyncedToRetrace () const |
| status_t | InitCheck () const |
| VideoWindow (intf_thread_t *_p_intf, HWND _p_parent) | |
| virtual | ~VideoWindow () |
| void * | GetWindow (vout_thread_t *, int *, int *, unsigned int *, unsigned int *) |
| void | ReleaseWindow (void *) |
| int | ControlWindow (void *, int, va_list) |
Data Fields | |
| int32_t | i_width |
| int32_t | i_height |
| BRect | winSize |
| BBitmap * | bitmap [3] |
| VLCView * | view |
| int | i_buffer |
| volatile bool | teardownwindow |
| thread_id | fDrawThreadID |
| int | mode |
| int | bitmap_count |
| int | colspace_index |
| HWND | p_child_window |
| VideoWindow::VideoWindow | ( | int | v_width, | |
| int | v_height, | |||
| BRect | frame, | |||
| vout_thread_t * | p_vout | |||
| ) |
References VideoSettings::AddFlags(), bitmap, config_GetInt, VideoSettings::FLAG_FULL_SCREEN, FrameResized(), i, i_height, i_width, OVERLAY, and view.
| VideoWindow::~VideoWindow | ( | ) | [virtual] |
References fDrawThreadID, and teardownwindow.
| VideoWindow::VideoWindow | ( | intf_thread_t * | _p_intf, | |
| HWND | _p_parent | |||
| ) |
| virtual VideoWindow::~VideoWindow | ( | ) | [virtual] |
| void VideoWindow::MessageReceived | ( | BMessage * | message | ) | [virtual] |
References VideoSettings::AddFlags(), ASPECT_CORRECT, VideoSettings::ClearFlags(), ConvertKeyToVLC(), CorrectAspectRatio(), VideoSettings::FLAG_ON_TOP_ALL, vlc_value_t::i_int, IsFullScreen(), IsSyncedToRetrace(), KEY_MODIFIER_ALT, KEY_MODIFIER_CTRL, KEY_MODIFIER_SHIFT, keys, vout_thread_t::p_libvlc, RESIZE_100, RESIZE_200, RESIZE_50, SetCorrectAspectRatio(), SetInterfaceShowing(), SetSyncToRetrace(), SHOW_INTERFACE, TOGGLE_FULL_SCREEN, var_Set, VERT_SYNC, and WINDOW_FEEL.
| void VideoWindow::Zoom | ( | BPoint | origin, | |
| float | width, | |||
| float | height | |||
| ) | [virtual] |
References ToggleFullScreen().
| void VideoWindow::FrameResized | ( | float | width, | |
| float | height | |||
| ) | [virtual] |
References CorrectAspectRatio(), i_height, i_width, IsFullScreen(), view, and winSize.
Referenced by SetCorrectAspectRatio(), and VideoWindow().
| void VideoWindow::FrameMoved | ( | BPoint | origin | ) | [virtual] |
References IsFullScreen(), and winSize.
| void VideoWindow::ScreenChanged | ( | BRect | frame, | |
| color_space | mode | |||
| ) | [virtual] |
References MIN_AUTO_VSYNC_REFRESH, and SetSyncToRetrace().
| void VideoWindow::WindowActivated | ( | bool | active | ) | [virtual] |
| void VideoWindow::drawBuffer | ( | int | bufferIndex | ) |
| void VideoWindow::ToggleInterfaceShowing | ( | ) |
References SetInterfaceShowing().
| void VideoWindow::SetInterfaceShowing | ( | bool | showIt | ) |
References Activate(), and get_interface_window().
Referenced by MessageReceived(), VLCView::Pulse(), and ToggleInterfaceShowing().
| void VideoWindow::SetCorrectAspectRatio | ( | bool | doIt | ) |
References VideoSettings::AddFlags(), VideoSettings::ClearFlags(), CorrectAspectRatio(), VideoSettings::FLAG_CORRECT_RATIO, and FrameResized().
Referenced by MessageReceived().
| bool VideoWindow::CorrectAspectRatio | ( | ) | const |
References VideoSettings::FLAG_CORRECT_RATIO, and VideoSettings::HasFlags().
Referenced by FrameResized(), MessageReceived(), VLCView::MouseDown(), and SetCorrectAspectRatio().
| void VideoWindow::ToggleFullScreen | ( | ) |
| void VideoWindow::SetFullScreen | ( | bool | doIt | ) |
References Activate(), VideoSettings::AddFlags(), VideoSettings::ClearFlags(), VideoSettings::FLAG_FULL_SCREEN, and winSize.
Referenced by ToggleFullScreen().
| bool VideoWindow::IsFullScreen | ( | ) | const |
References VideoSettings::FLAG_FULL_SCREEN, and VideoSettings::HasFlags().
Referenced by FrameMoved(), FrameResized(), MessageReceived(), VLCView::MouseDown(), VLCView::Pulse(), and ToggleFullScreen().
| void VideoWindow::SetOnTop | ( | bool | doIt | ) |
| bool VideoWindow::IsOnTop | ( | ) | const |
| void VideoWindow::SetSyncToRetrace | ( | bool | doIt | ) |
References VideoSettings::AddFlags(), VideoSettings::ClearFlags(), and VideoSettings::FLAG_SYNC_RETRACE.
Referenced by MessageReceived(), and ScreenChanged().
| bool VideoWindow::IsSyncedToRetrace | ( | ) | const |
References VideoSettings::FLAG_SYNC_RETRACE, and VideoSettings::HasFlags().
Referenced by drawBuffer(), MessageReceived(), and VLCView::MouseDown().
| status_t VideoWindow::InitCheck | ( | ) | const [inline] |
| void * VideoWindow::GetWindow | ( | vout_thread_t * | _p_vout, | |
| int * | pi_x_hint, | |||
| int * | pi_y_hint, | |||
| unsigned int * | pi_width_hint, | |||
| unsigned int * | pi_height_hint | |||
| ) |
References msg_Dbg, p_child_window, vlc_mutex_lock(), and vlc_mutex_unlock().
| void VideoWindow::ReleaseWindow | ( | void * | p_window | ) |
| int VideoWindow::ControlWindow | ( | void * | p_window, | |
| int | i_query, | |||
| va_list | args | |||
| ) |
References msg_Dbg, VLC_EGENERIC, vlc_mutex_lock(), vlc_mutex_unlock(), and VOUT_SET_STAY_ON_TOP.
| int32_t VideoWindow::i_width |
Referenced by FrameResized(), and VideoWindow().
| int32_t VideoWindow::i_height |
Referenced by FrameResized(), and VideoWindow().
| BRect VideoWindow::winSize |
Referenced by FrameMoved(), FrameResized(), and SetFullScreen().
| BBitmap* VideoWindow::bitmap[3] |
Referenced by Display(), drawBuffer(), Init(), and VideoWindow().
Referenced by drawBuffer(), FrameResized(), and VideoWindow().
Referenced by drawBuffer().
| volatile bool VideoWindow::teardownwindow |
Referenced by BeosCloseDisplay(), Display(), and ~VideoWindow().
| thread_id VideoWindow::fDrawThreadID |
Referenced by ~VideoWindow().
Referenced by VLCView::Draw().
Referenced by Init().
Referenced by GetWindow(), and VideoWindow().
1.5.6