Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewrabert/jellium-desktop
/ functions
Functions
2,547 in github.com/andrewrabert/jellium-desktop
⨍
Functions
2,547
◇
Types & classes
414
↓ 1 callers
Function
jfn_mpv_toggle_pause
()
src/mpv/src/api.rs:295
↓ 1 callers
Function
jfn_mpv_wait_event
Pumps libmpv's event queue. Returns the raw `mpv_event*` libmpv owns; valid only until the next call on the same handle. NULL if the handle is missing
src/mpv/src/api.rs:217
↓ 1 callers
Function
jfn_overlay_init
Create the overlay layer over `main_layer`, install handlers, load the overlay URL. Called once after the main browser is created.
src/jfn_cef/src/business_overlay.rs:38
↓ 1 callers
Function
jfn_playback_ingest_mpv_event_owned
Returns flag bits — see [`INGEST_FLAG_SHUTDOWN`].
src/playback/src/ingest_driver.rs:79
↓ 1 callers
Function
jfn_playback_init
()
src/playback/src/ffi.rs:45
↓ 1 callers
Function
jfn_playback_observe_mpv_properties
Register the property observations whose IDs are dispatched by the ingest layer. Backend selection skips `osd-dimensions`, `fullscreen`, and `window-m
src/playback/src/ingest_driver.rs:164
↓ 1 callers
Function
jfn_playback_reconcile_window_mode
Reconcile the playback window mode from the current window snapshot. Idempotent — the state machine dedupes, so an unchanged mode emits nothing.
src/playback/src/ingest_driver.rs:95
↓ 1 callers
Function
jfn_playback_seed_display_hz_sync
Sync mpv read for `display-fps`; seeds the `display_hz` cache from a non-event context. Must not be called from inside an mpv event callback — sync pr
src/playback/src/ingest_driver.rs:222
↓ 1 callers
Function
jfn_playback_set_browsers_refresh_rate_handler
Install / clear the browsers.setRefreshRate handler.
src/playback/src/browser_sink.rs:26
↓ 1 callers
Function
jfn_playback_set_fullscreen_handler
Install the platform fullscreen-state thunk. Invoked from the Rust event thread when the `fullscreen` property changes.
src/playback/src/ingest_driver.rs:281
↓ 1 callers
Function
jfn_playback_set_idle_inhibit_handler
Install the platform idle-inhibit setter. `cb == None` disables the sink.
src/playback/src/idle_inhibit_sink.rs:23
↓ 1 callers
Function
jfn_playback_set_scale_provider
Install the per-event scale provider used when normalizing OSD dimensions. Must return the device pixel scale (> 0); zero or negative is substituted w
src/playback/src/ingest_driver.rs:288
↓ 1 callers
Function
jfn_playback_set_shutdown_handler
Install the `MPV_EVENT_SHUTDOWN` handler.
src/playback/src/ingest_driver.rs:304
↓ 1 callers
Function
jfn_playback_set_theme_video_mode_handler
Install the ThemeColor::setVideoMode setter. `cb == None` disables.
src/playback/src/theme_color_sink.rs:19
↓ 1 callers
Function
jfn_playback_set_web_exec_js_handler
Install / clear the exec_js callback. `cb == None` clears.
src/playback/src/exec_js.rs:27
↓ 1 callers
Function
jfn_playback_shutdown
()
src/playback/src/ffi.rs:87
↓ 1 callers
Function
jfn_playback_start_mpv_event_thread
Spawn the Rust-owned mpv event thread. The thread blocks in `mpv_wait_event(-1)` on the handle returned by `jfn_mpv::boot::current_raw_handle()`, deco
src/playback/src/ingest_driver.rs:337
↓ 1 callers
Function
jfn_playback_stop_mpv_event_thread
Stop the Rust-owned mpv event thread and join it. Idempotent. `mpv_wakeup` is called on the live handle so the in-flight `mpv_wait_event` returns imme
src/playback/src/ingest_driver.rs:368
↓ 1 callers
Function
jfn_playback_was_maximized_before_fullscreen
Geometry-save tail reads this at shutdown.
src/playback/src/browser_sink.rs:35
↓ 1 callers
Function
jfn_playback_window_extent
Last known window extent — coherent (logical, physical, scale) from the most recent osd-dimensions digest.
src/playback/src/ingest_driver.rs:74
↓ 1 callers
Function
jfn_shutdown_fanout
Signal every registered waker. Called from the manager once it observes shutdown — never from a signal handler (this locks a mutex).
src/playback/src/shutdown.rs:54
↓ 1 callers
Function
jfn_shutdown_register_waker
Register a wake event that will be signaled when the shutdown manager fans out (`jfn_shutdown_fanout`). One uniform observation pattern across long-li
src/playback/src/shutdown.rs:47
↓ 1 callers
Function
jfn_shutdown_set_handler
Install (or clear, with `None`) the callback invoked exactly once on the first [`jfn_shutdown_initiate`] call. The callback runs inline on the calling
src/playback/src/shutdown.rs:34
↓ 1 callers
Function
jfn_theme_color_init
Initialise the process-wide theme color singleton. Calling a second time replaces the previous state — the new sink callbacks take effect on the next
src/color/src/theme.rs:74
↓ 1 callers
Function
jfn_theme_color_on_color
(rgb: u32)
src/color/src/theme.rs:104
↓ 1 callers
Function
jfn_theme_color_on_overlay_dismissed
()
src/color/src/theme.rs:114
↓ 1 callers
Function
jfn_theme_color_set_video_bg
(rgb: u32)
src/color/src/theme.rs:94
↓ 1 callers
Function
jfn_theme_color_shutdown
()
src/color/src/theme.rs:135
↓ 1 callers
Function
jfn_web_exec_js
Execute JS in the main web layer. Called by the playback browser sink. # Safety `js_utf8` must be a NUL-terminated UTF-8 pointer, or null.
src/jfn_cef/src/business_web.rs:87
↓ 1 callers
Function
jfn_web_init
(layer: *mut JfnCefLayer)
src/jfn_cef/src/business_web.rs:61
↓ 1 callers
Function
jfn_win_begin_transition_locked
Called by `win_begin_transition` (in lib.rs) — replaces the old `win_begin_transition_impl` C++ helper. Takes STATE lock then runs the locked routine.
src/windows/src/compositor.rs:689
↓ 1 callers
Function
jfn_win_cleanup_compositor
Release all surfaces + devices. Called from win_cleanup (C++) after the WndProc hook is unhooked and the input thread is joined.
src/windows/src/compositor.rs:203
↓ 1 callers
Function
jfn_win_get_hwnd
`jfn_win_get_hwnd` — returns mpv's HWND; nullptr before win_init or after cleanup.
src/windows/src/platform.rs:90
↓ 1 callers
Function
jfn_win_init_compositor
Build D3D11 + DXGI + DComp devices and the root visual. Returns false on failure with the partial state torn down.
src/windows/src/compositor.rs:139
↓ 1 callers
Function
jfn_win_update_surface_size
Called from the WndProc on WM_SIZE: stores mpv's current physical size (used by oversized-buffer rejection), records the logical size while a transiti
src/windows/src/compositor.rs:712
↓ 1 callers
Function
jfn_win_wndproc_end_transition_locked
()
src/windows/src/compositor.rs:733
↓ 1 callers
Function
jfn_windows_sink_start
Convenience entry: queries mpv for the window-id and starts the sink.
src/windows_sink/src/lib.rs:43
↓ 1 callers
Function
jfn_windows_sink_start_for
Start the sink. `hwnd_raw` is the HWND of the mpv window — required to bind SMTC via ISystemMediaTransportControlsInterop::GetForWindow.
src/windows_sink/src/lib.rs:38
↓ 1 callers
Function
jfn_windows_sink_stop
()
src/windows_sink/src/lib.rs:54
↓ 1 callers
Function
jfn_x11_alloc_surface
()
src/x11/src/surface.rs:131
↓ 1 callers
Function
jfn_x11_free_surface
(s: *mut PlatformSurface)
src/x11/src/surface.rs:190
↓ 1 callers
Function
jfn_x11_restack
Stack `ordered[0..n]` above the mpv parent, bottom to top.
src/x11/src/surface.rs:526
↓ 1 callers
Function
jfn_x11_surface_present_dmabuf
Present a CEF `OnAcceleratedPaint` dmabuf frame through the GPU worker. Only reached when the dmabuf tier resolved at init (`use_dmabuf`). The caller
src/x11/src/surface.rs:230
↓ 1 callers
Function
jfn_x11_surface_present_software
( s: *mut PlatformSurface, dirty: *const JfnRect, dirty_len: usize, buffer: *const c_void,
src/x11/src/surface.rs:391
↓ 1 callers
Function
jfn_x11_surface_resize
( s: *mut PlatformSurface, _lw: c_int, _lh: c_int, pw: c_int, ph: c_int, )
src/x11/src/surface.rs:424
↓ 1 callers
Function
jfn_x11_surface_set_visible
(s: *mut PlatformSurface, visible: bool)
src/x11/src/surface.rs:476
↓ 1 callers
Method
join
(&mut self)
src/x11/src/geometry.rs:33
↓ 1 callers
Function
join_csv
(items: &[String])
src/jellyfin/src/lib.rs:112
↓ 1 callers
Function
keyboard_modifiers
(wp: WPARAM, lp: LPARAM)
src/windows/src/input.rs:155
↓ 1 callers
Function
keysym_to_vkey
(sym: u32)
src/linux_util/src/keysym.rs:13
↓ 1 callers
Method
label
(self)
src/logging/src/lib.rs:63
↓ 1 callers
Function
landscape
()
src/wayland/src/scale_probe.rs:236
↓ 1 callers
Function
last_input_serial
()
src/wayland/src/input.rs:98
↓ 1 callers
Method
latest_type
(&self)
src/x11/src/input.rs:68
↓ 1 callers
Function
layer_surface
The synchronized subsurface stays owned by its PlatformSurface (the raw object never escapes); only the sibling surface handle is cloned out for resta
src/wayland/src/scene/sink.rs:31
↓ 1 callers
Function
level_to_local_level
(l: &tracing::Level)
src/logging/src/lib.rs:668
↓ 1 callers
Function
library_path
(build_dir: &Path)
src/xtask/src/mpv.rs:87
↓ 1 callers
Function
lifecycle_cleanup
()
src/wayland/src/input_lifecycle.rs:41
↓ 1 callers
Function
lifecycle_init
(display: *mut c_void)
src/wayland/src/input_lifecycle.rs:36
↓ 1 callers
Function
list_int
(args: &ListValue, idx: usize)
src/jfn_cef/src/window_controls.rs:23
↓ 1 callers
Function
listener_loop
(instance_id: String, cb: Callback)
src/windows/src/process.rs:94
↓ 1 callers
Function
listener_loop
(cb: Callback)
src/platform_abi/src/process_unix.rs:164
↓ 1 callers
Method
live
(&self)
src/compositor_core/src/stack.rs:123
↓ 1 callers
Function
live_overlay_windows
()
src/x11/src/input.rs:556
↓ 1 callers
Method
load
(lib: &Library)
src/linux_util/src/dmabuf_probe.rs:365
↓ 1 callers
Function
locate_header
(include_dirs: &[PathBuf])
src/mpv/build.rs:195
↓ 1 callers
Function
log_dir
()
src/paths/src/lib.rs:105
↓ 1 callers
Function
log_dir_path
()
src/paths/src/imp_macos.rs:14
↓ 1 callers
Function
log_mpv_versions
()
src/jfn_rust/src/app.rs:104
↓ 1 callers
Function
log_severity_from_int
(v: c_int)
src/jfn_cef/src/ffi.rs:232
↓ 1 callers
Method
logical_content_size
(&self)
src/macos/src/mpv_host.rs:88
↓ 1 callers
Method
lookup
(&self, keycode: u8)
src/x11/src/menu/mod.rs:410
↓ 1 callers
Function
loword_u32
(v: u32)
src/windows/src/input.rs:93
↓ 1 callers
Function
macos_alloc_surface
()
src/macos/src/compositor.rs:652
↓ 1 callers
Function
macos_begin_transition
()
src/macos/src/lib.rs:233
↓ 1 callers
Function
macos_clamp_window_geometry
Clamp the saved (w, h, x, y) window geometry — in backing pixels, relative to the main screen's visible frame — so the window stays fully on-screen. C
src/macos/src/lib.rs:261
↓ 1 callers
Function
macos_cleanup
()
src/macos/src/init.rs:807
↓ 1 callers
Function
macos_clipboard_read_text_async
(on_done: Box<dyn FnOnce(&str) + Send>)
src/macos/src/lib.rs:507
↓ 1 callers
Function
macos_early_init
()
src/macos/src/init.rs:832
↓ 1 callers
Function
macos_end_transition
()
src/macos/src/lib.rs:16
↓ 1 callers
Function
macos_free_surface
(s: *mut c_void)
src/macos/src/compositor.rs:682
↓ 1 callers
Function
macos_get_display_scale
Backing scale factor of the main screen. Args are unused — the C++ original ignored them too because a saved (x, y) in backing pixels can't be unambig
src/macos/src/lib.rs:246
↓ 1 callers
Function
macos_get_scale
Backing scale factor of `g_window`'s screen. Falls back to the main screen pre-window so default-geometry sizing at startup gets a real value instead
src/macos/src/lib.rs:184
↓ 1 callers
Function
macos_in_transition
()
src/macos/src/lib.rs:238
↓ 1 callers
Function
macos_init
(_mpv: *mut c_void)
src/macos/src/init.rs:606
↓ 1 callers
Method
macos_logical_size
(&self)
src/playback/src/ingest.rs:351
↓ 1 callers
Function
macos_open_external_url
Open an external URL via NSWorkspace.
src/macos/src/lib.rs:547
↓ 1 callers
Function
macos_query_window_position
Query the saved window position in backing pixels, relative to the screen's visible frame (excluding menu bar / dock), Y measured from the top. Lossle
src/macos/src/lib.rs:204
↓ 1 callers
Function
macos_restack
(ordered: *const *mut c_void, n: usize)
src/macos/src/compositor.rs:788
↓ 1 callers
Function
macos_run_blocking
Run `f` on a side thread while the main thread pumps CFRunLoop until it completes. Work that does `DispatchQueue.main.sync` (e.g. mpv's VO uninit duri
src/macos/src/lib.rs:481
↓ 1 callers
Function
macos_run_main_loop
Block on the NSApplication run loop. Returns when wake_main_loop calls `[NSApp stop:]`. `[NSApp run]` is the canonical Cocoa main loop and properly se
src/macos/src/lib.rs:385
↓ 1 callers
Function
macos_set_expected_size
(w: c_int, h: c_int)
src/macos/src/compositor.rs:648
↓ 1 callers
Function
macos_set_fullscreen
(fullscreen: bool)
src/macos/src/lib.rs:311
↓ 1 callers
Function
macos_set_idle_inhibit
(level: c_int)
src/macos/src/lib.rs:121
↓ 1 callers
Function
macos_set_theme_color
Tint AppKit fills behind mpv's CAMetalLayer / NSWindow root so the resize-gap stale-texture window (which CLAUDE.md explicitly accepts over stretching
src/macos/src/lib.rs:68
↓ 1 callers
Function
macos_surface_present
(s: *mut c_void, raw_info: *const c_void)
src/macos/src/compositor.rs:710
↓ 1 callers
Function
macos_surface_present_software
( _s: *mut c_void, _dirty: *const JfnRect, _dirty_len: usize, _buffer: *const c_void, _w:
src/macos/src/lib.rs:282
↓ 1 callers
Function
macos_surface_resize
(s: *mut c_void, lw: c_int, _lh: c_int, pw: c_int, ph: c_int)
src/macos/src/compositor.rs:739
↓ 1 callers
Function
macos_surface_set_visible
(s: *mut c_void, visible: bool)
src/macos/src/compositor.rs:775
↓ 1 callers
Function
macos_toggle_fullscreen
()
src/macos/src/lib.rs:318
← previous
next →
1,001–1,100 of 2,547, ranked by callers