Data Structures | |
| struct | vlc_object_t |
| The main vlc_object_t structure. More... | |
VLC_COMMON_MEMBERS these members are common for all vlc objects | |
| const char * | vlc_object_t::psz_object_type |
| char * | vlc_object_t::psz_header |
| int | vlc_object_t::i_flags |
| volatile bool | vlc_object_t::b_error |
| set by the object | |
| volatile bool | vlc_object_t::b_die |
| set by the outside | |
| bool | vlc_object_t::b_force |
| set by the outside (eg. | |
| bool | vlc_object_t::be_sure_to_add_VLC_COMMON_MEMBERS_to_struct |
| Just a reminder so that people don't cast garbage. | |
| libvlc_int_t * | vlc_object_t::p_libvlc |
| (root of all evil) - 1 | |
| vlc_object_t * | vlc_object_t::p_parent |
| our parent | |
Defines | |
| #define | VLC_OBJECT_INPUT (-7) |
| #define | VLC_OBJECT_DECODER (-8) |
| #define | VLC_OBJECT_VOUT (-9) |
| #define | VLC_OBJECT_AOUT (-10) |
| #define | VLC_OBJECT_GENERIC (-666) |
| #define | FIND_PARENT 0x0001 |
| #define | FIND_CHILD 0x0002 |
| #define | FIND_ANYWHERE 0x0003 |
| #define | FIND_STRICT 0x0010 |
| #define | OBJECT_FLAGS_NODBG 0x0001 |
| #define | OBJECT_FLAGS_QUIET 0x0002 |
| #define | OBJECT_FLAGS_NOINTERACT 0x0004 |
| #define | vlc_object_get_name(o) vlc_object_get_name(VLC_OBJECT(o)) |
| #define | vlc_object_create(a, b) __vlc_object_create( VLC_OBJECT(a), b ) |
| #define | vlc_object_set_destructor(a, b) __vlc_object_set_destructor( VLC_OBJECT(a), b ) |
| #define | vlc_object_detach(a) __vlc_object_detach( VLC_OBJECT(a) ) |
| #define | vlc_object_attach(a, b) __vlc_object_attach( VLC_OBJECT(a), VLC_OBJECT(b) ) |
| #define | vlc_object_find(a, b, c) __vlc_object_find( VLC_OBJECT(a),b,c) |
| #define | vlc_object_find_name(a, b, c) vlc_object_find_name( VLC_OBJECT(a),b,c) |
| #define | vlc_object_hold(a) __vlc_object_hold( VLC_OBJECT(a) ) |
| #define | vlc_object_release(a) __vlc_object_release( VLC_OBJECT(a) ) |
| #define | vlc_list_children(a) __vlc_list_children( VLC_OBJECT(a) ) |
| #define | vlc_object_kill(a) __vlc_object_kill( VLC_OBJECT(a) ) |
| #define | vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) ) |
Typedefs | |
| typedef void(* | vlc_destructor_t )(struct vlc_object_t *) |
Functions | |
| void * | __vlc_object_create (vlc_object_t *, int) |
| Allocates and initializes a vlc object. | |
| void | __vlc_object_set_destructor (vlc_object_t *, vlc_destructor_t) |
| Set the destructor of a vlc object. | |
| void | __vlc_object_attach (vlc_object_t *, vlc_object_t *) |
| attach object to a parent object | |
| void | __vlc_object_detach (vlc_object_t *) |
| detach object from its parent | |
| void * | __vlc_object_find (vlc_object_t *, int, int) |
| vlc_object_t * | vlc_object_find_name (vlc_object_t *, const char *, int) |
| Finds a named object and increment its reference count. | |
| void * | __vlc_object_hold (vlc_object_t *) |
| Increment an object reference counter. | |
| void | __vlc_object_release (vlc_object_t *) |
| vlc_list_t * | __vlc_list_children (vlc_object_t *) |
| Gets the list of children of an objects, and increment their reference count. | |
| void | vlc_list_release (vlc_list_t *) |
| char * | vlc_object_get_name (const vlc_object_t *) |
| void | __vlc_object_kill (vlc_object_t *) |
| Requests termination of an object, cancels the object thread, and make the object wait pipe (if it exists) readable. | |
| static bool | vlc_object_alive (const vlc_object_t *obj) |
| #define FIND_ANYWHERE 0x0003 |
Referenced by __aout_VolumeGet(), __aout_VolumeSet(), __vlc_object_find(), __vout_OSDMessage(), aout_EnableFilter(), aout_FindAndRestart(), ChapterMenu::AttachedToWindow(), TitleMenu::AttachedToWindow(), LanguageMenu::AttachedToWindow(), ConfigItem::ConfigItem(), DumpCommand(), FindObject(), FindObjectName(), SeekSlider::MouseUp(), Timer::Notify(), Interface::OnFastStream(), Interface::OnPlayStream(), Interface::OnSlowStream(), Interface::OnVideoOnTop(), OpenDecoder(), PopupMenu(), PreferencesWindow::PreferencesWindow(), RefreshAudioMenu(), RefreshNavigMenu(), RefreshVideoMenu(), Run(), RunIntf(), VLCExtended::sliderActionAdjustImage:, VLCControls::telxNavLink:, VLCControls::telxTransparent:, FileInfo::UpdateFileInfo(), InterfaceWindow::UpdateInterface(), vlc_list_find(), vlc_object_find_name(), vlc_object_search_mode_from_string(), vlclua_spu_channel_clear(), vlclua_spu_channel_register(), vout_Destructor(), vout_OSDIcon(), and vout_OSDSlider().
| #define FIND_CHILD 0x0002 |
Referenced by __var_Command(), __vlc_object_find(), PodcastConfigDialog::accept(), demux_sys_t::EventThread(), FindObject(), FindObjectName(), get_marquee_object(), GetAOut(), GetVideoSize(), HandleKey(), libvlc_toggle_teletext(), libvlc_video_get_teletext(), libvlc_video_set_teletext(), PostProcessSetFilterQuality(), RunIntf(), InputManager::telexSetPage(), InputManager::telexSetTransparency(), vlc_list_find(), vlc_object_find_name(), vlc_object_search_mode_from_string(), and vlclua_fullscreen().
| #define FIND_PARENT 0x0001 |
Referenced by __stream_MemoryNew(), __stream_UrlNew(), Add(), CreateFilter(), DeinterlaceSave(), FilterCallback(), FindObject(), FindObjectName(), InitThread(), LoadFontsFromAttachments(), OpenWindow(), PopupMenu(), Reassemble(), RefreshVideoMenu(), Send(), sout_UpdateStatistic(), spu_Attach(), demux_sys_t::StartUiThread(), and vlc_object_search_mode_from_string().
| #define FIND_STRICT 0x0010 |
Referenced by __vlc_object_find(), and vlc_object_find_name().
| #define OBJECT_FLAGS_NODBG 0x0001 |
Referenced by __vlc_custom_create(), and QueueMsg().
| #define OBJECT_FLAGS_NOINTERACT 0x0004 |
Referenced by __vlc_custom_create(), Create(), dialog_Login(), dialog_ProgressCreate(), dialog_Question(), and dialog_VFatal().
| #define OBJECT_FLAGS_QUIET 0x0002 |
Referenced by __vlc_custom_create(), Create(), and QueueMsg().
| #define vlc_list_children | ( | a | ) | __vlc_list_children( VLC_OBJECT(a) ) |
Referenced by DumpObject(), and ObjectKillChildrens().
| #define vlc_object_alive | ( | a | ) | vlc_object_alive( VLC_OBJECT(a) ) |
Referenced by AccessReadStream(), AVI_IndexCreate(), AVI_PacketSearch(), AVI_StreamChunkFind(), Block(), BlockScan(), Close(), CloseVideoGL(), CommandThread(), Connect(), ControlPop(), ControlSetPosition(), DecoderFlush(), Demux(), Demux_Seekable(), DemuxFile(), DoWork(), Dummy(), en50221_Init(), demux_sys_t::EventThread(), FindLength(), GrabCapture(), InputManager::hasInput(), input_DecoderWaitBuffering(), InputSourceInit(), intf_Create(), intf_DestroyAll(), KillerThread(), libvlc_InternalWait(), LoopInput(), LoopRequest(), MainLoop(), VLCMain::manage, VLCMain::manageIntf:, mms_HeaderMediaRead(), MyThread(), NetFillBuffer(), Timer::Notify(), OpenWithCookies(), OSSThread(), playlist_BothAddInput(), PlaylistVAControl(), Process(), QNXaoutThread(), QNXManage(), Read(), ReadCommand(), ReadCompressed(), Render(), Request(), VLCMain::resetScrollField, ReSynch(), rtp_dgram_recv(), Run(), RunIntf(), RunQtThread(), Seek(), SessionsSetup(), InputManager::setInput(), should_die(), Thread(), ThreadControl(), update_request_thread(), vnc_worker_thread(), VoutsNewPicture(), and WaveOutCallback().
| #define VLC_OBJECT_AOUT (-10) |
| #define vlc_object_attach | ( | a, | |||
| b | ) | __vlc_object_attach( VLC_OBJECT(a), VLC_OBJECT(b) ) |
Referenced by __access_New(), __aout_DecNew(), __demux_New(), __osd_MenuCreate(), __sout_NewInstance(), __spu_Create(), __stream_MemoryNew(), __vlm_New(), __vout_Create(), __vout_Request(), __xml_Create(), Add(), aout_InputNew(), aout_MixerNew(), AppThread(), Callback(), ChromaCreate(), Create(), CreateAndLoadScale(), CreateDecoder(), CreateEncoder(), CreateFilter(), CreateVout(), Filter(), filter_chain_AppendFilterInternal(), filter_NewBlend(), FindArt(), FindFilter(), httpd_TLSHostNew(), Init(), input_item_WriteMeta(), intf_Create(), libvlc_InternalInit(), Open(), OpenDisplay(), OpenFilter(), OpenTextRenderer(), playlist_Export(), RequestAout(), RequestSout(), sout_AccessOutNew(), sout_MuxNew(), sout_StreamNew(), SpuRenderCreateAndLoadText(), sql_Create(), stream_AccessNew(), stream_DemuxNew(), stream_FilterNew(), system_Configure(), tls_ClientCreate(), tls_ServerCreate(), tls_ServerSessionPrepare(), video_splitter_New(), vlc_inhibit_Create(), vlc_sd_Create(), vlm_ControlMediaAdd(), vnc_worker_thread(), vout_display_New(), and vout_window_New().
| #define vlc_object_create | ( | a, | |||
| b | ) | __vlc_object_create( VLC_OBJECT(a), b ) |
Referenced by __aout_New(), Add(), aout_MixerNew(), Atmo_Shutdown(), Callback(), CreateDecoder(), CreateFilter(), CreateVout(), demux_PacketizerNew(), Dummy(), EncodeVideo(), Filter(), gnutls_ServerSessionPrepare(), Init(), Open(), OpenDisplay(), OpenFilter(), OpenTextRenderer(), RenderCursor(), demux_sys_t::StartUiThread(), StateCallback(), Stress(), system_Init(), vnc_worker_thread(), and vout_display_New().
| #define VLC_OBJECT_DECODER (-8) |
| #define vlc_object_detach | ( | a | ) | __vlc_object_detach( VLC_OBJECT(a) ) |
Referenced by __access_New(), __demux_New(), __sout_NewInstance(), __vout_Request(), __xml_Create(), access_Delete(), Add(), aout_FiltersDestroyPipeline(), aout_InputNew(), aout_MixerDelete(), aout_MixerNew(), AppThread(), AStreamDestroy(), Callback(), Close(), CloseFilter(), CloseTextRenderer(), CreateDecoder(), CreateFilter(), CreateVout(), Del(), Delete(), DeleteDecoder(), DeleteEncoder(), DeleteFilter(), demux_Delete(), DStreamDelete(), End(), EndThread(), Filter(), filter_chain_AppendFilterInternal(), filter_chain_DeleteFilterInternal(), filter_DeleteBlend(), FilterRelease(), FindFilter(), gnutls_ServerSessionPrepare(), gnutls_SessionClose(), httpd_TLSHostNew(), Init(), input_resource_SetInput(), Open(), OpenFilter(), ReleaseFilter(), RenderCursor(), RequestAout(), RequestSout(), sout_AccessOutDelete(), sout_AccessOutNew(), sout_MuxDelete(), sout_MuxNew(), sout_StreamDelete(), stop_osdvnc(), stream_AccessNew(), stream_DemuxNew(), system_End(), tls_ClientDelete(), tls_ServerDelete(), video_splitter_Delete(), vlm_ControlMediaAdd(), vlm_ControlMediaDel(), vnc_worker_thread(), vout_display_Delete(), vout_display_New(), vout_window_Delete(), vout_window_New(), and xml_Delete().
| #define vlc_object_find | ( | a, | |||
| b, | |||||
| c | ) | __vlc_object_find( VLC_OBJECT(a),b,c) |
Referenced by __aout_VolumeGet(), __aout_VolumeSet(), __stream_MemoryNew(), __stream_UrlNew(), __vlc_object_find(), __vout_OSDMessage(), Add(), aout_EnableFilter(), aout_FindAndRestart(), ChapterMenu::AttachedToWindow(), TitleMenu::AttachedToWindow(), LanguageMenu::AttachedToWindow(), CreateFilter(), DeinterlaceSave(), demux_sys_t::EventThread(), FilterCallback(), GetAOut(), GetVideoSize(), HandleKey(), InitThread(), LoadFontsFromAttachments(), SeekSlider::MouseUp(), Timer::Notify(), Interface::OnFastStream(), Interface::OnPlayStream(), Interface::OnSlowStream(), Interface::OnVideoOnTop(), OpenDecoder(), OpenWindow(), PopupMenu(), Reassemble(), RefreshAudioMenu(), RefreshNavigMenu(), RefreshVideoMenu(), Run(), RunIntf(), Send(), sout_UpdateStatistic(), spu_Attach(), demux_sys_t::StartUiThread(), FileInfo::UpdateFileInfo(), InterfaceWindow::UpdateInterface(), vlclua_fullscreen(), vlclua_object_find(), vlclua_spu_channel_clear(), vlclua_spu_channel_register(), vout_Destructor(), vout_OSDIcon(), and vout_OSDSlider().
| #define vlc_object_find_name | ( | a, | |||
| b, | |||||
| c | ) | vlc_object_find_name( VLC_OBJECT(a),b,c) |
Referenced by __var_Command(), PodcastConfigDialog::accept(), DumpCommand(), get_marquee_object(), libvlc_toggle_teletext(), libvlc_video_get_teletext(), libvlc_video_set_teletext(), PostProcessSetFilterQuality(), RunIntf(), VLCExtended::sliderActionAdjustImage:, InputManager::telexSetPage(), InputManager::telexSetTransparency(), VLCControls::telxNavLink:, VLCControls::telxTransparent:, and vlclua_object_find_name().
| #define VLC_OBJECT_GENERIC (-666) |
Referenced by __access_New(), __demux_New(), __osd_MenuCreate(), __sout_NewInstance(), __spu_Create(), __vlc_object_create(), __vlm_New(), __xml_Create(), aout_InputNew(), ChromaCreate(), CreateAndLoadScale(), CreateFilter(), filter_chain_AppendFilterInternal(), filter_NewBlend(), FindArt(), FindFilter(), httpd_TLSHostNew(), input_item_WriteMeta(), InputSourceMeta(), intf_Create(), libvlc_InternalCreate(), playlist_Create(), playlist_Export(), sout_AccessOutNew(), sout_EncoderCreate(), sout_MuxNew(), sout_StreamNew(), SpuRenderCreateAndLoadText(), sql_Create(), stream_CommonNew(), system_Configure(), tls_ClientCreate(), tls_ServerCreate(), video_splitter_New(), vlc_inhibit_Create(), vlc_object_type_from_string(), vlc_sd_Create(), vlm_ControlMediaAdd(), and vout_window_New().
| #define vlc_object_get_name | ( | o | ) | vlc_object_get_name(VLC_OBJECT(o)) |
Referenced by DumpObject(), objnamecmp(), and PrintObject().
| #define vlc_object_hold | ( | a | ) | __vlc_object_hold( VLC_OBJECT(a) ) |
Referenced by __ACL_Create(), __ACL_Duplicate(), __osd_MenuCreate(), __pl_Hold(), __vlc_list_children(), __vlc_object_attach(), __vlc_object_find(), __vlm_New(), __vout_Request(), access_GetParentInput(), CmdLabeled::CmdLabeled(), demux_GetParentInput(), DemuxOpen(), dialog_GetProvider(), FindObject(), FindObjectName(), HoldAout(), HoldVout(), HoldVouts(), VLCAutoGeneratedMenuContent::initWithVariableName:ofObject:andValue:ofType:, libvlc_get_input_thread(), libvlc_get_vlc_instance(), ListReplace(), MenuItemData::MenuItemData(), onSystrayChange(), onTaskBarChange(), playlist_CurrentInput(), QVLCVariable::QVLCVariable(), request_video(), RequestAout(), set_input(), InputManager::setInput(), FullscreenControllerWidget::setVoutList(), sout_AnnounceRegisterSDP(), vlc_object_find_name(), VLCAutoGeneratedMenuContent::vlcObject, VoutWindow::VoutWindow(), and WindowOpen().
| #define VLC_OBJECT_INPUT (-7) |
Referenced by __stream_MemoryNew(), __stream_UrlNew(), Add(), AReadBlock(), AReadStream(), ChapterMenu::AttachedToWindow(), TitleMenu::AttachedToWindow(), LanguageMenu::AttachedToWindow(), Create(), DeinterlaceSave(), FilterCallback(), InitThread(), LoadFontsFromAttachments(), SeekSlider::MouseUp(), Timer::Notify(), Interface::OnFastStream(), Interface::OnPlayStream(), Interface::OnSlowStream(), OpenDecoder(), PopupMenu(), Reassemble(), RefreshAudioMenu(), RefreshNavigMenu(), RefreshVideoMenu(), Run(), Send(), sout_UpdateStatistic(), spu_Attach(), demux_sys_t::StartUiThread(), FileInfo::UpdateFileInfo(), InterfaceWindow::UpdateInterface(), and vlc_object_type_from_string().
| #define vlc_object_kill | ( | a | ) | __vlc_object_kill( VLC_OBJECT(a) ) |
Referenced by VLCMain::applicationWillTerminate:, AReadBlock(), AReadStream(), Callback(), Close(), CloseEncoder(), Del(), DStreamDelete(), DStreamThread(), input_DecoderDelete(), input_DecoderSetCcState(), intf_Create(), intf_DestroyAll(), libvlc_Quit(), ObjectKillChildrens(), Open(), playlist_Deactivate(), InterfaceWindow::QuitRequested(), Run(), stop_osdvnc(), demux_sys_t::StopUiThread(), CThread::Terminate(), transcode_video_close(), vlc_object_destroy(), vlm_Destructor(), and vnc_worker_thread().
| #define vlc_object_release | ( | a | ) | __vlc_object_release( VLC_OBJECT(a) ) |
Referenced by __access_New(), __aout_VolumeGet(), __aout_VolumeSet(), __demux_New(), __input_CreateAndStart(), __input_Read(), __osd_MenuDelete(), __pl_Release(), __sout_NewInstance(), __str_format_meta(), __stream_MemoryNew(), __stream_UrlNew(), __var_Command(), __vlc_object_detach(), __vlc_object_release(), __vlm_New(), __vout_Create(), __vout_OSDMessage(), __vout_Request(), __xml_Create(), PodcastConfigDialog::accept(), access_Delete(), ACL_Destroy(), Add(), VLCBookmarks::add:, AddCropVariableCallback(), aout_EnableFilter(), aout_FiltersDestroyPipeline(), aout_FindAndRestart(), aout_InputNew(), aout_MixerDelete(), aout_MixerNew(), Atmo_Shutdown(), ChapterMenu::AttachedToWindow(), TitleMenu::AttachedToWindow(), LanguageMenu::AttachedToWindow(), AudioConfig(), QVLCMenu::AudioPopupMenu(), VLCEqualizer::awakeFromNib, VLCEqualizer::bandSliderUpdated:, Callback(), CDDAFixupPlaylist(), CDDAOpen(), VLCExtended::changeAFiltersString:onOrOff:, VLCEqualizer::changePreset:, VLCExtended::changeVideoFiltersString:onOrOff:, VLCExtended::changeVoutFiltersString:onOrOff:, CheckAndStopFadeThread(), ChromaCreate(), ChromaDestroy(), VLCBookmarks::clear:, Close(), CloseEncoder(), CloseFilter(), CloseTextRenderer(), ConfigItem::ConfigItem(), CreateDecoder(), CreateFilter(), CreateVout(), Deactivate(), DecoderProcessSpu(), DeinterlaceSave(), Del(), DelCropVariableCallback(), delete_input(), DeleteDecoder(), DeleteEncoder(), DeleteFilter(), InputManager::delInput(), Demux(), demux_Delete(), demux_PacketizerDestroy(), demux_PacketizerNew(), DemuxOpen(), DestroyAout(), DestroyFilter(), dialog_Login(), dialog_ProgressCreate(), dialog_Question(), dialog_VFatal(), Dummy(), DumpCommand(), VLCBookmarks::edit:, VLCBookmarks::edit_ok:, End(), VLCEmbeddedWindow::enterFullscreen, VLCEqualizer::equalizerUpdated, EvaluateRPN(), EventIntf(), demux_sys_t::EventThread(), CmdUpdateItem::execute(), CmdSnapshot::execute(), CmdFaster::execute(), CmdSlower::execute(), CmdFullscreen::execute(), CmdDvdRootMenu::execute(), CmdDvdPreviousChapter::execute(), CmdDvdNextChapter::execute(), CmdDvdPreviousTitle::execute(), CmdDvdNextTitle::execute(), CmdLabeled::execute_on(), VLCBookmarks::extract:, Filter(), filter_chain_AppendFilterInternal(), filter_chain_DeleteFilterInternal(), filter_DeleteBlend(), FilterCallback(), FilterRelease(), FindArt(), FindFilter(), ActionsManager::fullscreen(), get_marquee_object(), getAout(), GetCurrentItem(), GetVideoSize(), GetVout(), getVout(), gnutls_ServerSessionPrepare(), gnutls_SessionClose(), VLCBookmarks::goToBookmark:, VLCControls::goToSpecificTime:, HandleKey(), httpd_TLSHostNew(), Init(), Input(), input_DecoderDelete(), input_DecoderNew(), input_DecoderSetCcState(), input_item_WriteMeta(), input_Preparse(), InputChange(), InputSourceMeta(), intf_Create(), intf_DestroyAll(), ItemChange(), VLCControls::keyEvent:, libvlc_audio_get_channel(), libvlc_audio_get_track(), libvlc_audio_get_track_count(), libvlc_audio_output_get_device_type(), libvlc_audio_output_set_device_type(), libvlc_audio_set_channel(), libvlc_audio_set_track(), libvlc_get_fullscreen(), libvlc_get_track_description(), libvlc_InternalCleanup(), libvlc_InternalDestroy(), libvlc_media_player_can_pause(), libvlc_media_player_get_chapter(), libvlc_media_player_get_chapter_count(), libvlc_media_player_get_chapter_count_for_title(), libvlc_media_player_get_fps(), libvlc_media_player_get_length(), libvlc_media_player_get_position(), libvlc_media_player_get_rate(), libvlc_media_player_get_state(), libvlc_media_player_get_time(), libvlc_media_player_get_title(), libvlc_media_player_get_title_count(), libvlc_media_player_has_vout(), libvlc_media_player_is_seekable(), libvlc_media_player_next_chapter(), libvlc_media_player_next_frame(), libvlc_media_player_pause(), libvlc_media_player_play(), libvlc_media_player_previous_chapter(), libvlc_media_player_set_chapter(), libvlc_media_player_set_position(), libvlc_media_player_set_rate(), libvlc_media_player_set_time(), libvlc_media_player_set_title(), libvlc_media_player_will_play(), libvlc_set_fullscreen(), libvlc_toggle_fullscreen(), libvlc_toggle_teletext(), libvlc_video_get_aspect_ratio(), libvlc_video_get_crop_geometry(), libvlc_video_get_height(), libvlc_video_get_marquee_option_as_int(), libvlc_video_get_marquee_option_as_string(), libvlc_video_get_scale(), libvlc_video_get_spu(), libvlc_video_get_spu_count(), libvlc_video_get_teletext(), libvlc_video_get_track(), libvlc_video_get_track_count(), libvlc_video_get_width(), libvlc_video_set_aspect_ratio(), libvlc_video_set_crop_geometry(), libvlc_video_set_deinterlace(), libvlc_video_set_marquee_option_as_int(), libvlc_video_set_marquee_option_as_string(), libvlc_video_set_scale(), libvlc_video_set_spu(), libvlc_video_set_subtitle_file(), libvlc_video_set_teletext(), libvlc_video_set_track(), libvlc_video_take_snapshot(), LoadFontsFromAttachments(), LoopInput(), MacroDo(), VLCMain::manage, VLCMain::manageIntf:, MarshalStatus(), mediacontrol_display_text(), mediacontrol_snapshot(), Menu(), MMSHOpen(), SeekSlider::MouseUp(), Timer::Notify(), VlcProc::on_intf_event_changed(), Interface::OnFastStream(), OnMenuEvent(), Interface::OnPlayStream(), Interface::OnSlowStream(), onSystrayChange(), onTaskBarChange(), Interface::OnVideoOnTop(), VLCExtended::opaqueSliderAction:, Open(), OpenDecoder(), OpenDisplay(), OpenFilter(), OpenWindow(), ParseExecute(), Play(), PlayItem(), Playlist(), playlist_Export(), PopupMenu(), QVLCMenu::PopupMenu(), PositionGet(), PositionSet(), PostProcessSetFilterQuality(), VLCEqualizer::preampSliderUpdated:, PutAction(), ReadMetaData(), Reassemble(), Redraw(), RefreshAudioMenu(), RefreshMenu(), RefreshNavigMenu(), RefreshVideoMenu(), VLCMain::refreshVoutDeviceMenu:, release_input_thread(), release_video(), ReleaseFilter(), VLCBookmarks::remove:, RenderCursor(), RequestAout(), VLCMain::resetScrollField, Run(), RunIntf(), Send(), EqualizerPreamp::set(), VLCMain::setupMenus, FullscreenControllerWidget::setVoutList(), VLCControls::showPosition:, VLCExtended::sliderActionAdjustImage:, VLCExtended::sliderActionMaximumAudioLevel:, ActionsManager::snapshot(), sout_AccessOutDelete(), sout_AccessOutNew(), sout_AnnounceUnRegister(), sout_DeleteInstance(), sout_InputNew(), sout_MuxDelete(), sout_MuxNew(), sout_StreamDelete(), sout_UpdateStatistic(), Spatializer::Spatializer(), spu_Attach(), spu_del_buffer(), spu_Destroy(), spu_new_buffer(), sql_Create(), sql_Destroy(), StateCallback(), StateChange(), Statistics(), stop_osdvnc(), demux_sys_t::StopUiThread(), stream_CommonDelete(), stream_CommonNew(), Stress(), system_Configure(), system_End(), InputManager::telexSetPage(), InputManager::telexSetTransparency(), VLCControls::telxNavLink:, VLCControls::telxTransparent:, VLCMain::timesliderUpdate:, tls_ClientCreate(), tls_ClientDelete(), tls_ServerCreate(), tls_ServerDelete(), VLCControls::toggleVarThread:, TrackChange(), VLCEqualizer::twopass:, UpdateCaps(), InterfaceWindow::UpdateInterface(), VLCVoutView::updateTitle, Equalizer::updateUIFromCore(), VCDClose(), VCDOpen(), video_splitter_Delete(), VideoConfig(), QVLCMenu::VideoPopupMenu(), vlc_inhibit_Create(), vlc_inhibit_Destroy(), vlc_list_release(), vlclua_fullscreen(), vlclua_gc_release(), vlclua_get_title(), vlclua_input_info(), vlclua_playlist_current(), vlclua_playlist_status(), vlclua_release_playlist_internal(), vlclua_spu_channel_clear(), vlclua_spu_channel_register(), vlm_ControlMediaAdd(), vlm_ControlMediaDel(), vlm_ControlMediaInstanceStart(), vlm_Delete(), vlm_MediaInstanceDelete(), vlm_OnMediaUpdate(), vnc_worker_thread(), Volume(), VolumeMove(), vout_Destructor(), vout_display_Delete(), vout_display_New(), vout_OSDIcon(), vout_OSDSlider(), vout_window_Delete(), vout_window_New(), WaitPreparsed(), VLCControls::windowAction:, WindowClose(), WindowOpen(), WMCOPYWNDPROC(), xml_Delete(), CmdLabeled::~CmdLabeled(), InterfaceWindow::~InterfaceWindow(), MenuItemData::~MenuItemData(), QVLCVariable::~QVLCVariable(), VlcProc::~VlcProc(), and VoutWindow::~VoutWindow().
| #define vlc_object_set_destructor | ( | a, | |||
| b | ) | __vlc_object_set_destructor( VLC_OBJECT(a), b ) |
Referenced by __aout_New(), __vlm_New(), __vout_Create(), Create(), playlist_Create(), sout_AnnounceRegisterSDP(), and vlc_sd_Create().
| #define VLC_OBJECT_VOUT (-9) |
Referenced by __vout_Create(), __vout_OSDMessage(), CreateFilter(), demux_sys_t::EventThread(), GetVideoSize(), HandleKey(), ObjectKillChildrens(), Interface::OnVideoOnTop(), OpenWindow(), PopupMenu(), RefreshVideoMenu(), RunIntf(), vlc_object_type_from_string(), vlclua_fullscreen(), vlclua_spu_channel_clear(), vlclua_spu_channel_register(), vout_Destructor(), vout_OSDIcon(), and vout_OSDSlider().
| typedef void(* vlc_destructor_t)(struct vlc_object_t *) |
| vlc_list_t* __vlc_list_children | ( | vlc_object_t * | obj | ) |
Gets the list of children of an objects, and increment their reference count.
References i, vlc_object_internals_t::i_children, vlc_list_t::i_count, libvlc_lock(), libvlc_unlock(), NewList(), vlc_object_t::p_libvlc, vlc_value_t::p_object, vlc_list_t::p_values, vlc_object_internals_t::pp_children, vlc_internals, and vlc_object_hold.
| void __vlc_object_attach | ( | vlc_object_t * | p_this, | |
| vlc_object_t * | p_parent | |||
| ) |
attach object to a parent object
This function sets p_this as a child of p_parent, and p_parent as a parent of p_this. This link can be undone using vlc_object_detach.
References vlc_object_internals_t::i_children, INSERT_ELEM, libvlc_lock(), libvlc_unlock(), vlc_object_t::p_libvlc, vlc_object_t::p_parent, vlc_object_internals_t::pp_children, vlc_internals, and vlc_object_hold.
| void* __vlc_object_create | ( | vlc_object_t * | p_this, | |
| int | i_type | |||
| ) |
Allocates and initializes a vlc object.
| i_type | known object type (all of them are negative integer values), or object byte size (always positive). |
References psz_type, vlc_custom_create, VLC_OBJECT_AOUT, VLC_OBJECT_DECODER, and VLC_OBJECT_GENERIC.
| void __vlc_object_detach | ( | vlc_object_t * | p_this | ) |
detach object from its parent
This function removes all links between an object and its parent.
References libvlc_lock(), libvlc_unlock(), vlc_object_t::p_libvlc, vlc_object_t::p_parent, vlc_object_detach_unlocked(), and vlc_object_release.
| void* __vlc_object_find | ( | vlc_object_t * | , | |
| int | , | |||
| int | ||||
| ) |
| void* __vlc_object_hold | ( | vlc_object_t * | ) |
Increment an object reference counter.
References vlc_object_internals_t::i_refcount, vlc_object_internals_t::ref_spin, vlc_internals, vlc_spin_lock, and vlc_spin_unlock.
| void __vlc_object_kill | ( | vlc_object_t * | p_this | ) |
Requests termination of an object, cancels the object thread, and make the object wait pipe (if it exists) readable.
Not a cancellation point.
References vlc_object_t::b_die, msg_Dbg, pipe_lock, vlc_object_internals_t::pipes, vlc_internals, vlc_mutex_lock(), vlc_mutex_unlock(), vlc_restorecancel(), vlc_savecancel(), and vlc_thread_cancel().
| void __vlc_object_release | ( | vlc_object_t * | ) |
References vlc_object_internals_t::i_children, vlc_object_internals_t::i_refcount, libvlc_lock(), libvlc_unlock(), vlc_object_t::p_libvlc, vlc_object_t::p_parent, vlc_object_internals_t::ref_spin, vlc_internals, vlc_object_destroy(), vlc_object_detach_unlocked(), vlc_object_release, vlc_restorecancel(), vlc_savecancel(), vlc_spin_lock, and vlc_spin_unlock.
| void __vlc_object_set_destructor | ( | vlc_object_t * | p_this, | |
| vlc_destructor_t | pf_destructor | |||
| ) |
Set the destructor of a vlc object.
This function sets the destructor of the vlc object. It will be called when the object is destroyed when the its refcount reaches 0. (It is called by the internal function vlc_object_destroy())
References vlc_object_internals_t::pf_destructor, vlc_object_internals_t::ref_spin, vlc_internals, vlc_spin_lock, and vlc_spin_unlock.
| void vlc_list_release | ( | vlc_list_t * | ) |
References vlc_list_t::i_count, vlc_value_t::p_object, vlc_list_t::p_values, and vlc_object_release.
Referenced by ConfigItem::ConfigItem(), DumpObject(), ObjectKillChildrens(), and PreferencesWindow::PreferencesWindow().
| static bool vlc_object_alive | ( | const vlc_object_t * | obj | ) | [inline, static] |
| vlc_object_t* vlc_object_find_name | ( | vlc_object_t * | p_this, | |
| const char * | psz_name, | |||
| int | i_mode | |||
| ) |
Finds a named object and increment its reference count.
Beware that objects found in this manner can be "owned" by another thread, be of _any_ type, and be attached to any module (if any). With such an object reference, you can set or get object variables, emit log messages, and read write-once object parameters (psz_object_type, etc). You CANNOT cast the object to a more specific object type, and you definitely cannot invoke object type-specific callbacks with this.
| p_this | object to search from | |
| psz_name | name of the object to search for | |
| i_mode | search direction: FIND_PARENT, FIND_CHILD or FIND_ANYWHERE. |
References FIND_ANYWHERE, FIND_CHILD, FIND_STRICT, FindObjectName(), libvlc_lock(), libvlc_unlock(), msg_Warn, objnamecmp(), vlc_object_t::p_libvlc, vlc_object_t::p_parent, VLC_OBJECT, and vlc_object_hold.
| char* vlc_object_get_name | ( | const vlc_object_t * | ) |
References name, name_lock, vlc_object_internals_t::psz_name, strdup(), vlc_internals, vlc_mutex_lock(), and vlc_mutex_unlock().
volatile bool vlc_object_t::b_die [inherited] |
set by the outside
Referenced by __net_Write(), __vlc_custom_create(), __vlc_object_kill(), Stress(), and vlc_object_waitpipe().
volatile bool vlc_object_t::b_error [inherited] |
bool vlc_object_t::b_force [inherited] |
set by the outside (eg.
Referenced by __module_need(), __vlc_custom_create(), CDDAOpen(), and Open().
bool vlc_object_t::be_sure_to_add_VLC_COMMON_MEMBERS_to_struct [inherited] |
Just a reminder so that people don't cast garbage.
int vlc_object_t::i_flags [inherited] |
Referenced by __vlc_custom_create(), dialog_Login(), dialog_ProgressCreate(), dialog_Question(), dialog_VFatal(), and QueueMsg().
libvlc_int_t* vlc_object_t::p_libvlc [inherited] |
(root of all evil) - 1
Referenced by __aout_ToggleMute(), __aout_VolumeSet(), __aout_VolumeUp(), __config_AddIntf(), __config_ExistIntf(), __config_RemoveIntf(), __GetBridge(), __msg_DisableObjectPrinting(), __msg_EnableObjectPrinting(), __osd_MenuCreate(), __osd_MenuDelete(), __pl_Hold(), __pl_Release(), __stats_TimerClean(), __stats_TimerDump(), __stats_TimersCleanAll(), __stats_TimersDumpAll(), __stats_TimerStart(), __stats_TimerStop(), __var_Command(), __vlc_custom_create(), __vlc_list_children(), __vlc_object_attach(), __vlc_object_detach(), __vlc_object_find(), __vlc_object_release(), __vlm_New(), AcquireDrawable(), AddIntfCallback(), AppThread(), Close(), config_OpenConfigFile(), dialog_GetProvider(), dialog_Register(), dialog_Unregister(), DumpCommand(), httpd_TLSHostNew(), InheritValue(), input_item_NewWithType(), Intf(), intf_Create(), Open(), OpenIn(), OpenOut(), osd_Find(), osd_GetMutex(), osd_VolumeStep(), playlist_Create(), PrintMsg(), ProcessKeyEvent(), QueueMsg(), Quit(), VlcApplication::QuitRequested(), ReleaseDrawable(), sap_destroy(), sout_AnnounceRegisterSDP(), sout_AnnounceUnRegister(), vlc_list_find(), vlc_object_destroy(), vlc_object_find_name(), vlclua_libvlc_command(), vlclua_quit(), vout_Destructor(), and WindowOpen().
vlc_object_t* vlc_object_t::p_parent [inherited] |
our parent
Referenced by __vlc_custom_create(), __vlc_object_attach(), __vlc_object_detach(), __vlc_object_release(), AReadBlock(), AReadStream(), FindObject(), FindObjectName(), InheritValue(), MyThread(), PrintObject(), QueueMsg(), system_End(), update_request_thread(), vlc_object_destroy(), vlc_object_detach_unlocked(), vlc_object_find_name(), and vnc_worker_thread().
char* vlc_object_t::psz_header [inherited] |
Referenced by __vlc_custom_create(), QueueMsg(), and vlc_object_destroy().
const char* vlc_object_t::psz_object_type [inherited] |
Referenced by __vlc_custom_create(), DumpObject(), PrintObject(), and QueueMsg().
1.5.6