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
↓ 7 callers
Method
texture
(&self)
src/dxgi_duplication_api.rs:480
↓ 6 callers
Method
build
(self)
src/encoder.rs:320
↓ 5 callers
Method
as_slice
(&self, rows: u32)
src/d3d11.rs:108
↓ 5 callers
Method
device_name
(&self)
src/monitor.rs:265
↓ 5 callers
Method
height
(&self)
src/frame.rs:119
↓ 5 callers
Method
timestamp
(&self)
src/frame.rs:125
↓ 4 callers
Method
as_raw_hmonitor
(&self)
src/monitor.rs:425
↓ 4 callers
Function
create_d3d_device
()
src/d3d11.rs:161
↓ 4 callers
Method
format
(&self)
src/dxgi_duplication_api.rs:333
↓ 4 callers
Method
release_frame_if_needed
(&mut self)
src/dxgi_duplication_api.rs:170
↓ 4 callers
Function
run_message_loop
()
src/capture.rs:34
↓ 4 callers
Method
width
(&self)
src/frame.rs:102
↓ 3 callers
Method
buffer
(&'_ mut self)
src/frame.rs:173
↓ 3 callers
Method
disabled
Disables or enables video encoding. When `true`, calls to send frames still succeed but produce no video samples.
src/encoder.rs:315
↓ 3 callers
Method
finish
(mut self)
src/encoder.rs:1309
↓ 3 callers
Method
height
Sets target frame height in pixels.
src/encoder.rs:298
↓ 3 callers
Function
join_capture_thread
( thread_handle: JoinHandle<Result<(), GraphicsCaptureApiError<E>>>, )
src/capture.rs:49
↓ 3 callers
Method
map
( context: &'a ID3D11DeviceContext, mut texture: StagingTextureHandle<'a>, )
src/d3d11.rs:93
↓ 3 callers
Method
rect
(&self)
src/window.rs:226
↓ 3 callers
Method
send_frame
(&mut self, frame: &Frame)
src/encoder.rs:1171
↓ 3 callers
Method
set_mapped
(&mut self, mapped: bool)
src/d3d11.rs:63
↓ 3 callers
Method
stop
(mut self)
src/capture.rs:171
↓ 3 callers
Method
texture
(&self)
src/d3d11.rs:56
↓ 3 callers
Method
to_hstring
Returns the Windows Media subtype identifier string for this [`VideoSettingsSubType`].
src/encoder.rs:490
↓ 3 callers
Function
unmap_staging_texture
Unmaps a staging texture if it is currently mapped.
src/d3d11.rs:143
↓ 3 callers
Method
width
Sets target frame width in pixels.
src/encoder.rs:293
↓ 2 callers
Method
_raw_buffer
(self)
windows-capture-python/windows_capture/__init__.py:332
↓ 2 callers
Method
as_raw_surface
(&self)
src/frame.rs:139
↓ 2 callers
Method
build_padded_surface
(&mut self, frame: &Frame)
src/encoder.rs:1120
↓ 2 callers
Method
bytes_per_pixel
(&self)
src/dxgi_duplication_api.rs:858
↓ 2 callers
Method
bytes_per_pixel
(&self)
src/frame.rs:430
↓ 2 callers
Method
cleanup
(&mut self)
src/graphics_capture_api.rs:475
↓ 2 callers
Method
desc
(&self)
src/d3d11.rs:260
↓ 2 callers
Method
device
(&self)
src/frame.rs:153
↓ 2 callers
Method
device_context
(&self)
src/frame.rs:160
↓ 2 callers
Function
dispatcher_queue_options
()
src/capture.rs:26
↓ 2 callers
Function
enable_per_monitor_dpi_awareness
()
src/dxgi_duplication_api.rs:125
↓ 2 callers
Method
encode
(&self, image_buffer: &[u8], width: u32, height: u32)
src/encoder.rs:155
↓ 2 callers
Function
find_output_for_monitor
(dxgi_device: &IDXGIDevice4, monitor: Monitor)
src/dxgi_duplication_api.rs:133
↓ 2 callers
Method
is_finished
(&self)
src/capture.rs:116
↓ 2 callers
Function
map_supported_formats
(supported_formats: &[DxgiDuplicationFormat])
src/dxgi_duplication_api.rs:152
↓ 2 callers
Method
size
Returns the size of the picked item as `(width, height)`.
src/graphics_capture_picker.rs:61
↓ 2 callers
Function
start_capture
Starts the capture process with the specified settings.
examples/cli.rs:252
↓ 2 callers
Method
start_capture
(&mut self)
src/graphics_capture_api.rs:393
↓ 2 callers
Method
stop_capture
(mut self)
src/graphics_capture_api.rs:408
↓ 2 callers
Method
to_bgr
Returns the frame converted to BGR ``numpy.uint8`` format.
windows-capture-python/windows_capture/__init__.py:361
↓ 2 callers
Method
try_into
(self)
src/window.rs:373
↓ 1 callers
Method
acquire_next_frame
(&mut self, timeout_ms: u32)
src/dxgi_duplication_api.rs:369
↓ 1 callers
Method
acquire_next_frame
(&mut self, timeout_ms: u32)
windows-capture-python/src/lib.rs:540
↓ 1 callers
Method
as_mut_slice
(&mut self, height: u32)
src/dxgi_duplication_api.rs:692
↓ 1 callers
Method
as_mut_slice
(&mut self, height: u32)
src/frame.rs:264
↓ 1 callers
Method
as_nopadding_buffer
(&'b self, buffer: &'b mut Vec<u8>)
src/dxgi_duplication_api.rs:796
↓ 1 callers
Method
as_nopadding_buffer
(&'b self, buffer: &'b mut Vec<u8>)
src/frame.rs:375
↓ 1 callers
Method
as_raw_buffer
(&mut self)
src/frame.rs:368
↓ 1 callers
Method
as_raw_hwnd
(&self)
src/window.rs:352
↓ 1 callers
Method
as_raw_texture
(&self)
src/frame.rs:146
↓ 1 callers
Method
as_slice
(&self, height: u32)
src/dxgi_duplication_api.rs:685
↓ 1 callers
Method
as_slice
(&self, height: u32)
src/frame.rs:257
↓ 1 callers
Method
bitrate
Sets target bitrate in bits per second.
src/encoder.rs:288
↓ 1 callers
Method
buffer
(&'b mut self)
src/dxgi_duplication_api.rs:507
↓ 1 callers
Method
buffer_crop
( &'_ mut self, start_x: u32, start_y: u32, end_x: u32, end_y: u32,
src/frame.rs:188
↓ 1 callers
Method
buffer_view
(&'py self, py: Python<'py>)
windows-capture-python/src/lib.rs:715
↓ 1 callers
Method
color_format
(&self)
src/frame.rs:132
↓ 1 callers
Function
create_direct3d_device
(d3d_device: &ID3D11Device)
src/d3d11.rs:210
↓ 1 callers
Method
depth_pitch
(&self)
src/dxgi_duplication_api.rs:775
↓ 1 callers
Method
depth_pitch
(&self)
src/frame.rs:347
↓ 1 callers
Method
frame_rate
Sets target frame rate (numerator; denominator is fixed to 1).
src/encoder.rs:303
↓ 1 callers
Method
halt_handle
(&self)
src/capture.rs:130
↓ 1 callers
Method
has_padding
(&self)
src/dxgi_duplication_api.rs:789
↓ 1 callers
Method
has_padding
(&self)
src/frame.rs:361
↓ 1 callers
Method
height
(&self)
windows-capture-python/src/lib.rs:684
↓ 1 callers
Method
is_mapped
(&self)
src/d3d11.rs:267
↓ 1 callers
Method
is_valid
(&self)
src/window.rs:269
↓ 1 callers
Method
on_closed
(&mut self)
src/capture.rs:495
↓ 1 callers
Method
on_frame_arrived
This Method Is Called Before The on_frame_arrived Callback Function To Prepare Data
windows-capture-python/windows_capture/__init__.py:250
↓ 1 callers
Function
parse_cursor_capture
Parses the string argument for cursor capture settings.
examples/cli.rs:185
↓ 1 callers
Function
parse_dirty_region
Parses the string argument for dirty region settings.
examples/cli.rs:239
↓ 1 callers
Function
parse_draw_border
Parses the string argument for draw border settings.
examples/cli.rs:198
↓ 1 callers
Function
parse_minimum_update_interval
Parses the string argument for minimum update interval settings.
examples/cli.rs:224
↓ 1 callers
Function
parse_secondary_window
Parses the string argument for secondary window settings.
examples/cli.rs:211
↓ 1 callers
Method
process_id
(&self)
src/window.rs:167
↓ 1 callers
Method
recreate_duplication
(&mut self)
windows-capture-python/src/lib.rs:490
↓ 1 callers
Method
row_pitch
(&self)
src/dxgi_duplication_api.rs:768
↓ 1 callers
Method
row_pitch
(&self)
src/frame.rs:340
↓ 1 callers
Method
save_as_image
(&mut self, path: T, format: ImageFormat)
src/frame.rs:242
↓ 1 callers
Method
stop
(&mut self, py: Python)
windows-capture-python/src/lib.rs:96
↓ 1 callers
Method
texture_desc
(&self)
src/dxgi_duplication_api.rs:488
↓ 1 callers
Method
title
(&self)
src/window.rs:143
↓ 1 callers
Method
title_bar_height
(&self)
src/window.rs:238
↓ 1 callers
Method
to_numpy
Returns the frame as a ``numpy.ndarray`` with shape ``(height, width, 4)``. The channel order matches the underlying capture format (BGRA or
windows-capture-python/windows_capture/__init__.py:337
↓ 1 callers
Method
width
(&self)
windows-capture-python/src/lib.rs:679
Method
__init__
Constructs All The Necessary Attributes For The Frame Object
windows-capture-python/windows_capture/__init__.py:45
Method
__init__
Constructs All The Necessary Attributes For The InternalCaptureControl Object
windows-capture-python/windows_capture/__init__.py:92
Method
__init__
Constructs All The Necessary Attributes For The CaptureControlObject
windows-capture-python/windows_capture/__init__.py:118
Method
__init__
Constructs All The Necessary Attributes For The WindowsCapture Object ... Parameters ---------- cursor_
windows-capture-python/windows_capture/__init__.py:173
Method
__init__
(self, native_frame: NativeDxgiDuplicationFrame)
windows-capture-python/windows_capture/__init__.py:308
Method
__init__
(self, monitor_index: Optional[int] = None)
windows-capture-python/windows_capture/__init__.py:397
Method
acquire_frame
(self, timeout_ms: int = 16)
windows-capture-python/windows_capture/__init__.py:405
Method
as_mut_slice
(&mut self, rows: u32)
src/d3d11.rs:115
Method
as_raw_buffer
(&mut self)
src/dxgi_duplication_api.rs:831
next →
1–100 of 251, ranked by callers