diff options
author | Hong Teng <hongteng@google.com> | 2011-11-10 14:57:49 -0800 |
---|---|---|
committer | Hong Teng <hongteng@google.com> | 2011-11-11 18:32:32 -0800 |
commit | aeb797814a45fca52676dfc293ab9bfc6092a8ef (patch) | |
tree | 68019abdaf51173e02779e1cfb7ae79cada6b08e /media_profiles.xml | |
parent | 85e80ef669952286e5a8ea5ea642bc7acf4cd549 (diff) | |
download | device_samsung_crespo-aeb797814a45fca52676dfc293ab9bfc6092a8ef.zip device_samsung_crespo-aeb797814a45fca52676dfc293ab9bfc6092a8ef.tar.gz device_samsung_crespo-aeb797814a45fca52676dfc293ab9bfc6092a8ef.tar.bz2 |
Fix for issue 5309336
-add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage.
Change-Id: Ia32c42b6c0b85f1396464a2fe7cf014debea243a
Diffstat (limited to 'media_profiles.xml')
-rw-r--r-- | media_profiles.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/media_profiles.xml b/media_profiles.xml index b59682e..2ff2124 100644 --- 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> @@ -263,9 +264,20 @@ --> <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 8MB(1.3MB per 720p frame x 6 + frames) memory. + --> <VideoEditorCap maxInputFrameWidth="1280" maxInputFrameHeight="720" maxOutputFrameWidth="1280" - maxOutputFrameHeight="720"/> + maxOutputFrameHeight="720" maxPrefetchYUVFrames="6"/> <!-- The VideoEditor Export codec profile and level values correspond to the values in OMX_Video.h. |