53 Commits
Author SHA1 Message Date
Patrick Nicolas 3c08a3de2f Fix defoveation for low scale values
The effective image size may be different from the size in description,
we have to only consider the useful size
2025-09-09 19:00:08 +02:00
Patrick Nicolas 6b99cf4cc3 Use inheritance for decoder implementations 2025-09-04 17:15:29 +02:00
Patrick Nicolas 1574f82b8e Remove application::now() 2025-08-20 22:11:43 +02:00
Patrick Nicolas b97c8b29b5 Add encode and network timings in feedback 2025-01-29 23:25:18 +01:00
Patrick Nicolas 9cff5e396e Add flag for imagereader creation 2024-11-17 19:59:05 +01:00
Patrick Nicolas a273758850 Request an IDR when decoder is in inconsistent state 2024-11-06 19:50:44 +01:00
Patrick Nicolas 62d5bf649d Request more images in ImageReader 2024-11-06 19:50:44 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Patrick Nicolas 78f7411265 Change codec preference order to AV1,h264,h265 2024-11-03 10:06:06 +01:00
Guillaume Meunier 6c10a9ee95 Ask for XR_FB_composition_layer_depth_test and XR_KHR_composition_layer_depth
Enable depth testing between GUI and lobby

Use reversed-Z, prefer floating point depth buffer
2024-11-01 11:40:33 +01:00
Patrick Nicolas 6e38c1a7a8 Try to only use acknowledged frames as reference 2024-10-27 11:31:29 +01:00
Guillaume Meunier 08d19bd94d Avoid segfault in android decoder if the codec is not supported 2024-10-21 23:01:53 +02:00
Patrick Nicolas efbcef2861 wivrn namespace: client/decoder/shard_accumulator 2024-10-03 23:39:32 +02:00
Patrick Nicolas 7b4086d482 wivrn namespace: client/decoder/ffmpeg 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 151fa5ba15 Filter out software decoders in supported list 2024-10-03 13:23:51 +02:00
Patrick Nicolas 9a39f24541 Fix frame selection for multiple encoders 2024-09-18 17:50:28 +02:00
Patrick Nicolas 760691568f Move mediacodec initialisation in constructor 2024-09-08 18:55:35 +02:00
Patrick Nicolas e70d5a4626 Use correct dimensions for video 2024-09-08 18:49:08 +02:00
Patrick Nicolas b2197e54e3 Write data to decode on GPU earlier 2024-09-06 20:49:39 +02:00
Patrick Nicolas 30b82bb3b2 Use av01 for AV1 mime type 2024-08-31 22:07:56 +02:00
Patrick Nicolas fa5955f859 Add probing function for supported codecs 2024-08-31 22:07:56 +02:00
Patrick Nicolas 7a42691269 AV1 support 2024-08-31 22:07:56 +02:00
Patrick Nicolas c6aa376968 improve shard accumulator logs 2024-08-28 18:56:18 +02:00
Patrick Nicolas bc59c10b93 Move decode command out of network thread 2024-08-02 21:04:32 +02:00
Patrick Nicolas 20085c736c Extend lifetime of imagereader 2024-07-04 09:08:06 +02:00
Patrick Nicolas 91e90527be Use unique_ptr for AImage 2024-06-13 19:16:23 +02:00
Patrick Nicolas d06c96df68 Skip reprojection if runtime does it correctly 2024-05-05 18:41:57 +02:00
Patrick Nicolas 62d74db3dc Free mediacodec resources on stream quit 2024-04-28 18:21:25 +02:00
Patrick Nicolas f34116501d Fix PC client for insufficient decoder images 2024-04-15 21:39:29 +02:00
Patrick Nicolas 63f4028d83 Select image to display based on predicted display time 2024-04-04 17:42:14 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00
Patrick Nicolas 47c9e32a65 Use general image layout for images from decoder 2024-02-22 12:41:35 +01:00
Guillaume Meunier 478985256b Add timing plots 2024-02-18 09:03:46 +01:00
Patrick Nicolas ed6cac545e Send feedback if decoder is not initialized 2024-02-12 21:17:21 +01:00
Patrick Nicolas 5589aaf301 Move vk_allocator to common 2024-02-07 18:25:54 +01:00
Patrick Nicolas df394ec079 Make vk_allocator a singleton 2024-02-07 18:25:54 +01:00
Patrick Nicolas 155281b282 Fix some distortion errors
Difference between encoded size and useful size of the image was
improperly used, which is especially visible when foveation is used
2024-02-04 21:24:19 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Guillaume Meunier 1ce83568eb Add pipeline cache 2024-01-28 11:33:32 +01:00
Guillaume Meunier 95d1020559 Add rendering engine 2024-01-28 11:33:32 +01:00
Guillaume Meunier eb15438874 Remove useless queue families in memory barriers 2024-01-07 11:45:08 +01:00
Guillaume Meunier cf14f9bd8b RAIIfy vulkan 2024-01-07 11:45:07 +01:00
Guillaume Meunier fe1a82085c Remove reed solomon 2023-11-27 13:16:42 +01:00
Patrick Nicolas fa30ea1356 Remove remaining copies of encoded video 2023-11-22 00:00:55 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas 5128fcd96b Ignore frames with no view_info 2023-07-25 20:05:24 +02:00
Patrick Nicolas b77f877f46 Name decoder threads 2022-12-06 09:28:51 +01:00
Patrick Nicolas b1cb28200d Only blit useful part of the stream
With odd image size, encoders may add black borders. We need to properly
ignore it on the headset side
2022-11-28 22:35:10 +01:00