5414 Commits

Author SHA1 Message Date
Unknown W. Brackets
f6534c3809 Fix a possible buffer over/underflow issue in mpeg.
Atrac seems to have a problem here, so let's be safe.
2013-06-14 23:21:12 -07:00
Unknown W. Brackets
9406561492 The seek callback should return new offset.
Like lseek().  Not the passed param.
2013-06-14 23:12:56 -07:00
Unknown W. Brackets
2ec8106809 Ensure FFmpeg doesn't corrupt an early keyframe.
When the analyze func runs, it seems to check between 2-4% (or so?) of the
stream, which for longer videos especially we don't have yet.  Returning a
read failure here seems to truncate that keyframe sometimes.

FFmpeg asks for the total size when this happens, which we were ignoring.
Handling it fixes this, as FFmpeg apparently realizes we ran out of data.
2013-06-14 17:56:27 -07:00
Henrik Rydgård
34323a1192 Merge pull request #2256 from unknownbrackets/mpeg-fix
Don't return less than ffmpeg wants 'til the end
2013-06-14 02:01:05 -07:00
oioitff
23cefa03c6 Delay video decode until we have enough packets. 2013-06-14 01:16:59 -07:00
Unknown W. Brackets
6192feb27a Don't return less than ffmpeg wants 'til the end.
Fixes #2223 (at least for the games I have.)
2013-06-14 01:14:40 -07:00
Unknown W. Brackets
dc5e7d5e71 Still need to delete textures when scaling on.
Duh.  Fixes #2255.
2013-06-14 00:46:49 -07:00
Henrik Rydgård
0954da32ea Merge pull request #2254 from chaserhkj/fix
Fixed a build error of qt interface on Linux
2013-06-14 00:21:04 -07:00
Henrik Rydgård
3908bf537f Merge pull request #2249 from unknownbrackets/texcache
Re-enable subimage optimization with scaling check
2013-06-14 00:17:01 -07:00
Henrik Rydgård
e76b22abd2 Merge pull request #2247 from unknownbrackets/psmf-minor
Clean up logging in scePsmf*, update ffmpeg
2013-06-14 00:14:04 -07:00
Henrik Rydgard
7f6b20021b Update ffmpeg, should fix #2253 (at least the reference is not a tree error) 2013-06-14 09:09:55 +02:00
HuangKangJing
9ac2b605d5 Fixed a build error of qt interface on Linux 2013-06-14 15:04:37 +08:00
Unknown W. Brackets
a82df83dcc Merge pull request #2250 from chaserhkj/fix
Fixed a build error on 64-bit linux.
2013-06-13 23:33:37 -07:00
HuangKangJing
9e0fe6f1e6 Fixed a build error on 64-bit linux. 2013-06-14 14:24:04 +08:00
Unknown W. Brackets
ff00b65cf3 Re-enable subimage optimization with scaling fix.
Thanks go to @Squall-Leonhart for finding the issue.
2013-06-13 23:04:11 -07:00
Unknown W. Brackets
e36da8b49f Clean up scePsmfPlayer logging.
Move a bunch of things from errors.
2013-06-13 22:33:59 -07:00
Unknown W. Brackets
1af3ef0880 Clean up scePsmf logging. 2013-06-13 22:21:39 -07:00
Unknown W. Brackets
5b17005e31 Correct result of scePsmfGetVideoInfo(). 2013-06-13 22:12:16 -07:00
Unknown W. Brackets
9965f7c071 Update ffmpeg. 2013-06-13 22:11:04 -07:00
Henrik Rydgård
69bcc1eb21 Merge pull request #2244 from raven02/patch-6
Implement scePsmfVerifyPsmf()
2013-06-13 16:33:33 -07:00
raven02
9b164958a2 Change to DEBUG_LOG 2013-06-14 07:19:52 +08:00
raven02
0bb7462e2d Implement scePsmfVerifyPsmf 2013-06-14 07:15:57 +08:00
Henrik Rydgård
fe745e3583 Merge pull request #2241 from jtraynham/master
Added FFMPEG support to iOS build
2013-06-13 11:31:52 -07:00
Jake Traynham
d6cc2c0f4e Updated ios-build.sh in ffmpeg submodule 2013-06-13 12:16:33 -05:00
Jake Traynham
4daa042529 added FFMPEG support in iOS build
Also added a new README with more detailed instructions on compiling
the iOS version
2013-06-13 12:07:09 -05:00
Henrik Rydgård
bcdf6e10f5 Merge pull request #2239 from oioitff/patch-1
Both video/audio timestamp seem to start from firstTimeStamp in sceMpeg.
2013-06-13 09:39:55 -07:00
oioitff
09d5a404e2 Both video/audio timestamp seem to start from firstTimeStamp in sceMpeg.
Fix video playback for Castlevania Dracula X Chronicles.
2013-06-13 21:03:17 +08:00
Henrik Rydgård
6c48f6e2e1 Merge pull request #2231 from unknownbrackets/sas-minor
Fix sceSasSetPause() error code, update default SAS values
2013-06-12 08:18:50 -07:00
Unknown W. Brackets
16b0a99e5f Adjust some default values for SAS audio. 2013-06-12 08:02:56 -07:00
Unknown W. Brackets
8b4b4a6b8c Use the 1 bit in sceSasRevVON() and cleanup.
Not used yet anyway.
2013-06-12 07:59:54 -07:00
Unknown W. Brackets
8e7c5be2e0 Don't return errors in sceSasSetPause().
-1 is perfectly valid, we just need to not infinite loop in that case by
using a logical shift not an arithmetic one.
2013-06-12 07:56:53 -07:00
Henrik Rydgård
486f88e390 Merge pull request #2230 from oioitff/atrac-fix
Use a hack method to release already finished atrac3 voice.
2013-06-12 06:47:21 -07:00
oioitff
1e00e0f519 Use a hack method to release already finished atrac3 voice. 2013-06-12 20:55:40 +08:00
Henrik Rydgård
e500f9ce6a Merge pull request #2225 from thedax/sceUtilityScreenshot
Clean up sceUtilityScreenshot*
2013-06-12 02:51:52 -07:00
The Dax
242007057f Further refinement/cleanup. 2013-06-12 05:22:26 -04:00
The Dax
03526eb874 Refine the sceUtilityScreenshot* stubs with a proper placeholder dialog. Same results, but cleaner code. 2013-06-12 05:20:08 -04:00
Henrik Rydgård
1d8170b7cb Merge pull request #2224 from thedax/syscallStubs
Implement some sceUtility stubs and one sceRtc stub
2013-06-12 02:01:20 -07:00
The Dax
fcc071d960 Fix more logging. 2013-06-12 04:50:40 -04:00
The Dax
d246690252 Fix logging; forgot to remove those. :P 2013-06-12 04:48:21 -04:00
The Dax
4017550e41 Implement some missing syscalls and "fix" one, which fixes a Project Diva 2nd hang, and possibly other games that rely on sceUtilityScreenshotGetStatus to return success, since they tend to wait forever for the dialog to finish. I'd like to implement the dialog and functionality someday, but for now, this works fine.
Also implement stub for sceRtcSetAlarmTick, though Diva 2nd doesn't care if it's implemented or not.
2013-06-12 04:46:06 -04:00
Sacha
fb3c2cc87a Increase optimisations on Blackberry. 2013-06-12 10:52:20 +10:00
Sacha
5aba914a42 Build fix for non-ffmpeg and non-gcc non-++11. 2013-06-12 10:51:30 +10:00
Henrik Rydgard
052a15b788 Disable the glTexSubImage optimization, see issue #2222 . 2013-06-11 23:06:30 +02:00
Henrik Rydgard
3c3442878c Update native, fixing bug on plugin screen where top message disappeared 2013-06-11 21:56:16 +02:00
Henrik Rydgard
e809e39681 Mips interpreter: Use unions instead of ugly casts. Strict-aliasing builds now work, but needs more testing so I don't enable it yet. Also some aliasing fixes for TransformPipeline. 2013-06-11 21:44:37 +02:00
Henrik Rydgard
b60a2fb819 x360 temporary right stick hard bind now configurable in ini file. 2013-06-11 21:29:55 +02:00
Henrik Rydgard
5916a345c3 Hard bind right x360 stick to buttons until we can improve control mapping functionality. Thanks KrossX. 2013-06-11 20:38:21 +02:00
Henrik Rydgard
a08ded1eed Update submodules, including az language 2013-06-11 20:35:23 +02:00
Henrik Rydgard
f8b9655f20 Use glTexSubImage to replace textures instead of deleting them and allocating new ones whenever possible. May help runaway VRAM consumption with some Radeon drivers. 2013-06-11 20:21:19 +02:00
Henrik Rydgard
b8959b956b sceMpegGetUserDataAu: return ERROR_MPEG_NO_DATA. Add some notes for later implementing mpeg user data. Fixes part of #2172. Thanks to [unknown] 2013-06-11 19:27:02 +02:00