aboutsummaryrefslogtreecommitdiff
path: root/configs/media_codecs.xml
diff options
context:
space:
mode:
authorCrisBal <crisbaladim@yahoo.gr>2021-06-05 10:07:01 +0300
committerDavide Garberi <dade.garberi@gmail.com>2021-10-19 15:09:38 +0200
commiteacacfe076272ebf2c8f6ac6870613769e076823 (patch)
treed8a871c14478c5e138b717f2b329b37e9132df21 /configs/media_codecs.xml
parent758358b102b48fae95221eab526af31ba2f1c16d (diff)
msm8996-common: Update and drop deprecated media codecs
We droping old deprecated vp8-vp9 media codecs and we updating to latest Google for media_codecs_performance. This update fixing the following errors/bugs that causing problems/flickering while playing video on Instagram and some audio issues on other apps. Tested with: Instagram, Facebook, WhatsApp, Viber, Duo and YouTube. Video/Audio working without issues with speaker and LeEco headphones. E OMX-VDEC-1080P: Enable/Disable allocate-native-handle allowed only on input port! E OMX-VDEC-1080P: set_parameter: Error: 0x80001019, setting param 0x7f00005d E OMXNodeInstance: setParameter(0xf1900014:qcom.decoder.avc, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019) E OMXNodeInstance: getParameter(0xf1920034:qcom.decoder.vp9, ??(0x7f000044)) ERROR: UnsupportedSetting(0x80001019) E OMXNodeInstance: getExtensionIndex(0xf1920034:qcom.decoder.vp9, OMX.google.android.index.configureVideoTunnelMode) ERROR: NotImplemented(0x80001006) E OMXMaster: makeComponentInstance(OMX.google.vp9.decoder) in android.hardwar process E OMX-VDEC-1080P: Enable/Disable allocate-native-handle allowed only on input port! E OMX-VDEC-1080P: set_parameter: Error: 0x80001019, setting param 0x7f00005d E OMXNodeInstance: setParameter(0xf1920034:qcom.decoder.vp9.secure, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019) E OMXNodeInstance: getExtensionIndex(0xf3280710:google.vp9.decoder, OMX.google.android.index.configureVideoTunnelMode) ERROR: UnsupportedIndex(0x8000101a) D MediaCodecInfo: detail feature-tunneled-playback wasn't present to remove E OMXNodeInstance: getExtensionIndex(0xf3280710:google.vp9.decoder, OMX.google.android.index.enableAndroidNativeBuffers) ERROR: UnsupportedIndex(0x8000101a) E OMXNodeInstance: getConfig(0xf3280f60:google.vp8.encoder, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: Undefined(0x80001001) E OMXNodeInstance: getParameter(0xf3280f60:google.vp8.encoder, ParamVideoIntraRefresh(0x6000006)) ERROR: UnsupportedIndex(0x8000101a) Change-Id: I3a29602f9797d560e20a7b74bab59cf74b65f187
Diffstat (limited to 'configs/media_codecs.xml')
-rw-r--r--configs/media_codecs.xml49
1 files changed, 1 insertions, 48 deletions
diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml
index 86983dd..8e23634 100644
--- a/configs/media_codecs.xml
+++ b/configs/media_codecs.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<!-- Copyright 2016 The Android Open Source Project
+<!-- Copyright 2016-2021 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
@@ -239,53 +239,6 @@ Only the three quirks included above are recognized at this point:
<Limit name="performance-point-720x576" value="25" />
<Limit name="performance-point-720x480" value="30" />
</MediaCodec>
- <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
- <Quirk name="requires-allocate-on-input-ports" />
- <Quirk name="requires-allocate-on-output-ports" />
- <Limit name="size" min="64x64" max="4096x4096" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 -->
- <Limit name="blocks-per-second" min="1" max="979200" />
- <Limit name="bitrate" range="1-20000000" />
- <Feature name="adaptive-playback" />
- <Limit name="concurrent-instances" max="16" />
- <Limit name="performance-point-3840x2160" value="30" />
- <Limit name="performance-point-1920x1080" value="120" />
- <Limit name="performance-point-1280x720" value="240" />
- </MediaCodec>
- <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" >
- <Quirk name="requires-allocate-on-input-ports" />
- <Quirk name="requires-allocate-on-output-ports" />
- <Limit name="size" min="64x64" max="4096x4096" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 -->
- <Limit name="blocks-per-second" min="1" max="979200" />
- <Limit name="bitrate" range="1-100000000" />
- <Limit name="frame-rate" range="1-240" />
- <Feature name="adaptive-playback" />
- <Limit name="concurrent-instances" max="16" />
- <Limit name="performance-point-3840x2160" value="30" />
- <Limit name="performance-point-1920x1080" value="120" />
- <Limit name="performance-point-1280x720" value="240" />
- </MediaCodec>
- <MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" >
- <Quirk name="requires-allocate-on-input-ports" />
- <Quirk name="requires-allocate-on-output-ports" />
- <Limit name="size" min="64x64" max="4096x4096" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 -->
- <Limit name="blocks-per-second" min="1" max="979200" />
- <Limit name="bitrate" range="1-100000000" />
- <Feature name="adaptive-playback" />
- <Feature name="secure-playback" required="true" />
- <Limit name="concurrent-instances" max="6" />
- <Limit name="performance-point-3840x2160" value="30" />
- <Limit name="performance-point-1920x1080" value="120" />
- <Limit name="performance-point-1280x720" value="240" />
- </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />