summaryrefslogtreecommitdiffstats
path: root/media_profiles.xml
diff options
context:
space:
mode:
authorHong Teng <hongteng@google.com>2011-11-10 14:58:16 -0800
committerHong Teng <hongteng@google.com>2011-11-11 18:31:00 -0800
commitc141c7643211009dbb0e38859e69277daa024ca7 (patch)
treeb891a1d34a4d0358443e2a851e3bdab978ada374 /media_profiles.xml
parent6bf32c2ebc22dfd114aa18b2bf5ac09516b2ad71 (diff)
downloaddevice_samsung_tuna-c141c7643211009dbb0e38859e69277daa024ca7.zip
device_samsung_tuna-c141c7643211009dbb0e38859e69277daa024ca7.tar.gz
device_samsung_tuna-c141c7643211009dbb0e38859e69277daa024ca7.tar.bz2
Fix for issue 5309336
-add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage. Change-Id: I37cf5bb6dd63495b745b24abfccc554236df0aeb
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.