Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NiiightmareXD/windows-capture
/ types & classes
Types & classes
74 in github.com/NiiightmareXD/windows-capture
⨍
Functions
251
◇
Types & classes
74
↓ 4 callers
Class
Frame
Class To Store A Frame ... Attributes ---------- frame_buffer : numpy.ndarray Raw Buffer Of The Frame width : str
windows-capture-python/windows_capture/__init__.py:16
↓ 1 callers
Class
CaptureControl
Class To Control The Capturing Session ... Methods ------- is_finished(): Checks To See If Capture Thread Is Finished
windows-capture-python/windows_capture/__init__.py:102
↓ 1 callers
Class
DxgiDuplicationFrame
Represents a CPU-readable DXGI desktop duplication frame.
windows-capture-python/windows_capture/__init__.py:303
↓ 1 callers
Class
HwndGuard
RAII guard that destroys the hidden picker window on drop and drains any pending messages associated with it.
src/graphics_capture_picker.rs:38
↓ 1 callers
Class
InternalCaptureControl
Class To Control The Capturing Session ... Methods ------- stop(): Stops The Capture Thread
windows-capture-python/windows_capture/__init__.py:80
↓ 1 callers
Class
Monitor
src/monitor.rs:108
↓ 1 callers
Class
NativeDxgiDuplication
windows-capture-python/src/lib.rs:478
↓ 1 callers
Class
NativeWindowsCapture
windows-capture-python/src/lib.rs:125
↓ 1 callers
Class
Window
src/window.rs:74
Enum
AudioEncoderSource
Audio sources used by [`VideoEncoder`]. The encoder takes ownership of the bytes.
src/encoder.rs:236
Class
AudioSettingsBuilder
Builder for configuring audio encoder settings.
src/encoder.rs:335
Enum
AudioSettingsSubType
src/encoder.rs:521
Class
CachedSurface
src/encoder.rs:241
Class
Capture
This struct handles the capture events.
examples/cli.rs:35
Class
Capture
Handles capture events.
examples/graphics_capture.rs:15
Class
CaptureControl
Used to control the capture session
src/capture.rs:95
Enum
CaptureControlError
Errors that can occur while controlling a running capture session via [`CaptureControl`]. This error wraps lower-level errors from the Windows Graphi
src/capture.rs:66
Class
CaptureSettings
Holds the settings for the capture session, provided from the command line.
examples/cli.rs:19
Class
Cli
examples/cli.rs:141
Enum
ColorFormat
src/settings.rs:28
Class
ContainerSettingsBuilder
Builder for configuring container settings.
src/encoder.rs:413
Enum
ContainerSettingsSubType
src/encoder.rs:597
Class
Context
The context provided to the capture handler.
src/capture.rs:269
Enum
CursorCaptureSettings
src/settings.rs:47
Class
DirtyRegion
src/frame.rs:51
Enum
DirtyRegionSettings
src/settings.rs:90
Enum
DrawBorderSettings
src/settings.rs:58
Class
DxgiDuplicationApi
A minimal, ergonomic wrapper around the DXGI Desktop Duplication API for capturing a monitor. This wrapper focuses on staying close to the native API
src/dxgi_duplication_api.rs:108
Enum
DxgiDuplicationFormat
src/dxgi_duplication_api.rs:92
Class
DxgiDuplicationFrame
Represents a pre-assembled full desktop image for the current frame, backed by the internal GPU texture. Call [`DxgiDuplicationFrame::buffer`] to obta
src/dxgi_duplication_api.rs:420
Class
DxgiDuplicationFrameBuffer
Represents a CPU-readable frame buffer produced from a duplication frame.
src/dxgi_duplication_api.rs:701
Enum
DxgiDuplicationFrameBufferBacking
Represents a frame buffer containing pixel data. # Example ```ignore // Get a frame from the capture session let mut buffer = frame.buffer()?; buffer
src/dxgi_duplication_api.rs:679
Class
DxgiDuplicationSession
High-level helper for DXGI desktop duplication captures.
windows-capture-python/windows_capture/__init__.py:392
Enum
Error
Errors that can occur when configuring or running a Windows Graphics Capture session.
src/graphics_capture_api.rs:28
Enum
Error
Errors that can occur when querying or manipulating top-level windows via [`Window`].
src/window.rs:39
Enum
Error
Errors that can occur when creating or working with Direct3D devices and textures.
src/d3d11.rs:21
Enum
Error
src/dxgi_duplication_api.rs:53
Enum
Error
Errors that can occur while showing or interacting with the Graphics Capture Picker.
src/graphics_capture_picker.rs:16
Enum
Error
Errors that can occur when querying monitors or converting them into capture items.
src/monitor.rs:38
Enum
Error
Errors that can occur while working with captured frames and buffers.
src/frame.rs:19
Class
Frame
Represents a frame captured from a graphics capture item. # Example ```ignore // Get a frame from the capture session let mut buffer = frame.buffer()
src/frame.rs:70
Class
FrameBuffer
Represents a frame buffer containing pixel data. # Example ```ignore // Get a frame from the capture session let mut buffer = frame.buffer()?; buffer
src/frame.rs:280
Enum
FrameBufferBacking
src/frame.rs:251
Class
GraphicsCaptureApi
Manages a graphics capture session using the Windows Graphics Capture API.
src/graphics_capture_api.rs:88
Enum
GraphicsCaptureApiError
Errors that can occur while initializing and running the Windows Graphics Capture pipeline.
src/capture.rs:216
Interface
GraphicsCaptureApiHandler
Trait implemented by types that handle graphics capture events.
src/capture.rs:279
Enum
GraphicsCaptureItemType
An enumeration of item types that can be captured. Wraps the WinRT [`GraphicsCaptureItem`] together with additional details about the source: - [`Mon
src/settings.rs:15
Class
GraphicsCapturePicker
Helper for prompting the user to pick a window or monitor using the system Graphics Capture Picker.
src/graphics_capture_picker.rs:69
Class
ImageEncoder
Encodes raw image buffers into encoded bytes for common formats. Supports saving as PNG, JPEG, GIF, TIFF, BMP, and JPEG XR when the input color forma
src/encoder.rs:115
Enum
ImageEncoderError
Errors that can occur when encoding raw buffers to images via [`ImageEncoder`].
src/encoder.rs:43
Enum
ImageEncoderPixelFormat
src/encoder.rs:85
Enum
ImageFormat
Supported output image formats for [`crate::encoder::ImageEncoder`].
src/encoder.rs:68
Class
InnerNativeWindowsCapture
windows-capture-python/src/lib.rs:410
Enum
InnerNativeWindowsCaptureError
windows-capture-python/src/lib.rs:416
Class
InternalCaptureControl
Provides a way to gracefully stop the capture session thread.
src/graphics_capture_api.rs:68
Class
MappedStagingTexture
A mapped staging texture that automatically unmaps itself when dropped.
src/d3d11.rs:72
Enum
MinimumUpdateIntervalSettings
src/settings.rs:80
Class
NativeCaptureControl
windows-capture-python/src/lib.rs:48
Class
NativeDxgiDuplicationFrame
windows-capture-python/src/lib.rs:631
Class
PickedGraphicsCaptureItem
The successfully picked graphics capture item and its associated window guard.
src/graphics_capture_picker.rs:52
Enum
SecondaryWindowSettings
src/settings.rs:69
Class
SendDirectX
A wrapper to send a DirectX device across threads.
src/d3d11.rs:36
Class
Settings
src/settings.rs:101
Class
StagingTexture
Reusable CPU-read/write staging texture wrapper.
src/d3d11.rs:219
Enum
StagingTextureHandle
src/d3d11.rs:50
Class
StreamCapture
examples/stream_capture.rs:16
Class
VideoEncoder
Encodes video frames (and optional audio) and writes them to a file or stream. Frames are provided as Direct3D surfaces or raw BGRA buffers. Audio ca
src/encoder.rs:674
Enum
VideoEncoderError
Errors emitted by [`VideoEncoder`] during configuration, streaming, or finalization.
src/encoder.rs:185
Enum
VideoEncoderSource
Video sources used by [`VideoEncoder`]. - For [`VideoEncoderSource::DirectX`], the COM surface pointer is ref-counted; holding the pointer is suffici
src/encoder.rs:228
Class
VideoSettingsBuilder
Builder for configuring video encoder settings.
src/encoder.rs:251
Enum
VideoSettingsSubType
src/encoder.rs:442
Class
WinMTACookie
Panic safe wrapper around `CoIncrementMTAUsage`.
src/winrt.rs:6
Class
WinRT
Panic safe wrapper for WinRT api initialization.
src/winrt.rs:24
Class
WindowsCapture
Class To Capture The Screen ... Attributes ---------- frame_handler : Optional[types.FunctionType] The on_frame_arrived
windows-capture-python/windows_capture/__init__.py:135