diff options
author | Rajneesh Chowdury <rajneeshc@google.com> | 2011-08-12 16:55:00 -0700 |
---|---|---|
committer | Rajneesh Chowdury <rajneeshc@google.com> | 2011-08-16 18:51:17 -0700 |
commit | 083c5659742bc9095d8f9007e050568e10e71fc1 (patch) | |
tree | e166935795eae3385db97923207b937e302ae703 /media_profiles.xml | |
parent | ed31e5e8a74421bfb88505b4002c8b6e6a91d5f9 (diff) | |
download | device_samsung_tuna-083c5659742bc9095d8f9007e050568e10e71fc1.tar.gz device_samsung_tuna-083c5659742bc9095d8f9007e050568e10e71fc1.tar.bz2 device_samsung_tuna-083c5659742bc9095d8f9007e050568e10e71fc1.zip |
Fix for 4142219 Don't hard code platform-specific limitations.
Set the Export video codec profile and level
Change-Id: Ice3b051b256dfe228954d19c4cdc98dba7532c8a
Diffstat (limited to 'media_profiles.xml')
-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> |