Unknown W. Brackets
0852d8734a
Try to handle video end more correctly.
2013-06-08 03:00:49 -07:00
Unknown W. Brackets
6844c7cab6
Don't read more than total packets per mpeg put.
...
And add notes on how it's supposed to really work.
2013-06-08 03:00:47 -07:00
Unknown W. Brackets
8544cf2359
Delay sceMpegCreate() a bit to match PSP firmware.
2013-06-08 03:00:47 -07:00
Unknown W. Brackets
8b25545849
Don't allow sceMpegInit() twice.
2013-06-08 03:00:46 -07:00
oioitff
156c4ca78a
Fix crash for invalid mpeg header.
2013-06-05 15:46:04 +08:00
oioitff
c913f92427
More improvement for mpeg pts.
...
The mpeglastTimeStamp is probably wrong in some videos. So a video is
end only if there is no more data for decoding.
2013-06-04 23:03:09 +08:00
oioitff
a9ba797ce5
Improve mpeg pts.
...
A real PSP return a value start from 0.
2013-06-03 17:00:58 +08:00
Unknown W. Brackets
b32a52f35c
Convert videos directly to the desired format.
...
This still converts at least in some cases, but less. But these seem
backwards, why are the BGR formats converting to RGB?
2013-06-02 00:31:16 -07:00
Unknown W. Brackets
3d1e426e4a
Send games a free packet count that makes sense.
2013-06-01 15:33:47 -07:00
oioitff
0b23e0389f
Rewrite and implement sceMpeg with MediaEngine.
2013-06-02 01:29:59 +08:00
Unknown W. Brackets
4f069a23d9
Since we don't use readlength yet, don't add it.
...
This would actually go negative often enough, making us consume packets
more slowly than we should, or even never finish consuming. 4 is probably
too small, though.
2013-05-26 17:59:13 -07:00
Unknown W. Brackets
45b72c8b4a
Add a couple more unknown syscalls.
2013-05-23 23:41:10 -07:00
Unknown W. Brackets
8580780194
Add more unknown syscalls from reporting.
2013-05-22 01:19:25 -07:00
Unknown W. Brackets
86ce95a658
Add some syscall entries from reporting.
2013-05-19 22:12:38 -07:00
Florent Castelli
501f705ba3
Merge mp3 support from Orphis' old FFMPEG code.
...
Conflicts:
CMakeLists.txt
Core/HLE/sceAudio.cpp
Core/HLE/sceMp3.cpp
Core/HLE/sceMpeg.cpp
2013-05-12 19:13:10 +02:00
Jacky TSUI
95addc09b1
Separate sceMp3 from sceMpeg
2013-05-06 21:14:58 +08:00
Unknown W. Brackets
273080a48b
Add delays to the sceMpegGet*Au() functions.
...
Mostly from JPCSP. I'm having trouble building a good test that
replicates these, but this fixes #1198 and seems right.
2013-04-20 23:17:10 -07:00
Unknown W. Brackets
a296bba3e1
Also delay inside sceMpegAtracDecode().
...
This is just from JPCSP but we don't have the function working properly
yet anyway.
2013-04-20 22:42:51 -07:00
Unknown W. Brackets
3914742485
Make sceMpegAvcDecode() reschedule, based on tests.
...
Timing seems variable but this should be safe-ish.
2013-04-20 22:38:56 -07:00
Unknown W. Brackets
a232764728
Fix error code for empty ringbuffer in mpeg.
2013-04-20 22:16:41 -07:00
Unknown W. Brackets
1bb66ea7eb
Respect looping in sceMp3Decode().
2013-04-15 02:00:03 -07:00
Unknown W. Brackets
40067470c2
Initial sceMpegGetUserdataAu() from JPCSP.
...
Because I got the stub wrong, so now it does something.
2013-04-08 00:47:25 -07:00
Unknown W. Brackets
4974124587
Fix some small constant-comparison type warnings.
2013-04-05 20:58:35 -07:00
Unknown W. Brackets
832edb0a8f
Fix some x64 type conversion warnings.
2013-04-05 20:29:20 -07:00
Unknown W. Brackets
b80a3e83c3
Reset video pts when registering new streams.
2013-04-01 07:56:43 -07:00