Commit Graph

239 Commits (af38a643d9048bd60529addfd35004e738e96cbc)

Author SHA1 Message Date
Andri Yngvason f9d1effb0d Add BSD queue 2020-01-25 15:22:01 +00:00
Andri Yngvason 01522559d6 zrle: Fix pixel conversion for bits-per-pixel < 32 2020-01-24 23:16:08 +00:00
Andri Yngvason 230acf0560 zrle: Remove unused variable 2020-01-24 23:02:47 +00:00
Andri Yngvason a387b6c589 Add missing copyright notice to header file 2020-01-24 22:30:07 +00:00
Andri Yngvason 4ebd60b8cc pixels: Delete useless code 2020-01-24 22:29:29 +00:00
Andri Yngvason 08587baf4d meson: Disable asserts in release builds 2020-01-22 22:09:47 +00:00
Andri Yngvason 64a205205c
Merge pull request #13 from soreau/master
Swap red and blue colors with tight encoding
2020-01-20 23:14:02 +00:00
Scott Moreau 1d897b2ba1 Swap red and blue colors with tight encoding 2020-01-20 14:29:02 -07:00
Andri Yngvason 450ea90306 pixels: Fix rfb_pixfmt_from_fourcc 2020-01-19 23:13:12 +00:00
Andri Yngvason a80b314eea server: Set the pixel format for the client if it hasn't specified one 2020-01-19 22:54:52 +00:00
Andri Yngvason 4e919c69ce Unbreak raw encoding 2020-01-19 21:31:55 +00:00
Andri Yngvason aa917decf3 pixels: Make it work for 4 bytes per cpixel 2020-01-19 21:30:49 +00:00
Andri Yngvason 7fa074e60b server: Close client if no frame encoding method is available 2020-01-19 21:27:17 +00:00
Andri Yngvason ebfe4382ee server: Use size_t for encoding indices 2020-01-19 19:17:15 +00:00
Andri Yngvason 5d264bbba1
Merge pull request #12 from soreau/master
Include sys/param.h for MIN definition
2020-01-19 19:02:14 +00:00
Scott Moreau db6c063aea Include sys/param.h for MIN definition
Fixes #11.
2020-01-19 12:00:18 -07:00
Andri Yngvason 6bb33622dc
Merge pull request #8 from jbeich/freebsd
Unbreak build on FreeBSD
2020-01-13 10:39:32 +00:00
Jan Beich 928d0c20ac Drop unused platform-specific header
../src/zrle.c:29:10: fatal error: 'endian.h' file not found
 #include <endian.h>
          ^~~~~~~~~~
2020-01-13 04:04:28 +00:00
Andri Yngvason 5e62175633 build: Remove -mfpu=neon argument for aarch64 build
This fixes issue #7
2020-01-11 13:20:37 +00:00
Andri Yngvason ad0ff6b27c Make Tight encoding optional 2019-12-31 10:13:21 +00:00
Andri Yngvason 02611765bd README: Update dependency lists 2019-12-31 10:12:31 +00:00
Andri Yngvason ee3f2fefff server: Extract pixel format functions into pixels.c 2019-12-30 20:13:40 +00:00
Andri Yngvason a0376f2fd4 Pass entire client structure to tight encoder 2019-12-30 17:48:22 +00:00
Andri Yngvason d9f80ad196 server: Extract structure definitions into header 2019-12-30 17:22:19 +00:00
Andri Yngvason 8cd33d8a07 Add JPEG Tight encoding 2019-12-30 10:00:15 +00:00
Andri Yngvason 8ec33ab775 Add a description document for tight encoding 2019-12-29 21:35:38 +00:00
Andri Yngvason 52f5510467 Send a correct reason string when disconnecting due to unsupported security type 2019-12-28 20:50:44 +00:00
Andri Yngvason eaa78a958e Move rfb rfc into doc folder 2019-12-28 12:21:29 +00:00
Andri Yngvason 769107b7aa damage: Grow hint box after alignment 2019-12-27 18:04:36 +00:00
Andri Yngvason 00450e0c9d Clean up some memory leaks 2019-12-27 15:07:48 +00:00
Andri Yngvason 875cd5af7b Stop reading from a client as soon as an error occurs on the socket 2019-12-27 13:57:40 +00:00
Andri Yngvason 95f5059200 README: Upgrade build instructions 2019-12-23 12:33:36 +00:00
Andri Yngvason 22009cc692 .gitignore: Add .ycm_extra_conf.py 2019-12-23 12:24:03 +00:00
Andri Yngvason bfb1cd9fc9 Don't buffer up multiple outgoing frames
It's pointless to send multiple frames in a single buffer. It just
overloads the client.
2019-12-23 12:11:00 +00:00
Andri Yngvason 4ebf4623cb Fix read buffer and drop older outgoing frames 2019-12-23 09:33:29 +00:00
Andri Yngvason 80b1f3cb4c Re-format using clang-format 2019-10-20 22:13:51 +00:00
Andri Yngvason 13c52175d2 Update .gitignore 2019-10-20 22:12:14 +00:00
Andri Yngvason 96aa73b9d1 Add clang-format settings 2019-10-20 21:42:33 +00:00
Andri Yngvason de1f63573b raw-encoding: Do proper pixel conversion 2019-10-14 10:33:43 +00:00
Andri Yngvason a43bb5d3d4 Use avx or neon for auto-vectorisation 2019-10-13 12:16:24 +00:00
Andri Yngvason 9f67b47e8c damage: Remove vestigial y_inversion code 2019-10-13 10:05:36 +00:00
Andri Yngvason 05ff0c1514 Don't send an update that hasn't been requested 2019-10-12 17:29:08 +00:00
Andri Yngvason 6dec7287f7 Tune deflate 2019-10-12 16:42:59 +00:00
Andri Yngvason 007578052c Use Z_BEST_SPEED for ZRLE
The default strategy loads the CPU too much when streaming at 60 FPS.
2019-10-12 15:47:38 +00:00
Andri Yngvason abac726998 meson: Declare dependency for subproject 2019-10-12 15:23:46 +00:00
Andri Yngvason 23dcc36849 meson: Generate pkgconfig 2019-10-12 14:47:07 +00:00
Andri Yngvason da44680e52 Add meson.build 2019-10-12 13:19:49 +00:00
Andri Yngvason b54bc178f0 Fix decoding of encoding message 2019-10-08 18:12:57 +00:00
Andri Yngvason e9f200f4cc Excise y-inversion code 2019-10-08 17:58:35 +00:00
Andri Yngvason 9501a1da64 Keep a reference to the framebuffer while it is in a worker. 2019-10-08 17:53:12 +00:00