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
4ebd60b8cc
pixels: Delete useless code
2020-01-24 22:29:29 +00:00
Andri Yngvason
450ea90306
pixels: Fix rfb_pixfmt_from_fourcc
2020-01-19 23:13:12 +00:00
Andri Yngvason
aa917decf3
pixels: Make it work for 4 bytes per cpixel
2020-01-19 21:30:49 +00:00
Andri Yngvason
ee3f2fefff
server: Extract pixel format functions into pixels.c
2019-12-30 20:13:40 +00:00
Andri Yngvason
80b1f3cb4c
Re-format using clang-format
2019-10-20 22:13:51 +00:00
Andri Yngvason
de1f63573b
raw-encoding: Do proper pixel conversion
2019-10-14 10:33:43 +00:00
Andri Yngvason
578ee75235
zrle: Extract pixel conversion function into own file
2019-09-14 16:01:00 +00:00