[lkml]   [2017]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH 0/5] cramfs refresh for embedded usage
On Wed, 16 Aug 2017, Chris Brandt wrote:

> I made an example once were all the graphics were RAW and uncompressed
> and marked as XIP in AXFS. The result was a large saving of RAM because
> as the graphics framework (DirectFB) would copy directly from Flash
> whenever it needed to do a background erase or image re-draw (button press
> animations).
> Same went for playing MP3 files. The MP3 files were XIP in flash, so
> mpg123 pulled from flash directly.

I wouldn't have expected mpg123 to mmap() its input files though.
If you use read() and not mmap() then you don't get the full benefit.


 \ /
  Last update: 2017-08-17 03:18    [W:0.035 / U:4.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site