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
↓ 4 callers
Function
getPreferredTheme
()
src_assets/common/assets/web/theme.js:4
↓ 4 callers
Method
get_last_run_app_name
src/process.cpp:391
↓ 4 callers
Function
has_elevated_privileges
src/platform/linux/misc.cpp:1391
↓ 4 callers
Function
import_source
* @brief Import the source frame texture for EGL/OpenGL conversion. * * @param egl_display EGL display used to create the image. * @param xrg
src/platform/linux/graphics.cpp:640
↓ 4 callers
Method
init
* DDAPI-specific initialization goes here. */
src/platform/windows/display_base.cpp:58
↓ 4 callers
Method
init
* @brief Open a DRM connector and cache its monitor metadata. * * @param path Filesystem path for the DRM device or resource. * @
src/platform/linux/kmsgrab.cpp:437
↓ 4 callers
Method
is_idr
* @brief Report whether the FFmpeg packet is marked as a key frame. * * @return True when this frame is an IDR frame. */
src/video.h:461
↓ 4 callers
Method
is_nvidia
* @brief Check whether nvidia. * * @return True when the DRM device appears to be driven by NVIDIA. */
src/platform/linux/kmsgrab.cpp:548
↓ 4 callers
Method
load_ram
src/platform/linux/graphics.cpp:1261
↓ 4 callers
Function
make_blend
* @brief Create a blend object or message. * * @param device D3D, audio, or platform device used by the operation. * @param enable Whether th
src/platform/windows/display_vram.cpp:94
↓ 4 callers
Function
make_ctx
* @brief Create an EGL/OpenGL context for capture or conversion. */
src/platform/linux/graphics.cpp:422
↓ 4 callers
Function
make_directory
src/file_handler.cpp:26
↓ 4 callers
Function
map_output_name
src/display_device.cpp:826
↓ 4 callers
Function
map_pix_fmt
* @brief Map pix fmt values. */
src/video.cpp:3659
↓ 4 callers
Function
move_mouse
src/platform/macos/input.cpp:478
↓ 4 callers
Method
next_frame
* @brief Get the next frame from the producer thread. * If not available, the capture thread blocks until one is, or the wait times out. */
src/platform/windows/display_wgc.cpp:206
↓ 4 callers
Function
open_url
* @brief Open a url in the default web browser. * @param url The url to open. */
src/platform/linux/misc.cpp:364
↓ 4 callers
Function
post_mouse
* @brief Post a mouse event at the clamped display location. * * @param input Platform input context. * @param button Mouse button. * @par
src/platform/macos/input.cpp:415
↓ 4 callers
Function
print_help
src/logging.cpp:259
↓ 4 callers
Function
qpc_counter
* @brief Read the current Windows high-resolution performance counter. */
src/platform/windows/misc.cpp:1764
↓ 4 callers
Function
qpc_time_difference
* @brief Convert the difference between two QPC readings to nanoseconds. */
src/platform/windows/misc.cpp:1775
↓ 4 callers
Method
release_frame
src/platform/windows/display_wgc.cpp:237
↓ 4 callers
Method
remove
* @brief Removes the provided session from the set of sessions. * @param session The session to remove. */
src/rtsp.cpp:690
↓ 4 callers
Function
remove_timestamp_prefix
* @brief Remove the timestamp prefix from a log line. * @param line The log line. * @return The log line without the timestamp prefix. */
tests/tests_log_checker.h:20
↓ 4 callers
Function
revert_configuration_unlocked
* @brief Reverts the configuration based on the provided option. * @note This is function does not lock mutex. */
src/display_device.cpp:705
↓ 4 callers
Method
save_settings
src/platform/windows/nvprefs/driver_settings.cpp:84
↓ 4 callers
Function
save_state
* @brief Persist the current state to its backing store. */
src/nvhttp.cpp:232
↓ 4 callers
Method
send
* @brief Send the serialized response over the active socket. * * @param payload Optional payload body to include in the response. * @p
src/stream.cpp:420
↓ 4 callers
Function
session_count
src/rtsp.cpp:752
↓ 4 callers
Method
set
* @brief Store the new value and mark it dirty for persistence. * * @param value Portal restore token received from xdg-desktop-portal.
src/platform/linux/portalgrab.cpp:57
↓ 4 callers
Function
setup
src/nvhttp.cpp:1250
↓ 4 callers
Method
start
* @brief Start worker threads for queued thread-pool tasks. * * @param threads Number of worker threads to start. */
src/thread_pool.h:110
↓ 4 callers
Function
stou
* @brief Convert string to unsigned int. * @note For random reason there is std::stoi, but not std::stou... * @param value String to be conv
src/display_device.cpp:136
↓ 4 callers
Function
string_restricted_f
* @brief Consume a string setting only when it matches an allowed value. * * @param vars Parsed configuration entries; consumed keys are erased.
src/config.cpp:988
↓ 4 callers
Method
unload
src/platform/windows/nvprefs/nvprefs_interface.cpp:66
↓ 4 callers
Function
validate_encoder
* @brief Validate encoder before it is used. */
src/video.cpp:2997
↓ 4 callers
Function
version
src/entry_handler.cpp:53
↓ 3 callers
Method
AddRef
src/platform/windows/audio.cpp:450
↓ 3 callers
Function
NvAPI_DRS_GetSetting
* @brief Forward NvAPI_DRS_GetSetting to the loaded NVAPI DLL. * * @param hSession DRS session that owns the profile. * @param hProfile Profile con
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:216
↓ 3 callers
Function
NvAPI_DRS_SetSetting
* @brief Forward NvAPI_DRS_SetSetting to the loaded NVAPI DLL. * * @param hSession DRS session that owns the profile. * @param hProfile Profile rec
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:203
↓ 3 callers
Function
af_to_any_address_string
src/network.cpp:129
↓ 3 callers
Method
bind
* @brief Bind the underlying socket or graphics resource to its target. * * @param address_family Address family. * @param port TCP or
src/stream.cpp:364
↓ 3 callers
Function
blend_cursor
* @brief Blend the current cursor image into a RAM frame. * * @param cursor Cursor image or visibility state to composite. * @param img Image
src/platform/windows/display_ram.cpp:192
↓ 3 callers
Function
bracket
src/logging.cpp:279
↓ 3 callers
Function
capture
* @brief Capture and encode video for a streaming session. * * @param mail Session mail bus. * @param config Video configuration. * @param
src/video.cpp:2897
↓ 3 callers
Function
client_to_touchport
* @brief Converts client coordinates on the specified surface into screen coordinates. * @param input The input context. * @param val The cartes
src/input.cpp:578
↓ 3 callers
Function
clientchallenge
* @brief Handle the client-challenge phase of GameStream pairing. * * @param sess Pairing session that owns the request state. * @param tree
src/nvhttp.cpp:478
↓ 3 callers
Function
clientpairingsecret
* @brief Handle the client pairing-secret phase of GameStream pairing. * * @param sess Pairing session that owns the request state. * @param
src/nvhttp.cpp:565
↓ 3 callers
Method
collect_and_log
* @brief Collect a metric sample and write it to the periodic log when due. * * @param value Numeric sample to include in the next periodic
src/logging.h:137
↓ 3 callers
Function
colorspace_is_hdr
* @brief Check whether a Sunshine colorspace represents HDR video. */
src/video_colorspace.cpp:21
↓ 3 callers
Function
create_vulkan_hwdevice
src/platform/linux/vulkan_encode.cpp:90
↓ 3 callers
Function
debug_trap
src/entry_handler.cpp:88
↓ 3 callers
Method
delete_file
src/platform/windows/nvprefs/undo_file.cpp:80
↓ 3 callers
Method
destroy
src/platform/linux/wayland.cpp:541
↓ 3 callers
Function
drop_elevated_privileges
src/platform/linux/misc.cpp:1420
↓ 3 callers
Function
ds4_update_motion
* @brief Updates the DS4 input report with the provided motion data. * @details Acceleration is in m/s^2 and gyro is in deg/s. * @param gamepad
src/platform/windows/input.cpp:198
↓ 3 callers
Method
dummy_img
* @brief Populate a fallback image when real capture data is unavailable. * * @param img Image or frame object to read from or populate.
src/platform/linux/wlgrab.cpp:147
↓ 3 callers
Method
first_point_now
* @brief Store the current time as the first timestamp. */
src/logging.h:231
↓ 3 callers
Function
free_id
src/input.cpp:96
↓ 3 callers
Function
from_pix_fmt
* @brief Convert a Sunshine pixel format enum to its string name. * * @param pix_fmt Sunshine pixel format to convert or allocate for. * @ret
src/platform/common.h:334
↓ 3 callers
Function
getStoredTheme
()
src_assets/common/assets/web/theme.js:1
↓ 3 callers
Function
get_audio_ctx_ref
src/audio.cpp:276
↓ 3 callers
Method
get_hdr_metadata
* @brief Read HDR metadata for the active display mode. * * @param metadata Output structure populated with HDR metadata. * @return Tru
src/platform/common.h:744
↓ 3 callers
Function
get_host_name
src/platform/linux/misc.cpp:1018
↓ 3 callers
Function
get_windows_drives
* @brief Builds a JSON array of available Windows drive letters. * @return JSON array of drive-letter entries. */
src/confighttp.cpp:1585
↓ 3 callers
Method
handleFD
* @brief Return the DRM file descriptor owned by the object. * * @param handle GEM handle exported by the DRM framebuffer. * @ret
src/platform/linux/kmsgrab.cpp:679
↓ 3 callers
Method
init
* @brief Initialize WASAPI capture for the selected audio endpoint. * * @param sample_rate Audio sample rate in hertz. * @param frame_s
src/platform/windows/audio.cpp:606
↓ 3 callers
Method
init
src/platform/windows/display_vram.cpp:1766
↓ 3 callers
Method
init
* @brief Initialize the CUDA device context used for frame conversion. * * @param in_width In width. * @param in_height In height.
src/platform/linux/cuda.cpp:166
↓ 3 callers
Method
init
* @brief Open DBus and prepare portal screencast request handling. * * @return 0 on success; nonzero or negative platform status on failure.
src/platform/linux/portalgrab.cpp:209
↓ 3 callers
Method
init
* @brief Initialize Wayland screencopy capture for the selected output. * * @param hwdevice_type Hardware device type requested for capture
src/platform/linux/wlgrab.cpp:48
↓ 3 callers
Function
input
src/platform/macos/input.cpp:683
↓ 3 callers
Method
is_cursor
* @brief Check whether cursor. * * @param plane_id Plane ID. * @return True when the DRM plane is a cursor plane. */
src/platform/linux/kmsgrab.cpp:559
↓ 3 callers
Function
join
* @brief Wait for worker threads owned by the session to exit. */
src/stream.cpp:2161
↓ 3 callers
Method
last_error
* @brief Read the last error string from the active NvFBC session. * * @return Human-readable NvFBC error string. */
src/platform/linux/cuda.cpp:851
↓ 3 callers
Function
line_starts_with
* @brief Check if a log file contains a line that starts with the given string. * @param log_file Path to the log file. * @param start_str The s
tests/tests_log_checker.h:31
↓ 3 callers
Function
log_hex
src/utility.h:552
↓ 3 callers
Function
make_avcodec_gl_encode_device
* @brief Create a GL->CUDA encoding device for consuming captured dmabufs. * @param width Width of captured frames. * @param height Height of ca
src/platform/linux/cuda.cpp:685
↓ 3 callers
Function
make_encode_device
* @brief Create encode device. * * @param disp Display connection or display handle. * @param encoder Encoder configuration or encoder instan
src/video.cpp:2507
↓ 3 callers
Function
make_encode_session
* @brief Create encode session. * * @param disp Display connection or display handle. * @param encoder Encoder configuration or encoder insta
src/video.cpp:2308
↓ 3 callers
Function
mdns_instance_name
* @brief Returns a string for use as the instance name for mDNS. * @param hostname The hostname to use for instance name generation. * @return H
src/network.cpp:241
↓ 3 callers
Function
monitors
src/platform/linux/wayland.h:456
↓ 3 callers
Function
normalize_address
src/network.cpp:151
↓ 3 callers
Function
not_found
* @brief Send a 404 Not Found response. * @param response The HTTP response object. * @param request The HTTP request object. * @param error_
src/confighttp.cpp:237
↓ 3 callers
Function
parse_refresh_rate_string
* @brief Parse refresh rate value from the string. * @param input String to be parsed. * @param output Reference to output variable to fill
src/display_device.cpp:241
↓ 3 callers
Function
parse_resolution_string
* @brief Parse resolution value from the string. * @param input String to be parsed. * @param output Reference to output variable to fill in
src/display_device.cpp:193
↓ 3 callers
Function
pem
* @brief Serialize an OpenSSL object to PEM text. */
src/crypto.cpp:387
↓ 3 callers
Function
populate_common_pointer_info
* @brief Populate common `POINTER_INFO` members shared between pen and touch events. * @param pointerInfo The pointer info to populate. * @param
src/platform/windows/input.cpp:859
↓ 3 callers
Function
print_status
* @brief Write status details to the log. */
src/platform/windows/misc.cpp:246
↓ 3 callers
Function
probe_encoders
src/video.cpp:3199
↓ 3 callers
Function
process_group_running
src/platform/linux/misc.cpp:517
↓ 3 callers
Function
query
src/platform/linux/vaapi.cpp:663
↓ 3 callers
Function
rand
* @brief Generate cryptographically secure random bytes. */
src/crypto.cpp:428
↓ 3 callers
Function
refresh_displays
* @brief Update the list of display names before or during a stream. * @details This will attempt to keep `current_display_index` pointing at the s
src/video.cpp:1438
↓ 3 callers
Method
registry
src/platform/linux/wayland.cpp:113
↓ 3 callers
Function
release
\ * @brief Release the wrapped element and reset the wrapper. \ * \ * @return Previously wrapped element after ownership is released. \
src/utility.h:126
↓ 3 callers
Method
request_idr_frame
* @brief Mark the frame as a request for an IDR frame. */
src/video.cpp:539
↓ 3 callers
Method
restore_from_and_delete_undo_file_if_exists
src/platform/windows/nvprefs/nvprefs_interface.cpp:74
↓ 3 callers
Function
round_to_pkcs7_padded
* @brief Round a byte count up to the next PKCS#7 padding boundary. * * @param size Number of bytes or elements requested. * @return `s
src/crypto.h:211
↓ 3 callers
Function
rsqrtf
third-party/nvfbc/helper_math.h:78
← previous
next →
201–300 of 1,762, ranked by callers