Henrik Rydgard
0de71f27cb
Optimize the VAGADPCM decoder.
2014-01-04 01:59:20 +01:00
Unknown W. Brackets
4e929764c8
Set the audio/video streams per sceMpegGet*Au().
...
This fixes #2226 , thanks to @raven02 for finding the issue. Could also
help e.g. Xyanide: Resurrection and a few other games.
The video codec change path is not super well tested, because I couldn't
find a game that triggered it, but it should work.
2014-01-03 09:29:37 -08:00
Unknown W. Brackets
82a7680bab
Remove the 5 packet min for openContext.
...
Should be safer, and with retrying, it's no longer necessary.
2014-01-01 21:00:29 -08:00
Unknown W. Brackets
2c38805791
Retry opening the context if it fails at first.
...
This fixes #4550 , the hang on the crash video in FF4.
2014-01-01 20:47:10 -08:00
Unknown W. Brackets
c1dcebce07
Fix savestates when videos are playing.
2014-01-01 20:44:51 -08:00
Unknown W. Brackets
ce7c5e0cf9
Initialize m_decodingsize to 0.
...
Fixes #4609 , intermittent video issues in Lunar.
_PsmfPlayerFillRingbuffer() expects getRemainSize() to return something
useful even before the context is opened.
2014-01-01 15:14:22 -08:00
Unknown W. Brackets
f14361c3b8
Add a bunch more missing cstring includes.
2013-12-30 21:37:19 -08:00
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Henrik Rydgård
79ff2f0ba8
Start untangling our include mess a little.
2013-12-29 23:34:45 +01:00
Unknown W. Brackets
8e797796e5
Wait for only 5 frames before seeking mpegs.
...
Workaround for Mana Khemia, ugh... must be more complex logic. Valkyrie
Profile still works.
2013-12-17 02:00:57 -08:00
Unknown W. Brackets
3204ec94fb
Forget video end when more packets are added.
...
Good for looping videos, for example Burnout.
2013-12-14 11:33:32 -08:00
Unknown W. Brackets
20b81ef552
Don't try to seek the video with too few packets.
...
Conservatively we seem to need approximately 6, which any video ought to
be longer than.
2013-12-14 11:18:08 -08:00
Unknown W. Brackets
ae0560a1db
Ignore bad video decode addresses.
...
Instead of crashing, even if that's more fun.
2013-12-11 08:21:01 -08:00
Henrik Rydgard
2c9a1123f0
Fix audio regression: Don't "WalkCurve" on state OFF
2013-11-17 23:13:30 +01:00
Henrik Rydgard
b30495c8e8
Reapply the "duration" SasAudio optimization.
2013-11-17 16:49:43 +01:00
Henrik Rydgard
5f51432de7
Revert "More minor SasAudio optimizations"
...
Will reapply later in pieces.
This reverts commit cd251af345c3ed97b459b7bdb9e068a4f3e168a4.
2013-11-17 16:46:26 +01:00
Henrik Rydgård
4a89e2e74f
Add "Dump frame GPU commands" to the "in-game" dev menu too.
2013-11-15 16:49:13 +01:00
Henrik Rydgård
cd251af345
More minor SasAudio optimizations
2013-11-15 12:28:16 +01:00
Henrik Rydgård
21006dc6a7
SasAudio: Compute envelope duration on state changes only.
2013-11-15 12:05:10 +01:00
Sacha
3e762f2864
Make !USE_FFMPEG savestates compatible.
2013-11-12 18:06:43 +10:00
Sacha
efad755ccc
Buildfix !USE_FFMPEG
2013-11-12 17:52:43 +10:00
Unknown W. Brackets
879060f008
Use a CORE_POWERUP state when starting.
...
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
Unknown W. Brackets
348ea5b5cf
Fix volume scaling for mono inputs, etc.
...
Fixes #4423 .
2013-11-03 01:14:22 -07:00
Henrik Rydgård
0e54e24b24
Revert "Use swap code from native instead. Remove all other versions of it."
...
Broke movie playback.
This reverts commit 9fcb08a3265a78ea1d7f9981785a3e420d746c05.
Conflicts:
native
2013-10-28 17:24:03 +01:00
Sacha
72fd653a31
sceAudio: ARM optimisation.
2013-10-29 00:16:37 +10:00
Sacha
9fcb08a326
Use swap code from native instead. Remove all other versions of it.
2013-10-28 03:07:32 +10:00
Unknown W. Brackets
ad8c4af936
Respect the bgm vol setting for at3, mp3, video.
2013-10-26 19:33:25 -07:00
Henrik Rydgard
f0e47838c6
Just break out some functions in SasAudio
2013-10-24 01:19:08 +02:00
Henrik Rydgard
a790c0a723
SasAudio: Add some comments about reverb, and add the reverb type list
2013-10-23 22:59:42 +02:00
Henrik Rydgard
f5a63d7d41
Better fix for the UINT_64 define issue on android
2013-10-20 13:52:31 +02:00
Sacha
40da2f7f5b
Buildfix Symbian and Blackberry from the ffmpeg merge.
...
Fix a header issue on Blackberry.
Fix a UINT64_C define issue.
FFMPEG is no longer 'beta'.
2013-10-20 16:41:34 +10:00
Unknown W. Brackets
e95f55a5fe
Fix some enum type warnings.
2013-10-19 14:57:45 -07:00
Henrik Rydgård
2f8a78dd7a
Clean up SimpleAT3Dec, don't allocate new Frame objects all the time
2013-10-19 23:09:28 +02:00
Henrik Rydgård
2c5adc96cf
Rip out the support for the Atrac3+ plugin. It is gone, to never return.
2013-10-19 23:09:26 +02:00
Henrik Rydgård
be40289d6c
Use ffmpeg for Atrac3+ decoding during video playback as well.
2013-10-19 23:09:26 +02:00
Henrik Rydgård
99fec75f06
Delete OMAConvert, entirely unused
2013-10-17 12:33:57 +02:00
Henrik Rydgård
ac2334386a
Move BufferQueue out of the at3 plugin header
2013-10-17 12:31:22 +02:00
adrian17
7e3f35dfe3
Removed redundant includes
2013-09-30 19:05:04 +02:00
Unknown W. Brackets
8fb2cb5bf6
Check log level from ffmpeg, use levels.
2013-09-21 17:19:57 -07:00
shenweip
a62e9f15e9
Implemented sceMpegAvcConvertToYuv420.
2013-09-18 14:05:09 +08:00
The Dax
d102baacd0
Prep PPSSPP for Visual Studio 2013.
2013-09-17 10:27:06 -04:00
Unknown W. Brackets
0c6fbb461d
Tweak ffmpeg logging in mp3/atrac as well.
2013-09-16 08:40:38 -07:00
Unknown W. Brackets
d13d8ad946
Avoid writing to stdout/stderr from ffmpeg.
...
This will log some errors in the log even in release.
2013-09-16 08:35:32 -07:00
The Dax
e49bdbb363
Swap order of ifdefs so Android's Atrac3+ works again.
2013-09-15 15:25:35 -04:00
Henrik Rydgård
966aa90f10
Merge pull request #3766 from kozec/master
...
AT3+ plugin detection on Linux
2013-09-15 00:26:52 -07:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
kozec
1124ef91ea
AT3+ plugin detection on Linux
...
Enables AT3+ plugin to be detected on linux, if placed on hardcoded or standard location - /usr/lib/libat3plusdecoder.so
2013-09-14 12:23:00 +02:00
Henrik Rydgard
8c88dff5a4
More log categories, use them (and existing ones). Improve log config.
2013-09-07 22:02:55 +02:00
Henrik Rydgard
78d3ee3d6a
Misc cleanup, mostly logging code
2013-09-07 13:01:19 +02:00
Unknown W. Brackets
fe1f4d53c6
Return an error on bad SAS sample rate.
...
Also reorder the types to fit the PSP's flag values.
2013-09-01 16:59:37 -07:00