Revert "sdm845-common: media: Drop OMX.qcom.video.decoder.vp9"

The autoplay issue is fixed by https://review.lineageos.org/c/391827

This reverts commit 19829fbac7998cc793b0a71fb36bb22eebd95315.

Change-Id: I0941a0b0749e091e1bd8ef86c1bf7bbf387b6bba
This commit is contained in:
Bruno Martins 2024-05-05 18:49:07 +01:00 committed by Lup Gabriel
parent 06133e6362
commit 97e0443fa2
No known key found for this signature in database
GPG Key ID: 681B81671D9716D9
2 changed files with 40 additions and 0 deletions

View File

@ -296,6 +296,39 @@ Only the three quirks included above are recognized at this point:
<Limit name="performance-point-1920x1088" 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="96x96" max="4096x2304" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="24" max="2073600" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="frame-rate" range="1-480" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="6" />
<Limit name="performance-point-4096x2304" value="30" />
<Limit name="performance-point-4096x2160" value="60" />
<Limit name="performance-point-3840x2160" value="60" />
<Limit name="performance-point-1920x1088" value="240" />
<Limit name="performance-point-1280x720" value="480" />
</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="96x96" max="4096x2304" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="24" max="2073600" />
<Limit name="bitrate" range="1-40000000" />
<Limit name="frame-rate" range="1-60" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="3" />
<Limit name="performance-point-4096x2304" value="30" />
<Limit name="performance-point-4096x2160" value="60" />
<Limit name="performance-point-3840x2160" value="60" />
</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" />

View File

@ -132,6 +132,13 @@ limitations under the License.
<Limit name="measured-frame-rate-1280x720" range="131-289" />
<Limit name="measured-frame-rate-1920x1080" range="83-183" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x240" range="94-207" />
<Limit name="measured-frame-rate-640x360" range="94-207" />
<Limit name="measured-frame-rate-1280x720" range="94-207" />
<Limit name="measured-frame-rate-1920x1080" range="87-190" />
<Limit name="measured-frame-rate-3840x2160" range="20-44" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="158-347" />
<Limit name="measured-frame-rate-720x480" range="43-95" />