MazTheMan
fd1e18b475
Implement 24 bit pixel formats for raw and tight
2023-09-29 21:46:05 +00:00
Andri Yngvason
73e1089f06
zrle: Unref result in destroy
2022-10-30 13:53:10 +00:00
Andri Yngvason
95742676c9
zrle: Keep reference to encoder while encoding
2022-10-30 12:44:05 +00:00
Andri Yngvason
baaf84eab9
Reference count encoders
2022-10-30 12:44:05 +00:00
Andri Yngvason
9285594e9d
Call encoder.on_done in a function
2022-06-11 11:44:51 +00:00
Andri Yngvason
53f88894d5
Add presentation timestamps
2022-04-14 18:10:09 +00:00
Andri Yngvason
65c0e91c37
Move update header out of encoders
2021-12-12 16:05:29 +00:00
Andri Yngvason
8b2c81c3dd
Add offset coordinates to encoders
2021-12-11 21:55:56 +00:00
Andri Yngvason
42b102df0c
Remove unused headers
2021-12-11 21:07:41 +00:00
Andri Yngvason
a7241658b0
Create encoder abstraction
2021-12-11 21:03:18 +00:00
Andri Yngvason
cf42f76f56
Add gbm_bo nvnc_fb type
2021-09-12 18:51:22 +00:00
Andri Yngvason
c7dd062498
Add a stride parameter to nvnc_fb
2021-09-05 00:46:24 +00:00
Andri Yngvason
413e6e7e72
zrle: Use encoder utils
2020-09-26 16:16:36 +00:00
Stefan Agner
8316994dfa
use static for functions not used outside this compile unit
...
Add static for all functions only used inside the individual compile
units. This helps the compiler to potentially inline these functions.
This allows to use neatvnc as a Meson subproject in Weston which has
-Wmissing-prototypes enabled by default.
2020-05-21 17:44:31 +00:00
Andri Yngvason
0350ba1d16
zrle: Replace an assert with return -1
2020-04-10 12:36:51 +00:00
Andri Yngvason
b44d1a1f58
Replace miniz with system provided zlib
...
miniz is simply broken, so I can't use it.
2020-04-03 22:39:55 +00:00
John Axel Eriksson
d1c7402acd
Remove libuv header include
2020-03-24 07:04:05 +01:00
Andri Yngvason
caf9fe0130
Remove unused code
2020-01-25 15:39:23 +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
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
80b1f3cb4c
Re-format using clang-format
2019-10-20 22:13:51 +00:00
Andri Yngvason
e9f200f4cc
Excise y-inversion code
2019-10-08 17:58:35 +00:00
Andri Yngvason
3196a7a46b
Make nvnc_fb opaque
2019-10-07 17:39:54 +00:00
Andri Yngvason
578ee75235
zrle: Extract pixel conversion function into own file
2019-09-14 16:01:00 +00:00
Andri Yngvason
b05791db4a
zrle: Define tile side length in a macro
2019-09-14 16:01:00 +00:00
Andri Yngvason
f3def21c96
Fix y-inversion
2019-09-08 23:24:01 +00:00
Andri Yngvason
73987c2f17
Add modifier to do y-inversion during encoding
2019-09-08 15:19:56 +00:00
Andri Yngvason
2e359e734d
zrle: Fix endianness
2019-09-08 14:41:22 +00:00
Andri Yngvason
f9680148f1
Remove unused code
2019-09-07 18:42:55 +00:00
Andri Yngvason
6046949726
Add license and copyright notices
2019-09-07 16:51:07 +00:00
Andri Yngvason
fb335247aa
zrle: Fix run-length encoding with palette
2019-09-05 23:36:07 +00:00
Andri Yngvason
3e374c97f0
zrle: Copy each tile region to a contiguous buffer before operating on it
2019-09-05 22:53:23 +00:00
Andri Yngvason
80e1093e71
zrle: Implement Palette RLE
2019-09-01 23:27:56 +00:00
Andri Yngvason
ff67e2fed3
zrle: Keep the stream alive per connection
...
Otherwise the client doesn't want to play with the server.
2019-09-01 19:55:11 +00:00
Andri Yngvason
46dc074370
Fix encoding with offset
2019-09-01 13:01:02 +00:00
Andri Yngvason
ed5dadd203
Use client specific pointers in callbacks
2019-08-31 23:16:55 +00:00
Andri Yngvason
f7ed6b6fce
Use miniz instead of zlib
2019-08-31 15:50:23 +00:00
Andri Yngvason
f31b5a6915
Add benchmark for zrle
2019-08-27 22:29:46 +00:00
Andri Yngvason
b8e90d3665
zrle: Encode into vector
2019-08-27 21:49:28 +00:00
Andri Yngvason
1fc4d436a9
zrle: Extract deflate to function
2019-08-27 21:04:20 +00:00
Andri Yngvason
09d64dfbe6
zrle: Use vec for tile buffer
2019-08-27 20:28:12 +00:00
Andri Yngvason
980c437f3c
Set up a directory structure
2019-08-27 19:42:52 +00:00