Commit Graph
216 Commits
Author SHA1 Message Date
Unknown W. Brackets baf465500a Fix a bad iterator dereference in sceMpeg.
Though not sure it should actually reach here, let's at least not crash.
2014-08-31 21:15:04 -07:00
sum2012 21e024eeda sceMpegRingbufferAvailableSize might use a different
Based on http://code.google.com/p/jpcsp/source/detail?r=1813
Fix #5112
2014-07-27 23:40:46 +08:00
Unknown W. Brackets ef4847b6f5 Don't double decrease g_inCbCount.
Happened when a thread was deleted, it seems like.  Fixes #6542.
2014-07-12 09:57:13 -07:00
Henrik Rydgard 1d0cc3417c Audio stuff: Cleanup, delete dead code 2014-06-22 14:01:23 +02:00
Unknown W. Brackets de2a3834e0 Abuse esBuffer to track the vid/aud stream id. 2014-06-21 09:27:39 -07:00
Unknown W. Brackets aa6355a9e5 Reschedule after many cases of eating cycles.
All of these eat enough cycles they could cause issues in a loop, and I'm
pretty sure they would reschedule.
2014-06-13 00:30:21 -07:00
Sacha 37b7667038 Remove some unnecessary #ifdef's relating to Symbian. 2014-06-10 23:06:00 +10:00
sum2012 f047320a9c Revert "Apply hleDelayResult to sceMpegAvcCsc"
Fix video 's screen dislocation in Bleach heat of soul 6
#5535
2014-05-18 12:25:32 +08:00
Unknown W. Brackets eae4c9cc49 Check for no audio more directly.
This fixes some cases where the flag was set wrong.
2014-04-26 09:38:13 -07:00
raven02 5b7035b71a Missing default case :( 2014-04-18 21:32:02 +08:00
raven02 fd330b4d93 Use getMpegVersion to get ctx->mpegVersion 2014-04-18 20:27:17 +08:00
kaienfr 4e958eabe0 just a typ in comment fix->pix 2014-04-08 04:22:53 +02:00
kaienfr d39006c748 rollback something changes for Symbian compiling issue 2014-04-08 04:18:24 +02:00
kaienfr 6d447bffb4 add some comments, simplification, replacing auto :) and something else 2014-04-08 00:57:25 +02:00
kaienfr 46214c91dc close pmpdecoder after video playing. 2014-04-07 19:52:33 +02:00
kaienfr edffdf2050 fix pmp video quality issue.
We have no more decoding errors on imcomplete frame now.
2014-04-07 18:26:52 +02:00
kaienfr 4792b6dc3b Avoid type cast issue - pass mpeg context address instead of context pointer in function args. 2014-04-07 05:16:45 +02:00
kaienfr fdf8d5c9f1 Cast issue again on Unix = =, try void* 2014-04-05 00:16:08 +02:00
kaienfr 44ef7f7180 try reinterpret_cast 2014-04-04 23:50:18 +02:00
kaienfr 1f297d82ac fix cast issue for unix 2014-04-04 23:33:33 +02:00
kaienfr de84c51d51 change some warn_log to debug_log 2014-04-04 23:10:33 +02:00
kaienfr 04756b91e0 Do State PMP media, and some other updates to PMP media. 2014-04-04 23:01:25 +02:00
kaienfr 626ad2d678 update for supporting pmp video 2014-04-02 07:20:52 +02:00
kaienfr 03898fd1e6 updates 2014-04-01 04:58:56 +02:00
kaienfr f5d4b7bcb4 PMP Video
Not ready for merge, only for discussion about the current stage.
The video frame seems been decoded into RGB24 by my decodePmpVideo function, and the dumped ppm output file have also something.
But in ppsspp, we can just see some nonsense noise on the screen, but already hear AAC audio :)
I still have no idea what's wrong. Can somebody help? Thanks!
2014-04-01 00:33:31 +02:00
kaienfr c7cfa7d061 Update sceMpeg.cpp
change to right macro
2014-03-31 17:59:11 +02:00
Unknown W. Brackets ea9a6c1b58 Fix leaks in sceMpeg demuxing. 2014-03-30 13:06:42 -07:00
sum2012 1b98db916d Add more logging 2014-03-29 06:43:26 +08:00
sum2012 7caccdb955 Use @kaienfr suggestion 2014-03-29 01:49:32 +08:00
sum2012 20861a6d00 Correct sceMpegbase parameter 2014-03-29 01:17:37 +08:00
sum2012 9b054de4e5 Add scempegbase stuff
Find in homebrew game
2014-03-27 00:51:07 +08:00
Unknown W. Brackets 893a719c4e Fix a typo.
Not sure how this one happened...
2014-03-24 01:15:37 -07:00
Unknown W. Brackets a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
Unknown W. Brackets 05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
Henrik Rydgard c80510fb3b MemMap should not be included in MIPS.h. 2014-03-15 10:45:39 +01:00
Unknown W. Brackets 641064f0bc Consistently use MIPS_REG_V0 for return values.
This way all instances are a lot easier to search for (was trying to find
where we were writing an incorrect value to v0, turns out to be callback
related of course.)
2014-03-04 08:21:55 -08:00
Unknown W. Brackets 0f36b45f2e Turns out this difference began in mpeg.prx 0105. 2014-03-02 10:40:54 -08:00
Unknown W. Brackets fc1ab072b3 Write the ringbuffer struct based on mpeg version.
This way it can easily match tests.
2014-03-02 01:31:30 -08:00
Unknown W. Brackets cda1bc2772 Keep track of the loaded sceMpeg_library version.
They have variations in behavior.
2014-03-02 01:31:29 -08:00
Unknown W. Brackets 4a1c9645e8 Get rid of Memory::GetStruct(), use PSPPointer. 2014-02-27 00:28:57 -08:00
raven02 db943fa3cc Add PSMF_VERSION_00XX 2014-02-16 23:23:17 +08:00
raven02 1fcbc46814 Make sure audio stream is present 2014-02-10 09:31:54 +08:00
raven02 891d223a4f Avoid repeat spamming of audio end reach 2014-02-09 21:48:26 +08:00
raven02 9df71811e0 Return ERROR_MPEG_AVC_INVALID_VALUE 2014-02-08 23:20:49 +08:00
raven02 82add9725e sceMpeg : Remove obsolete getMpegHandle() 2014-02-08 16:46:55 +08:00
raven02 c3f6c086ad Keep it original 2014-02-05 09:10:27 +08:00
raven02 601bc39f9c Use avcAu & atracAu to represent AVC and ATRAC access unit 2014-02-04 22:55:41 +08:00
raven02 cb2528ab99 Report the mpeg first timestamp 2014-02-04 10:59:34 +08:00
raven02 2c212d5cd6 Sanity Check ctx->mpegFirstTimestamp != 90000 2014-02-04 09:21:16 +08:00
sum2012 a2521ad01f Fix MHP3 Chinese version crash in scempeg and scejpeg 2014-02-04 08:00:29 +08:00