Unknown W. Brackets
41f2999a2b
Mpeg: Write into the ringbuffer using actual ring.
...
This mimics behavior with clamped sizes and wrap around, and also makes it
easier to implement the garbage data handling the PSP has.
2016-06-04 18:16:21 -07:00
Unknown W. Brackets
6d14c17f26
Mpeg: Treat negative available packets as zero.
2016-06-04 18:16:19 -07:00
Unknown W. Brackets
deffb246ae
Mpeg: Require less memory for older lib versions.
...
It seems it started requiring 64k at 1.05.
2016-06-04 18:16:18 -07:00
sum2012
5e20ba1811
Temporarily disable PMP video for non-windows
2016-04-13 20:06:51 +08:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Henrik Rydgard
e866d83547
Temporarily revert "Mpeg: Return errors when no audio is available."
...
This reverts commit c03f6c23ed
.
This caused trouble as seen in #8464 , but is probably right - needs other fixes though so
it will have to wait until after 1.2.0.
2016-01-23 17:08:01 +01:00
Unknown W. Brackets
f60aef2e16
Add a more specific interface for video frames.
...
Since we know more about them. No functional change yet.
2016-01-17 12:57:26 -08:00
Unknown W. Brackets
74d40115a0
Mpeg: Initialize esBuffer to safer values.
...
Makes the audio work properly in Dan Ball Senki W (#4786.)
2016-01-17 00:31:22 -08:00
Unknown W. Brackets
c03f6c23ed
Mpeg: Return errors when no audio is available.
...
Before, we were only returning an error once, in an effort to log only
once. This meant sometimes games would not realize they needed to add
packets.
2016-01-17 00:22:46 -08:00
Henrik Rydgard
351baa101c
Some Android warning fixes
2015-09-22 18:30:57 +02:00
Henrik Rydgård
33c39636c8
Don't use deprecated FFMPEG codec IDs. Tries to solve #7955 .
...
Simpler alternative to #7959 .
2015-09-12 10:45:03 +02:00
Unknown W. Brackets
c0dde25e5a
Set the sid on StreamInfo.
...
It's not used anyway, but if we have it there it might be later.
2015-04-08 11:57:58 -07:00
Unknown W. Brackets
2450724be2
Make Memory::Memcpy() execute memchecks directly.
...
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets
fcf0518223
Update all the HLE tables with arg and ret info.
2015-03-22 20:51:55 -07:00
sum2012
b3bb733b0d
Add back hleDelayResult in sceMpegAvcCsc
...
Fix #7549 Dengeki no Pilot: Tenkuu no Kizuna video flickering
But not break Bleach heat of soul 6
2015-03-04 07:21:38 +08:00
Unknown W. Brackets
d49010832c
Make sceMpegChangeGetAuMode() operate more sanely.
...
I'm pretty sure this is what the intention was before, but it still
doesn't do anything useful (since ignore* are... ignored.)
2015-03-01 09:26:53 -08:00
Unknown W. Brackets
f312925374
Fix a log message.
2015-03-01 09:26:08 -08:00
Chin
22593cddcc
Use pre-increment instead of post-increment for iterators, and use auto for some iterators
2015-03-01 16:55:47 +01:00
sum2012
b5ee54a653
Fix linux compile
2015-03-01 08:39:48 +08:00
sum2012
cb66412919
Some work in sceMpegGetPcmAu
...
Fix #6546
2015-03-01 06:52:45 +08:00
Unknown W. Brackets
522f9fabd8
Add some reporting to sceMpeg funcs.
2015-02-28 11:15:02 -08:00
sergiobenrocha2
9dbd18e59d
Ensure that it will use ffmpeg from ppsspp, not from the system.
2015-02-03 17:46:51 -02:00
Unknown W. Brackets
ce33a9f128
Try to handle savestates better.
...
Just in case. This isn't perfect but it should catch common cases.
2015-01-03 21:46:40 -08:00
Unknown W. Brackets
67cbf2e904
Reverse packetsFree to packetsAvail.
...
This is the actual value stored in memory, which games may be accessing or
even writing to.
Makes the video/mpeg/ringbuffer/avail test pass.
2015-01-03 18:59:56 -08:00
Lioncash
cac632424c
Core: Add missing override specifiers
2014-12-08 15:20:31 -05:00
Lioncash
4ccb838306
Core: Mark some module functions as static
2014-12-08 04:40:08 -05:00
Lioncash
efaba33624
sceMpeg: Remove an unnecessary if statement
...
stream is previously used in the above memcpy, so this check is not necessary.
2014-12-03 16:49:01 -05:00
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