diff options
author | Hong Teng <hongteng@google.com> | 2011-11-15 09:42:52 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-15 09:42:52 -0800 |
commit | 7bcf76a5168b4365a4cb8dd6dadd40d97f3aefdc (patch) | |
tree | 165af8d5fb1e912ec6cb9e6002793037f0a82ae9 /media_profiles.xml | |
parent | 806e2ebadc5611942e085d3893d9b8515bd814f1 (diff) | |
parent | a3dedf13b44ae9b3fda943b73129f29aab02daa5 (diff) | |
download | device_samsung_tuna-7bcf76a5168b4365a4cb8dd6dadd40d97f3aefdc.zip device_samsung_tuna-7bcf76a5168b4365a4cb8dd6dadd40d97f3aefdc.tar.gz device_samsung_tuna-7bcf76a5168b4365a4cb8dd6dadd40d97f3aefdc.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-x | media_profiles.xml | 15 |
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. |