summaryrefslogtreecommitdiffstats
path: root/media_profiles.xml
diff options
context:
space:
mode:
authorHong Teng <hongteng@google.com>2011-11-15 09:42:52 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-15 09:42:52 -0800
commitf86e173a6eee998ff8c497ca992fed1cacddc4a8 (patch)
tree6734a42373e8bdd5d020d11e287b39510a101ad8 /media_profiles.xml
parentb7fc59082a69850192c871878c7a82e2b54b18aa (diff)
parentc141c7643211009dbb0e38859e69277daa024ca7 (diff)
downloaddevice_samsung_tuna-f86e173a6eee998ff8c497ca992fed1cacddc4a8.zip
device_samsung_tuna-f86e173a6eee998ff8c497ca992fed1cacddc4a8.tar.gz
device_samsung_tuna-f86e173a6eee998ff8c497ca992fed1cacddc4a8.tar.bz2
Merge " Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1
Diffstat (limited to 'media_profiles.xml')
-rwxr-xr-xmedia_profiles.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/media_profiles.xml b/media_profiles.xml
index 4a6eb46..b2163fe 100755
--- a/media_profiles.xml
+++ b/media_profiles.xml
@@ -75,6 +75,7 @@
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
@@ -379,9 +380,21 @@
-->
<VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/>
+
+ <!--
+ The VideoEditor Capability configuration:
+ - maxInputFrameWidth: maximum video width of imported video clip.
+ - maxInputFrameHeight: maximum video height of imported video clip.
+ - maxOutputFrameWidth: maximum video width of exported video clip.
+ - maxOutputFrameHeight: maximum video height of exported video clip.
+ - maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
+ used to limit the amount of memory for prefetched YUV frames.
+ For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
+ frames) memory.
+ -->
<VideoEditorCap maxInputFrameWidth="1920"
maxInputFrameHeight="1080" maxOutputFrameWidth="1920"
- maxOutputFrameHeight="1080"/>
+ maxOutputFrameHeight="1080" maxPrefetchYUVFrames="10"/>
<!--
The VideoEditor Export codec profile and level values
correspond to the values in OMX_Video.h.