Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LizardByte/Sunshine
/ functions
Functions
1,762 in github.com/LizardByte/Sunshine
⨍
Functions
1,762
◇
Types & classes
599
↓ 1 callers
Method
apply_colorspace
* @brief Apply the configured colorspace metadata to the active frame. */
src/video.cpp:265
↓ 1 callers
Method
apply_colorspace
* @brief Apply the configured colorspace metadata to the active frame. */
src/platform/linux/cuda.cpp:232
↓ 1 callers
Function
apply_config
* @brief Apply parsed configuration entries to the global runtime configuration. * * @param vars Parsed configuration entries; consumed keys are
src/config.cpp:1483
↓ 1 callers
Function
apply_result_name
src/display_device.cpp:152
↓ 1 callers
Function
apply_shortcut
* @brief Apply shortcut based on VKEY * @param keyCode The VKEY code * @return 0 if no shortcut applied, > 0 if shortcut applied. */
src/input.cpp:272
↓ 1 callers
Function
audio_control
* @brief Create the platform audio controller. */
src/platform/linux/audio.cpp:678
↓ 1 callers
Function
batch
* @brief Batch two relative mouse messages. * @param dest The original packet to batch into. * @param src A later packet to attempt to batch.
src/input.cpp:1450
↓ 1 callers
Function
battery
* @brief Apply controller battery status to the backend device. */
src/platform/linux/input/inputtino_gamepad.cpp:274
↓ 1 callers
Method
bind
* @brief Bind the underlying socket or graphics resource to its target. * * @param af Address family used for socket creation or binding.
src/rtsp.cpp:484
↓ 1 callers
Function
blend_cursor_monochrome
* @brief Blend a monochrome cursor shape into a RAM frame. * * @param cursor Cursor image or visibility state to composite. * @param img Imag
src/platform/windows/display_ram.cpp:34
↓ 1 callers
Method
block
src/platform/linux/graphics.cpp:176
↓ 1 callers
Function
browseDirectory
* @brief Browse the server filesystem. * @param response The HTTP response object. * @param request The HTTP request object. * @note On Windo
src/confighttp.cpp:1672
↓ 1 callers
Function
button
* @brief Press or release a virtual mouse button. */
src/platform/linux/input/inputtino_mouse.cpp:43
↓ 1 callers
Function
calculate_app_id
src/process.cpp:631
↓ 1 callers
Function
calculate_sha256
* @brief Calculate the SHA-256 digest for a file. * * @param filename File path whose contents should be hashed. * @return Lowercase hexadeci
src/process.cpp:584
↓ 1 callers
Method
call
* @brief Call the handler for a given control stream message. * @param type The message type. * @param session The session the message was recei
src/stream.cpp:691
↓ 1 callers
Function
capture_async
* @brief Capture and encode video using the asynchronous capture thread. * * @param mail Session mail bus. * @param config Video configuratio
src/video.cpp:2806
↓ 1 callers
Function
checkEqual
tests/tests_common.h:71
↓ 1 callers
Function
checkNotEqual
tests/tests_common.h:87
↓ 1 callers
Method
check_and_modify_application_profile
src/platform/windows/nvprefs/driver_settings.cpp:216
↓ 1 callers
Method
check_and_modify_global_profile
src/platform/windows/nvprefs/driver_settings.cpp:158
↓ 1 callers
Method
check_default_render_device_changed
* @brief Checks if the default rendering device changed and resets the change flag * @return `true` if the device changed since last call */
src/platform/windows/audio.cpp:553
↓ 1 callers
Function
cleanup
* @brief Run cleanup for completed asynchronous work. */
src/thread_safe.h:866
↓ 1 callers
Method
cleanup
* @brief Run cleanup for completed asynchronous work. */
src/thread_safe.h:844
↓ 1 callers
Method
cleanup_gbm
Cleanup GBM
src/platform/linux/wayland.cpp:267
↓ 1 callers
Method
clear_by_cert
* @brief Clear by cert state. * * @param cert Certificate data or object used by the operation. */
src/rtsp.cpp:672
↓ 1 callers
Method
collect_and_callback_on_interval
* @brief Add one statistic sample and invoke the callback when the interval elapses. * * @param stat Statistic value used to update the trac
src/stat_trackers.h:49
↓ 1 callers
Function
colorspace_from_client_config
* @brief Derive Sunshine colorspace metadata from client stream configuration. */
src/video_colorspace.cpp:28
↓ 1 callers
Function
correlate_to_wayland
* On Wayland, it's not possible to determine the position of the monitor on the desktop with KMS. * Wayland does allow applications to query attach
src/platform/linux/kmsgrab.cpp:1941
↓ 1 callers
Function
create_boost_child_from_results
* @brief Create a `bp::child` object from the results of launching a process. * @param process_launched A boolean indicating if the launch was succ
src/platform/windows/misc.cpp:525
↓ 1 callers
Function
create_creds
* @brief Generate HTTPS credential files from the provided key and certificate paths. */
src/httpcommon.cpp:155
↓ 1 callers
Method
create_encoder
src/nvenc/nvenc_base.cpp:104
↓ 1 callers
Function
create_high_precision_timer
src/platform/windows/misc.cpp:1848
↓ 1 callers
Function
create_high_precision_timer
src/platform/linux/misc.cpp:1318
↓ 1 callers
Function
create_nv12_target
* @brief Create biplanar YUV textures to render into. * @param width Width of the target frame. * @param height Height of the target frame. *
src/platform/linux/graphics.cpp:849
↓ 1 callers
Function
create_startup_info
* @brief Create a `STARTUPINFOEXW` structure for launching a process. * @param file A pointer to a `FILE` object that will be used as the standard
src/platform/windows/misc.cpp:598
↓ 1 callers
Function
create_yuv444_target
* @brief Create YUV444 target. */
src/platform/linux/graphics.cpp:890
↓ 1 callers
Function
creds
src/entry_handler.cpp:38
↓ 1 callers
Method
cuda_failed
src/nvenc/nvenc_d3d11_on_cuda.cpp:244
↓ 1 callers
Method
data
* @brief Return writable access to the FFmpeg packet payload. * * @return Pointer to the first encoded byte in the FFmpeg packet. */
src/video.h:479
↓ 1 callers
Method
data_size
* @brief Return the FFmpeg packet payload length. * * @return Size of the encoded frame payload in bytes. */
src/video.h:488
↓ 1 callers
Method
dec
* @brief Move the iterator to the previous element. */
src/round_robin.h:321
↓ 1 callers
Method
destroy
src/platform/windows/nvprefs/driver_settings.cpp:60
↓ 1 callers
Function
determine_remapping_type
* @brief Determine the ramapping type from the user config. * @param video_config User's video related configuration. * @returns Enum value
src/display_device.cpp:481
↓ 1 callers
Method
dispatch
* @brief Waits up to the specified timeout to dispatch new events on the wl_display. * @param timeout The timeout in milliseconds. * @return `tr
src/platform/linux/wayland.cpp:88
↓ 1 callers
Function
display_names
* @brief List display names accepted by the selected capture backend. */
src/platform/linux/misc.cpp:1133
↓ 1 callers
Function
double_f
* @brief Consume a floating-point setting from the parsed configuration map. * * @param vars Parsed configuration entries; consumed keys are era
src/config.cpp:1233
↓ 1 callers
Function
ds4_buttons
* @brief Converts the standard button flags into DS4 format. * @param gamepad_state The gamepad button/axis state sent from the client. * @retur
src/platform/windows/input.cpp:1425
↓ 1 callers
Function
ds4_dpad
src/platform/windows/input.cpp:1387
↓ 1 callers
Function
ds4_special_buttons
src/platform/windows/input.cpp:1470
↓ 1 callers
Function
ds4_update_state
* @brief Update a DS4 report from Sunshine gamepad state. * @param gamepad The gamepad to update. * @param gamepad_state The gamepad button/axis
src/platform/windows/input.cpp:1505
↓ 1 callers
Method
dxgi_format_to_string
src/platform/windows/display_base.cpp:969
↓ 1 callers
Function
enable_mouse_keys
src/platform/windows/misc.cpp:1231
↓ 1 callers
Function
enable_mouse_keys
* @brief Enable or disable X11 mouse keys for the current session. */
src/platform/linux/misc.cpp:455
↓ 1 callers
Function
encode
src/stream.cpp:806
↓ 1 callers
Function
encode_audio
return bytes written on success return -1 on error
src/stream.cpp:336
↓ 1 callers
Function
encode_avcodec
* @brief Drain encoded packets from an FFmpeg encoder session. * * @param frame_nr Monotonic frame index assigned by the video pipeline. * @p
src/video.cpp:1759
↓ 1 callers
Method
encode_frame
* @brief Submit the next frame to NVENC and return the encoded payload. * * @param frame_index Monotonic frame index assigned by the video p
src/video.cpp:572
↓ 1 callers
Function
encode_nvenc
* @brief Encode one frame through NVENC and queue the resulting packet. * * @param frame_nr Monotonic frame index assigned by the video pipeline
src/video.cpp:1843
↓ 1 callers
Function
encode_run
* @brief Run one encode loop for a display capture stream. * * @param frame_nr Frame counter updated as frames are encoded. * @param mail Ses
src/video.cpp:2333
↓ 1 callers
Function
encode_run_sync
* @brief Run synchronized capture and encoding. * * @param synced_session_ctxs Active synchronized session contexts. * @param encode_session_
src/video.cpp:2616
↓ 1 callers
Function
endline
* @brief Return whether a character terminates a configuration line. * * @param ch Character currently being classified by the parser. * @ret
src/config.cpp:799
↓ 1 callers
Function
enumerate_devices
src/display_device.cpp:915
↓ 1 callers
Method
eq
* @brief Compare two iterators for equality. * * @param other Iterator or container to compare against. * @return True when both iterat
src/round_robin.h:335
↓ 1 callers
Function
erase_all_clients
src/nvhttp.cpp:1417
↓ 1 callers
Function
escape_argument
* @brief Quote/escape an argument according to the Windows parsing convention. * @param argument The raw argument to process. * @return An argum
src/platform/windows/misc.cpp:701
↓ 1 callers
Function
escape_argument_for_cmd
* @brief Escape an argument according to cmd's parsing convention. * @param argument An argument already escaped by `escape_argument()`. * @retu
src/platform/windows/misc.cpp:738
↓ 1 callers
Method
fake_resize
* @brief Update the logical element count without reallocating storage. * * @param els Elements used to initialize the buffer. */
src/utility.h:1557
↓ 1 callers
Method
fill_img
* @brief Copy the latest PipeWire frame into Sunshine's image buffer. * * @param img Image or frame object to read from or populate. */
src/platform/linux/pipewire.cpp:414
↓ 1 callers
Method
find_device_id
* @brief Search for currently present audio device_id using multiple match fields. * @param match_list Pairs of match fields and values * @r
src/platform/windows/audio.cpp:1116
↓ 1 callers
Function
find_match
* @brief Find the closing parenthesis for an environment-variable expression. * * @param begin Iterator positioned at the opening parenthesis.
src/process.cpp:411
↓ 1 callers
Function
find_render_node_with_display
* @brief Find the DRM render node associated with the active display. * * @return Render-node path, or an empty string when no matching node is
src/platform/linux/misc.cpp:1327
↓ 1 callers
Function
find_vulkan_index_for_render_node
Match a DRI render node path to a Vulkan device index via VK_EXT_physical_device_drm. Returns the index as a string (e.g. "1"), or empty string if no
src/platform/linux/vulkan_encode.cpp:43
↓ 1 callers
Function
flags_from_kpid
* @brief Extract the modifier flags from a packed key-press identifier. * * @param kpid Key-press identifier containing the virtual-key code and
src/input.cpp:132
↓ 1 callers
Function
floorf
third-party/nvfbc/helper_math.h:1338
↓ 1 callers
Function
fmaxf
third-party/nvfbc/helper_math.h:63
↓ 1 callers
Function
free
* @brief Release backend resources for the indexed gamepad. */
src/platform/linux/input/inputtino_gamepad.cpp:208
↓ 1 callers
Function
free_proc_thread_attr_list
* @brief Release proc thread attr list resources. * * @param list Multi-string list returned by the Windows API. */
src/platform/windows/misc.cpp:512
↓ 1 callers
Method
free_target
* @brief Detaches the specified gamepad * @param nr The gamepad. */
src/platform/windows/input.cpp:356
↓ 1 callers
Function
from_sockaddr
src/platform/windows/misc.cpp:155
↓ 1 callers
Function
gamepad_battery
* @brief Sends a gamepad battery event to the OS. * @param input The global input context. * @param battery The battery event. */
src/platform/macos/input.cpp:679
↓ 1 callers
Function
gamepad_motion
* @brief Sends a gamepad motion event to the OS. * @param input The global input context. * @param motion The motion event. */
src/platform/macos/input.cpp:670
↓ 1 callers
Function
gamepad_touch
* @brief Sends a gamepad touch event to the OS. * @param input The global input context. * @param touch The touch event. */
src/platform/macos/input.cpp:661
↓ 1 callers
Function
gen_aes_key
* @brief Derive the AES key used by the pairing protocol. */
src/crypto.cpp:334
↓ 1 callers
Function
generate_csrf_token
* @brief Generate a new CSRF token for a client. * @param client_id A unique identifier for the client (e.g., session ID or username). * @return
src/confighttp.cpp:328
↓ 1 callers
Method
get
* @brief Return the currently wrapped value or handle. * * @return Underlying native handle or object pointer. */
src/thread_safe.h:657
↓ 1 callers
Function
getCSRFToken
* @brief Get a CSRF token for the authenticated user. * @param response The HTTP response object. * @param request The HTTP request object. *
src/confighttp.cpp:596
↓ 1 callers
Function
getFileVersionInfo
src/platform/windows/misc.cpp:1852
↓ 1 callers
Function
getLocale
* @brief Get the locale setting. This endpoint does not require authentication. * @param response The HTTP response object. * @param request The
src/confighttp.cpp:1037
↓ 1 callers
Method
getMessageUsingPlatform
* @param {string} key * @param {string?} defaultMsg * @return {string} translated message or defaultMsg if provided
src_assets/common/assets/web/platform-i18n.js:25
↓ 1 callers
Function
get_adapteraddrs
* @brief Read Windows adapter addresses with automatic buffer sizing. * * @return Adapter-address list populated by GetAdaptersAddresses. */
src/platform/windows/misc.cpp:189
↓ 1 callers
Method
get_app_image
Gets application image from application list. Returns image from assets directory if found there. Returns default image if image configuration is not
src/process.cpp:382
↓ 1 callers
Function
get_argv
src/entry_handler.cpp:96
↓ 1 callers
Function
get_capabilities
* @brief Returns the supported platform capabilities to advertise to the client. * @return Capability flags. */
src/platform/macos/input.cpp:754
↓ 1 callers
Function
get_cert_by_uuid
* @brief Get cert by UUID. */
src/nvhttp.cpp:1456
↓ 1 callers
Function
get_codec_mode_flags
* @brief Get codec mode flags. * * @return Moonlight codec capability bitmask for the currently probed encoders. */
src/nvhttp.cpp:827
↓ 1 callers
Method
get_crtc_index_by_id
* @brief Get crtc index by ID. * * @param crtc_id Crtc ID. * @return Zero-based CRTC index, or -1 when the CRTC ID is unknown.
src/platform/linux/kmsgrab.cpp:613
↓ 1 callers
Function
get_host_name
src/platform/windows/misc.cpp:1789
↓ 1 callers
Function
get_ifaddrs
* @brief Read the local interface address list. * * @return Owning pointer to the interface address list, or nullptr on failure. */
src/platform/linux/misc.cpp:162
↓ 1 callers
Method
get_input_texture
src/nvenc/nvenc_d3d11_native.cpp:26
← previous
next →
501–600 of 1,762, ranked by callers