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
fdb79b1939
Drop xrt::drivers namespace
2024-10-03 23:39:32 +02:00
Guillaume Meunier
674343c74f
Use cmakedefine01 instead of cmakedefine
2024-10-01 21:46:41 +02:00
Patrick Nicolas
56da7af334
Throw different error if encoder is not compiled
2024-09-27 22:34:11 +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
d68bbb4e72
Fix logic error in encoder wait_idle
2024-09-07 18:17:27 +02:00
Patrick Nicolas
7a42691269
AV1 support
2024-08-31 22:07:56 +02:00
Patrick Nicolas
bb22403f7e
Show encoding time in plots
2024-08-30 08:19:33 +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
8c7491d471
Offload vaapi send data to secondary thread
2024-08-18 12:07:31 +02:00
Patrick Nicolas
3a5404d191
Reconnection support
2024-06-03 20:59:03 +02:00
Patrick Nicolas
ee8babf08a
Throttle IDR frames: max once every 100 frames
2024-04-30 12:25:15 +02:00
Patrick Nicolas
fff0ba9077
Only set timing info on last video shard
2024-04-01 23:09:12 +02:00
Guillaume Meunier
9cceaac648
clang-format
2024-03-30 17:00:34 +01:00
Patrick Nicolas
8e3979cc8c
Use XrTime for all time data
2024-03-24 14:01:44 +01: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