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
↓ 3 callers
Method
run
* @brief Execute the queued task body. */
src/task_pool.h:59
↓ 3 callers
Function
send_redirect
* @brief Send a redirect response. * @param response The HTTP response object. * @param request The HTTP request object. * @param path The pa
src/confighttp.cpp:171
↓ 3 callers
Function
serverchallengeresp
* @brief Handle the server-challenge response phase of GameStream pairing. * * @param sess Pairing session that owns the request state. * @pa
src/nvhttp.cpp:528
↓ 3 callers
Function
service
src/platform/windows/publish.cpp:151
↓ 3 callers
Function
setTheme
src_assets/common/assets/web/theme.js:26
↓ 3 callers
Function
showActiveTheme
(theme, focus = false)
src_assets/common/assets/web/theme.js:43
↓ 3 callers
Function
signature
* @brief Return the certificate signature bytes. */
src/crypto.cpp:413
↓ 3 callers
Function
start
src/rtsp.cpp:1334
↓ 3 callers
Function
status_string
src/upnp.cpp:41
↓ 3 callers
Function
while_starting_do_nothing
src/stream.cpp:346
↓ 2 callers
Function
NvAPI_DRS_DeleteProfileSetting
* @brief Forward NvAPI_DRS_DeleteProfileSetting to the loaded NVAPI DLL. * * @param hSession DRS session that owns the profile. * @param hProfile P
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:228
↓ 2 callers
Function
NvAPI_DRS_DestroySession
* @brief Forward NvAPI_DRS_DestroySession to the loaded NVAPI DLL. * * @param hSession DRS session handle to destroy. * @return NVAPI status return
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:122
↓ 2 callers
Function
NvAPI_DRS_GetBaseProfile
* @brief Forward NvAPI_DRS_GetBaseProfile to the loaded NVAPI DLL. * * @param hSession DRS session to query. * @param phProfile Output handle for t
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:239
↓ 2 callers
Function
NvAPI_Unload
* @brief Unload NVAPI and clear all resolved interface pointers. * * @return NVAPI_OK after cleanup. */
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:84
↓ 2 callers
Function
UPNP_GetValidIGDStatus
* This function is a wrapper around UPNP_GetValidIGD() that returns the status code. There is a pre-processor * check to determine which version of
src/upnp.cpp:60
↓ 2 callers
Function
abs
third-party/nvfbc/helper_math.h:1406
↓ 2 callers
Function
abs_mouse
src/platform/macos/input.cpp:489
↓ 2 callers
Function
addr_to_url_escaped_string
src/network.cpp:167
↓ 2 callers
Function
alloc_gamepad
src/platform/macos/input.cpp:379
↓ 2 callers
Function
alloc_id
src/input.cpp:78
↓ 2 callers
Function
append_string_to_environment_block
Note: This does NOT append a null terminator * @brief Append a null-terminated string to a Windows environment block. * * @param env_block Env b
src/platform/windows/misc.cpp:441
↓ 2 callers
Function
applyTheme
src_assets/common/assets/web/theme.js:84
↓ 2 callers
Method
apply_colorspace
* @brief Apply the configured colorspace metadata to the active frame. * * @param colorspace Colorimetry information used for conversion or
src/platform/windows/display_vram.cpp:557
↓ 2 callers
Function
apply_flags
* @brief Apply single-character command-line flags to the global Sunshine flags bitset. * * @param line Configuration line being parsed. * @r
src/config.cpp:1421
↓ 2 callers
Function
apply_surround_params
src/audio.cpp:351
↓ 2 callers
Function
avcodec_colorspace_from_sunshine_colorspace
* @brief Convert Sunshine colorspace metadata to FFmpeg AVCodec fields. */
src/video_colorspace.cpp:88
↓ 2 callers
Function
blend_cursor_color
* @brief Blend a color cursor shape into a RAM frame. * * @param cursor Cursor image or visibility state to composite. * @param img Image or
src/platform/windows/display_ram.cpp:140
↓ 2 callers
Function
calculate_crc32
* @brief Calculate the CRC-32 checksum for a string. * * @param input Bytes to include in the checksum. * @return CRC-32 value for the input
src/process.cpp:625
↓ 2 callers
Function
cancel_all_active_touches
* @brief Cancels all active touches. * @param raw The raw client-specific input context. */
src/platform/windows/input.cpp:945
↓ 2 callers
Method
capture
* @brief Run the capture loop for this backend. * * @param capture_params Capture params. * @return Capture status reported to th
src/platform/linux/cuda.cpp:879
↓ 2 callers
Method
capture
src/platform/linux/x11grab.cpp:1042
↓ 2 callers
Function
check_app_index
* @brief Validates the application index and sends an error response if invalid. */
src/confighttp.cpp:451
↓ 2 callers
Function
cmd_not_found
* @brief Handle an unsupported RTSP command. */
src/rtsp.cpp:881
↓ 2 callers
Function
compile_shader
* @brief Compile an HLSL shader from source text. * * @param file Optional stdio file handle connected to the child process. * @param entrypo
src/platform/windows/display_vram.cpp:424
↓ 2 callers
Function
configure_display
src/display_device.cpp:846
↓ 2 callers
Function
configure_sws_pipeline
* @brief Configure the EGL/OpenGL scaling and colorspace conversion pipeline. * * @param sws Software-scaling pipeline to configure. * @param
src/platform/linux/graphics.cpp:964
↓ 2 callers
Method
connect_to_portal
* @brief Connect to xdg-desktop-portal and restore or create a screencast session. * * @return 0 when a portal session is ready; nonzero whe
src/platform/linux/portalgrab.cpp:233
↓ 2 callers
Method
connector_props
* @brief Return DRM connector properties. * * @param id DRM connector ID. * @return Connector properties and their current values
src/platform/linux/kmsgrab.cpp:739
↓ 2 callers
Method
convert
* @brief Convert a captured D3D image into encoder input textures. * * @param img_base D3D image supplied by the capture backend. * @re
src/platform/windows/display_vram.cpp:481
↓ 2 callers
Method
copy
src/platform/linux/graphics.cpp:114
↓ 2 callers
Function
create_blank
* @brief Create a black RGB texture of the specified image size. * @param img The image to use for texture sizing. * @return The new RGB texture
src/platform/linux/graphics.cpp:674
↓ 2 callers
Function
create_ds5
* @brief Create an inputtino DualSense controller. * * @param globalIndex Global index. * @return Created DS5 object or status. */
src/platform/linux/input/inputtino_gamepad.cpp:65
↓ 2 callers
Function
create_environment_block
* @brief Create environment block. * * @param env Environment variables for the child process. * @return Created environment block object or
src/platform/windows/misc.cpp:452
↓ 2 callers
Function
create_services
* @brief Publish Sunshine's mDNS service through Avahi. */
src/platform/linux/publish.cpp:444
↓ 2 callers
Function
create_switch
* @brief Create an inputtino Nintendo Switch Pro controller. * * @return Created switch object or status. */
src/platform/linux/input/inputtino_gamepad.cpp:51
↓ 2 callers
Function
create_xbox_one
* @brief Create xbox one. * * @return Created xbox one object or status. */
src/platform/linux/input/inputtino_gamepad.cpp:38
↓ 2 callers
Method
crtc
* @brief Return the DRM CRTC object for the monitor. * * @param id DRM CRTC ID. * @return Owning pointer to the DRM CRTC object.
src/platform/linux/kmsgrab.cpp:520
↓ 2 callers
Function
display
src/platform/linux/misc.cpp:1178
↓ 2 callers
Function
double_between_f
* @brief Consume a floating-point setting only when it falls inside an inclusive range. * * @param vars Parsed configuration entries; consumed k
src/config.cpp:1259
↓ 2 callers
Function
download_file
* @brief Send a static file response for a Web UI request. */
src/httpcommon.cpp:209
↓ 2 callers
Function
dxgi_format_from_nvenc_format
* @brief Convert an NVENC buffer format to the matching DXGI format. */
src/nvenc/nvenc_utils.cpp:17
↓ 2 callers
Function
enable_socket_qos
* @brief Enables QoS on the given socket for traffic to the specified destination. */
src/platform/linux/misc.cpp:950
↓ 2 callers
Function
end_tray
src/system_tray.cpp:336
↓ 2 callers
Method
ensure_stream
* @brief Create the PipeWire stream if it is not already active. * * @param mem_type Mem type. * @param width Frame or display width in
src/platform/linux/pipewire.cpp:282
↓ 2 callers
Method
err_str
src/platform/linux/graphics.cpp:121
↓ 2 callers
Function
event_type_mouse
* @brief Choose the CoreGraphics mouse event type for the current button action. * * @param input Platform input backend that receives the event
src/platform/macos/input.cpp:463
↓ 2 callers
Method
flush
* @brief Flush pending packets to the stream socket. */
src/stream.cpp:434
↓ 2 callers
Function
framerateX100_to_rational
Several NTSC standard refresh rates are hardcoded here, because their true rate requires a denominator of 1001. ffmpeg's av_d2q() would assume it coul
src/video.h:631
↓ 2 callers
Function
free_gamepad
* @brief Release all platform resources associated with a virtual gamepad. * * @param platf_input Platf input. * @param id Identifier for the
src/input.cpp:169
↓ 2 callers
Function
from_address
* @brief Convert a Boost address family to Sunshine network enum value. */
src/network.cpp:68
↓ 2 callers
Function
from_chars
* @brief Convert from chars. * * @param begin Iterator or pointer marking the start of the input range. * @param end Iterator or pointer mark
src/utility.h:793
↓ 2 callers
Function
from_enum_string
* @brief Convert configuration text to a network enum value. */
src/network.cpp:54
↓ 2 callers
Function
gen_creds
* @brief Generate a self-signed certificate and private key for Sunshine pairing. */
src/crypto.cpp:472
↓ 2 callers
Method
get
* @brief Return the currently wrapped value or handle. * * @return Underlying native handle or object pointer. */
src/round_robin.h:344
↓ 2 callers
Method
getPlatformKey
* @param {string} key * @param {string} platform identifier * @return {string} key with platform identifier
src_assets/common/assets/web/platform-i18n.js:16
↓ 2 callers
Function
get_all_clients
src/nvhttp.cpp:936
↓ 2 callers
Function
get_nvprefs_options
* @brief Get nvprefs options. */
src/platform/windows/nvprefs/nvprefs_common.cpp:45
↓ 2 callers
Method
get_opengl_swapchain
src/platform/windows/nvprefs/undo_data.cpp:129
↓ 2 callers
Function
get_parent_directory
src/file_handler.cpp:15
↓ 2 callers
Function
handleXFail
* @brief Helper function to handle xfail logic * @param marker The XFailMarker containing condition and reason * @param test_passed Whether the
tests/tests_common.h:46
↓ 2 callers
Method
handle_data
* @brief Dispatch a parsed RTSP request to the socket's command handler. * * @param req Parsed RTSP request being handled. */
src/rtsp.cpp:451
↓ 2 callers
Function
hashString
(str)
docs/api.js:46
↓ 2 callers
Function
help
src/entry_handler.cpp:48
↓ 2 callers
Function
hscroll
src/platform/macos/input.cpp:622
↓ 2 callers
Function
impersonate_current_user
* @brief Impersonate the current user and invoke the callback function. * @param user_token A handle to the user's token that was obtained from the
src/platform/windows/misc.cpp:561
↓ 2 callers
Function
init
src/platform/windows/audio.cpp:1395
↓ 2 callers
Function
init
* @brief Initialize global D3D11 desktop duplication support. */
src/platform/windows/display_vram.cpp:2146
↓ 2 callers
Method
init
* @brief Initialize VAAPI display, EGL, and conversion resources. * * @param in_width In width. * @param in_height In height. * @p
src/platform/linux/vaapi.cpp:163
↓ 2 callers
Method
init
* @brief Open the X11 display and cache capture window attributes. * * @param display_name Display name. * @param config Configuration
src/platform/linux/x11grab.cpp:496
↓ 2 callers
Method
init
src/platform/linux/wayland.cpp:55
↓ 2 callers
Method
init
* @brief Initialize PipeWire core objects and optional stream negotiation. * * @param stream_fd Stream fd. * @param stream_node Stream
src/platform/linux/pipewire.cpp:239
↓ 2 callers
Method
init_output
* @brief Create D3D11 output textures, views, and shaders for frame conversion. * * @param frame_texture Frame texture. * @param width
src/platform/windows/display_vram.cpp:590
↓ 2 callers
Function
init_shm
* @brief Initialize shared-memory support for X11 capture. * * @return 0 when XCB shared-memory functions are loaded; nonzero otherwise.
src/platform/linux/x11grab.cpp:202
↓ 2 callers
Function
init_tray
src/system_tray.cpp:237
↓ 2 callers
Method
install
packaging/sunshine.rb:433
↓ 2 callers
Function
is_fps_mapped
* @brief Check if FPS is to be mapped based on remmaping type. * @param type Remapping type to check. * @returns True if FPS is to be mapped
src/display_device.cpp:525
↓ 2 callers
Function
is_resolution_mapped
* @brief Check if resolution is to be mapped based on remmaping type. * @param type Remapping type to check. * @returns True if resolution i
src/display_device.cpp:516
↓ 2 callers
Function
kms_display_names
A list of names of displays accepted as display_name * @brief Enumerate display names accepted by the KMS backend. * * @param hwdevice_type Hard
src/platform/linux/kmsgrab.cpp:2003
↓ 2 callers
Function
kwin_display_names
* @brief Enumerate KWin screencast display names. * * @return KWin display names, or an empty list when KWin capture is unavailable. */
src/platform/linux/kwingrab.cpp:744
↓ 2 callers
Function
launch_session_raise
* @brief Queue a launch session until the RTSP client connects. */
src/rtsp.cpp:744
↓ 2 callers
Function
launch_ui
src/entry_handler.cpp:29
↓ 2 callers
Function
load_state
* @brief Load state from its backing store. */
src/nvhttp.cpp:272
↓ 2 callers
Method
load_vram
src/platform/linux/graphics.cpp:1268
↓ 2 callers
Function
load_x11
* @brief Load X11 entry points used by the X11 capture backend. */
src/platform/linux/x11grab.cpp:1020
↓ 2 callers
Method
lock
* @brief Acquire the underlying lock or keyed mutex. * * @return True when the keyed mutex is acquired. */
src/platform/windows/display_vram.cpp:246
↓ 2 callers
Function
log_config_settings
* @brief Log parsed configuration entries and optionally record them as modified. */
src/config.cpp:1466
↓ 2 callers
Function
log_publisher_data
src/entry_handler.cpp:101
↓ 2 callers
Function
make_avcodec_encode_device_vram
src/platform/linux/vulkan_encode.cpp:1089
↓ 2 callers
Function
make_display_power
src/display_device.cpp:684
↓ 2 callers
Function
make_kpid
* @brief Create a key-press identifier from the virtual-key code and flags. * * @param vk Virtual-key code from the client input packet. * @p
src/input.cpp:112
← previous
next →
301–400 of 1,762, ranked by callers