Commit Graph

1403 Commits

Author SHA1 Message Date
akallabeth
8b9335aa90 [CMake,libfreerdp] add pkg-config dependencies 2025-09-11 07:17:42 +02:00
Armin Novak
6851b48b28 [codec,yuv] wrap step calculation 2025-09-04 14:50:42 +02:00
Armin Novak
00968fd6e6 [codec] use default threadpool 2025-09-03 16:22:41 +02:00
akallabeth
65f18983ed [warnings] Fix format string errors
* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
2025-08-13 15:09:48 +02:00
akallabeth
c3e507a82e [winpr,wlog] Replace WLog_PrintMessage calls
Prefer WLog_PrintTextMessage to have proper format string checks in
place.
2025-08-13 15:08:01 +02:00
akallabeth
6284bba9f0 [clang-tidy] fix various warnings
* silence tidy warnings for public API symbols (we can't fix these for
  compatibility reasons)
* fix issues with casting
2025-08-11 14:11:40 +02:00
Phil Vachon
774ee652a9 Fix YUV conversion for systems with lots of CPUs
The YUV CODEC test case exposed a bug where, for an image with a height
less than the number of CPUs in a system, the block size in lines would
end up being zero. This resulted in a divide by zero when parcelling up
workloads for the thread pool.
2025-08-01 16:20:52 -04:00
akallabeth
e049be9837 [codec] log primitives used 2025-06-13 13:52:28 +02:00
akallabeth
34ab0b893d [warnings] fix clang-tidy warnings 2025-05-23 15:29:31 +02:00
endlesseden
af45cb37e3 FF_PROFILE Depreciation Fix 2025-04-29 16:33:35 +02:00
akallabeth
dfdd9f4fe1 [codec,rfx] fix invalid region calculation 2025-04-10 20:46:18 +02:00
akallabeth
c06bf6ccb0 [warnings] fix format warnings 2025-03-24 21:23:10 +01:00
akallabeth
40e67d2d44 [codec,h264] assert function pointer 2025-03-15 20:55:49 +01:00
akallabeth
37b5fa6562 [codec,dsp] fix missing integer casts 2025-03-13 11:39:15 +01:00
akallabeth
885d3aa56f [codec,region] fix noinline warning 2025-03-13 11:24:27 +01:00
akallabeth
7e461a0327 [codec,progressive] fix region cleanup 2025-03-13 08:45:42 +01:00
Armin Novak
64a7b665f6 [codec,region] code cleanup 2025-03-12 19:49:50 +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
85fdbc3b71 [codec,progressive] clamp values instead of assert 2025-03-11 12:35:56 +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
054275bd5d [warnings] fix sign and narrowing issues 2025-03-10 19:19:28 +01:00
akallabeth
0bb49c94c9 [restrict] unify restrict keyword usage 2025-03-10 18:48:16 +01:00
akallabeth
918f5d5af9 [windows] fix deprecation and int warnings 2025-03-10 17:52:36 +01:00
akallabeth
075e2fa5c9 [debug] fix compile issues with WITH_DEBUG* builds 2025-03-06 16:18:01 +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
9b1c016371 [freerdp,codec] add freerdp_image_fill_ex 2025-03-04 12:42:34 +01:00
akallabeth
41b0598fc1 [warnings] eliminate dead code 2025-03-04 09:57:46 +01:00
akallabeth
6d541c8691 [warnings] eliminate dead code 2025-03-04 09:53:05 +01:00
akallabeth
031dd16079 [warnings] clean up unused parameter and dead code 2025-03-03 12:08:35 +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
82d74dbc96 [codec,test] fix warnings in img2bgra 2025-02-22 22:41:44 +01:00
akallabeth
06a5bd1183 [codec,dsp] ignore encoder errors
Due to the AAC encoder sometimes returning errors (due to some internal
foobar) ignore these and just move on to the next packet to encode.
2025-02-22 15:33:21 +01:00
akallabeth
0700485cf5 [codec,test] fix type mismatch 2025-02-22 14:17:57 +01:00
akallabeth
790b53fc86 [codec,test] add cursor test dumps 2025-02-20 16:06:21 +01:00
akallabeth
952e3962b6 [codec,test] img2bgra utility
allow reading an image and create a c header (raw data, bgra)
2025-02-20 15:59:16 +01:00
akallabeth
40dce19b0e [codec,test] add new unit test TestFreeRDPCodecCursor
* Generate a series of cursor images from source dumps and compare these
  to a reference image
* Generation is automatic by picking up .c/.h files from
  libfreerdp/codec/test/cursor directory.
2025-02-20 15:59:11 +01:00
akallabeth
018ce108eb [codec,curso] add option do dump cursor images
* dump raw data and converted image to build binary directory when run
2025-02-20 15:56:15 +01:00
akallabeth
4506a912e5 [codec,cursor] fix 24bpp cursor image generation 2025-02-20 12:09:18 +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
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
00e61074b2 [unused] eliminate unused functions 2025-02-10 09:32:19 +01:00
akallabeth
96331546e6 [codec,planar] fix graphical glitches
patch supplied by @ctrlaltca in #11135
2025-02-06 20:37:28 +01:00
akallabeth
44f5b6c409 [warnings] fix various clang warnings 2025-02-04 11:22:00 +01:00
akallabeth
046413a8c3 [cmake] fix formatting 2025-01-31 12:29:37 +01:00
akallabeth
65feb9ecd1 [cmake,tests] add BUILD_TESTING_NO_H264
allow disabling H264 unit tests for package builds. Some distributions
do not ship full implementations for the package builders
2025-01-30 12:32:59 +01:00
akallabeth
c32f88a866 [codec,openh264] fix library names for openh264
* prefer the full name of a version (e.g. libopenh264.so.2.5.0)
* fall back to the API version name (e.g. libopenh264.so.7)
* at last try the development name (e.g. libopenh264.so)
2025-01-30 11:31:24 +01:00