diff options
author | Rajneesh Chowdury <rajneeshc@google.com> | 2011-08-19 15:01:48 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-19 15:01:48 -0700 |
commit | c341155c4a3fd490b7700e048758aa491a8069c5 (patch) | |
tree | ca0bf9f09eae59e8e1ac6cd4121af02a1e0b48e3 | |
parent | 48da04306dc59642d782c6c256f32bfc29d982b2 (diff) | |
parent | 083c5659742bc9095d8f9007e050568e10e71fc1 (diff) | |
download | device_samsung_tuna-c341155c4a3fd490b7700e048758aa491a8069c5.zip device_samsung_tuna-c341155c4a3fd490b7700e048758aa491a8069c5.tar.gz device_samsung_tuna-c341155c4a3fd490b7700e048758aa491a8069c5.tar.bz2 |
Merge "Fix for 4142219 Don't hard code platform-specific limitations."
-rwxr-xr-x | media_profiles.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media_profiles.xml b/media_profiles.xml index d9bc3ca..b648e53 100755 --- a/media_profiles.xml +++ b/media_profiles.xml @@ -75,6 +75,10 @@ <!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED> <!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED> <!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED> +<!ELEMENT ExportVideoProfile EMPTY> +<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED> +<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED> +<!ATTLIST ExportVideoProfile level CDATA #REQUIRED> ]> <!-- This file is used to declare the multimedia profiles and capabilities @@ -345,4 +349,24 @@ <VideoEditorCap maxInputFrameWidth="1920" maxInputFrameHeight="1080" maxOutputFrameWidth="1920" maxOutputFrameHeight="1080"/> + <!-- + The VideoEditor Export codec profile and level values + correspond to the values in OMX_Video.h. + E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline + and level 4096 means OMX_VIDEO_AVCLevel41. + Please note that the values are in decimal. + These values are for video encoder. + --> + <!-- + Codec = h.264, Baseline profile, level 4.1 + --> + <ExportVideoProfile name="h264" profile= "1" level="4096"/> + <!-- + Codec = h.263, Baseline profile, level 0 + --> + <ExportVideoProfile name="h263" profile= "1" level="1"/> + <!-- + Codec = mpeg4, Simple profile, level 3 + --> + <ExportVideoProfile name="m4v" profile= "1" level="16"/> </MediaSettings> |