summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-01-19 10:05:05 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-19 10:05:05 -0800
commite75ceba6e3f009118c5debbbe2de268beb350c9a (patch)
tree060dc1df2f38a7d1c031af49db48ea58ea4b258f /include
parent7509d7725207bfc28f7757c18518e21110c0736d (diff)
parentb45c01c2b8588ff431b511151666a55a39f0a6ae (diff)
downloadframeworks_av-e75ceba6e3f009118c5debbbe2de268beb350c9a.zip
frameworks_av-e75ceba6e3f009118c5debbbe2de268beb350c9a.tar.gz
frameworks_av-e75ceba6e3f009118c5debbbe2de268beb350c9a.tar.bz2
Merge "Fix the presentation video resolution when it is different from the actual image resolution of the video." into honeycomb
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MetaData.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h
index 5170a2c..18fd90e 100644
--- a/include/media/stagefright/MetaData.h
+++ b/include/media/stagefright/MetaData.h
@@ -30,8 +30,10 @@ namespace android {
// The following keys map to int32_t data unless indicated otherwise.
enum {
kKeyMIMEType = 'mime', // cstring
- kKeyWidth = 'widt', // int32_t
- kKeyHeight = 'heig', // int32_t
+ kKeyWidth = 'widt', // int32_t, image pixel
+ kKeyHeight = 'heig', // int32_t, image pixel
+ kKeyDisplayWidth = 'dWid', // int32_t, display/presentation
+ kKeyDisplayHeight = 'dHgt', // int32_t, display/presentation
// a rectangle, if absent assumed to be (0, 0, width - 1, height - 1)
kKeyCropRect = 'crop',