aboutsummaryrefslogtreecommitdiff
path: root/src/color_conversion.c
AgeCommit message (Collapse)Author
2024-03-20Ignore color standards for more accurate colorsdec05eba
2024-03-11Custom bt709 values, less greendec05eba
2024-03-10Fix cursor capture in nvidia wayland, hdr, clear background immediately in ↵dec05eba
window capture
2024-03-10Revert bt709 colors to default for nowdec05eba
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-02-11Window capture: fix chroma not centered in videodec05eba
2024-02-10Add screen rotation support (tested on amd/intel)dec05eba
screen rotation in wayland is best effort, wayland doesn't give the necessary information to make it robust.
2024-02-09Move card path to egl struct, use egl struct for monitor enumerationdec05eba
2024-02-08Correct color for clear with bgradec05eba
2024-02-08Window capture: clear background with black colordec05eba
2024-02-06Add support for hdr capture on amd/inteldec05eba
Nvidia support will be added in the future. Note that hdr metadata is missing from the output file as amd and intel both have bugged drivers that dont add hdr metadata to the output file. Need to find a workaround for this (patching the video bitstream?). Add -cr limited|full, to set color range
2024-01-28Remove one extra gl texture binddec05eba
2024-01-28nvidia wayland: support hardware cursor planedec05eba
2023-11-18Support nvidia wayland bit depth over 8 bit (fixes incorrect colors on some ↵dec05eba
systems running kde plasma)
2023-09-07wipdec05eba
2023-07-25Dont use jpeg color range (fixes too dark image on amd/intel in flatpak)dec05eba
2023-07-24READMEdec05eba
2023-07-23Improve color accuracy on amd/inteldec05eba
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-18Experimental wayland support, test 1dec05eba
2023-05-12kms_vaapi: support multiple drm planes (fixes capture on some multi monitor ↵dec05eba
systems)
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-18Replace tabs with 4 spacesdec05eba
2023-04-15Remove extra swapBuffer in kms capturedec05eba
2023-04-15Fix AMD single monitor rotated display being rotated in recordingdec05eba
If there is only one monitor connected and it's rotated then the drm buf will also be rotated. This only the case with AMD and only when using one monitor! To fix this, we perform color conversion with an opengl shader which allows us to also rotate the texture. VAAPI supports rotation but it's not implemented by AMD at least. Performance seems to be the same as when using VAAPI, even when GPU usage is 100%.