Commit Graph

323 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
5b3be0d720 Update USE_FFMPEG checks 2024-04-10 18:40:02 +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
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
Herman Semenov
08070e7f31 [Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointer using C++17 std::make_* 2023-12-14 15:44:16 +03:00
Henrik Rydgård
9823d0b1a0 Fix unimportant valgrind warning 2023-09-15 11:37:35 +02:00
sum2012
dea35595f7 Fix sceMpegAvcDecode
Fix  Metal Gear Solid Peace Walker get stuck in video
2023-05-28 10:54:51 +08:00
Henrik Rydgård
0babac5c5f Manually revert "Remove LM flag from vshader too" (#16718)
Reverts #16718

Though maybe we can keep this one? Let's see.
2023-05-09 18:44:18 +02:00
Henrik Rydgård
e1a48d74c4 A bit more GetPointer cleanup.
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.

Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
Unknown W. Brackets
c44d787df4 Mpeg: Check memory access range on GetPointer(). 2023-01-09 16:53:10 -08:00
sum2012
d02a79400d Trying to improve sceMpegAvcDecode
Close #16727
2023-01-09 21:41:57 +08:00
Unknown W. Brackets
a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
0ae0a9b389 Mpeg: Correct YUV order from decode. 2022-11-08 22:26:21 -08:00
Unknown W. Brackets
4d8eb38b3a Mpeg: Fix ConvertToYuv420 return value.
This matches some of sceJpeg, so it may fix bugs if the width/height was
passed from here directly to sceJpegCsc.
2022-11-08 21:51:00 -08:00
Unknown W. Brackets
55d5dc3834 GPU: Rename readback and buffer write operations.
Avoid download/upload and pack, which don't have clear directions.
2022-10-09 13:49:41 -07:00
sum2012
de6d747cf0 Store crc change to u32
Should build fixed
2022-10-05 20:36:01 +08:00
sum2012
bbe9c41098 Add crc record into mpeg module 2022-10-04 09:21:11 +08:00
Henrik Rydgård
360eab3211 Merge pull request #16106 from sum2012/mpeg-patch
Trying to improve sceMpegAvcDecodeYCbCr
2022-10-03 14:19:14 +02:00
sum2012
117ce25de0 Forget remove unused include 2022-09-27 21:08:56 +08:00
sum2012
f37d0622e2 Change to mpegLibVersion 2022-09-27 21:07:02 +08:00
Unknown W. Brackets
4e31a469f0 Mpeg: Correct Au update size. 2022-09-26 07:40:17 -07:00
sum2012
282505c70f Trying to improve sceMpegAvcDecodeYCbCr
Fix #11060
2022-09-25 23:00:03 +08:00
Unknown W. Brackets
8b41178cb8 Psmf: Use PSPPointer instead of WriteStruct. 2022-09-03 10:44:11 -07:00
Henrik Rydgård
e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00