Commit Graph
44 Commits
Author SHA1 Message Date
Patrick Nicolas 55c6cd2ecd Fix possible crash on decoder deletion 2026-09-13 23:59:10 +02:00
Patrick Nicolas e21b1adf1d Send both frame rate and refresh rate in description 2026-04-27 10:26:58 +02:00
Patrick Nicolas b2f3b925d9 Prefer h265 over h264 2025-12-10 14:00:47 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
Patrick Nicolas 6932f9461d Add support for raw video 2025-09-26 16:33:01 +02:00
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 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
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 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 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 62d74db3dc Free mediacodec resources on stream quit 2024-04-28 18:21:25 +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 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 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
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
Patrick Nicolas 841e68ee28 client: remove some buffer copies 2022-11-26 23:03:15 +01:00
Guillaume Meunier 48ef782b13 Move all external code to external 2022-11-17 08:28:59 +01:00
Guillaume Meunier f431543b47 Move client/src/* to client/* 2022-11-17 08:25:25 +01:00