Also add mpeg2 support.
(frameworks/av commit c83d228e85b187e3112f10003282c8270d18ef71 moved this from media_codecs_google_video.xml to new file media_codecs_google_tv.xml for reasons not given.)
This commit is contained in:
parent
c98fe4b3a2
commit
05cb1a608e
3 changed files with 31 additions and 0 deletions
|
|
@ -80,5 +80,6 @@ Only the three quirks included above are recognized at this point:
|
||||||
<MediaCodecs>
|
<MediaCodecs>
|
||||||
<Include href="media_codecs_google_audio.xml" />
|
<Include href="media_codecs_google_audio.xml" />
|
||||||
<Include href="media_codecs_google_telephony.xml" />
|
<Include href="media_codecs_google_telephony.xml" />
|
||||||
|
<Include href="media_codecs_google_tv.xml" />
|
||||||
<Include href="media_codecs_google_video.xml" />
|
<Include href="media_codecs_google_video.xml" />
|
||||||
</MediaCodecs>
|
</MediaCodecs>
|
||||||
|
|
|
||||||
29
android/media/media_codecs_google_tv.xml
Normal file
29
android/media/media_codecs_google_tv.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<!-- Copyright (C) 2015 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<Included>
|
||||||
|
<Decoders>
|
||||||
|
<MediaCodec name="OMX.google.mpeg2.decoder" type="video/mpeg2">
|
||||||
|
<!-- profiles and levels: ProfileMain : LevelHL -->
|
||||||
|
<Limit name="size" min="16x16" max="1920x1088" />
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="blocks-per-second" range="1-244800" />
|
||||||
|
<Limit name="bitrate" range="1-20000000" />
|
||||||
|
<Feature name="adaptive-playback" />
|
||||||
|
</MediaCodec>
|
||||||
|
</Decoders>
|
||||||
|
</Included>
|
||||||
|
|
@ -47,6 +47,7 @@ PRODUCT_COPY_FILES += \
|
||||||
vendor/anbox/android/media/media_codecs.xml:system/etc/media_codecs.xml \
|
vendor/anbox/android/media/media_codecs.xml:system/etc/media_codecs.xml \
|
||||||
vendor/anbox/android/media/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
|
vendor/anbox/android/media/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
|
||||||
vendor/anbox/android/media/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
|
vendor/anbox/android/media/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
|
||||||
|
vendor/anbox/android/media/media_codecs_google_tv.xml:system/etc/media_codecs_google_tv.xml \
|
||||||
vendor/anbox/android/media/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
|
vendor/anbox/android/media/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
|
||||||
hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
|
hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue