summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-09-07 17:27:50 -0700
committerJames Dong <jdong@google.com>2012-09-10 16:37:26 -0700
commit8fa80e3be63ffde5ef029afa713877440856b663 (patch)
tree2e04f6299435b089a2b8c45cfb2be756d27739c9 /include/media/stagefright/OMXCodec.h
parente148910dfb3f69cdf1a078066724cb32b18e7b8a (diff)
downloadframeworks_av-8fa80e3be63ffde5ef029afa713877440856b663.zip
frameworks_av-8fa80e3be63ffde5ef029afa713877440856b663.tar.gz
frameworks_av-8fa80e3be63ffde5ef029afa713877440856b663.tar.bz2
Allow OMXCodec to specify an output color format for OMX decoder component
The output color format is specified via the meta argument in OMXCodec::Create() o related-to-bug: 7122195 Change-Id: Id3247686b893af25cc190685201e53ad34b0399c
Diffstat (limited to 'include/media/stagefright/OMXCodec.h')
-rw-r--r--include/media/stagefright/OMXCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index e6739ae..583c3b3 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -276,7 +276,7 @@ private:
CodecProfileLevel& profileLevel);
status_t setVideoOutputFormat(
- const char *mime, OMX_U32 width, OMX_U32 height);
+ const char *mime, const sp<MetaData>& meta);
void setImageOutputFormat(
OMX_COLOR_FORMATTYPE format, OMX_U32 width, OMX_U32 height);