OSDN Git Service

A ThreadedSource wraps around an existing MediaSource and reads output buffers on...
authorAndreas Huber <andih@google.com>
Wed, 15 Sep 2010 23:20:42 +0000 (16:20 -0700)
committerAndreas Huber <andih@google.com>
Thu, 16 Sep 2010 16:44:40 +0000 (09:44 -0700)
commitaae3516293e58c0b015d4109bde58c11d503433c
tree71b773f376b9b1f630cad001ac82ac9f86353408
parent70fb57d15b829e3f20224727311f945e3bb13f3b
A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It's now used for the vpx decoder to decode frames ahead of time to improve playback performance.

Change-Id: I57a798b00adeb2c8056e85aab29a2b57aef00b63
media/libstagefright/Android.mk
media/libstagefright/OMXCodec.cpp
media/libstagefright/ThreadedSource.cpp [new file with mode: 0644]
media/libstagefright/include/ThreadedSource.h [new file with mode: 0644]