MCPcopy Index your code

hub / github.com/CapSoftware/scap / functions

Functions112 in github.com/CapSoftware/scap

↓ 7 callersMethodappend
(&self, i: &mut arg::IterAppend)
src/capturer/engine/linux/portal.rs:133
↓ 7 callersFunctionsample_buffer_to_pixel_buffer
(sample_buffer: &CMSampleBuffer)
src/capturer/engine/mac/pixel_buffer.rs:195
↓ 6 callersFunctionget_main_display
()
src/targets/mod.rs:63
↓ 5 callersFunctionget_pts_in_nanoseconds
Returns a frame's presentation timestamp in nanoseconds since an arbitrary start time. This is typically yielded from a monotonic clock started on sys
src/capturer/engine/mac/pixelformat.rs:23
↓ 5 callersFunctionpixel_buffer_bounds
(pixel_buffer: CVPixelBufferRef)
src/capturer/engine/mac/pixel_buffer.rs:201
↓ 4 callersFunctionget_absolute_value
(value: f64, scale_factor: f64)
src/capturer/engine/win/mod.rs:213
↓ 4 callersMethodwidth
(&self)
src/capturer/engine/mac/pixel_buffer.rs:27
↓ 3 callersFunctioncreate_capturer
(options: &Options, tx: mpsc::Sender<Frame>)
src/capturer/engine/win/mod.rs:139
↓ 3 callersFunctionget_crop_area
(options: &Options)
src/capturer/engine/win/mod.rs:218
↓ 3 callersMethodheight
(&self)
src/capturer/engine/mac/pixel_buffer.rs:31
↓ 3 callersMethodinto
(self)
src/capturer/engine/mac/pixel_buffer.rs:103
↓ 3 callersMethodstart_capture
(&mut self)
src/capturer/engine/win/mod.rs:118
↓ 3 callersMethodstop_capture
(&mut self)
src/capturer/engine/win/mod.rs:127
↓ 2 callersFunctionget_crop_area
(options: &Options)
src/capturer/engine/mac/mod.rs:198
↓ 2 callersFunctionget_cropped_data
(data: Vec<u8>, cur_width: i32, height: i32, width: i32)
src/frame/mod.rs:122
↓ 2 callersFunctionget_display_name
(display_id: CGDirectDisplayID)
src/targets/mac/mod.rs:11
↓ 2 callersFunctionget_scale_factor
(target: &Target)
src/targets/mod.rs:52
↓ 2 callersFunctionget_target_dimensions
(target: &Target)
src/targets/mod.rs:74
↓ 2 callersFunctionhas_permission
Checks if process has permission to capture the screen
src/utils/mod.rs:11
↓ 2 callersFunctionis_supported
Checks if scap is supported on the current system
src/utils/mod.rs:37
↓ 2 callersMethodstop
(&mut self)
src/capturer/engine/mod.rs:107
↓ 2 callersMethodvalue
(&self, aspect_ratio: f32)
src/capturer/mod.rs:29
↓ 1 callersMethodavailable_cursor_modes
(&self)
src/capturer/engine/linux/portal.rs:102
↓ 1 callersMethodavailable_source_types
(&self)
src/capturer/engine/linux/portal.rs:94
↓ 1 callersMethodbuffer
(&self)
src/capturer/engine/mac/pixel_buffer.rs:35
↓ 1 callersFunctionconvert_bgra_to_rgb
(frame_data: Vec<u8>)
src/frame/mod.rs:107
↓ 1 callersFunctioncreate_bgr_frame
(sample_buffer: CMSampleBuffer)
src/capturer/engine/mac/pixelformat.rs:101
↓ 1 callersFunctioncreate_bgra_frame
(sample_buffer: CMSampleBuffer)
src/capturer/engine/mac/pixelformat.rs:134
↓ 1 callersFunctioncreate_rgb_frame
(sample_buffer: CMSampleBuffer)
src/capturer/engine/mac/pixelformat.rs:165
↓ 1 callersMethodcreate_session
(&self, options: arg::PropMap)
src/capturer/engine/linux/portal.rs:45
↓ 1 callersMethodcreate_session_args
(&self)
src/capturer/engine/linux/portal.rs:243
↓ 1 callersMethodcreate_stream
(&self)
src/capturer/engine/linux/portal.rs:403
↓ 1 callersFunctioncreate_yuv_frame
(sample_buffer: CMSampleBuffer)
src/capturer/engine/mac/pixelformat.rs:31
↓ 1 callersMethodget_next_frame
Get the next captured frame
src/capturer/mod.rs:142
↓ 1 callersFunctionget_output_frame_size
(options: &Options)
src/capturer/engine/mod.rs:23
↓ 1 callersFunctionget_output_frame_size
(options: &Options)
src/capturer/engine/mac/mod.rs:166
↓ 1 callersFunctionget_timestamp
(buffer: *mut spa_buffer)
src/capturer/engine/linux/mod.rs:94
↓ 1 callersFunctionpipewire_capturer
TODO: Format negotiation
src/capturer/engine/linux/mod.rs:174
↓ 1 callersFunctionpixel_buffer_bytes_per_row
(pixel_buffer: CVPixelBufferRef)
src/capturer/engine/mac/pixel_buffer.rs:208
↓ 1 callersFunctionpixel_buffer_display_time
(sample_buffer: &CMSampleBuffer)
src/capturer/engine/mac/pixel_buffer.rs:212
↓ 1 callersMethodprocess_channel_item
(&self, data: ChannelItem)
src/capturer/engine/mod.rs:128
↓ 1 callersFunctionprocess_sample_buffer
( sample: CMSampleBuffer, of_type: SCStreamOutputType, output_type: FrameType, )
src/capturer/engine/mac/mod.rs:233
↓ 1 callersMethodpw_node_id
(&self)
src/capturer/engine/linux/portal.rs:178
↓ 1 callersFunctionremove_alpha_channel
(frame_data: Vec<u8>)
src/frame/mod.rs:92
↓ 1 callersFunctionrequest_permission
Prompts user to grant screen capturing permission to current process
src/utils/mod.rs:23
↓ 1 callersMethodselect_sources
( &self, session_handle: dbus::Path, options: arg::PropMap, )
src/capturer/engine/linux/portal.rs:54
↓ 1 callersMethodselect_sources_args
(&self)
src/capturer/engine/linux/portal.rs:256
↓ 1 callersMethodshow_cursor
(mut self, mode: bool)
src/capturer/engine/linux/portal.rs:409
↓ 1 callersMethodstart
(&mut self)
src/capturer/engine/mod.rs:89
↓ 1 callersMethodstart
( &self, session_handle: dbus::Path, parent_window: &str, options: arg::PropMa
src/capturer/engine/linux/portal.rs:67
↓ 1 callersMethodstart_capture
TODO Prevent starting capture if already started Start capturing the frames
src/capturer/mod.rs:132
↓ 1 callersMethodstop_capture
Stop the capturer
src/capturer/mod.rs:137
Methodbuild
Build a new [Capturer] instance with the provided options
src/capturer/mod.rs:114
Methodbytes_per_row
(&self)
src/capturer/engine/mac/pixel_buffer.rs:39
Methodclose
(&self)
src/capturer/engine/linux/portal.rs:156
Functioncreate_capturer
(options: &Options, tx: mpsc::Sender<Frame>)
src/capturer/engine/linux/mod.rs:374
Functioncreate_capturer
( options: &Options, tx: mpsc::Sender<ChannelItem>, error_flag: Arc<AtomicBool>, )
src/capturer/engine/mac/mod.rs:63
Methoddata
(&self)
src/capturer/engine/mac/pixel_buffer.rs:43
Methodderef
(&self)
src/capturer/engine/mac/pixel_buffer.rs:155
Methoddid_output_sample_buffer
(&self, sample: CMSampleBuffer, of_type: SCStreamOutputType)
src/capturer/engine/mac/mod.rs:58
Methoddisplay_time
(&self)
src/capturer/engine/mac/pixel_buffer.rs:23
Methoddrop
(&mut self)
src/capturer/engine/mac/pixel_buffer.rs:161
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/capturer/mod.rs:88
Methodfmt
(&self, f: &mut Formatter)
src/capturer/engine/linux/error.rs:23
Methodfrom
(e: pipewire::Error)
src/capturer/engine/linux/error.rs:29
Methodfrom_dbus
(stream: &Variant<Box<dyn RefArg>>)
src/capturer/engine/linux/portal.rs:182
Functionget_all_targets
Returns a list of targets that can be captured
src/targets/mod.rs:41
Functionget_all_targets
()
src/targets/win/mod.rs:9
Functionget_all_targets
On Linux, the target is selected when a Recorder is instanciated because this requires user interaction
src/targets/linux/mod.rs:5
Functionget_all_targets
()
src/targets/mac/mod.rs:36
Functionget_main_display
()
src/targets/win/mod.rs:43
Functionget_main_display
()
src/targets/mac/mod.rs:75
Methodget_next_pixel_buffer
(&self)
src/capturer/engine/mac/pixel_buffer.rs:168
Functionget_output_frame_size
(options: &Options)
src/capturer/engine/win/mod.rs:184
Methodget_output_frame_size
Get the dimensions the frames will be captured in
src/capturer/mod.rs:153
Methodget_output_frame_size
(&mut self)
src/capturer/engine/mod.rs:124
Functionget_scale_factor
Referred to: https://github.com/tauri-apps/tao/blob/ab792dbd6c5f0a708c818b20eaff1d9a7534c7c1/src/platform_impl/windows/dpi.rs#L50
src/targets/win/mod.rs:55
Functionget_scale_factor
(target: &Target)
src/targets/mac/mod.rs:86
Functionget_target_dimensions
(target: &Target)
src/targets/win/mod.rs:83
Functionget_target_dimensions
(target: &Target)
src/targets/mac/mod.rs:102
Methodhandle_req_response
( connection: &Connection, path: dbus::Path<'static>, iterations: usize, timeo
src/capturer/engine/linux/portal.rs:274
Functionhas_permission
TODO
src/utils/linux/mod.rs:8
Functionhas_permission
()
src/utils/mac/mod.rs:4
Functionis_supported
()
src/utils/win/mod.rs:3
Functionis_supported
TODO
src/utils/linux/mod.rs:2
Functionis_supported
()
src/utils/mac/mod.rs:12
Functionmain
()
src/main.rs:11
Methodnew
(options: Options)
src/capturer/mod.rs:106
Methodnew
(options: &Options, tx: mpsc::Sender<ChannelItem>)
src/capturer/engine/mod.rs:57
Methodnew
(context: Context<Self::Flags>)
src/capturer/engine/win/mod.rs:40
Methodnew
TODO: Error handling
src/capturer/engine/linux/mod.rs:327
Methodnew
(connection: &'a Connection)
src/capturer/engine/linux/portal.rs:227
Methodnew
(msg: String)
src/capturer/engine/linux/error.rs:17
Methodnew
(item: ChannelItem)
src/capturer/engine/mac/pixel_buffer.rs:80
Methodnew
(tx: mpsc::Sender<ChannelItem>)
src/capturer/engine/mac/mod.rs:52
Methodon_closed
(&mut self)
src/capturer/engine/win/mod.rs:111
Methodon_error
(&self)
src/capturer/engine/mac/mod.rs:40
Methodon_frame_arrived
( &mut self, frame: &mut WCFrame, _: InternalCaptureControl, )
src/capturer/engine/win/mod.rs:47
Methodopen_pipe_wire_remote
( &self, session_handle: dbus::Path, options: arg::PropMap, )
src/capturer/engine/linux/portal.rs:81
Functionparam_changed_callback
( _stream: &StreamRef, user_data: &mut ListenerUserData, id: u32, param: Option<&Pod>, )
src/capturer/engine/linux/mod.rs:51
next →1–100 of 112, ranked by callers