sdm660-common: media: Drop OMX.qcom.video.decoder.vp9

We droping old deprecated vp9 media codec. 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.

01-04 19:50:55.803  1403  6251 E OMXNodeInstance: setParameter(0xd9cc0014:qcom.decoder.vp9, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019)
01-04 19:50:55.803  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
01-04 19:50:55.804  1403  6251 E OMX-VDEC-1080P: get_parameter: unknown param 6f600011
01-04 19:50:55.804  1403  6251 E OMXNodeInstance: getParameter(0xd9cc0014:qcom.decoder.vp9, ??(0x6f600011)) ERROR: UnsupportedIndex(0x8000101a)
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.configureVideoTunnelMode not implemented
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.useAndroidNativeBuffer is supported
01-04 19:50:55.805  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.describeHDR10PlusInfo not implemented
01-04 19:50:55.806  1403  1403 E OMX-VDEC-1080P: get_parameter: unknown param 6f600007
01-04 19:50:55.806  1403  1403 E OMXNodeInstance: getParameter(0xd9cc0014:qcom.decoder.vp9, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
01-04 19:50:55.807  1403  6251 E OMX-VDEC-1080P: Does not handle dataspace request
01-04 19:50:55.807  1403  6251 E OMXNodeInstance: getConfig(0xd9cc0014:qcom.decoder.vp9, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
01-04 19:50:55.835  1403  6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.AndroidNativeBufferConsumerUsage not implemented

Change-Id: If9ee79886b8d2a1dcc68d84102f69b96b578f68e
This commit is contained in:
CrisBal 2024-01-12 23:12:46 +05:30 committed by CakesTwix
parent 5bdce0a4c3
commit bf30e60a32
5 changed files with 0 additions and 90 deletions

View file

@ -285,32 +285,6 @@ Only the three quirks included above are recognized at this point:
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-3840x2160" value="30" /> <Limit name="performance-point-3840x2160" value="30" />
</MediaCodec> </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="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="972000" />
<Limit name="bitrate" range="1-100000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-3840x2160" value="30" />
</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="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="979200" />
<Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-30" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="6" />
<Limit name="performance-point-3840x2160" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" /> <Quirk name="requires-allocate-on-output-ports" />

View file

@ -123,13 +123,6 @@
<Limit name="measured-frame-rate-1280x720" range="350-358" /> <Limit name="measured-frame-rate-1280x720" range="350-358" />
<Limit name="measured-frame-rate-1920x1080" range="199-199" /> <Limit name="measured-frame-rate-1920x1080" range="199-199" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="500-524" />
<Limit name="measured-frame-rate-640x360" range="360-366" />
<Limit name="measured-frame-rate-1280x720" range="190-210" />
<Limit name="measured-frame-rate-1920x1080" range="170-190" />
<Limit name="measured-frame-rate-3840x2160" range="48-48" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true"> <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="320-350" /> <Limit name="measured-frame-rate-320x240" range="320-350" />
<Limit name="measured-frame-rate-720x480" range="100-130" /> <Limit name="measured-frame-rate-720x480" range="100-130" />

View file

@ -115,13 +115,6 @@
<Limit name="measured-frame-rate-1280x720" range="57-100" /> <Limit name="measured-frame-rate-1280x720" range="57-100" />
<Limit name="measured-frame-rate-1920x1080" range="199-199" /> <Limit name="measured-frame-rate-1920x1080" range="199-199" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="45-90" />
<Limit name="measured-frame-rate-640x360" range="48-92" />
<Limit name="measured-frame-rate-1280x720" range="190-210" />
<Limit name="measured-frame-rate-1920x1080" range="170-190" />
<Limit name="measured-frame-rate-3840x2160" range="48-48" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true"> <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="320-350" /> <Limit name="measured-frame-rate-320x240" range="320-350" />
<Limit name="measured-frame-rate-720x480" range="100-130" /> <Limit name="measured-frame-rate-720x480" range="100-130" />

View file

@ -329,30 +329,6 @@ Only the three quirks included above are recognized at this point:
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
</MediaCodec> </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="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-100000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
</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="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-30" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="6" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" /> <Quirk name="requires-allocate-on-output-ports" />

View file

@ -347,32 +347,6 @@ Only the three quirks included above are recognized at this point:
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-3840x2160" value="30" /> <Limit name="performance-point-3840x2160" value="30" />
</MediaCodec> </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="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="972000" />
<Limit name="bitrate" range="1-100000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-3840x2160" value="30" />
</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="3840x2160" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="979200" />
<Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-30" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="6" />
<Limit name="performance-point-3840x2160" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" /> <Quirk name="requires-allocate-on-output-ports" />