Commit Graph

20496 Commits

Author SHA1 Message Date
akallabeth
3a6994cd38 [primitives] expose primitives_get_by_type 2025-01-10 12:50:58 +01:00
akallabeth
cf392cdfe1 [primitives] add primtives_hint_str 2025-01-10 12:50:55 +01:00
akallabeth
a9d2c5330c [primitives,yuv] fix opencl conversion routines 2025-01-10 12:50:52 +01:00
akallabeth
7b0489e0ce [primitives,yuv] fix opencl conversion routines 2025-01-10 12:09:37 +01:00
akallabeth
6f8a852a7b [primitives,yuv] fix compiler warnings 2025-01-10 10:45:44 +01:00
akallabeth
61c049b2e6 [primitives,benchmark] add benchmark tool for primitives 2025-01-10 10:17:13 +01:00
akallabeth
e2cdcd8a18 [primitives,yuv] fix issues with SSE
* fix unaligned memory access
* fix width not a multiple of 16
2025-01-09 23:44:50 +01:00
akallabeth
6e8ab6241b [primitives,yuv] improve YUV unit test
* allow YUV offsets of up to 2 (rounding effect for YUV420 int16
  calculation size)
* better logging
2025-01-09 23:44:33 +01:00
Armin Novak
b2784b3bc7 [ci,workflows] allow libwebkit2gtk-4.0-dev | libwebkit2gtk-4.1-dev 2025-01-09 23:41:42 +01:00
akallabeth
3c65e5a703 [primitives,yuv] fix neon chroma filter 2025-01-09 23:41:39 +01:00
akallabeth
f22b4efb7c [winpr,sysinfo] include winnt.h
* PF_SSE4_1_INSTRUCTIONS_AVAILABLE et al are defined in winnt.h on
  windows / mingw. Include explicitly to fix a mingw build issue.
2025-01-09 23:41:37 +01:00
akallabeth
e93cd60352 [primitives,yuv] improve unit test
* add comparison tests between generic and SIMD optimized RGB <-> YUV
  routines
