Commit Graph

2174 Commits

Author SHA1 Message Date
Henrik Rydgård
fe91f246b2 Bump a few minimum-cmake-version statements 2024-05-20 10:04:11 +02:00
Henrik Rydgård
e631be3607 Make a simpler CMakeLists.txt for zstd 2024-05-04 10:48:54 +02:00
Henrik Rydgård
c8cf56ff21 Update zstd dependency 2024-05-04 10:30:22 +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
santiago046
6979be0e3e
Update ext/libpng17/CMakeLists.txt 2024-04-26 17:38:39 -03:00
santiago046
31bf179879
Include ARM files in ext/libpng17/CMakeLists.txt for ARM processors
Needed when building atlas/zimtool.It fixes this error:
```
/usr/bin/ld: png17/libpng17.a(pngrutil.c.o): in function `png_read_process_IDAT':
pngrutil.c:(.text+0x548c): undefined reference to `png_init_filter_functions_neon'                                                            collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/zimtool.dir/build.make:134: build/zimtool] Error 1
make[1]: *** [CMakeFiles/Makefile2:128: CMakeFiles/zimtool.dir/all] Error 2                                                                   make[1]: *** Waiting for unfinished jobs....
```
2024-04-26 17:31:27 -03:00
santiago046
adaa9fbbb4
Update CMakeLists.txt 2024-04-26 17:23:52 -03:00
santiago046
4677aec4d6
Refactor atlas/zimtool CMakeLists.txt 2024-04-26 17:07:04 -03: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