MCPcopy Create free account

hub / github.com/LizardByte/Sunshine / functions

Functions1,762 in github.com/LizardByte/Sunshine

↓ 2 callersFunctionmake_launch_session
* @brief Create launch session. * * @param host_audio Host audio. * @param args Arguments forwarded to the callable or parser. * @return C
src/nvhttp.cpp:363
↓ 2 callersFunctionmake_port
* @brief Create a port object or message. * * @param display Display object or identifier associated with the operation. * @param config Conf
src/video.cpp:2454
↓ 2 callersFunctionmake_synced_session
* @brief Create synced session. * * @param disp Display connection or display handle. * @param encoder Encoder configuration or encoder insta
src/video.cpp:2567
↓ 2 callersFunctionmap_keycode
* @brief Apply configured keybinding remaps to a platform keycode. * * @param keycode Platform keycode being translated or emitted. * @return
src/input.cpp:788
↓ 2 callersFunctionmap_stream
* @brief Select the Opus stream configuration for a channel count and quality tier. */
src/audio.cpp:297
↓ 2 callersFunctionmerge_user_environment_block
* @brief Merge user environment variables into a Windows environment block. * * @param env Environment variables for the child process. * @pa
src/platform/windows/misc.cpp:364
↓ 2 callersMethodmicrophone
* @brief Create a microphone capture stream for the requested layout. * * @param mapping Opus channel mapping table for the requested la
src/platform/linux/audio.cpp:596
↓ 2 callersMethodmodify_application_profile
src/platform/windows/nvprefs/nvprefs_interface.cpp:106
↓ 2 callersMethodmodify_global_profile
src/platform/windows/nvprefs/nvprefs_interface.cpp:130
↓ 2 callersFunctionmonitor_touch_port
* @brief Normalizes coordinates to monitor-local logical touch dimensions. * @param touch_port The current touch port metadata. * @param coords
src/input.cpp:1096
↓ 2 callersMethodmonitors
* @brief Refresh the monitor list reported by the display server. * * @param conn_type_count Conn type count. * @return Connector
src/platform/linux/kmsgrab.cpp:639
↓ 2 callersFunctionmultiply_polar_by_cartesian_scalar
* @brief Multiply a polar coordinate pair by a cartesian scaling factor. * @param r The radial coordinate. * @param angle The angular coordinate
src/input.cpp:633
↓ 2 callersFunctionnv12_bind_framebuffers
* @brief Bind NV12 target framebuffers to their Y and UV plane textures. * * @param nv12 Imported NV12 target whose textures receive rendered ou
src/platform/linux/graphics.cpp:707
↓ 2 callersFunctionnvfbc_display_names
* @brief Enumerate display names exposed by NvFBC. * * @return NvFBC display names, or an empty list when enumeration fails. */
src/platform/linux/cuda.cpp:1293
↓ 2 callersFunctionon_signal
src/main.cpp:53
↓ 2 callersFunctionoverride_per_user_predefined_keys
* @brief This function overrides HKEY_CURRENT_USER and HKEY_CLASSES_ROOT using the provided token. * @param token The primary token identifying the
src/platform/windows/misc.cpp:645
↓ 2 callersMethodowning_undo_file
src/platform/windows/nvprefs/nvprefs_interface.cpp:197
↓ 2 callersMethodparseVersion
(version)
src_assets/common/assets/web/sunshine_version.js:22
↓ 2 callersFunctionparse_config
* @brief Parse Sunshine configuration text into key-value entries. */
src/config.cpp:920
↓ 2 callersMethodpayload
* @brief Return a pointer to the protocol payload following the packet header. * * @return Parsed or serialized payload data. */
src/stream.cpp:181
↓ 2 callersMethodpayload_length
* @brief Decode the RTSP interleaved-frame payload length. * * @return Payload byte count with the encrypted-message flag masked out. *
src/rtsp.cpp:78
↓ 2 callersFunctionperform_touch_compaction
* @brief Compacts the touch slots into a contiguous block and updates the active count. * @details Since this swaps entries around, all slot pointe
src/platform/windows/input.cpp:788
↓ 2 callersFunctionpkey
* @brief Parse PEM text into an OpenSSL private key object. */
src/crypto.cpp:373
↓ 2 callersFunctionpointer_by_id
* @brief Gets a pointer slot by client-relative pointer ID, claiming a new one if necessary. * @param raw The raw client-specific input context.
src/platform/windows/input.cpp:819
↓ 2 callersFunctionportal_display_names
* @brief Enumerate capture targets available through xdg-desktop-portal. * * @return Portal display names, or an empty list when portal discover
src/platform/linux/portalgrab.cpp:827
↓ 2 callersFunctionpost_scroll
* @brief Post a macOS scroll event to the target display. * * @param input Platform input backend that receives the event. * @param wheelY Wh
src/platform/macos/input.cpp:602
↓ 2 callersMethodprefix
* @brief Return the FEC prefix bytes for the current packet group. * * @param el Packet-group element index. * @return Pointer to
src/stream.cpp:792
↓ 2 callersFunctionprint
* @brief Write a debug log representation of the input packet. * * @param plane DRM or EGL plane index being described. * @param fb Fra
src/platform/linux/kmsgrab.cpp:821
↓ 2 callersFunctionprint_msg
* @brief Write msg details to the log. */
src/rtsp.cpp:1381
↓ 2 callersFunctionprocess_tray_events
src/system_tray.cpp:326
↓ 2 callersMethodprop_value_by_name
* @brief Look up a DRM property value by property name. * * @param props DRM property collection to inspect. * @param name DRM pr
src/platform/linux/kmsgrab.cpp:581
↓ 2 callersMethodquery_service_status
* @brief Query the service status. * @param status The SERVICE_STATUS struct to populate. * * @return True when the Windows service API
src/entry_handler.cpp:187
↓ 2 callersFunctionrand_alphabet
* @brief Generate random text from the supplied alphabet. */
src/crypto.cpp:569
↓ 2 callersFunctionrecv_ping
* @brief Receive ping data. * * @param session Active streaming or pairing session for the request. * @param ref Reference frame metadata use
src/stream.cpp:2020
↓ 2 callersFunctionreload_user_creds
* @brief Reload the Web UI credentials from disk. */
src/httpcommon.cpp:138
↓ 2 callersFunctionremove_session
src/nvhttp.cpp:422
↓ 2 callersMethodrequest_normal_frame
* @brief Mark the frame as a request for a normal inter frame. */
src/video.cpp:546
↓ 2 callersFunctionreset_persistence
src/display_device.cpp:900
↓ 2 callersFunctionresolve_command_string
* @brief Resolve the given raw command into a proper command string for CreateProcess(). * @details This converts URLs and non-executable file path
src/platform/windows/misc.cpp:762
↓ 2 callersMethodrestore_global_profile_to_undo
src/platform/windows/nvprefs/driver_settings.cpp:99
↓ 2 callersFunctionsave_user_creds
* @brief Save user creds. * * @param file Credentials file path. * @param username Username to save. * @param password Password to save.
src/httpcommon.cpp:87
↓ 2 callersFunctionscale_client_contact_area
src/input.cpp:646
↓ 2 callersFunctionscroll
src/platform/macos/input.cpp:618
↓ 2 callersFunctionscroll_pixels
* @brief Convert a high-resolution wheel delta to CoreGraphics scroll pixels. * * @param macos_input macOS input state containing scroll scaling
src/platform/macos/input.cpp:587
↓ 2 callersFunctionsend_key_and_modifiers
* @brief Send key and modifiers. * * @param key_code Moonlight keyboard packet key code. * @param release Whether the key or button event is
src/input.cpp:867
↓ 2 callersFunctionsend_unauthorized
* @brief Send a 401 Unauthorized response. * @param response The HTTP response object. * @param request The HTTP request object. */
src/confighttp.cpp:144
↓ 2 callersFunctionset_cursor_texture
* @brief Set cursor texture. * * @param device D3D, audio, or platform device used by the operation. * @param cursor Cursor image or visibili
src/platform/windows/display_vram.cpp:1309
↓ 2 callersMethodset_cursor_visible
src/platform/windows/display_wgc.cpp:245
↓ 2 callersMethodset_negotiate_maxframerate
* @brief Set negotiate maxframerate. * * @param negotiate_maxframerate Negotiate maxframerate. */
src/platform/linux/pipewire.cpp:451
↓ 2 callersMethodset_opengl_swapchain
src/platform/windows/nvprefs/undo_data.cpp:122
↓ 2 callersMethodset_pos
* @brief Update the cursor position and display geometry used for rendering. * * @param topleft_x Cursor left edge in desktop coordinates.
src/platform/windows/display.h:219
↓ 2 callersMethodset_sink
* @brief Update the sink value on the backend. * * @param sink Audio sink name to route or capture. * @return Status from updatin
src/platform/linux/audio.cpp:626
↓ 2 callersMethodset_texture
* @brief Replace the cursor texture and update its render viewport. * * @param texture_width Cursor texture width in pixels. * @param t
src/platform/windows/display.h:236
↓ 2 callersFunctionsign256
* @brief Sign data with SHA-256. */
src/crypto.cpp:519
↓ 2 callersMethodsize
* @brief Return the serialized size of the current object. * * @return Number of elements currently stored. */
src/utility.h:1548
↓ 2 callersFunctionskip_list
src/config.cpp:853
↓ 2 callersMethodstop
* @brief Release the NvFBC capture session and wait for capture work to stop. * * @return Stop status. */
src/platform/linux/cuda.cpp:904
↓ 2 callersFunctiontest_dxgi_duplication
* @brief Tests to determine if the Desktop Duplication API can capture the given output. * @details When testing for enumeration only, we avoid res
src/platform/windows/display_base.cpp:366
↓ 2 callersFunctionto_ds4_triggerX
src/platform/windows/input.cpp:1490
↓ 2 callersFunctionto_ds4_triggerY
src/platform/windows/input.cpp:1494
↓ 2 callersFunctiontwo_digits_after_decimal
* @brief Create a Boost formatter with two fractional digits. */
src/stat_trackers.cpp:20
↓ 2 callersFunctionurl_escape
* @brief Percent-encode URL data for use in HTTP query strings. */
src/httpcommon.cpp:248
↓ 2 callersFunctionurl_get_host
* @brief Extract the host component from a URL string. */
src/httpcommon.cpp:258
↓ 2 callersFunctionvalidate_stored_csrf_token
* @brief Validate a stored CSRF token for a client against a provided token string. * @param response The HTTP response object. * @param request
src/confighttp.cpp:357
↓ 2 callersFunctionverify
* @brief Verify a signature against certificate public key data. * * @param x509 X.509 certificate object or PEM data. * @param data Payload
src/crypto.cpp:532
↓ 2 callersFunctionverify256
* @brief Verify a SHA-256 signature with the certificate public key. */
src/crypto.cpp:555
↓ 2 callersMethodwait_until
src/thread_safe.h:287
↓ 2 callersFunctionwaveformat_to_pretty_string
src/platform/windows/audio.cpp:184
↓ 2 callersFunctionwhitespace
* @brief Return whether a character should be treated as parser whitespace. * * @param ch Character currently being classified by the parser.
src/config.cpp:819
↓ 2 callersFunctionwl_display_names
* @brief Enumerate capture display names reported by the Wayland compositor. */
src/platform/linux/wlgrab.cpp:533
↓ 2 callersFunctionx
src/utility.h:208
↓ 2 callersFunctionx11_display_names
* @brief Enumerate display names accepted by the X11 backend. * * @return X11 display names, or an empty list when X11 probing fails. */
src/platform/linux/x11grab.cpp:956
↓ 2 callersFunctionyuv44_bind_framebuffers
* @brief Bind YUV444 target framebuffers to their Y, U, and V plane textures. * * @param yuv444 Imported YUV444 target whose textures receive re
src/platform/linux/graphics.cpp:726
↓ 1 callersFunctionAllocateProcThreadAttributeList
tools/sunshinesvc.cpp:78
↓ 1 callersFunctionCreateJobObjectForChildProcess
tools/sunshinesvc.cpp:54
↓ 1 callersFunctionDoGracefulTermination
This will run in a child process in the user session
tools/sunshinesvc.cpp:323
↓ 1 callersFunctionDuplicateTokenForSession
tools/sunshinesvc.cpp:95
↓ 1 callersFunctionIsUserAdmin
* @brief Check whether a Windows access token belongs to an administrator. * * @param user_token Windows access token to inspect. * @return T
src/platform/windows/misc.cpp:260
↓ 1 callersFunctionNvAPI_DRS_CreateApplication
* @brief Forward NvAPI_DRS_CreateApplication to the loaded NVAPI DLL. * * @param hSession DRS session that owns the profile. * @param hProfile Prof
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:178
↓ 1 callersFunctionNvAPI_DRS_CreateProfile
* @brief Forward NvAPI_DRS_CreateProfile to the loaded NVAPI DLL. * * @param hSession DRS session that owns the profile. * @param pProfileInfo Prof
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:154
↓ 1 callersFunctionNvAPI_DRS_CreateSession
* @brief Forward NvAPI_DRS_CreateSession to the loaded NVAPI DLL. * * @param phSession Output handle for the created DRS session. * @return NVAPI s
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:112
↓ 1 callersFunctionNvAPI_DRS_FindProfileByName
* @brief Forward NvAPI_DRS_FindProfileByName to the loaded NVAPI DLL. * * @param hSession DRS session to search. * @param profileName Profile name.
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:166
↓ 1 callersFunctionNvAPI_DRS_GetApplicationInfo
* @brief Forward NvAPI_DRS_GetApplicationInfo to the loaded NVAPI DLL. * * @param hSession DRS session that owns the profile. * @param hProfile Pro
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:191
↓ 1 callersFunctionNvAPI_DRS_LoadSettings
* @brief Forward NvAPI_DRS_LoadSettings to the loaded NVAPI DLL. * * @param hSession DRS session whose settings are loaded. * @return NVAPI status
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:132
↓ 1 callersFunctionNvAPI_DRS_SaveSettings
* @brief Forward NvAPI_DRS_SaveSettings to the loaded NVAPI DLL. * * @param hSession DRS session whose settings are saved. * @return NVAPI status r
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:142
↓ 1 callersFunctionNvAPI_GetErrorMessage
* @brief Forward NvAPI_GetErrorMessage to the loaded NVAPI DLL. * * @param nr Controller index assigned by the client. * @param szDesc Output buffe
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:100
↓ 1 callersFunctionNvAPI_Initialize
src/platform/windows/nvprefs/nvapi_opensource_wrapper.cpp:48
↓ 1 callersFunctionOSStatusToString
src/platform/macos/coreaudio_helpers.h:28
↓ 1 callersFunctionOpenLogFileHandle
tools/sunshinesvc.cpp:119
↓ 1 callersFunctionRunTerminationHelper
tools/sunshinesvc.cpp:133
↓ 1 callersFunctionadd_authorized_client
* @brief Add authorized client data. * * @param name Human-readable name to assign. * @param cert Certificate data or object used by the oper
src/nvhttp.cpp:343
↓ 1 callersFunctionalloc
* @brief Allocate and initialize platform input state for a stream. */
src/stream.cpp:2256
↓ 1 callersFunctionalloc
* @brief Allocate and initialize platform input state for a stream. */
src/input.cpp:1896
↓ 1 callersFunctionalloc
* @brief Allocate and initialize platform input state for a stream. */
src/platform/linux/input/inputtino_gamepad.cpp:79
↓ 1 callersMethodalloc_gamepad_internal
* @brief Attaches a new gamepad. * @param id The gamepad ID. * @param feedback_queue The queue for posting messages back to the client.
src/platform/windows/input.cpp:289
↓ 1 callersFunctionallocate_client_input_context
* @brief Allocates a context to store per-client input data. * @param input The global input context. * @return A unique pointer to a per-client
src/platform/macos/input.cpp:631
↓ 1 callersFunctionallocate_proc_thread_attr_list
* @brief Allocate and initialize a Windows process-thread attribute list. * * @param attribute_count Attribute count. * @return Initialized a
src/platform/windows/misc.cpp:490
↓ 1 callersFunctionallow_encoder_probing
* @brief Check if we can allow probing for the encoders. * @return True if there should be no issues with the probing, false if we should prevent
src/video.cpp:49
↓ 1 callersFunctionapply_color_alpha
* @brief Alpha-blend a color cursor pixel into a captured RAM frame. * * @param img_pixel_p Pixel in the destination frame. * @param cursor_p
src/platform/windows/display_ram.cpp:102
↓ 1 callersFunctionapply_color_masked
* @brief Apply a masked-color cursor pixel into a captured RAM frame. * * @param img_pixel_p Pixel in the destination frame. * @param cursor_
src/platform/windows/display_ram.cpp:123
← previousnext →401–500 of 1,762, ranked by callers