

Public Member Functions | |
| void * | acceptWnd (vout_window_t *pWnd) |
| Accept Wnd. | |
| void | releaseWnd (vout_window_t *pWnd) |
| Release Wnd. | |
| void | setSizeWnd (vout_window_t *pWnd, int width, int height) |
| set size Wnd | |
| void | setFullscreenWnd (vout_window_t *pWnd, bool b_fullscreen) |
| set fullscreen Wnd | |
| void | registerCtrlVideo (CtrlVideo *p_CtrlVideo) |
| void | saveVoutConfig () |
| void | restoreVoutConfig (bool b_success) |
| void | discardVout (CtrlVideo *pCtrlVideo) |
| void | requestVout (CtrlVideo *pCtrlVideo) |
| CtrlVideo * | getBestCtrlVideo () |
| VoutMainWindow * | getVoutMainWindow () |
| bool | hasVout () |
Static Public Member Functions | |
| static VoutManager * | instance (intf_thread_t *pIntf) |
| Get the instance of VoutManager Returns NULL if the initialization of the object failed. | |
| static void | destroy (intf_thread_t *pIntf) |
| Delete the instance of VoutManager. | |
| static void * | getWindow (intf_thread_t *pIntf, vout_window_t *pWnd) |
| Callback to request a vout window. | |
| static void | releaseWindow (intf_thread_t *pIntf, vout_window_t *pWnd) |
| static int | controlWindow (struct vout_window_t *pWnd, int query, va_list args) |
| Callback to change a vout window. | |
Protected Member Functions | |
| VoutManager (intf_thread_t *pIntf) | |
| virtual | ~VoutManager () |
| VoutManager::VoutManager | ( | intf_thread_t * | pIntf | ) | [protected] |
| VoutManager::~VoutManager | ( | ) | [protected, virtual] |
| VoutManager * VoutManager::instance | ( | intf_thread_t * | pIntf | ) | [static] |
Get the instance of VoutManager Returns NULL if the initialization of the object failed.
References intf_thread_t::p_sys, intf_sys_t::p_voutManager, and VoutManager().
Referenced by CmdChangeSkin::execute(), CtrlVideo::onUpdate(), Run(), VoutWindow::setCtrlVideo(), and CtrlVideo::setLayout().
| void VoutManager::destroy | ( | intf_thread_t * | pIntf | ) | [static] |
Delete the instance of VoutManager.
References intf_thread_t::p_sys, and intf_sys_t::p_voutManager.
Referenced by Run().
| void * VoutManager::acceptWnd | ( | vout_window_t * | pWnd | ) |
Accept Wnd.
References CtrlVideo::attachVoutWindow(), vout_window_t::cfg, getBestCtrlVideo(), SkinObject::getIntf(), GenericWindow::getOSHandle(), vout_window_cfg_t::height, msg_Dbg, and vout_window_cfg_t::width.
Referenced by CmdNewVoutWindow::execute().
| void VoutManager::releaseWnd | ( | vout_window_t * | pWnd | ) |
Release Wnd.
References SkinObject::getIntf(), and msg_Dbg.
Referenced by CmdReleaseVoutWindow::execute().
| void VoutManager::setSizeWnd | ( | vout_window_t * | pWnd, | |
| int | width, | |||
| int | height | |||
| ) |
set size Wnd
References VoutWindow::getCtrlVideo(), msg_Dbg, CtrlVideo::resizeControl(), VoutWindow::setOriginalHeight(), and VoutWindow::setOriginalWidth().
Referenced by CmdResizeVout::execute().
| void VoutManager::setFullscreenWnd | ( | vout_window_t * | pWnd, | |
| bool | b_fullscreen | |||
| ) |
set fullscreen Wnd
References msg_Dbg, and VoutWindow::setFullscreen().
Referenced by CmdSetFullscreen::execute().
| void * VoutManager::getWindow | ( | intf_thread_t * | pIntf, | |
| vout_window_t * | pWnd | |||
| ) | [static] |
Callback to request a vout window.
References intf_sys_t::b_vout_ready, intf_sys_t::handle, AsyncQueue::instance(), intf_thread_t::p_sys, intf_sys_t::p_theme, AsyncQueue::push(), vlc_cond_wait(), vlc_mutex_lock(), vlc_mutex_unlock(), intf_sys_t::vout_lock, and intf_sys_t::vout_wait.
Referenced by WindowOpen().
| void VoutManager::releaseWindow | ( | intf_thread_t * | pIntf, | |
| vout_window_t * | pWnd | |||
| ) | [static] |
References intf_sys_t::b_vout_ready, AsyncQueue::instance(), intf_thread_t::p_sys, AsyncQueue::push(), vlc_cond_wait(), vlc_mutex_lock(), vlc_mutex_unlock(), intf_sys_t::vout_lock, and intf_sys_t::vout_wait.
Referenced by WindowClose().
| int VoutManager::controlWindow | ( | struct vout_window_t * | pWnd, | |
| int | query, | |||
| va_list | args | |||
| ) | [static] |
Callback to change a vout window.
References i_height, AsyncQueue::instance(), msg_Dbg, intf_thread_t::p_sys, intf_sys_t::p_voutManager, AsyncQueue::push(), vout_window_t::sys, VLC_EGENERIC, VLC_SUCCESS, VOUT_WINDOW_SET_FULLSCREEN, and VOUT_WINDOW_SET_SIZE.
Referenced by WindowOpen().
| void VoutManager::registerCtrlVideo | ( | CtrlVideo * | p_CtrlVideo | ) |
Referenced by CtrlVideo::setLayout().
| void VoutManager::saveVoutConfig | ( | ) |
Referenced by CmdChangeSkin::execute().
| void VoutManager::restoreVoutConfig | ( | bool | b_success | ) |
References CtrlVideo::attachVoutWindow(), and getBestCtrlVideo().
Referenced by CmdChangeSkin::execute().
| void VoutManager::discardVout | ( | CtrlVideo * | pCtrlVideo | ) |
Referenced by CtrlVideo::onUpdate().
| void VoutManager::requestVout | ( | CtrlVideo * | pCtrlVideo | ) |
| CtrlVideo * VoutManager::getBestCtrlVideo | ( | ) |
Referenced by acceptWnd(), and restoreVoutConfig().
| VoutMainWindow* VoutManager::getVoutMainWindow | ( | ) | [inline] |
Referenced by VoutWindow::setCtrlVideo().
| bool VoutManager::hasVout | ( | ) | [inline] |
1.5.6