Module ffi

Module ffi 

Source
Expand description

Swift FFI bridge to ScreenCaptureKit

Functions§

cgimage_free_data
cgimage_get_data
cgimage_get_height
cgimage_get_width
cgimage_release
cv_pixel_buffer_get_iosurface
cv_pixel_buffer_is_backed_by_iosurface
dispatch_queue_create
dispatch_queue_release
iosurface_get_base_address
iosurface_get_bytes_per_row
iosurface_get_height
iosurface_get_pixel_format
iosurface_get_width
iosurface_is_in_use
iosurface_lock
iosurface_release
iosurface_unlock
sc_content_filter_create_with_desktop_independent_window
sc_content_filter_create_with_display_excluding_windows
sc_content_filter_create_with_display_including_applications_excepting_windows
sc_content_filter_create_with_display_including_windows
sc_content_filter_get_content_rect
sc_content_filter_release
sc_content_filter_retain
sc_content_filter_set_content_rect
sc_content_sharing_picker_configuration_create
sc_content_sharing_picker_configuration_release
sc_content_sharing_picker_configuration_retain
sc_content_sharing_picker_configuration_set_allowed_picker_modes
sc_content_sharing_picker_show
sc_display_get_display_id
sc_display_get_frame
sc_display_get_height
sc_display_get_width
sc_display_release
sc_display_retain
sc_initialize_core_graphics
Force CoreGraphics initialization by calling CGMainDisplayID This prevents CGS_REQUIRE_INIT crashes on headless systems
sc_recording_output_configuration_create
sc_recording_output_configuration_release
sc_recording_output_configuration_retain
sc_recording_output_configuration_set_average_bitrate
sc_recording_output_configuration_set_output_url
sc_recording_output_configuration_set_video_codec
sc_recording_output_create
sc_recording_output_release
sc_recording_output_retain
sc_running_application_get_application_name
sc_running_application_get_bundle_identifier
sc_running_application_get_process_id
sc_running_application_release
sc_running_application_retain
sc_screenshot_manager_capture_image
sc_screenshot_manager_capture_sample_buffer
sc_shareable_content_get
sc_shareable_content_get_application_at
sc_shareable_content_get_applications_count
sc_shareable_content_get_current_process_displays
sc_shareable_content_get_display_at
sc_shareable_content_get_displays_count
sc_shareable_content_get_sync
Synchronous blocking call to get shareable content Returns content pointer on success, or writes error to error_buffer
sc_shareable_content_get_window_at
sc_shareable_content_get_windows_count
sc_shareable_content_get_with_options
Async callback-based shareable content retrieval with options
sc_shareable_content_release
sc_shareable_content_retain
sc_stream_add_stream_output
sc_stream_add_stream_output_with_queue
sc_stream_configuration_create
sc_stream_configuration_get_capture_dynamic_range
sc_stream_configuration_get_capture_resolution
sc_stream_configuration_get_captures_audio
sc_stream_configuration_get_captures_microphone
sc_stream_configuration_get_captures_shadows_only
sc_stream_configuration_get_channel_count
sc_stream_configuration_get_destination_rect
sc_stream_configuration_get_excludes_current_process_audio
sc_stream_configuration_get_height
sc_stream_configuration_get_ignore_fraction_of_screen
sc_stream_configuration_get_ignore_global_clipboard
sc_stream_configuration_get_ignores_shadow_display_configuration
sc_stream_configuration_get_ignores_shadows_single_window
sc_stream_configuration_get_includes_child_windows
sc_stream_configuration_get_increase_resolution_for_retina_displays
sc_stream_configuration_get_microphone_capture_device_id
sc_stream_configuration_get_minimum_frame_interval
sc_stream_configuration_get_pixel_format
sc_stream_configuration_get_presenter_overlay_privacy_alert_setting
sc_stream_configuration_get_preserve_aspect_ratio
sc_stream_configuration_get_preserves_aspect_ratio
sc_stream_configuration_get_queue_depth
sc_stream_configuration_get_sample_rate
sc_stream_configuration_get_scales_to_fit
sc_stream_configuration_get_should_be_opaque
sc_stream_configuration_get_shows_cursor
sc_stream_configuration_get_source_rect
sc_stream_configuration_get_stream_name
sc_stream_configuration_get_width
sc_stream_configuration_release
sc_stream_configuration_retain
sc_stream_configuration_set_background_color
sc_stream_configuration_set_capture_dynamic_range
sc_stream_configuration_set_capture_resolution
sc_stream_configuration_set_captures_audio
sc_stream_configuration_set_captures_microphone
sc_stream_configuration_set_captures_shadows_only
sc_stream_configuration_set_channel_count
sc_stream_configuration_set_color_matrix
sc_stream_configuration_set_color_space_name
sc_stream_configuration_set_destination_rect
sc_stream_configuration_set_excludes_current_process_audio
sc_stream_configuration_set_height
sc_stream_configuration_set_ignore_fraction_of_screen
sc_stream_configuration_set_ignore_global_clipboard
sc_stream_configuration_set_ignores_shadow_display_configuration
sc_stream_configuration_set_ignores_shadows_single_window
sc_stream_configuration_set_includes_child_windows
sc_stream_configuration_set_increase_resolution_for_retina_displays
sc_stream_configuration_set_microphone_capture_device_id
sc_stream_configuration_set_minimum_frame_interval
sc_stream_configuration_set_pixel_format
sc_stream_configuration_set_presenter_overlay_privacy_alert_setting
sc_stream_configuration_set_preserve_aspect_ratio
sc_stream_configuration_set_preserves_aspect_ratio
sc_stream_configuration_set_queue_depth
sc_stream_configuration_set_sample_rate
sc_stream_configuration_set_scales_to_fit
sc_stream_configuration_set_should_be_opaque
sc_stream_configuration_set_shows_cursor
sc_stream_configuration_set_source_rect
sc_stream_configuration_set_stream_name
sc_stream_configuration_set_width
sc_stream_create
sc_stream_release
sc_stream_retain
sc_stream_start_capture
sc_stream_stop_capture
sc_stream_update_configuration
sc_stream_update_content_filter
sc_window_get_frame
sc_window_get_owning_application
sc_window_get_title
sc_window_get_window_id
sc_window_get_window_layer
sc_window_is_active
sc_window_is_on_screen
sc_window_release
sc_window_retain