* fix inconsistencies due to chroma filter in RGB -> YUV444 -> RGB test
* enable primitives test on all platforms
2025-01-09 23:41:35 +01:00
akallabeth
691092306e [primitives,yuv] fix RGBToYUV444_8u_P3AC4R
make arguments const where possible
2025-01-09 23:41:32 +01:00
akallabeth
19fb2b3f0a [primitives,yuv] fix chroma filter for SSE 2025-01-09 23:41:29 +01:00
akallabeth
41f06bec5f [primitives,yuv] local export RGB2Y and YUV2R 2025-01-09 23:41:25 +01:00
akallabeth
7e4d13374e [primitives,yuv] add chroma filter to YUV444 -> RGB 2025-01-09 23:41:23 +01:00
akallabeth
9a1c317876 [primitives,yuv] add chroma filter to RGB -> YUV444 2025-01-09 23:41:20 +01:00
akallabeth
ed5ac8e82e [primitives] add primitives_avc444_frame_type_str 2025-01-09 23:41:17 +01:00
akallabeth
901cf28d17 [primitives,yuv] remove broken chroma filter 2025-01-09 23:41:00 +01:00
akallabeth
525e3a1272 Merge pull request #11037 from akallabeth/winpr-kbd-map
[winpr,input] add missing WINPR_KBD_TYPE
2025-01-09 18:17:08 +01:00
akallabeth
65ef3f81e2 [winpr,input] add missing WINPR_KBD_TYPE
add mapping for uncommon keyboard types as well.
2025-01-09 09:41:54 +01:00
akallabeth
bce66fb14e Merge pull request #11052 from KangLin/master
log: Modify received Heartbeat PDU from debug to trace
2025-01-09 09:15:28 +01:00
akallabeth
8870a4a0f4 Merge pull request #11053 from hardening/winpr_deps_fix
winpr: fix dependency in cmake generated file
2025-01-09 09:13:07 +01:00
David Fort
6cc8398a03 winpr: fix dependency in cmake generated file
When a static build was done uriparser was not taken as dependency.
2025-01-09 07:33:17 +01:00
Kang Lin
a413d562f9 log: Modify received Heartbeat PDU from debug to trace 2025-01-09 09:13:36 +08:00
akallabeth
0758835d36 Merge pull request #11051 from akallabeth/vmconnect
[client,cmdline] fix vmconnect checks
2025-01-09 00:09:50 +01:00
akallabeth
bbd16d922b [client,cmdline] fix vmconnect checks 2025-01-08 21:05:24 +01:00
akallabeth
9f997668bf Merge pull request #11050 from akallabeth/cov-fix-rem
[warnings] fix return and overflow warnings
2025-01-08 19:14:05 +01:00
akallabeth
d6e23d18d7 [warnings] fix return and overflow warnings 2025-01-08 18:21:57 +01:00
akallabeth
ac8d403a70 Merge pull request #11030 from akallabeth/sign-fixes
Sign fixes
2025-01-08 00:09:48 +01:00
akallabeth
f16a324598 [core,tcp] fix missing socket return check 2025-01-08 00:07:32 +01:00
akallabeth
9a210124a7 [gdi] fix integer sign conversion 2025-01-07 21:28:23 +01:00
akallabeth
e4cdeefb95 [client,sdl] fix integer sign conversion 2025-01-07 21:28:21 +01:00
akallabeth
671c6d21ba [channels,rdpei] fix sign conversion 2025-01-07 21:28:18 +01:00
akallabeth
c535d8d4a6 [uwac] fix narrowing int cast 2025-01-07 21:28:16 +01:00
akallabeth
5fb9f71b3b [channels,rdpdr] fix int narrowing cast 2025-01-07 21:28:13 +01:00
akallabeth
f2794703b6 [primitives,colors] fix int narrowing cast 2025-01-07 21:28:11 +01:00
akallabeth
0e7bc7f164 [codec,progressive] fix int narrowing warning 2025-01-07 21:28:09 +01:00
akallabeth
65418f9882 [codec,interleaved] fix int narrowing warning 2025-01-07 10:15:54 +01:00
akallabeth
39a62cd0cf [core,tcp] fix integer cast 2025-01-07 10:15:52 +01:00
akallabeth
9922060298 [ci,abi-checker] suppress sign changes
some functions used unsigned values for NTSTATUS values which is signed.
Correcting that breaks (strict) ABI compliance
2025-01-07 10:11:23 +01:00
akallabeth
3092313d49 [channes,rdpdr] use NTSTATUS for IoStatus
the IoStatus will hold NTSTATUS values but is defined unsigned in
[MS-RDPEFS] whereas NTSTATUS is defined as signed integer. Ignore the
spec here and just treat it as signed (eliminates warnings and twos
complement will ensure the values are equal in bit representation)
2025-01-07 10:11:21 +01:00
akallabeth
19cc9ac670 [winpr,nt] fix argument of NtStatus2Tag
use NTSTATUS instead of UINT32 as argument type
2025-01-07 08:46:32 +01:00
akallabeth
600ada6ce3 Merge pull request #11044 from gpotter2/fix-update-check-flush
Regression in update_check_flush
2025-01-05 15:19:03 +01:00
gpotter2
f91d33e38c Fix return value of update_check_flush 2025-01-05 06:16:47 +01:00
akallabeth
1d4e9fc708 Merge pull request #10998 from akallabeth/winpr-implicit-fix
[warnings] fix integer casting in winpr
2025-01-04 09:58:43 +01:00
akallabeth
08ea4d001c Merge pull request #11035 from pnowack/korean-kbd-type
winpr/input: Add missing korean keyboard type
2025-01-03 13:48:23 +01:00
Pascal Nowack
dd75ea6a37 winpr/input: Add missing korean keyboard type
The keyboard types in 2.2.1.3.2 Client Core Data (TS_UD_CS_CORE)
([MS-RDPBCGR]) contain a korean keyboard type, which is not yet present
in WinPR. So, add it.
2025-01-03 13:28:44 +01:00
akallabeth
307bf48870 [warnings] fix integer casting in winpr
* use WINPR_ASSERTING_INT_CAST to detect overflows in sign or narrow
  integer casts
* replace defines with static variables
2025-01-03 10:08:57 +01:00
akallabeth
b7ecc386dd Merge pull request #11034 from akallabeth/cov-fix
[warnings] fix warnings detected by latest CI build
2025-01-03 10:08:36 +01:00