diff options
author | Rajneesh Chowdury <rajneeshc@google.com> | 2011-08-12 16:52:04 -0700 |
---|---|---|
committer | Rajneesh Chowdury <rajneeshc@google.com> | 2011-08-16 18:51:45 -0700 |
commit | 31838f3bfd11c4686cbdb4b8fcb59890d4f2497c (patch) | |
tree | 97dd75b10e537e4121a703ab7fab499afe6008a3 /media_profiles.xml | |
parent | f051b6d2e16a51d2cc560d5304af9b7751728e40 (diff) | |
download | device_samsung_crespo-31838f3bfd11c4686cbdb4b8fcb59890d4f2497c.zip device_samsung_crespo-31838f3bfd11c4686cbdb4b8fcb59890d4f2497c.tar.gz device_samsung_crespo-31838f3bfd11c4686cbdb4b8fcb59890d4f2497c.tar.bz2 |
Fix for 4142219 Don't hard code platform-specific limitations.
Set the Export video codec profile and level
Change-Id: Iadbb58eaec46197b62dea39893c1f133e661f88f
Diffstat (limited to 'media_profiles.xml')
-rw-r--r-- | media_profiles.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media_profiles.xml b/media_profiles.xml index 6db0b2e..576bddc 100644 --- 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 @@ -262,4 +266,24 @@ <VideoEditorCap maxInputFrameWidth="1280" maxInputFrameHeight="720" maxOutputFrameWidth="1280" maxOutputFrameHeight="720"/> + <!-- + 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 256 means OMX_VIDEO_AVCLevel3. + Please note that the values are in decimal. + These values are for video encoder. + --> + <!-- + Codec = h.264, Baseline profile, level 3 + --> + <ExportVideoProfile name="h264" profile= "1" level="256"/> + <!-- + 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> |