
Data Fields | |
| picture_t | p_picture [2 *16+1] |
| pictures | |
| spu_t * | p_spu |
| config_chain_t * | p_cfg |
| vout_thread_sys_t * | p |
VLC_COMMON_MEMBERS these members are common for all vlc objects | |
| const char * | psz_object_type |
| char * | psz_header |
| int | i_flags |
| volatile bool | b_error |
| set by the object | |
| volatile bool | b_die |
| set by the outside | |
| bool | b_force |
| set by the outside (eg. | |
| bool | be_sure_to_add_VLC_COMMON_MEMBERS_to_struct |
| Just a reminder so that people don't cast garbage. | |
| libvlc_int_t * | p_libvlc |
| (root of all evil) - 1 | |
| vlc_object_t * | p_parent |
| our parent | |
Thread properties and locks | |
| vlc_mutex_t | picture_lock |
| picture heap lock | |
| vlc_mutex_t | change_lock |
| thread change lock | |
| vout_sys_t * | p_sys |
| system output method | |
Current display properties | |
| uint16_t | i_changes |
| changes made to the thread. | |
| unsigned | b_fullscreen:1 |
| toogle fullscreen display | |
| unsigned | b_autoscale:1 |
| auto scaling picture or not | |
| unsigned | b_on_top:1 |
| stay always on top of other windows | |
| int | i_zoom |
| scaling factor if no auto | |
| unsigned int | i_window_width |
| video window width | |
| unsigned int | i_window_height |
| video window height | |
| unsigned int | i_alignment |
| video alignment in window | |
Plugin used and shortcuts to access its capabilities | |
| module_t * | p_module |
| int(* | pf_init )(vout_thread_t *) |
| void(* | pf_end )(vout_thread_t *) |
| int(* | pf_manage )(vout_thread_t *) |
| void(* | pf_render )(vout_thread_t *, picture_t *) |
| void(* | pf_display )(vout_thread_t *, picture_t *) |
| void(* | pf_swap )(vout_thread_t *) |
| int(* | pf_lock )(vout_thread_t *) |
| void(* | pf_unlock )(vout_thread_t *) |
| int(* | pf_control )(vout_thread_t *, int, va_list) |
Video heap and translation tables | |
| int | i_heap_size |
| heap size | |
| picture_heap_t | render |
| rendered pictures | |
| picture_heap_t | output |
| direct buffers | |
| video_format_t | fmt_render |
| video_format_t | fmt_in |
| video_format_t | fmt_out |
Any independent video output device, such as an X11 window or a GGI device, is represented by a video output thread, and described using the following structure.
| const char* vout_thread_t::psz_object_type |
| volatile bool vout_thread_t::b_error |
set by the object
Referenced by __vout_Create(), CleanThread(), Render(), RunThread(), and VoutsNewPicture().
| volatile bool vout_thread_t::b_die |
set by the outside
set by the outside (eg.
Just a reminder so that people don't cast garbage.
(root of all evil) - 1
Referenced by aglInit(), aglManage(), CreateFilter(), DestroyFilter(), DeviceCallback(), DirectXPopupMenu(), VLCVoutWindow::enterFullscreen, EventThread(), FullscreenCallback(), VLCVoutWindow::initMainThread:, Manage(), ManageVideo(), VideoWindow::MessageReceived(), OnTopCallback(), OpenVideoGL(), QNXManage(), VLCVoutView::setVout:subView:frame:, vout_SendEventKey(), vout_SendEventMousePressed(), VoutSaveSnapshot(), and VLCVoutView::voutView:subView:frame:.
our parent
Referenced by aglControl(), aglReshape(), CloseVideoGL(), VLCVoutView::realVout:, VLCOpenGLVoutView::reshape, and WindowEventHandler().
picture heap lock
Referenced by __vout_Create(), DestroyPicture(), DisplayVideo(), RunThread(), video_del_buffer_filter(), vout_ChangePause(), vout_CountPictureAvailable(), vout_CreatePicture(), vout_DestroyPicture(), vout_Destructor(), vout_DisplayPicture(), vout_DropPicture(), vout_FixLeaks(), vout_Flush(), vout_LinkPicture(), vout_NextPicture(), vout_UnlinkPicture(), and vout_UsePictureLocked().
thread change lock
Referenced by __vout_Create(), __vout_Request(), DisplayTitleOnOSD(), ErrorThread(), OnTopCallback(), RunThread(), ScalingCallback(), vout_ChangePause(), vout_Close(), vout_Destructor(), and vout_DisplayTitle().
system output method
Referenced by Activate(), aglControl(), aglEnd(), aglInit(), aglLock(), aglManage(), aglReshape(), aglSetViewport(), aglSwap(), aglUnlock(), VLCOpenGLVoutView::autoinitOpenGLVoutViewIntVoutWithContainer:, BeosCloseDisplay(), BeosOpenDisplay(), checkXvMCCap(), CloseDisplay(), CloseVideo(), CloseVideoGL(), cocoaglvoutviewEnd(), cocoaglvoutviewInit(), cocoaglvoutviewLock(), cocoaglvoutviewSwap(), cocoaglvoutviewUnlock(), CommonClean(), CommonInit(), CommonManage(), Control(), Create(), CreateCursor(), CreateVout(), CreateWindow(), Deactivate(), Deinterlace(), Destroy(), DestroyCursor(), DestroyOpenGL(), DestroyVout(), DestroyWindow(), DirectDrawUpdateOverlay(), DirectXCloseDDraw(), DirectXCloseDisplay(), DirectXCreateClipper(), DirectXCreateDisplay(), DirectXCreateSurface(), DirectXEnumCallback(), DirectXFindColorkey(), DirectXGetDDrawCaps(), DirectXInitDDraw(), DirectXLockSurface(), DisableScreensaver(), DisableXScreenSaver(), Display(), DisplayGDI(), DisplayVideo(), EnableXScreenSaver(), End(), FilterCallback(), FilterI422(), FilterPlanar(), FilterYUYV(), FirstDisplay(), FirstDisplayGDI(), FirstSwap(), Forward(), FreePicture(), FreePictureVec(), FullscreenEventDown(), GetOutputFormat(), GLSwapBuffers(), Init(), InitBuffers(), InitDisplay(), InitGLX12(), InitGLX13(), InitOpenGL(), InitTextures(), InitWindow(), IsFullscreenActive(), Lock(), Manage(), ManageVideo(), MouseEvent(), NewPicture(), NewPictureVec(), Open(), OpenDisplay(), OpenVideo(), OpenVideoGL(), QNXCreateWnd(), QNXDestroyWnd(), QNXDisplay(), QNXInit(), QNXInitDisplay(), QNXManage(), ReleaseImages(), Render(), RenderYadif(), VLCGLView::resetVout:, ResizeOverlayOutput(), RestoreScreensaver(), RunQtThread(), SetFilterMethod(), SetPalette(), Swap(), SwapBuffers(), SwitchContext(), SwitchWallpaperMode(), ToggleCursor(), ToggleFullScreen(), Unlock(), UpdateRects(), UpdateScreen(), UpdateStats(), vaControlParentWindow(), VlcPictureToIplImage(), VoutsClean(), VoutsNewPicture(), WallpaperCallback(), Win32ToggleFullscreen(), WindowEventHandler(), xvmc_check_colorkey_properties(), xvmc_flush(), xvmc_flushsync(), xvmc_vld_frame(), xvmc_vld_slice(), xxmc_create_context(), xxmc_dispose_context(), xxmc_do_update_frame(), xxmc_find_context(), xxmc_frame_updates(), xxmc_setup_subpictures(), xxmc_xvmc_alloc_subpicture(), xxmc_xvmc_alloc_surface(), xxmc_xvmc_destroy_subpictures(), xxmc_xvmc_destroy_surfaces(), xxmc_xvmc_dump_surfaces(), xxmc_xvmc_free_subpicture(), xxmc_xvmc_free_surface(), xxmc_xvmc_surface_handler_construct(), xxmc_xvmc_surface_valid(), and xxmc_xvmc_update_context().
| uint16_t vout_thread_t::i_changes |
changes made to the thread.
Referenced by __vout_Create(), __vout_Request(), aglManage(), AspectCallback(), CloseVideoGL(), cocoaglvoutviewManage(), CommonManage(), CropCallback(), FullscreenCallback(), Init(), Manage(), ManageVideo(), OnTopCallback(), OpenDisplay(), QNXManage(), Render(), RunThread(), VLCVoutView::scaleWindowWithFactor:animate:, ScalingCallback(), and vout_IntfInit().
| unsigned vout_thread_t::b_fullscreen |
toogle fullscreen display
Referenced by __vout_Create(), aglControl(), aglManage(), CloseVideoGL(), cocoaglvoutviewManage(), CommonManage(), CreateVout(), DirectXEventProc(), EventThreadMouseAutoHide(), ExitFullscreen(), Init(), InitWindow(), Manage(), ManageVideo(), OpenDisplay(), OpenVideo(), QNXCreateWnd(), QNXManage(), VLCGLView::resetVout:, ResizeOverlayOutput(), RunQtThread(), VLCVoutView::scaleWindowWithFactor:animate:, ToggleFullScreen(), VLCVoutView::voutView:subView:frame:, and Win32ToggleFullscreen().
| unsigned vout_thread_t::b_autoscale |
auto scaling picture or not
Referenced by __vout_Create(), CommonManage(), CreateVout(), ManageVideo(), vout_IntfInit(), and vout_PlacePicture().
| unsigned vout_thread_t::b_on_top |
stay always on top of other windows
Referenced by Init(), Manage(), OnTopCallback(), and RunThread().
scaling factor if no auto
Referenced by __vout_Create(), CommonManage(), CreateVout(), ManageVideo(), vout_IntfInit(), and vout_PlacePicture().
| unsigned int vout_thread_t::i_window_width |
video window width
Referenced by Activate(), BeosOpenDisplay(), CommonInit(), Control(), CreateVout(), CropCallback(), VLCVoutWindow::initMainThread:, libvlc_video_get_width(), OpenDisplay(), OpenVideo(), vout_IntfInit(), and ZoomCallback().
| unsigned int vout_thread_t::i_window_height |
video window height
Referenced by Activate(), BeosOpenDisplay(), CommonInit(), Control(), CreateVout(), CropCallback(), VLCVoutWindow::initMainThread:, libvlc_video_get_height(), OpenDisplay(), OpenVideo(), vout_IntfInit(), and ZoomCallback().
| unsigned int vout_thread_t::i_alignment |
video alignment in window
Referenced by __vout_Create(), CreateVout(), Manage(), vout_IntfInit(), and vout_PlacePicture().
Referenced by __vout_Create(), CreateVout(), End(), RunThread(), and vout_Destructor().
| int( * vout_thread_t::pf_init)(vout_thread_t *) |
Referenced by Activate(), Create(), CreateOpenGL(), CreateVout(), Init(), InitThread(), Open(), OpenVideo(), OpenVideoGL(), and RunThread().
| void( * vout_thread_t::pf_end)(vout_thread_t *) |
Referenced by Activate(), CleanThread(), Create(), CreateVout(), InitThread(), Open(), OpenVideo(), OpenVideoGL(), and RunThread().
| int( * vout_thread_t::pf_manage)(vout_thread_t *) |
Referenced by Activate(), Create(), CreateVout(), Manage(), Open(), OpenVideo(), OpenVideoGL(), and RunThread().
| void( * vout_thread_t::pf_render)(vout_thread_t *, picture_t *) |
Referenced by Activate(), Create(), CreateVout(), Open(), OpenVideo(), and RunThread().
| void( * vout_thread_t::pf_display)(vout_thread_t *, picture_t *) |
Referenced by Activate(), aglControl(), aglReshape(), Create(), CreateVout(), FirstDisplay(), FirstDisplayGDI(), Open(), OpenVideo(), VLCOpenGLVoutView::reshape, and RunThread().
| void( * vout_thread_t::pf_swap)(vout_thread_t *) |
Referenced by CreateOpenGL(), DisplayVideo(), FirstSwap(), and OpenVideoGL().
| int( * vout_thread_t::pf_lock)(vout_thread_t *) |
Referenced by DisplayVideo(), End(), Init(), Manage(), OpenVideoGL(), and Render().
| void( * vout_thread_t::pf_unlock)(vout_thread_t *) |
Referenced by DisplayVideo(), End(), Init(), Manage(), OpenVideoGL(), and Render().
| int( * vout_thread_t::pf_control)(vout_thread_t *, int, va_list) |
Referenced by __vout_Create(), Activate(), Create(), CreateVout(), Open(), OpenVideo(), and OpenVideoGL().
rendered pictures
Referenced by __vout_Create(), __vout_Request(), Activate(), AspectCallback(), ChromaCreate(), CreateVout(), DirectXCreateSurface(), DirectXCreateWindow(), Init(), InitBuffers(), InitThread(), InitVideo(), Manage(), VLCView::MouseMoved(), Open(), OpenFilter(), OpenVideo(), QNXInit(), RenderBlend(), RenderBob(), RenderDiscard(), SetFilterMethod(), UpdateRects(), vout_CountPictureAvailable(), vout_CreatePicture(), vout_FixLeaks(), vout_Flush(), vout_new_buffer(), vout_OSDIcon(), vout_OSDSlider(), and WindowEventHandler().
direct buffers
Referenced by __vout_Create(), Activate(), ChromaCreate(), CommonManage(), Display(), DisplayVideo(), FilterCallback(), Init(), InitThread(), InitVideo(), Manage(), ManageVideo(), MouseEvent(), NewPicture(), NewPictureVec(), QNXCreateWnd(), QNXDisplay(), QNXInit(), QNXInitDisplay(), QNXManage(), Render(), ResizeOverlayOutput(), UpdatePictureStruct(), UpdateStats(), vout_filter_AllocateDirectBuffers(), and xxmc_setup_subpictures().
Referenced by __vout_Create(), __vout_Request(), AspectCallback(), ChromaCreate(), CreateVout(), CropCallback(), Init(), InitThread(), Manage(), Open(), and RunThread().
Referenced by __vout_Create(), __vout_OSDMessage(), __vout_Request(), AspectCallback(), CommonManage(), Create(), CreateVout(), CropCallback(), DisplayTitleOnOSD(), EventThread(), GetVideoSize(), Init(), InitThread(), InitVideo(), InitWindowSize(), VLCVoutLayer::layerWithVout:, Manage(), ManageVideo(), MouseEvent(), Render(), vout_OSDIcon(), vout_OSDSlider(), vout_PlacePicture(), and vout_RenderPicture().
| picture_t vout_thread_t::p_picture[2 *16+1] |
pictures
Referenced by __vout_Create(), CleanThread(), End(), Init(), InitThread(), InitVideo(), QNXInit(), RunThread(), vout_filter_AllocateDirectBuffers(), and vout_RenderPicture().
Referenced by __vout_Create(), Create(), Open(), and vout_Destructor().
Referenced by __vout_Create(), __vout_Request(), AspectCallback(), ChromaCreate(), ChromaDestroy(), CleanThread(), DeinterlaceEnable(), DestroyPicture(), DisplayTitleOnOSD(), EndThread(), ErrorThread(), InitThread(), RunThread(), TitlePositionCallback(), TitleShowCallback(), TitleTimeoutCallback(), VideoFilter2Callback(), vout_ChangePause(), vout_Close(), vout_Destructor(), vout_DisplayPicture(), vout_DisplayTitle(), vout_DropPicture(), vout_FixLeaks(), vout_Flush(), vout_GetResetStatistic(), vout_GetSnapshot(), vout_IntfInit(), vout_NextPicture(), vout_RenderPicture(), and vout_SendDisplayEventMouse().
1.5.6