summaryrefslogtreecommitdiffstats
path: root/media_profiles.xml
diff options
context:
space:
mode:
authorRajneesh Chowdury <rajneeshc@google.com>2011-08-12 16:55:00 -0700
committerRajneesh Chowdury <rajneeshc@google.com>2011-08-16 18:51:17 -0700
commitf2b3883743290fb49eabe660575db096376fdbd8 (patch)
treefe6c774c46db846f687013ba468256b7c1fd8887 /media_profiles.xml
parentd9ae4f17ce0adfc9c855e6406957ff18a3d22453 (diff)
downloaddevice_samsung_tuna-f2b3883743290fb49eabe660575db096376fdbd8.zip
device_samsung_tuna-f2b3883743290fb49eabe660575db096376fdbd8.tar.gz
device_samsung_tuna-f2b3883743290fb49eabe660575db096376fdbd8.tar.bz2
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-xmedia_profiles.xml24
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>