summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Mok <kmok@cyngn.com>2015-12-07 10:39:52 -0800
committerdianlujitao <dianlujitao@lineageos.org>2023-07-18 23:18:23 +0800
commit88b6a0f2bbb5098f2ea45a842adad4f2dff17ddb (patch)
treea5659b9d6a0521cd9f3a8c01383b23f2ed1992cc
parentfb18b7f9a695ee8101b84dbc3362a899a3da7eca (diff)
nio: media_profiles: cleanup for M
M does not parse VideoEditorCap and ExportVideoProfile. It is an extension outside aosp. Even in cm12.1, we don't have a class VideoEditorProfile to export a function to application to get those parameters. Change-Id: I6848e8b23c668467eca10e7b63f79f7e03e71f28
-rw-r--r--configs/media_profiles_V1_0.xml45
1 files changed, 0 insertions, 45 deletions
diff --git a/configs/media_profiles_V1_0.xml b/configs/media_profiles_V1_0.xml
index 392d44bd..0bb85a6b 100644
--- a/configs/media_profiles_V1_0.xml
+++ b/configs/media_profiles_V1_0.xml
@@ -75,16 +75,6 @@
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
-<!ELEMENT VideoEditorCap EMPTY>
-<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
-<!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>
-<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
@@ -1606,39 +1596,4 @@
-->
<VideoDecoderCap name="wmv" enabled="true"/>
<AudioDecoderCap name="wma" enabled="true"/>
-
- <!--
- 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="1088" maxOutputFrameWidth="1920"
- maxOutputFrameHeight="1088" maxPrefetchYUVFrames="10"/>
- <!--
- 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.0
- -->
- <ExportVideoProfile name="h264" profile= "1" level="2048"/>
- <!--
- Codec = h.263, Baseline profile, level 70
- -->
- <ExportVideoProfile name="h263" profile= "1" level="128"/>
- <!--
- Codec = mpeg4, Simple profile, level 5
- -->
- <ExportVideoProfile name="m4v" profile= "1" level="128"/>
</MediaSettings>