summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/SampleTable.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-10-22 13:49:30 -0700
committerAndreas Huber <andih@google.com>2009-10-22 14:22:57 -0700
commit7e04dcf8d6784dd56f53aa90bf34431ab4f0710c (patch)
tree62d858199d99be0c19887e2eca64495218067c01 /media/libstagefright/include/SampleTable.h
parent521bad496a8b80008abe573a6712a8051c9eb322 (diff)
downloadframeworks_av-7e04dcf8d6784dd56f53aa90bf34431ab4f0710c.zip
frameworks_av-7e04dcf8d6784dd56f53aa90bf34431ab4f0710c.tar.gz
frameworks_av-7e04dcf8d6784dd56f53aa90bf34431ab4f0710c.tar.bz2
Extract video thumbnails from the largest sync sample among the first 20.
Also fixes OMXCodec seek behaviour on the very first call to OMXCodec::read()
Diffstat (limited to 'media/libstagefright/include/SampleTable.h')
-rw-r--r--media/libstagefright/include/SampleTable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/include/SampleTable.h b/media/libstagefright/include/SampleTable.h
index 34a0649..ead3431 100644
--- a/media/libstagefright/include/SampleTable.h
+++ b/media/libstagefright/include/SampleTable.h
@@ -75,6 +75,8 @@ public:
status_t findClosestSyncSample(
uint32_t start_sample_index, uint32_t *sample_index);
+ status_t findThumbnailSample(uint32_t *sample_index);
+
protected:
~SampleTable();