summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2011-07-17 16:35:11 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2011-07-18 10:57:50 -0700
commitdf57a0d6d3b0609e69ff79afa63fe44dfa91f6f5 (patch)
tree03f9b598a4e9b41242f8a6fed36a2c5a0f994d03 /include/media/stagefright/OMXCodec.h
parent350d9162155e1f3eab1821f5eeed762faa01f0cc (diff)
downloadframeworks_av-df57a0d6d3b0609e69ff79afa63fe44dfa91f6f5.zip
frameworks_av-df57a0d6d3b0609e69ff79afa63fe44dfa91f6f5.tar.gz
frameworks_av-df57a0d6d3b0609e69ff79afa63fe44dfa91f6f5.tar.bz2
Add option to query hardware decoders only
Add an option to OMXCodec::QueryCodecs() to filter out software codecs. Update stagefright command line tool to list the roles of codecs. Change-Id: Icddb79118c30fe13cc3aea20f340174cc082c4e0
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 7f3c497..0c07429 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -360,7 +360,7 @@ struct CodecCapabilities {
status_t QueryCodecs(
const sp<IOMX> &omx,
- const char *mimeType, bool queryDecoders,
+ const char *mimeType, bool queryDecoders, bool hwCodecOnly,
Vector<CodecCapabilities> *results);
} // namespace android