summaryrefslogtreecommitdiffstats
path: root/media/tests/omxjpegdecoder/StreamSource.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix the broken build of omxjpegdecoder: http://b/2299035.Wei-Ta Chen2009-12-031-2/+2
| | | | | | | | | | 1) Add the include path for jni.h. 2) Rename InitCheck() and read_at() to initCheck() and readAt(), repectively in StreamSource, as done in DataSource. 3) Add back the definition of SkJPEGImageDecoder to jpeg_decoder_bench.cpp. Need to do so because SkJPEGImageDecoder is not defined in a header file.
* Implement OmxJpegImageDecoder.Wei-Ta Chen2009-09-161-0/+53
Add StreamSource, which wraps a SkStream to a DataSource. Add SkOmxPixelRef, which holds a MediaBuffer. Test OmxJpegImageDecoder by a Jpeg decoder bench.