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
akallabeth
726add2a98
[codec,h264] ignore EAGAIN for FFMPEG
2025-01-29 09:35:51 +01:00
akallabeth
355bb9f037
[codec,h264] fix sign type of option
2025-01-19 15:31:26 +01:00
Armin Novak
664321dd04
[clang,tidy] fix cast warnings
2025-01-15 15:35:09 +01:00
akallabeth
ea2022b76b
[clang,tidy] fix warnings
2025-01-15 09:32:52 +01:00
akallabeth
b02e58a039
[codec,h264] fix missing static
2025-01-14 21:06:17 +01:00
akallabeth
e1ee4bee38
Merge pull request #10887 from oleg0421/rdpecam_vaapi_h264_encoding
...
MS-RDPECAM: VAAPI h264 encoding, resolves #10762
2025-01-14 18:39:57 +01:00
oleg0421
7b4a903f66
MS-RDPECAM: VAAPI h264 encoding
2025-01-14 04:32:12 -08:00
akallabeth
fca3b3d7db
[codec,openh264] fix trace log crash
2025-01-14 12:09:44 +01:00
David Fort
88229dca51
Fix calls of Stream_EnsureCapacity
...
There were various places where Stream_EnsureCapacity was called instead of the
expected Stream_EnsureRemainingCapacity. When the stream position is set to 0 the
2 calls are equivalent, but we had various places where it was not always the case.
2025-01-13 14:49:18 +01:00
akallabeth
8232c845a7
[codec,rfx] fix a rectangle leak
2025-01-13 09:15:02 +01:00
akallabeth
1cc64eb58b
[codec,yuv] fix worker object handling
...
* fix allocation size, assume 16x16 tiles (should be more than used in
most cases)
* fix cases where we run out of workers (lots of overlapping change
rectangles or smaller than 16x16), wait for submitted workers to
complete and continue instead of abort.
2025-01-12 21:07:57 +01:00
akallabeth
17315c5936
[codec,yuv] fix thread count calculation
2025-01-12 17:02:28 +01:00
akallabeth
ac4be9b941
[codec,rfx] fix region leak
2025-01-12 15:13:13 +01:00
akallabeth
720d48583a
[codec,h264] add basic unit test
2025-01-12 15:11:57 +01:00
akallabeth
5b77fa3487
[codec,h264] reset h264 instance
...
when resetting the context reinitialize the h264 encoder. this allows
switching the backend
2025-01-12 09:26:42 +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
0969502541
[warnings] fix warnings detected by latest CI build
2025-01-03 09:53:48 +01:00
akallabeth
ae59eedc44
[codec,planar] fix decoder regression
2025-01-03 00:20:53 +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
f63a5a5a1f
[winpr,endian] Use new winpr_Data_Write_* names
2024-12-08 22:55:58 +01:00
akallabeth
6dd1ee3055
[winpr,endianess] replace usage of Data_Read_*
...
Use new and improved winpr_Data_Get_*
2024-12-08 22:55:56 +01:00
akallabeth
344841714c
Merge pull request #10844 from akallabeth/cmake-mulitconfig
...
Cmake multiconfig
2024-12-07 17:43:05 +01:00
akallabeth
83f2f21ad3
[warnigns] fix lots of bugprone warnings
...
* update-settings-tests: properly cast types in getter/setter
* wtypes: fix PHANDLE definition
* wStream: fix INT64 write function warnings
* Simplify HANDLE copy in channels, just assign after proper cast
2024-12-06 09:15:48 +01:00
akallabeth
ba8fd2ada5
[cmake] force configuration options
...
limit multiconfiguration options to supported types
2024-12-05 09:36:23 +01:00