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
↓ 10 callers
Function
to_sockaddr
* @brief Convert to sockaddr. * * @param address Network address being parsed or filtered. * @param port TCP or UDP port number. * @return
src/platform/linux/misc.cpp:528
↓ 10 callers
Function
validate_app_image_path
* @brief Validate app image path. */
src/process.cpp:531
↓ 10 callers
Function
validate_config
* @brief Validate config before it is used. * * @param disp Display connection or display handle. * @param encoder Encoder configuration or e
src/video.cpp:2942
↓ 9 callers
Method
bind
src/platform/linux/graphics.cpp:238
↓ 9 callers
Method
cend
* @brief Return a const iterator one past the last byte in the view. * * @return Pointer one past the last formatted hexadecimal character.
src/utility.h:510
↓ 9 callers
Function
egl_image_target_texture_2d
* @brief Bind an EGL image to the current OpenGL texture target. */
src/platform/linux/graphics.cpp:61
↓ 9 callers
Function
fail_pair
* @brief Return the GameStream pairing failure response. * * @param sess Pairing session that owns the request state. * @param tree XML prope
src/nvhttp.cpp:433
↓ 9 callers
Method
first_point
* @brief Store the first timestamp for a measured interval. * * @param point Time point used for elapsed-time calculations. */
src/logging.h:222
↓ 9 callers
Function
init
* @brief Map CUDA graphics resources for use as an image. * * @return 0 on success; nonzero or negative platform status on failure. */
src/platform/linux/cuda.cpp:141
↓ 9 callers
Function
init
src/platform/linux/x11grab.cpp:81
↓ 9 callers
Method
ref
* @brief Return a shared reference to the protected object. * * @return Reference handle that keeps the protected object alive. */
src/thread_safe.h:688
↓ 9 callers
Method
ring
* @brief Mark the alarm as rung and wake waiting threads. * * @param status Native status code returned by the platform API. */
src/thread_safe.h:228
↓ 8 callers
Function
adjust_thread_priority
* @brief Apply the requested scheduling priority to the current thread. */
src/platform/linux/misc.cpp:383
↓ 8 callers
Function
check_content_type
* @brief Validate the request content type and send a bad request when mismatched. */
src/confighttp.cpp:277
↓ 8 callers
Function
equal_guids
src/nvenc/nvenc_base.cpp:63
↓ 8 callers
Function
hex_vec
src/utility.h:565
↓ 8 callers
Function
init
* @brief Initialize the platform input backend. */
src/input.cpp:1873
↓ 8 callers
Function
is_browsable_executable
* @brief Checks whether a directory entry qualifies as an executable file. * @param entry The directory entry to check. * @param status The cach
src/confighttp.cpp:1567
↓ 8 callers
Function
keyboard_update
src/platform/macos/input.cpp:330
↓ 8 callers
Method
listen
src/platform/linux/wayland.cpp:172
↓ 8 callers
Function
log_flush
src/logging.cpp:253
↓ 8 callers
Method
map
* @brief Register or visit handlers stored in the map. * * @param type Protocol, message, or resource type selector. * @param cb Callba
src/stream.cpp:409
↓ 8 callers
Function
refresh
* @brief Refresh cached platform state from the operating system. */
src/process.cpp:799
↓ 8 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 `size` r
src/stream.cpp:310
↓ 8 callers
Function
send_input
* @brief Calls SendInput() and switches input desktops if required. * @param i The `INPUT` struct to send. */
src/platform/windows/input.cpp:540
↓ 8 callers
Method
status
* @brief Return or update the current status value. * * @return Status status. */
src/platform/linux/cuda.cpp:860
↓ 8 callers
Function
to_string
* @brief Convert a PulseAudio operation result to a log string. * * @param name Human-readable name to assign. * @param mapping Opus channel
src/platform/linux/audio.cpp:47
↓ 7 callers
Function
color_vectors_from_colorspace
src/video_colorspace.cpp:132
↓ 7 callers
Function
dot
third-party/nvfbc/helper_math.h:1258
↓ 7 callers
Function
encode_control
src/stream.cpp:553
↓ 7 callers
Method
execute
src/process.cpp:151
↓ 7 callers
Function
fminf
third-party/nvfbc/helper_math.h:58
↓ 7 callers
Function
framerate_to_rational
* @brief Requested framerate as an exact rational. * Uses the exact fractional rate when the client provided an X100 value, * otherwise the inte
src/video.h:655
↓ 7 callers
Function
free
src/platform/linux/publish.cpp:380
↓ 7 callers
Function
generic_f
src/config.cpp:972
↓ 7 callers
Function
get_mouse_loc
returns current mouse location:
src/platform/macos/input.cpp:393
↓ 7 callers
Function
inputtino_name_for_seat
* @brief Append the target seat name to an inputtino device name when needed. * * @param base_name Base uinput device name. * @return Device
src/platform/linux/input/inputtino_common.h:29
↓ 7 callers
Method
is_codec_supported
* @brief Check that a given codec is supported by the display device. * @param name The FFmpeg codec name (or similar for non-FFmpeg codecs).
src/platform/common.h:755
↓ 7 callers
Function
parse_configuration
src/display_device.cpp:927
↓ 7 callers
Method
read
* @brief Queue an asynchronous read to begin the next message. */
src/rtsp.cpp:160
↓ 7 callers
Function
run_command
src/platform/linux/misc.cpp:339
↓ 7 callers
Method
terminate
src/process.cpp:321
↓ 7 callers
Function
x509
* @brief Parse PEM text into an X.509 certificate object. */
src/crypto.cpp:359
↓ 6 callers
Method
Release
src/platform/windows/audio.cpp:459
↓ 6 callers
Function
capture_frame_interval
* @brief Capture frame interval for the requested framerate. * Uses the exact fractional rate when the client provided an X100 value. * * @pa
src/video.h:669
↓ 6 callers
Method
convert
* @brief Encode one frame with NVENC and return the packet payload. * * @param img Image or frame object to read from or populate. * @r
src/video.cpp:529
↓ 6 callers
Method
convert_nv12
src/platform/linux/graphics.cpp:1352
↓ 6 callers
Function
default_device
* @brief Query the default Windows render endpoint. * * @param device_enum Windows multimedia device enumerator. * @return Default render end
src/platform/windows/audio.cpp:418
↓ 6 callers
Function
exit_sunshine
src/entry_handler.cpp:73
↓ 6 callers
Function
fill_nvapi_string
src/platform/windows/nvprefs/driver_settings.cpp:22
↓ 6 callers
Function
from_view
src/platform/linux/kmsgrab.cpp:256
↓ 6 callers
Function
make_buffer
src/platform/windows/display_vram.cpp:63
↓ 6 callers
Function
path_f
* @brief Consume a path setting and normalize it under the app data directory when relative. * * @param vars Parsed configuration entries; consu
src/config.cpp:1035
↓ 6 callers
Method
push
src/task_pool.h:143
↓ 6 callers
Function
reset
* @brief Reset the object to its initial empty state. */
src/input.cpp:1833
↓ 6 callers
Function
reset_display
* @brief Recreate a display capture object after a capture failure. * * @param disp Display connection or display handle. * @param type Proto
src/video.cpp:1417
↓ 6 callers
Function
resolve_render_device
src/platform/linux/misc.cpp:1375
↓ 6 callers
Method
roundtrip
src/platform/linux/wayland.cpp:79
↓ 6 callers
Function
send
* @brief Send the serialized response over the active socket. * * @param sock Socket used to read or write the protocol message. * @param sv
src/rtsp.cpp:777
↓ 6 callers
Function
surface_descriptor_to_egl_attribs
* @brief Get EGL attributes for eglCreateImage() to import the provided surface. * @param surface The surface descriptor. * @return Vector of EG
src/platform/linux/graphics.cpp:596
↓ 6 callers
Function
syncThreadDesktop
* @brief Synchronize thread desktop. */
src/platform/windows/misc.cpp:224
↓ 6 callers
Function
write
* @brief Serialize a prepared coded bitstream unit with an existing context. * * @param cbs_ctx Coded bitstream context initialized for the code
src/cbs.cpp:88
↓ 6 callers
Function
write_file
src/file_handler.cpp:45
↓ 5 callers
Function
KITTY_USING_MOVE_T
src/platform/linux/misc.h:15
↓ 5 callers
Function
af_from_enum_string
src/network.cpp:117
↓ 5 callers
Method
buffer_for_payload_offset
* @brief Returns a payload buffer descriptor for the given payload offset. * @param offset The offset in the total payload data (bytes). * @
src/platform/common.h:1012
↓ 5 callers
Function
button_mouse
src/platform/macos/input.cpp:508
↓ 5 callers
Method
cbegin
* @brief Return a const iterator to the first byte in the view. * * @return Pointer to the first formatted hexadecimal character. */
src/utility.h:501
↓ 5 callers
Method
clear
* @brief Clear launch sessions. * @param all If true, clear all sessions. Otherwise, only clear timed out and stopped sessions. * @examples
src/rtsp.cpp:651
↓ 5 callers
Method
decrypt
src/crypto.cpp:153
↓ 5 callers
Function
deg2rad
* @brief Convert degrees to radians for controller motion data. * * @param degree Angle in degrees to convert. * @return Angle in radians.
src/platform/linux/input/inputtino_common.h:144
↓ 5 callers
Method
encrypt
* This function encrypts the given plaintext using the AES key in GCM mode. The initialization vector (IV) is also provided. * The function handl
src/crypto.cpp:193
↓ 5 callers
Function
from_sockaddr
* @brief Convert a socket address to a printable IP address. */
src/platform/linux/misc.cpp:253
↓ 5 callers
Function
gamepad_update
src/platform/macos/input.cpp:388
↓ 5 callers
Function
generate
* @brief Generate a UUID value. * * @param engine Random-number engine used to generate UUID bytes. * @return Random UUID generated fro
src/uuid.h:29
↓ 5 callers
Function
getservercert
* @brief Return the server certificate text for pairing responses. * * @param sess Pairing session that owns the request state. * @param tree
src/nvhttp.cpp:447
↓ 5 callers
Method
init
* @brief Connect to KWin wayland, enumerate outputs. * @param setup_permissions - Try to setup KWin permissions (default: true) * @return 0
src/platform/linux/kwingrab.cpp:320
↓ 5 callers
Function
inject_synthetic_pointer_input
* @brief Calls InjectSyntheticPointerInput() and switches input desktops if required. * @details Must only be called if InjectSyntheticPointerInput
src/platform/windows/input.cpp:562
↓ 5 callers
Method
is_enabled
* @brief Check whether this periodic logger should emit at the configured severity. * * @return True when the logger severity is enabled and
src/logging.h:271
↓ 5 callers
Method
is_hdr
src/platform/windows/display_base.cpp:760
↓ 5 callers
Function
lock
src/thread_safe.h:778
↓ 5 callers
Function
make_display
* @brief Open and initialize the display connection used for capture. */
src/platform/linux/x11grab.cpp:1076
↓ 5 callers
Function
revert_configuration
src/display_device.cpp:895
↓ 5 callers
Function
update
* @brief Apply the supplied state update to the platform backend. */
src/platform/linux/input/inputtino_pen.cpp:24
↓ 5 callers
Method
wait_for
src/thread_safe.h:256
↓ 4 callers
Function
GetResourcePath
* @brief Get resource path. * * @param relativePath Relative path. * @return Absolute path to the resource file for the current platform bund
src/system_tray.cpp:185
↓ 4 callers
Method
add
src/crypto.cpp:27
↓ 4 callers
Method
alloc_img
src/platform/windows/display_ram.cpp:359
↓ 4 callers
Function
blend_cursor
src/platform/linux/x11grab.cpp:409
↓ 4 callers
Function
concat_and_insert
* @brief Combines two buffers and inserts new buffers at each slice boundary of the result. * @param insert_size The number of bytes to insert.
src/stream.cpp:894
↓ 4 callers
Function
config_flags
tests/unit/test_audio.cpp:22
↓ 4 callers
Method
convert_yuv444
src/platform/linux/graphics.cpp:1374
↓ 4 callers
Function
ds4_update_ts_and_send
* @brief Sends DS4 input with updated timestamps and repeats to keep timestamp updated. * @details Some applications require updated timestamps val
src/platform/windows/input.cpp:1527
↓ 4 callers
Function
encode
* @brief Encode one captured frame and queue packets for transmission. * * @param frame_nr Frame nr. * @param session Active streaming or pai
src/video.cpp:1873
↓ 4 callers
Function
encryption_mode_for_address
src/network.cpp:178
↓ 4 callers
Method
fb
* @brief Return framebuffer metadata for the current CRTC. * * @param plane DRM or EGL plane index being described. * @return Fra
src/platform/linux/kmsgrab.cpp:498
↓ 4 callers
Function
find_working_directory
* @brief Resolve the working directory for a configured command. * * @param cmd Command line to execute or inspect. * @param env Environment
src/process.cpp:110
↓ 4 callers
Method
frame_index
* @brief Return the FFmpeg packet PTS used as Sunshine's frame index. * * @return Monotonic frame index assigned to this frame. */
src/video.h:470
↓ 4 callers
Function
from_sockaddr_ex
* @brief Convert a socket address to a port and printable IP address. */
src/platform/linux/misc.cpp:269
↓ 4 callers
Function
getPage
* @brief Get an HTML page. * @param response The HTTP response object. * @param request The HTTP request object. * @param html_file The HTML
src/confighttp.cpp:475
← previous
next →
101–200 of 1,762, ranked by callers