Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 143
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: PSP - Ogg and MediaEngine Status  (Read 1704 times)

0 Members and 1 Guest are viewing this topic.

Offline SX

  • Administrator
  • Hero Member
  • *****
  • Posts: 2700
    • LavaLit
PSP - Ogg and MediaEngine Status
« on: March 30, 2011, 10:40:10 pm »
So I've finally figured out how the media engine works thanks to the ps2dev.org forum.  I tried just some simple stuff to get the grasp of how it works and so far things are looking good.  

My next step is to take what we have now as far as decoding pcm audio and have that run on the MediaEngine.  If all goes well, then I will try to port the stb_vorbis decoder over to the MediaEngine also.

The current version of Ogg/Vorbis decoder provided by the people at ps2dev.org uses the main Processor, hopefully if successful my MediaEngine/stb_vorbis decoder will fix the audio delay but at the same time boost fps, since all audio tasks will be running on MediaEngine leaving more main CPU cycles available to the engine/video system.
« Last Edit: March 30, 2011, 10:41:48 pm by SX »

Offline Damon Caskey

  • Hero Member
  • *****
  • Posts: 5335
    • The Gorge
Re: PSP - Ogg and MediaEngine Status
« Reply #1 on: March 31, 2011, 08:10:46 am »
That would be a boon SX!

I wonder, are we still relying on the main processor for the DC port?

DC
OpenBOR Wiki.

Coming Soon:
Spoiler
Fatal Fury Chronicals


Offline Roel

  • Senile Team
  • Full Member
  • ***
  • Posts: 215
  • What happened to my old avatar?
    • Senile Team
Re: PSP - Ogg and MediaEngine Status
« Reply #2 on: March 31, 2011, 09:25:36 am »
Be advised that stb_vorbis has a few bugs, most notably memory leaks. I informed the author a while ago, but last time I checked they were still there.

Offline msmalik681

  • Hero Member
  • *****
  • Posts: 561
Re: PSP - Ogg and MediaEngine Status
« Reply #3 on: March 31, 2011, 02:56:49 pm »
great work sx  :thumbs_up:

Offline bWWd

  • Hero Member
  • *****
  • Posts: 1870
Re: PSP - Ogg and MediaEngine Status
« Reply #4 on: April 01, 2011, 02:05:50 pm »
great news :)

Offline SX

  • Administrator
  • Hero Member
  • *****
  • Posts: 2700
    • LavaLit
Re: PSP - Ogg and MediaEngine Status
« Reply #5 on: April 02, 2011, 12:07:22 am »
So here are my findings thus far....

The sound mixer and ADPCM are extremely efficient!  I had purposely disabled audio updates to simulate what kind of boost to expect and there was not even a 1 fps difference.  So converting the audio system to use the MediaEngine would not buy us anything.  That being said, I will start looking at the stb_vorbis decoder, since that is where the delay exists.

Offline Plombo

  • Hero Member
  • *****
  • Posts: 1724
  • Your source for useful modding tools!
Re: PSP - Ogg and MediaEngine Status
« Reply #6 on: May 13, 2011, 09:41:09 pm »
So here are my findings thus far....

The sound mixer and ADPCM are extremely efficient!  I had purposely disabled audio updates to simulate what kind of boost to expect and there was not even a 1 fps difference.

Well, there might have been a 1 fps difference...OpenBOR's method of calculating framerates can't detect differences of 1 fps.  It just divides 1000 by the frame time to the nearest millisecond.  So it can only express 1000 fps, 500, 250, 200, 166, 142, 125, 111, 100, 90, 83, 76, 71, 66, 62...et cetera.

 



 0%




SimplePortal 2.3.3 © 2008-2010, SimplePortal