Commit Graph

192 Commits

Author SHA1 Message Date
Henrik Rydgård e9930c77fd Show more info in sysinfo build config, including the FFMPEG version PPSSPP was built with 2026-03-02 00:24:19 +01:00
Henrik Rydgård d9ba20ce99 Add sanity checks in GPU::PerformMemoryCopy and GPU::PerformMemorySet
Part of #21055
2026-01-01 14:43:14 +01:00
oltolm 122eddfe0f ffmpeg: update API for ffmpeg 8 2025-11-05 19:11:32 +01:00
oltolm a9c45eaae4 MediaEngine: use "avpriv_stream_set_need_parsing" 2025-10-30 23:46:21 +01:00
Henrik Rydgård 2fde87b074 Revert some const changes
Fixes #20307
2025-05-01 22:57:04 +02:00
Henrik Rydgård dbe6ec80a0 Fix some bad "for (auto x : y)" usage 2025-04-29 16:46:14 +02:00
Henrik Rydgård 3cd1f2f832 sceAudioCodec: Fix AT3 and AAC playback (possibly limited to certain bitrates) but fixes Kosmodrones 2025-04-13 15:48:11 +02:00
oltolm 9566065455 make compile on mingw-w64 2025-01-11 01:25:27 +01:00
Henrik Rydgård e93c80db4e Cleaning up our SIMD header includes, using the new header 2024-12-19 16:08:48 +01:00
Henrik Rydgård 5326d87f9c Rename CrossSIMD to SIMDHeader, but also keep CrossSIMD.h (will have a future use) 2024-12-19 15:15:43 +01:00
Henrik Rydgård 3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård 0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Herman Semenov 3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Henrik Rydgård 16a56aa18b Port over LunaMoo's compat flag for The Warriors video playback
This reverts to the old behavior before we started parsing mpeg headers,
that is, in 558b462 which is part of #8867.

LunaMoo has this under "HackFixVideo" in his build.

See #8991. This doesn't really "fix" that, but works around it.
2024-09-11 14:32:53 +02:00
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 1b366afa35 Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode. 2024-04-16 15:31:11 +02:00
Henrik Rydgård d402068745 Fix mono output from Atrac decoders. (sceAtrac*MOut* functions) 2024-04-15 11:50:32 +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 1938d3b876 More prep for plugging in alternate audio decoders 2024-04-10 12:14:58 +02: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 531f145e0b Fix NEON compilation error on strict compilers. Fixes #18688 2024-01-18 10:38:30 +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 1fa7c508f5 Tiny SIMD optimization to video 2023-12-19 11:40:34 +01:00
Henrik Rydgård 0a13c78788 Revert "ffmpeg: Don't ask for multi-threaded decoding"
This reverts commit b173e0f4a4.

Turns out it's not actually known to fix anything, should have closed
that old PR.
2023-01-12 16:23:39 +01:00
Henrik Rydgård b173e0f4a4 ffmpeg: Don't ask for multi-threaded decoding
For whatever reason, our version of ffmpeg has problems with it,
and I don't care enough to dig deep.

See PR #13806
2023-01-12 12:13:10 +01:00
Unknown W. Brackets c44d787df4 Mpeg: Check memory access range on GetPointer(). 2023-01-09 16:53:10 -08:00
Unknown W. Brackets 68cfaf90ad Mpeg: Move some fields to private. 2023-01-07 06:54:25 -08:00
Unknown W. Brackets 94bab4506f Mpeg: Close codecs from new streams.
These were actually leaking.
2023-01-07 06:44:02 -08:00
Henrik Rydgård e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00
Henrik Rydgård 39198b53a5 Merge pull request #14205 from unknownbrackets/mpeg-minor
Mpeg: Correct stream buffer wrapping, cleanup
2021-02-22 16:18:13 +01:00
Unknown W. Brackets e9325cdb97 Mpeg: Correct stream buffer wrapping, cleanup. 2021-02-22 06:54:40 -08:00
Henrik Rydgård 7cefafeb31 Merge pull request #14199 from unknownbrackets/ffmpeg-update
Mpeg: Set low latency flag for video decode
2021-02-21 18:42:33 +01:00
Unknown W. Brackets d6dc6e9d64 Mpeg: Set low latency flag for video decode. 2021-02-21 09:05:48 -08: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 9d031caa9d Mpeg: Assume 29.97 if bad frame rate returned.
FFmpeg 3.1+ reads the frame rate only into private data, and can only expose
it publicly when using the find stream info API that reads too far ahead.
2021-02-20 15:36:53 -08:00
Unknown W. Brackets d8e3bae2da Mpeg: Prevent sending flush packets to decode. 2021-02-20 15:15:21 -08:00
Unknown W. Brackets 54dd4e4c0c Mpeg: Remove request_probe usage in newer FFmpeg.
No longer needed.
2021-02-18 00:32:16 -08:00
Unknown W. Brackets 0ab6f1d080 Mpeg: Update videos to latest FFmpeg packet pump. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets e3be3d5f7b Mpeg: Clarify fallback problems.
Also, modify it in case some packager was patching, so they see this.
2021-02-18 00:20:27 -08:00
Unknown W. Brackets e5849d109d Mpeg: Correct stream detection in newer FFmpeg. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets 2b2dae60d3 Mpeg: Use direct pts value checks in newer FFmpeg. 2021-02-18 00:20:27 -08:00
Unknown W. Brackets f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -08:00
Unknown W. Brackets 8e6a438809 Mpeg: Correct incorrect upload size return. 2021-02-15 15:00:28 -08:00
shenweip 5e5f5d0164 Makes video streams amount meet the expectation of sceMpegRegistStream() not only the mpegheader. 2020-11-13 18:55:52 +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
shenweip 41a53d70bd Rename func. 2020-02-27 19:21:27 +08:00
shenweip 6eb1d1b742 Check whether the audio is actually played in psmf player
Fixes #11898, some audio contained in pmf videos seem not be actually played by the games. current code prevents video from moving forward for waiting auido and sync, similar issue will happen.
2020-02-27 17:35:16 +08:00