Commit Graph

397 Commits

Author SHA1 Message Date
Armin Novak
2b0637d629 [nodiscard] mark more internal functions 2026-03-02 11:57:27 +01:00
Armin Novak
72b2d745ec [primitives,opencl] ignore initialization errors
When initializing primitives treat primitives_init_opencl_context
failures as support not available, but return success for
initialization.
2026-02-27 15:52:30 +01:00
Armin Novak
ea77d2d922 [nodiscard] fix all InitOnceExecuteOnce usages 2026-02-27 15:52:28 +01:00
Armin Novak
5e18b0149a [primitives,test] drop ALIGN macro 2026-02-27 15:52:27 +01:00
Armin Novak
89ab3c6c1b [nodiscard] Fix all winpr_RAND usages
* Check return value and act on it.
* Initialize arrays that were missed before.
2026-02-27 15:52:26 +01:00
Armin Novak
5c510af477 [c23,freerdp] replace NULL with nullptr 2026-02-26 15:06:27 +01:00
Armin Novak
e58819830a [c23] simplify boolean checks 2026-02-26 11:51:05 +01:00
Armin Novak
48267edf2f [winpr] add WINPR_C_ARRAY_INIT
since C23 allows c++ style initializing replace direct use with this
macro
2026-02-25 19:23:08 +01:00
Armin Novak
e9723d1b61 [attributes] update attribute definitions
* support C++
* support C23
* replace __inline et al with C11 inline
2026-02-25 11:51:11 +01:00
Armin Novak
4e4f84d33d [libfreerdp] mark internal functions [[nodiscard]] 2026-02-24 11:54:00 +01:00
Armin Novak
e0e6a7f800 [freerdp,warnings] properly handle function return 2026-02-16 09:18:37 +01:00
Armin Novak
13616cc67e [freerdp,codec] mark function pointers [[nodiscard]] 2026-02-16 09:18:35 +01:00
Armin Novak
e3981d8f02 [channels,rdpecam] fix integer types and warnings 2026-02-10 17:02:15 +01:00
Armin Novak
8d395b942b [primitives,test] replace sscanf 2026-02-10 16:56:49 +01:00
akallabeth
4098ee0739 [c,printf] fix wlog format string to match arguments 2026-01-16 11:42:21 +01:00
Armin Novak
70c72371cc [primitives] fix Wimplicit-int-enum-cast warnings 2026-01-14 10:40:29 +01:00
akallabeth
74648eb3a9 [c,standard] use C99 inline 2025-09-26 11:29:26 +02:00
akallabeth
8b9335aa90 [CMake,libfreerdp] add pkg-config dependencies 2025-09-11 07:17:42 +02:00
akallabeth
9b21bc8fc2 [primitives,neon] fix YUV conversion, handle odd x/y 2025-06-16 10:59:35 +02:00
akallabeth
e049be9837 [codec] log primitives used 2025-06-13 13:52:28 +02:00
akallabeth
3d9ad1cb46 [primitives] fix neon detection 2025-06-13 10:41:59 +02:00
akallabeth
92f88b37d8 [primitives,yuv] fix YUV420 to RGB 2025-06-13 09:53:24 +02:00
akallabeth
b2d7a7d3c0 [primitives,test] print all errors on RGB compare 2025-04-29 10:01:03 +02:00
akallabeth
ebe9e5209b [primitives,test] do compare YUV444 rgb after conversion 2025-04-28 22:33:03 +02:00
akallabeth
c06bf6ccb0 [warnings] fix format warnings 2025-03-24 21:23:10 +01:00
Armin Novak
e4df43a37a [freerdp] fix argument consistency, casts 2025-03-19 19:32:09 +01:00
akallabeth
d529675f70 [cmake,primitives] mark WITH_OPENCL unmaintained 2025-03-17 16:23:53 +01:00
akallabeth
994898be4a [primitives,sse] remove sse2_yCbCrToRGB_16s16s_P3P3
The SSE implementation did not produce divergent results due to rounding
errors. Since the function is unused in the project itself remove it.
2025-03-16 20:18:58 +01:00
akallabeth
b0393e434e [primitives] unify writing YUV data as RGB pixel 2025-03-16 20:18:36 +01:00
akallabeth
83cb4f1c53 [primitives,yuv] refactor yuv420 to RGB
the routine did have some out of bound read issues, refactor to avoid
that.
2025-03-16 20:18:30 +01:00
akallabeth
b46b67271e [primitives] fix optimized setup
only initialize once to generic implementation and then try the
optimized versions
2025-03-15 20:55:26 +01:00
Armin Novak
8fb49b0abe [warnings] fix coverity warnings 2025-03-12 13:44:59 +01:00
Armin Novak
3e6707c443 [warnings] fix issues from ci builder 2025-03-12 12:02:04 +01:00
akallabeth
1fe0ca41e1 [warnings] fix missing integer casts 2025-03-11 13:20:19 +01:00
akallabeth
9310e2ebf8 [primitives] use int64_t instead of SSIZE_T as parameter
SSIZE_T is only guaranteed to have -1 defined.
2025-03-11 11:01:13 +01:00
akallabeth
a6c70383e9 [primitives] rename function pointer types
* Remove __ prefix, reserved identifiers
* Add drop in replacement for compatibility
* Clean up SSE macros
2025-03-10 22:34:33 +01:00
akallabeth
2b53807256 [primitives] fix warnings and restricted use 2025-03-10 22:13:46 +01:00
akallabeth
0bb49c94c9 [restrict] unify restrict keyword usage 2025-03-10 18:48:16 +01:00
akallabeth
8cb4741f03 [primitives,YCoCg] remove 16 bye alignment 2025-03-07 10:16:24 +01:00
akallabeth
4c1cc2cc0c [warnings] fix unused function and variables 2025-03-07 09:35:03 +01:00
akallabeth
aa4384a286 [primitives,copy] remove alignment check 2025-03-06 16:09:16 +01:00
akallabeth
d765de8484 [warnings] eliminate dead code 2025-03-05 11:01:44 +01:00
akallabeth
61910ad0b5 [dead code] remove some unused code
also fix some parts no longer compiling after enabling it again
2025-03-04 17:24:13 +01:00
akallabeth
d4f7fb081b [warnings] fix -Wunused-function
* delete unused functions that are no longer required
* define guard functions only used while debugging
2025-02-27 19:29:46 +01:00
akallabeth
413c9b8a85 [primitives,sse] enable and refactor prefetch code 2025-02-27 05:41:59 +01:00
akallabeth
a520f845a3 [warnings] fix -Wunused-macro
comment or delete macros that were not used.
2025-02-26 22:12:18 +01:00
akallabeth
12764b1ebe [warnings,android] fix build warnings 2025-02-22 15:22:01 +01:00
akallabeth
74cd8d8fe0 [freerdp,warnings] fix -Wunused-parameter 2025-02-13 15:53:54 +01:00
akallabeth
323c6da940 [core] fix warnings and invalid return type 2025-02-13 14:43:31 +01:00
akallabeth
22efdfbc8f [simd] move CPU feature detection
Use static inline functions in header to do CPU feature detection.
The c files are already compiled/linked with SIMD support and might have
used instructions from that featureset already.
2025-02-12 14:24:10 +01:00