aboutsummaryrefslogtreecommitdiff
path: root/src/capture/xcomposite_cuda.c
AgeCommit message (Collapse)Author
2024-07-05Separate video encoding method from capture methoddec05eba
With this instead of kms_cuda/kms_vaapi/kms_software and xcomposite_cuda/xcomposite_vaapi/xcomposite_software there is now only kms and xcomposite.
2024-07-04Add support for software video encoding with '-encoder cpu' option, ↵dec05eba
currently h264 only
2024-06-21fm content: make sure to capture frame on damage and then no damage after ↵dec05eba
fps frame timeout
2024-06-21Add -fm 'content' option to match fps to captured content, only x11 window ↵dec05eba
capture currently supported
2024-03-21Fix missing color range set in color conversion for nvidia window capturedec05eba
2024-03-10Fix cursor capture in nvidia wayland, hdr, clear background immediately in ↵dec05eba
window capture
2024-03-10Allow overclocking on window capture nvidiadec05eba
2024-03-09Refactor capture basedec05eba
2024-03-09Draw cursor in window capturedec05eba
2024-03-09Refactor xcompositedec05eba
Move common code between cuda/vaapi implementations into xcomposite file. This also fixes limited/full range colors on nvidia.
2024-03-08Set frame size to video codec context size, nicer rgb to nv12dec05eba
2024-03-08Use opengl capture for nvfbc (prepare for vulkan capture without cuda)dec05eba
2024-03-08Refactor kms_vaapi and kms_cudadec05eba
Also fixes color metadata, color range and hdr on nvidia wayland.
2024-03-08Pool size 20 for vaapidec05eba
2024-02-09Move card path to egl struct, use egl struct for monitor enumerationdec05eba
2024-02-08Window capture: move window to center of video (if possible)dec05eba
2024-02-08Window capture: clear background with black colordec05eba
2023-10-22Fix vram leak for realsdec05eba
2023-08-11Cleanup debug outputdec05eba
2023-07-21Fix window capturedec05eba
2023-07-21Fix capture not working on intel + waylanddec05eba
Ignore nouveau cards. Fix lag on start of recording on amd/intel by only loading egl once, on startup.
2023-07-18Fix green screen sometimes when capturing amd/intel windowdec05eba
2023-07-18Experimental wayland support, test 1dec05eba
2023-05-17Fix all warningsdec05eba
2023-04-22kms_vaapi: add cursor capture for amd/intel monitor capturedec05eba
Always find largest drm buf, to fix some cases when there are multiple planes and we accidentally capture a drm buf that isn't the target buf. We always want the full SCREEN drm buf.
2023-04-22Fix focused window follow failing on vaapi for the first window. Also dont ↵dec05eba
error on fail to focus window
2023-04-21Use x11 event loop with XPending instead of XCheckTypedWindowEventdec05eba
2023-04-07Implement kms vaapi capturedec05eba
2023-04-01Cleanup xcomposite_drmSteam Deck User
2023-04-01Use vaapi to do rgb->yuv420p color conversionSteam Deck User
Enable window capture for amd/intel. Properly check if h264/hevc is supported on amd/intel before using codec.
2023-03-31Make sure region size for focused window is divisable by 2dec05eba
2023-03-26Remove yuv444 for nowdec05eba
2023-03-26Move video encoding to separate thread, remove pixel_format that doesn't do ↵dec05eba
anything and was bugged
2023-03-26Add pixfmt yuv420p/yuv444p option to set lossless colordec05eba
2023-03-26Remove unused codedec05eba
2023-03-17Add overclocking option -oc to workaround a NVIDIA driver bug (forcefully ↵dec05eba
set to p2 state when using cuda)
2023-02-19Fix follow focused for the first window and when switching from/to invalid ↵dec05eba
window
2023-01-18Fix crash on error: dont do av_buffer_unref on frame contex because ↵dec05eba
device_ctx frees it as well
2022-12-20follow focuseddec05eba
2022-11-30wip inteldec05eba