VideoWindow Class Reference

Inheritance diagram for VideoWindow:

Inheritance graph
[legend]
Collaboration diagram for VideoWindow:

Collaboration graph
[legend]

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]
VLCViewview
int i_buffer
volatile bool teardownwindow
thread_id fDrawThreadID
int mode
int bitmap_count
int colspace_index
HWND p_child_window

Constructor & Destructor Documentation

VideoWindow::VideoWindow ( int  v_width,
int  v_height,
BRect  frame,
vout_thread_t p_vout 
)

VideoWindow::~VideoWindow (  )  [virtual]

References fDrawThreadID, and teardownwindow.

VideoWindow::VideoWindow ( intf_thread_t _p_intf,
HWND  _p_parent 
)

virtual VideoWindow::~VideoWindow (  )  [virtual]


Member Function Documentation

void VideoWindow::MessageReceived ( BMessage *  message  )  [virtual]

void VideoWindow::Zoom ( BPoint  origin,
float  width,
float  height 
) [virtual]

References ToggleFullScreen().

void VideoWindow::FrameResized ( float  width,
float  height 
) [virtual]

void VideoWindow::FrameMoved ( BPoint  origin  )  [virtual]

References IsFullScreen(), and winSize.

void VideoWindow::ScreenChanged ( BRect  frame,
color_space  mode 
) [virtual]

void VideoWindow::WindowActivated ( bool  active  )  [virtual]

void VideoWindow::drawBuffer ( int  bufferIndex  ) 

References bitmap, i_buffer, IsSyncedToRetrace(), OVERLAY, and view.

Referenced by Display().

void VideoWindow::ToggleInterfaceShowing (  ) 

References SetInterfaceShowing().

void VideoWindow::SetInterfaceShowing ( bool  showIt  ) 

void VideoWindow::SetCorrectAspectRatio ( bool  doIt  ) 

bool VideoWindow::CorrectAspectRatio (  )  const

void VideoWindow::ToggleFullScreen (  ) 

References IsFullScreen(), and SetFullScreen().

Referenced by Zoom().

void VideoWindow::SetFullScreen ( bool  doIt  ) 

bool VideoWindow::IsFullScreen (  )  const

void VideoWindow::SetOnTop ( bool  doIt  ) 

bool VideoWindow::IsOnTop (  )  const

void VideoWindow::SetSyncToRetrace ( bool  doIt  ) 

bool VideoWindow::IsSyncedToRetrace (  )  const

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 
)

void VideoWindow::ReleaseWindow ( void *  p_window  ) 

References vlc_mutex_lock(), and vlc_mutex_unlock().

Referenced by VideoWindow().

int VideoWindow::ControlWindow ( void *  p_window,
int  i_query,
va_list  args 
)


Field Documentation

Referenced by FrameResized(), and VideoWindow().

Referenced by FrameResized(), and VideoWindow().

BBitmap* VideoWindow::bitmap[3]

Referenced by Display(), drawBuffer(), Init(), and VideoWindow().

Referenced by drawBuffer().

Referenced by ~VideoWindow().

Referenced by VLCView::Draw().

Referenced by Display(), and Init().

Referenced by Init().

Referenced by GetWindow(), and VideoWindow().


The documentation for this class was generated from the following files:

Generated on Fri Nov 20 08:06:27 2009 for VLC by  doxygen 1.5.6