Commit Graph
21 Commits
Author SHA1 Message Date
Patrick Nicolas a75f42ff46 Update framerate for encoders 2025-03-19 17:43:36 +01:00
Patrick Nicolas d552d24e60 remove virtual from set_bitrate 2025-03-19 17:43:36 +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 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Patrick Nicolas 6e38c1a7a8 Try to only use acknowledged frames as reference 2024-10-27 11:31:29 +01:00
Patrick Nicolas 1e0ba8b3ea Remove CPU sync for vulkan video encode 2024-10-27 11:31:29 +01:00
Patrick Nicolas 04260752e9 Experimental h264 vulkan video encode 2024-10-27 11:31:29 +01:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 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 688bf2d263 Fix encoders waiting on other's network send 2024-08-30 07:52:38 +02:00
Patrick Nicolas 982a2557ef Use a single thread for all encoder async send 2024-08-22 22:56:51 +02:00
Patrick Nicolas ee8babf08a Throttle IDR frames: max once every 100 frames 2024-04-30 12:25:15 +02:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas a733e69796 Send encode timings 2024-02-18 09:03:46 +01:00
Patrick Nicolas 72e8a5d84d run-time video dump option
WIVRN_DUMP_VIDEO=/path/to/file will dump the raw video stream in
/path/to/file-{idx}.{codec} where idx is the stream index (one stream
per encoder) and codec is h264 or h265.
2024-02-12 21:12:02 +01:00
Patrick Nicolas 88e23da72c Move encoder code into new directory 2024-02-07 18:25:54 +01:00