Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NiiightmareXD/windows-capture
/ functions
Functions
251 in github.com/NiiightmareXD/windows-capture
⨍
Functions
251
◇
Types & classes
74
Method
on_closed
(&mut self)
examples/stream_capture.rs:83
Method
on_closed
This Method Is Called Before The on_closed Callback Function
windows-capture-python/windows_capture/__init__.py:285
Method
on_closed
(&mut self)
windows-capture-python/src/lib.rs:470
Method
on_frame_arrived
Called for each new frame that is captured.
examples/cli.rs:83
Method
on_frame_arrived
Called every time a new frame is available.
examples/graphics_capture.rs:48
Method
on_frame_arrived
( &mut self, frame: &mut Frame, capture_control: InternalCaptureControl, )
examples/stream_capture.rs:44
Method
on_frame_arrived
( &mut self, frame: &mut Frame, capture_control: InternalCaptureControl, )
windows-capture-python/src/lib.rs:435
Method
output
(&self)
src/dxgi_duplication_api.rs:312
Method
pick_item
Shows the system Graphics Capture Picker dialog and returns the chosen item. A tiny, off-screen tool window is created as the picker owner and initia
src/graphics_capture_picker.rs:86
Method
pixel_aspect_ratio
Sets pixel aspect ratio as (numerator, denominator).
src/encoder.rs:308
Method
primary
()
src/monitor.rs:121
Method
process_name
(&self)
src/window.rs:187
Method
recreate
Recreates the duplication interface, mostly used after receiving an [`Error::AccessLost`] error from [`DxgiDuplicationApi::acquire_next_frame`].
src/dxgi_duplication_api.rs:247
Method
recreate
(self)
windows-capture-python/windows_capture/__init__.py:412
Method
recreate
(&mut self)
windows-capture-python/src/lib.rs:623
Method
recreate_options
Recreates the duplication interface with a custom list of supported DXGI formats, mostly used after receiving an [`Error::AccessLost`] error from [`Dx
src/dxgi_duplication_api.rs:260
Method
refresh_rate
(&self)
src/dxgi_duplication_api.rs:345
Method
refresh_rate
(&self)
src/monitor.rs:347
Method
row_pitch
(&self)
src/d3d11.rs:122
Method
sample_rate
Sets sample rate in Hz.
src/encoder.rs:375
Method
save_as_image
(&mut self, path: T, format: ImageFormat)
src/dxgi_duplication_api.rs:662
Method
save_as_image
Save The Frame As An Image To The Specified Path
windows-capture-python/windows_capture/__init__.py:54
Method
save_as_image
Saves the frame to disk using OpenCV.
windows-capture-python/windows_capture/__init__.py:376
Method
send_audio_buffer
( &mut self, buffer: &[u8], _timestamp: i64, // ignored to guarantee monotonic audio t
src/encoder.rs:1281
Method
send_frame_buffer
(&mut self, buffer: &[u8], timestamp: i64)
src/encoder.rs:1253
Method
send_frame_with_audio
(&mut self, frame: &mut Frame, audio_buffer: &[u8])
src/encoder.rs:1205
Method
start
( settings: Settings<Self::Flags, T>, )
src/capture.rs:289
Method
start
Starts The Capture Thread
windows-capture-python/windows_capture/__init__.py:228
Method
start
(&mut self)
windows-capture-python/src/lib.rs:216
Method
start_free_threaded
( settings: Settings<Self::Flags, T>, )
src/capture.rs:367
Method
start_free_threaded
Starts The Capture Thread On A Dedicated Thread
windows-capture-python/windows_capture/__init__.py:237
Method
start_free_threaded
(&mut self)
windows-capture-python/src/lib.rs:303
Method
stop
(self)
src/graphics_capture_api.rs:82
Method
stop
Stops The Capturing Thread
windows-capture-python/windows_capture/__init__.py:97
Method
stop
Gracefully Stop The Capture Thread
windows-capture-python/windows_capture/__init__.py:130
Method
sub_type
Sets the video codec/subtype (e.g., [`VideoSettingsSubType::HEVC`]).
src/encoder.rs:283
Method
switch_monitor
(self, monitor_index: int)
windows-capture-python/windows_capture/__init__.py:415
Method
switch_monitor
(&mut self, monitor_index: usize)
windows-capture-python/src/lib.rs:610
Method
to_bytes
Returns a contiguous copy of the frame bytes.
windows-capture-python/windows_capture/__init__.py:386
Method
to_bytes
(&self)
windows-capture-python/src/lib.rs:711
Method
try_into
(self)
src/graphics_capture_picker.rs:154
Method
try_into
(self)
src/monitor.rs:444
Method
wait
(mut self)
src/capture.rs:149
Method
wait
Waits Until The Capturing Thread Stops
windows-capture-python/windows_capture/__init__.py:126
Method
wait
(&mut self, py: Python)
windows-capture-python/src/lib.rs:69
Method
width
Returns the width of the window in pixels. # Errors - [`Error::WindowsError`] when retrieving the window rectangle fails
src/window.rs:327
Method
width
(&self)
src/dxgi_duplication_api.rs:319
Method
width
(&self)
src/monitor.rs:367
Method
width
(self)
windows-capture-python/windows_capture/__init__.py:313
Function
windows_capture
(m: &Bound<'_, PyModule>)
windows-capture-python/src/lib.rs:38
Function
wnd_proc
Window procedure for the hidden owner window used by the picker. Safety: Called by the system with a valid `HWND` and message parameters. Forwards un
src/graphics_capture_picker.rs:29
← previous
201–251 of 251, ranked by callers