Commit Graph

51 Commits

Author SHA1 Message Date
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
fe91f246b2 Bump a few minimum-cmake-version statements 2024-05-20 10:04:11 +02:00
Henrik Rydgård
090d1f8d0e atrac3: Add a cross platform restrict modifier, use it for the vector math functions
Also remove redundant parameters.

There are a bunch of other places where we could use this, so just
experimenting here.

This enables autovectorization to work here.
2024-05-02 16:57:15 +02:00
Henrik Rydgård
5536ca4fda Remove more unused code 2024-05-01 12:28:39 +02:00
Henrik Rydgård
a93bbf39ba Remove sinewin.cpp/h 2024-05-01 12:28:39 +02:00
Henrik Rydgård
b6b869ddee Remove float_dsp.cpp, inline the functions 2024-05-01 12:28:39 +02:00
Henrik Rydgård
c6502155ab Delete mathematics.cpp/h 2024-05-01 12:28:39 +02:00
Henrik Rydgård
50bb07a6f5 Minor optimization 2024-05-01 12:28:39 +02:00
Henrik Rydgård
e010f8fcc3 Remove generated code for very large FFTs (unused) 2024-05-01 12:28:39 +02:00
Henrik Rydgård
9745fa813f Delete some unused code 2024-05-01 12:28:39 +02:00
Henrik Rydgård
93c32e1e8d Add missing include to get_bits.h 2024-05-01 12:28:39 +02:00
Henrik Rydgård
fd315a324a Help the compiler out slightly (it can't see that the pos is constant) 2024-04-13 10:46:44 +02:00
Henrik Rydgård
857584532f Add NEON code too for the atrac3 hotspot 2024-04-13 10:37:38 +02:00
Henrik Rydgård
7b6b7ebe3c Add some SSE code for an atrac hotspot just for fun, remove function pointers 2024-04-13 10:37:35 +02:00
Henrik Rydgård
52111103b8 Simplify the inner loop of ff_atrac3p_ipqf (prepare for SIMD) 2024-04-13 10:35:42 +02:00
Henrik Rydgård
68c192b892 Fix some symbol clashes apparently affecting the docker build 2024-04-13 01:06:18 +02:00
Henrik Rydgård
3409db9b90 Remove line endings from atrac3+ log strings 2024-04-12 13:53:20 +02:00
Henrik Rydgård
6f11b7fe6c Reorder fields in struct VLCcode for less memory use 2024-04-12 13:53:19 +02:00
Henrik Rydgård
88a00f62b9 Fix or supress some warnings 2024-04-12 13:53:19 +02:00
Henrik Rydgård
70a13a4df5 Implement logging for at3_standalone 2024-04-12 11:18:26 +02:00
Henrik Rydgård
39b884cfb3 Atrac3/3+: Improve error handling 2024-04-12 11:18:26 +02:00
Henrik Rydgård
5ed77b58ca Improve the AudioDecoder API to avoid having to call a function to get the bytes consumed 2024-04-11 16:49:00 +02:00
Henrik Rydgård
45936e8826 Atrac: Add "flush_buffers" api. The ffmpeg atrac decoder was missing this. 2024-04-11 16:35:27 +02:00
Henrik Rydgård
58cb2ba804 Fix playback of atrac3+ when block align not specified 2024-04-11 16:10:31 +02:00
Henrik Rydgård
d4023fb894 Buildfixes
Buildfix

UWP buildfix

libretro buildfix
2024-04-11 16:10:27 +02:00
Henrik Rydgård
6ee008af72 Warning fix, rename some variables to avoid clashes with actual ffmpeg 2024-04-11 14:50:32 +02:00
Henrik Rydgård
b35b351802 Finally remove the AVCodecContext 2024-04-11 14:50:29 +02:00
Henrik Rydgård
6ea8efc0e9 Bypass AvCodecContext for atrac3plus, for a simpler API. 2024-04-11 14:39:59 +02:00
Henrik Rydgård
843119411f Stop passing around the AVCodecContext pointer so much 2024-04-11 14:39:59 +02:00
Henrik Rydgård
416ba81d20 Remove the channel_layout stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
e871133fe6 Buildfixes 2024-04-11 14:39:59 +02:00
Henrik Rydgård
8d89a7cfed Delete more unused stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
ae87aa4537 Initial CMake/Android.mk support 2024-04-11 14:39:59 +02:00
Henrik Rydgård
0d30728832 Remove context parameter from av_log 2024-04-11 14:39:59 +02:00
Henrik Rydgård
e10b90b718 Switch at3_standalone to C++ to avoid namespace clashes 2024-04-11 14:39:59 +02:00
Henrik Rydgård
91df8ebfda FFT cleanup 2024-04-11 14:39:59 +02:00
Henrik Rydgård
bbb563cc82 More header cleanup 2024-04-11 14:39:59 +02:00
Henrik Rydgård
9c32761a0a Remove fdsp context 2024-04-11 14:39:59 +02:00
Henrik Rydgård
27e28a5952 Remove samplefmt 2024-04-11 14:39:59 +02:00
Henrik Rydgård
202886f750 Delete attributes.h/compat.h, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
d617aec8c8 Simplify away AVFrame from decoding functions, remove buffer pools 2024-04-11 14:39:59 +02:00
Henrik Rydgård
7d680c9883 Remove AVPacket, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
08d5de9f4c Remove opt, dict, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
34afd585c7 Delete all kinds of stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård
6803775941 Remove option table 2024-04-11 14:39:59 +02:00
Henrik Rydgård
ae736692ef Remove atomics stuff, a lot more 2024-04-11 14:39:59 +02:00
Henrik Rydgård
e94faa4591 Start paring things down 2024-04-11 14:39:59 +02:00
Henrik Rydgård
c6c67695b1 Hook up ATRAC3 too 2024-04-11 14:39:59 +02:00
Henrik Rydgård
8fbc4a3379 Ultra-gross hackery, but works! Now, need to pare it down, heavily... 2024-04-11 14:39:59 +02:00
Henrik Rydgård
c902973688 Setup more of the setup 2024-04-11 14:39:59 +02:00