Skip to content

Instantly share code, notes, and snippets.

@dalingrin
Created March 13, 2011 02:42
Show Gist options
  • Save dalingrin/867819 to your computer and use it in GitHub Desktop.
Save dalingrin/867819 to your computer and use it in GitHub Desktop.
Nook DSP
DSP firmware currently on gerrit(3/15/11). Now merged(3/16/11)
DSP is seemingly fully functional now with codec support. However, the frame rate is absymal. We need to figure out what is bottlenecking the fps.
Why do I think the DSP is not the issue?
When I force software codecs which are built into Stagefright and separate from OMX, the frame rate is the same as with DSP accel. At first glance this
made me think the DSP codecs were not working and as such, I've stated all along that the DSP is nonfunctional. However, after further testing the
software codecs I realized the slow frame rate was not a CPU bottleneck. If I limit the CPU to 300mhz the frame rate is the same as forcing 1.1ghz. This
tells me the there is some other bottleneck or issue. I then tested with and without the hardware overlay, same result. So, what I am seeing is,
regardless of the hardware overlay, software codec, hardware codec, or video bitrate(within reason) used, the framerate is constant.
Incidentally, the Gingerbread n900 port has the exact same video playback issue as we do.
See this youtube clip: http://www.youtube.com/watch?v=KiFQk08xqME
The nook video playback with DSP accel looks exactly like that n900 clip.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment