Commit Graph
34 Commits
Author SHA1 Message Date
Patrick Nicolas 0b526cef9d configure bitrate on client only 2025-12-10 14:32:01 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
Sapphire fad0a8feee In-stream GUI bitrate adjustment 2025-12-07 09:32:02 -05:00
Patrick Nicolas 711be3754b fix comp_target deletion (again) 2025-06-12 15:46:37 +02:00
Patrick Nicolas 64b446c0d8 Rewrite foveation to enforce pixel alignment
foveation now uses integer pixel ratios, and tries to follow the
previous tangent function.
2025-06-06 20:04:40 +02:00
Patrick Nicolas 119e0a4336 Control automatic refresh rate adjustment
If an OpenXR application requests a specific frame rate, use that one.
In order to revert to automatic adjustment, an application shall request
a 0 refresh rate (no preference).
2025-03-19 17:43:37 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas a434094055 Use a separate packet for refresh rate change 2025-01-07 23:42:11 +01:00
Patrick Nicolas ad9300f842 Implement refresh rate change 2025-01-07 20:07:06 +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 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Patrick Nicolas 1e0ba8b3ea Remove CPU sync for vulkan video encode 2024-10-27 11:31:29 +01:00
Patrick Nicolas 849eeb7a80 Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2024-10-08 20:10:39 +02: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 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
galister 8503e3480b eye-tracked foveation 2024-08-30 11:24:36 +02:00
Patrick Nicolas 19b67d22de Enforce synchronization across encoders 2024-08-02 17:47:56 +02:00
Patrick Nicolas af48d32c37 Fix encoder thread destruction 2024-07-25 11:56:45 +02:00
Patrick Nicolas b10b403a8d Replace condition variable with atomic 2024-06-19 10:24:49 +02:00
Patrick Nicolas b5159dc030 Remove encoders lock 2024-06-18 23:39:13 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas 3a5404d191 Reconnection support 2024-06-03 20:59:03 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Patrick Nicolas f5d73d33f4 Report real predicted display time 2024-03-07 17:20:46 +01:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas 2cc0e6154e Add pacer 2024-02-16 22:02:57 +01:00
Patrick Nicolas df786362e7 Only send I frames when necessary 2023-12-16 14:16:46 +01:00
Patrick Nicolas 6e14bac589 expose wivrn_comp_target class 2023-12-14 23:42:08 +01:00
Patrick Nicolas 4e233d99c2 Improve timesync
Initial timesync algorithm assumed that latency was symmetrical, but it
appears that it is not. Add a mechanism to estimate where latency
happens, which leads to much more stable values: about 200µs variation
between estimations.
2023-10-21 17:53:04 +02:00
Patrick Nicolas a5726226a2 Use comp_target_factory 2022-12-09 22:19:18 +01:00
Guillaume Meunier 4baf2b17eb move stuff in common, clang-format, update copyright 2022-11-13 11:00:04 +01:00
Guillaume Meunier 294c4f81ba Add server source, originally in monado 2022-11-12 23:59:28 +01:00