summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-10-18 11:50:19 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-18 11:50:19 -0700
commit1bd36ef733ad5c5fa06106387e7ee0df39c33116 (patch)
tree8b81f4ed3d680453321cec681afa2d6a668ff7a5 /include
parent232c33806f6e839a7db76f645d52b5647e097f8c (diff)
parentb5b39d2c348f54a40fc800c9efec17d7f1e8a486 (diff)
downloadframeworks_av-1bd36ef733ad5c5fa06106387e7ee0df39c33116.zip
frameworks_av-1bd36ef733ad5c5fa06106387e7ee0df39c33116.tar.gz
frameworks_av-1bd36ef733ad5c5fa06106387e7ee0df39c33116.tar.bz2
am bc96c284: Merge "For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder." into gingerbread
Merge commit 'bc96c2848dadaa844f95e89708d9941f73bbf400' into gingerbread-plus-aosp * commit 'bc96c2848dadaa844f95e89708d9941f73bbf400': For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXCodec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 2bb7783..1d94160 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -33,7 +33,11 @@ struct OMXCodec : public MediaSource,
public MediaBufferObserver {
enum CreationFlags {
kPreferSoftwareCodecs = 1,
- kIgnoreCodecSpecificData = 2
+ kIgnoreCodecSpecificData = 2,
+
+ // The client wants to access the output buffer's video
+ // data for example for thumbnail extraction.
+ kClientNeedsFramebuffer = 4,
};
static sp<MediaSource> Create(
const sp<IOMX> &omx,