gecko/content/media/omx
Thomas Zimmermann df06d19b33 Bug 831224: Use multi-threaded I/O for reading and processing MP3 frames, r=padenot
Reading large MP3 files from a slow medium, such as an SD card, takes
several seconds. This is too long for interactive applications like the
music app.

With this patch, the OmxDecoder reads large MP3 file in smaller chunks
and hands over each chunk individually to the MP3 parser. Reading the
file is done in the I/O thread, which is allowed to block, parsing is
done on the main thread.

The current chunk size is 8 MiB, which is small enough to not cause any
delay.

--HG--
extra : rebase_source : 4effb86db481c405a97760cd98f4218dde42104d
2013-05-06 20:07:29 +02:00
..
mediaresourcemanager Bug 896374 - Fix infinite loop in MediaResourceManagerService::cancelClientLocked(). r=doublec 2013-07-24 08:55:30 -04:00
Makefile.in bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
MediaOmxDecoder.cpp Bug 812756 - Set AmpleVideoFrames to the minimum to win a race when shutting down OMX.qcom.video.decoder.mpeg4 decoder r=doublec 2012-11-28 15:34:53 +13:00
MediaOmxDecoder.h
MediaOmxReader.cpp Bug 883744 - add pointer null check r=doublec 2013-06-22 08:58:12 -04:00
MediaOmxReader.h Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
MediaOmxStateMachine.h Bug 863441 - Increment GetAmpleVideoFrames() to 3. r=doublec 2013-05-07 10:53:42 -04:00
moz.build Bug 831224: Added MP3 frame parser, r=padenot 2013-05-03 09:44:02 +02:00
MP3FrameParser.cpp Bug 831224: Added MP3 frame parser, r=padenot 2013-05-03 09:44:02 +02:00
MP3FrameParser.h Bug 831224: Added MP3 frame parser, r=padenot 2013-05-03 09:44:02 +02:00
MPAPI.h Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
OMXCodecProxy.cpp Bug 889238 - Add error handling to OMXCodecProxy. r=doublec 2013-07-07 16:33:57 -04:00
OMXCodecProxy.h Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
OmxDecoder.cpp Bug 831224: Use multi-threaded I/O for reading and processing MP3 frames, r=padenot 2013-05-06 20:07:29 +02:00
OmxDecoder.h Bug 831224: Use multi-threaded I/O for reading and processing MP3 frames, r=padenot 2013-05-06 20:07:29 +02:00