Armin Novak
5c510af477
[c23,freerdp] replace NULL with nullptr
2026-02-26 15:06:27 +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
465b5e3ac8
[codec,nsc] split nsc_encode_next_rgba
...
Split function into smaller subfunctions handling one color format each.
2026-01-08 11:07:39 +01:00
akallabeth
e049be9837
[codec] log primitives used
2025-06-13 13:52:28 +02:00
akallabeth
0bb49c94c9
[restrict] unify restrict keyword usage
2025-03-10 18:48:16 +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
akallabeth
fd13e9b919
[primitives,sse] unify load/store
...
* Use LOAD_SI128 to load __m128i values
* Use STORE_SI128 to store __m128i values
2025-02-12 14:24:10 +01:00
akallabeth
01a6b1e7e5
[codec,sse] split nsc_encode_argb_to_aycocg_sse2
2025-02-11 10:14:43 +01:00
akallabeth
cc934795e4
[warnings] fix integer casting
...
* use asserting casts to detect overflows or sign conversions
* code cleanup for issues uncovered by casts
2025-01-01 12:58:34 +01:00
akallabeth
b4976163cd
[CMake,simd] unify WITH_SSE2, WITH_AVX2, WITH_NEON
...
* Add new CMake option WITH_SIMD to enable best available instruction
type
* Unify simd related defines in single header
2024-12-03 11:54:36 +01:00
akallabeth
239440e28d
[warnings] remove or comment unused macros
2024-09-20 18:49:38 +02:00
akallabeth
15456e1ee1
[warnings] fix implicit widening conversion
2024-08-29 10:47:20 +02:00
akallabeth
896ea3c445
[primitives,codec] guard SSE code with platform
...
SSE optimized code might be used in multiarch/universal builds.
So not only guard with WITH_SSE2 but also with architecture defines from
winpr/platform.h
2024-06-25 09:56:52 +02:00
akallabeth
2ee987e665
[cmake,codec] refactor codec
...
* move sse and neon implementations to own subdirectories
* add stubs for missing optimizations (with log messages)
2024-06-11 12:16:20 +02:00