Commit Graph
24 Commits
Author SHA1 Message Date
Kierek 20ae78f2d9 Enable ULTRA_LOW_LATENCY and NV_ENC_TWO_PASS_QUARTER_RESOLUTION for nvenc 2025-03-01 20:56:34 +01:00
Kierek 8495a9433c Enable AV1 encoding for nvenc 2025-02-20 10:55:23 +01:00
Kierek 163d72dcce Update NVIDIA Video Codec SDK headers to 12.2 2025-02-20 10:55:23 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas 6943fa82d2 Use device memory for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 4df0e391c6 Move video command buffer ownership to encoder 2024-11-10 16:46:28 +01:00
Patrick Nicolas 6fdac88fd8 Assume positions are already aligned for nvenc 2024-11-10 15:24:07 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Patrick Nicolas df5e0869c3 Set range/color model for all encoders 2024-10-29 10:44:49 +01:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Patrick Nicolas 7e8c479cc5 Release swapchain earlier
Encoders now have a buffer for next image so that they can encode one
and the compositor write to an other one.
2024-09-11 23:41:10 +02:00
Patrick Nicolas 517b572c75 Integrate YCbCr conversion in monado
Hacks monado's distortion shader to write into Y and CbCr planes,
eliminating the intermediate RGBA image

Note: change monado's version to enforce patch application
2024-09-11 23:41:10 +02:00
Patrick Nicolas 7a42691269 AV1 support 2024-08-31 22:07:56 +02:00
Patrick Nicolas d267bd0ebb Add async send for nvenc 2024-08-26 12:30:54 +02:00
Patrick Nicolas 982a2557ef Use a single thread for all encoder async send 2024-08-22 22:56:51 +02:00
Patrick Nicolas e385471bee Use correct flag for forced IDR 2024-06-13 08:11:54 +02:00
Patrick Nicolas d90863c9b4 Nvenc: enforce width/height to be divisible by 32 2024-06-12 12:46:31 +02:00
Patrick Nicolas 0d62a24f25 Set range and color model for nvenc 2024-06-12 12:46:26 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas b5202567bd Dynamically load cuda/nvenc 2024-03-30 23:07:52 +01:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas 88e23da72c Move encoder code into new directory 2024-02-07 18:25:54 +01:00