MCPcopy Create free account

hub / github.com/NiiightmareXD/windows-capture / functions

Functions251 in github.com/NiiightmareXD/windows-capture

Methodon_closed
(&mut self)
examples/stream_capture.rs:83
Methodon_closed
This Method Is Called Before The on_closed Callback Function
windows-capture-python/windows_capture/__init__.py:285
Methodon_closed
(&mut self)
windows-capture-python/src/lib.rs:470
Methodon_frame_arrived
Called for each new frame that is captured.
examples/cli.rs:83
Methodon_frame_arrived
Called every time a new frame is available.
examples/graphics_capture.rs:48
Methodon_frame_arrived
( &mut self, frame: &mut Frame, capture_control: InternalCaptureControl, )
examples/stream_capture.rs:44
Methodon_frame_arrived
( &mut self, frame: &mut Frame, capture_control: InternalCaptureControl, )
windows-capture-python/src/lib.rs:435
Methodoutput
(&self)
src/dxgi_duplication_api.rs:312
Methodpick_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
Methodpixel_aspect_ratio
Sets pixel aspect ratio as (numerator, denominator).
src/encoder.rs:308
Methodprimary
()
src/monitor.rs:121
Methodprocess_name
(&self)
src/window.rs:187
Methodrecreate
Recreates the duplication interface, mostly used after receiving an [`Error::AccessLost`] error from [`DxgiDuplicationApi::acquire_next_frame`].
src/dxgi_duplication_api.rs:247
Methodrecreate
(self)
windows-capture-python/windows_capture/__init__.py:412
Methodrecreate
(&mut self)
windows-capture-python/src/lib.rs:623
Methodrecreate_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
Methodrefresh_rate
(&self)
src/dxgi_duplication_api.rs:345
Methodrefresh_rate
(&self)
src/monitor.rs:347
Methodrow_pitch
(&self)
src/d3d11.rs:122
Methodsample_rate
Sets sample rate in Hz.
src/encoder.rs:375
Methodsave_as_image
(&mut self, path: T, format: ImageFormat)
src/dxgi_duplication_api.rs:662
Methodsave_as_image
Save The Frame As An Image To The Specified Path
windows-capture-python/windows_capture/__init__.py:54
Methodsave_as_image
Saves the frame to disk using OpenCV.
windows-capture-python/windows_capture/__init__.py:376
Methodsend_audio_buffer
( &mut self, buffer: &[u8], _timestamp: i64, // ignored to guarantee monotonic audio t
src/encoder.rs:1281
Methodsend_frame_buffer
(&mut self, buffer: &[u8], timestamp: i64)
src/encoder.rs:1253
Methodsend_frame_with_audio
(&mut self, frame: &mut Frame, audio_buffer: &[u8])
src/encoder.rs:1205
Methodstart
( settings: Settings<Self::Flags, T>, )
src/capture.rs:289
Methodstart
Starts The Capture Thread
windows-capture-python/windows_capture/__init__.py:228
Methodstart
(&mut self)
windows-capture-python/src/lib.rs:216
Methodstart_free_threaded
( settings: Settings<Self::Flags, T>, )
src/capture.rs:367
Methodstart_free_threaded
Starts The Capture Thread On A Dedicated Thread
windows-capture-python/windows_capture/__init__.py:237
Methodstart_free_threaded
(&mut self)
windows-capture-python/src/lib.rs:303
Methodstop
(self)
src/graphics_capture_api.rs:82
Methodstop
Stops The Capturing Thread
windows-capture-python/windows_capture/__init__.py:97
Methodstop
Gracefully Stop The Capture Thread
windows-capture-python/windows_capture/__init__.py:130
Methodsub_type
Sets the video codec/subtype (e.g., [`VideoSettingsSubType::HEVC`]).
src/encoder.rs:283
Methodswitch_monitor
(self, monitor_index: int)
windows-capture-python/windows_capture/__init__.py:415
Methodswitch_monitor
(&mut self, monitor_index: usize)
windows-capture-python/src/lib.rs:610
Methodto_bytes
Returns a contiguous copy of the frame bytes.
windows-capture-python/windows_capture/__init__.py:386
Methodto_bytes
(&self)
windows-capture-python/src/lib.rs:711
Methodtry_into
(self)
src/graphics_capture_picker.rs:154
Methodtry_into
(self)
src/monitor.rs:444
Methodwait
(mut self)
src/capture.rs:149
Methodwait
Waits Until The Capturing Thread Stops
windows-capture-python/windows_capture/__init__.py:126
Methodwait
(&mut self, py: Python)
windows-capture-python/src/lib.rs:69
Methodwidth
Returns the width of the window in pixels. # Errors - [`Error::WindowsError`] when retrieving the window rectangle fails
src/window.rs:327
Methodwidth
(&self)
src/dxgi_duplication_api.rs:319
Methodwidth
(&self)
src/monitor.rs:367
Methodwidth
(self)
windows-capture-python/windows_capture/__init__.py:313
Functionwindows_capture
(m: &Bound<'_, PyModule>)
windows-capture-python/src/lib.rs:38
Functionwnd_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
← previous201–251 of 251, ranked by callers