Commit graph

531 commits

Author SHA1 Message Date
Henrik Rydgård
242a87b2dd Inline FillPacket to make the next step easier 2024-04-13 00:26:37 +02:00
Henrik Rydgård
ea07fdbd86 sceAtrac: Create standalone decoders as well as ffmpeg. Implement LowLevelDecode. 2024-04-13 00:19:04 +02:00
Henrik Rydgård
683a30e964 Remove more indentation 2024-04-12 14:25:46 +02:00
Henrik Rydgård
6bed7137f7 Remove excessive indentation 2024-04-12 14:25:46 +02:00
Henrik Rydgård
ba42c07cfc _AtracDecodeData: Restructure the inner loop a bit. 2024-04-12 14:25:46 +02:00
Henrik Rydgård
1692922cd8 Use proper returns in _AtracDecodeData 2024-04-12 14:25:46 +02:00
Henrik Rydgård
c43442f801 Improve and cleanup logging in sceAtrac 2024-04-12 13:53:17 +02:00
Henrik Rydgård
39b884cfb3 Atrac3/3+: Improve error handling 2024-04-12 11:18:26 +02:00
Henrik Rydgård
ff372f878d Minor code cleanup 2024-04-11 16:54:29 +02:00
Herman Semenov
f625f18eba [GPU/HLES] 'fs' its already NULL, removed excess delete and bufferState_ always ATRAC_STATUS_HALFWAY_BUFFER 2024-04-11 14:52:55 +03:00
Andrew Udvare
930b7f644d ffmpeg: Improved fix for checking if const AVCodec* is necessary 2024-02-05 14:37:09 -05:00
Henrik Rydgård
ce5f157040 More paranoia 2024-01-31 10:48:35 +01:00
Henrik Rydgård
3bd2b1c7a7
Merge pull request #18670 from Tatsh/ffmpeg
Fix compilation against newer ffmpeg versions
2024-01-14 14:16:36 +01:00
Andrew Udvare
402f9acb5e Fix compilation with newer ffmpeg versions 2024-01-13 00:12:21 -05:00
Henrik Rydgård
e62614498e Buildfix mac (name collision with NO...) 2023-12-13 16:48:07 +01:00
sum2012
dfec953f1d Fix atrac sound loop problem
Fix #14058 fix #14352
2023-11-12 12:18:00 +08:00
sum2012
fad262e810 oop 2023-11-03 03:52:18 +08:00
sum2012
a41a1dcfff Fix indentation 2023-11-02 20:42:03 +08:00
sum2012
b3527fe1be Move to _AtracSetData
Fix before LoadModule
2023-11-02 20:37:20 +08:00
sum2012
199f0dd704 Record Atrac libersion
Gripshift library version 0x101 ,crc 3dd5e32f
2023-11-01 06:29:55 +08:00
Unknown W. Brackets
32feb82d16 HLE: Capture better allocation names.
We know which FPL, so don't just say "FPL".
2023-09-02 22:55:45 -07:00
Unknown W. Brackets
3fcecfa5ec Atrac: Ensure codecCtx doesn't leak.
Although, I don't think we're reallocating it.
2023-03-15 22:03:21 -07:00
Henrik Rydgård
dc74778dea Do the last ones too 2023-02-09 10:27:29 +01:00
Henrik Rydgård
42b2b0a266 atrac3: Apply the overallocation workaround in a couple more places. Fixes #15788 . 2022-09-09 11:54:20 +02:00
Henrik Rydgård
818334c592 atrac3: Allocate some extra bytes for the data buffer to workaround decoder bug. 2022-09-09 09:58:11 +02:00
Henrik Rydgård
ecb84987ef Remove allocation from the heaviest MemBlockInfo path (BlockTransfer). Required some refactoring. 2022-09-01 11:59:35 +02:00
sum2012
e373c9063c Use compat.ini instead 2022-08-14 14:54:06 +08:00
sum2012
965daea455 Add atrac hack setting 2022-08-14 09:51:49 +08:00
Unknown W. Brackets
75a85d4035 Atrac: Avoid accessing uninitialized stream status.
Only mess with this in a stream mode.
2022-08-13 08:09:16 -07:00
Unknown W. Brackets
8b3526b8c2 Atrac: Avoid an uninitialized value. 2022-08-13 00:16:08 -07:00
Henrik Rydgård
e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00
ZiHan Huang
33aeac694d ffmpeg: fix compile bug
Err is generated when USE_FFMPEG is set to OFF, The Camera
module relies on FFMPEG

Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com>
2022-06-24 16:50:56 +08:00
Unknown W. Brackets
7a1398844a Debugger: Add simple API to control tagging detail.
In case a client requires it.
2021-04-04 20:23:51 -07:00
Unknown W. Brackets
d3edb134b1 Debugger: Maintain atrac data source info.
Often this is the file it was read from.
2021-04-03 19:19:20 -07:00
Unknown W. Brackets
aa9b19be45 Debugger: Note atrac/sas reads from memory more. 2021-04-03 19:06:46 -07:00
Henrik Rydgård
a062c177a3
Merge pull request #14188 from unknownbrackets/ffmpeg-update
Additional fixes for FFmpeg 3.1+
2021-02-21 10:19:36 +01:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
Unknown W. Brackets
ed2610cf1a Atrac: Update to latest FFmpeg packet pump. 2021-02-20 15:14:17 -08:00
Henrik Rydgård
8a69c3d122
Merge pull request #14176 from unknownbrackets/ffmpeg-update
Remove deprecated API calls for new FFmpeg 4.3.x
2021-02-20 17:14:09 +01:00
aliaspider
9a3e5879bb Global: Correct many endian types and casts. 2021-02-18 22:25:24 -08:00
Unknown W. Brackets
2362d71d70 Mpeg: Remove deprecated codec register calls. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets
88e2b9b740 Debugger: Notate memset tags directly. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -08:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgard
ac843b0b1e Enable FFMPEG in the UWP build 2017-03-23 10:02:28 +01:00
Unknown W. Brackets
266ee632e8 Cleanup FFmpeg funcs deprecated in 3.x. 2016-07-24 12:53:54 -07:00
Unknown W. Brackets
2e1986d0c8 Fix a few reorder warnings. 2016-05-01 09:50:03 -07:00
Henrik Rydgard
e954768a84 sceAtrac: Work-around crash with older versions of FFMPEG when free-ing.
Better leaking than dead, although there has to be a better way.
2016-02-14 17:19:32 +01:00
Unknown W. Brackets
8bea240c25 Atrac: Specify endianness for reset info. 2016-02-10 21:02:41 -08:00