Philipp Zabel
f04284351e
Indent wrapped argument lists with two tabs (function definitions)
...
Do not align wrapped function argument lists with the opening
parenthesis. Indent them with two tabs.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
2023-10-06 20:41:30 +00:00
MazTheMan
fd1e18b475
Implement 24 bit pixel formats for raw and tight
2023-09-29 21:46:05 +00:00
Andri Yngvason
727b2f727e
tight: 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
3c4a069ba2
tight: Disable chroma subsampling at q=9
...
This avoids color banding at the highest quality level.
2022-10-23 19:05:32 +00:00
Andri Yngvason
528eac51a3
Fix jpeg quality setting
...
The encoding identifiers are supposed to be interpreted as a range. I
interpreted the upper and lower limits as two discrete quality settings
instead, which is wrong.
2022-07-10 12:41:20 +00:00
Andri Yngvason
ad4a834cfc
Use new logging system
2022-06-25 16:15:32 +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
e69006fc48
tight: Hold fb and client refs while encoding
2020-09-27 17:17:22 +00:00
Andri Yngvason
af38a643d9
tight: Don't block 1 worker while encoding tiles
2020-09-27 12:37:00 +00:00
Andri Yngvason
31b7077bc5
tight: Use encoder utils
2020-09-26 16:13:17 +00:00
Andri Yngvason
76beec6415
tight: Add method to resize encoder grid
2020-07-19 16:57:44 +00:00
Andri Yngvason
33eda8c5d0
Always enable tight, encoding but allow disabling lossy tight encoding
2020-07-11 20:16:27 +00:00
Andri Yngvason
497f9adb29
tight: Re-implement with threads
2020-07-11 20:06:45 +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
477ab4c481
tight: Allow lossy encoding with 16 bpp
2020-05-05 21:34:45 +00:00
Andri Yngvason
c6f1ab616e
tight: Replace an assert with return -1
2020-04-10 12:40:57 +00:00
Andri Yngvason
1c2a2231d6
tight: Don't drop MSB when encoding rect size
2020-04-10 11:51:40 +00:00
Andri Yngvason
11a73c5cb0
Revert "tight: Limit rectangle max width according to spec"
...
This reverts commit 999c1ef255
.
This sends more rects than the original rect count allows for.
2020-04-06 00:01:32 +00:00
Andri Yngvason
a54b9ddd8e
tight: Check quality level at start of each frame
2020-04-03 22:54:46 +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
Andri Yngvason
25626a9048
tight: Implement quality control
2020-04-03 20:09:26 +00:00
Andri Yngvason
17e0d6036f
tight: Implement bare minimum "basic" encoding
2020-04-03 00:18:54 +00:00
Andri Yngvason
cfb2abfc58
tight: Prepare for "basic" encoding method
2020-04-02 21:52:04 +00:00
Andri Yngvason
999c1ef255
tight: Limit rectangle max width according to spec
2020-04-02 21:26:12 +00:00
Andri Yngvason
1724797a27
tight: Add some error handling
2020-04-02 21:12:09 +00:00
Andri Yngvason
992b4445ed
tight: Add copyright notice
2020-02-09 12:03:14 +00:00
Scott Moreau
1d897b2ba1
Swap red and blue colors with tight encoding
2020-01-20 14:29:02 -07:00
Andri Yngvason
a0376f2fd4
Pass entire client structure to tight encoder
2019-12-30 17:48:22 +00:00
Andri Yngvason
8cd33d8a07
Add JPEG Tight encoding
2019-12-30 10:00:15 +00:00