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
Henrik Rydgård
15f5ed81a7
Add a simple compat flag to workaround the Clone Wars issue, #12949
...
Could probably also be fixed by changing the heuristic a bit, but since
we're in heuristic land anyway and close to a release, I feel this is
the safest option.
Also sneaks in a logspam reduction
2022-07-15 11:44:51 +02:00
Unknown W. Brackets
cc7366e63c
HLE: Add a few syscall names.
2021-10-18 06:50:18 -07:00
Unknown W. Brackets
f3f5b2e540
Rtc: Cleanup and simplify date struct handling.
2021-04-11 22:51:33 -07: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
d8e3bae2da
Mpeg: Prevent sending flush packets to decode.
2021-02-20 15:15:21 -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
2b2dae60d3
Mpeg: Use direct pts value checks in newer FFmpeg.
2021-02-18 00:20:27 -08:00
Unknown W. Brackets
2362d71d70
Mpeg: Remove deprecated codec register calls.
2021-02-18 00:20:27 -08:00
Unknown W. Brackets
e7b968be73
Debugger: Notate Memcpys directly as well.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
88e2b9b740
Debugger: Notate memset tags directly.
2021-02-15 15:01:23 -08:00
Henrik Rydgård
8b101ae4a1
Rename the new warmup variable from #14091
2021-02-09 16:11:59 +01:00
sum2012
b127aace57
Only allow sceMpegGetAvcAu warmup for God Eater Series
...
Fix #14086
2021-02-09 22:46:09 +08:00
sum2012
1d2150d2ae
Mpeg:Only allow firmware >= 6 for warmup
...
Fix blue screen in #13146
2021-01-31 15:32:29 +08:00
sum2012
02f1b6452b
Try to build fix on non-windows
2021-01-29 22:45:30 +08:00
sum2012
6bc3cb4dfa
Mpeg:Only allow firmware >= 3 for warmup
...
Fix #13996
2021-01-29 22:26:45 +08:00
shenweip
a174390c95
Corrects the calculation of the return value when the callback of RingbufferPut returns a negative value.
2020-12-28 10:38:27 +08:00
sum2012
a5bd77061b
Typo
...
Thanks @shenweip
2020-12-23 19:52:37 +08:00
sum2012
0572423e2b
Fix Grand Theft Auto - Vice City Stories
2020-12-23 06:22:30 +08:00
sum2012
d56e23ec24
Mpeg: Add warm up staff
...
fix #13527
2020-12-22 23:39:41 +08:00
sum2012
f7a864981c
Add stack value in scempeg and scepsmf from jpcsp
...
Might help video corruption issue
2020-12-16 22:33:55 +08:00
shenweip
3380d31974
Mpeg:Checks autual available space before putting data.
2020-11-23 15:24:03 +08:00
shenweip
0b64d58c7d
Fix mistake.
2020-11-18 10:59:45 +08:00
shenweip
a16e758f33
Corrects the number of added packets returned by sceMpegRingbufferPut, especially if callback is called multiple times.
2020-11-15 22:02:53 +08:00