sdm710-common: omx: Publish performance points

Publish performance points for HW codecs

Change-Id: I76fb57f4ff26428982264a3aaebbbcbf3941fa04
This commit is contained in:
Mahesh Lanka 2019-07-15 16:59:32 +01:00 committed by Giammarco Senatore
parent 3e460972c2
commit ff8808f4eb
No known key found for this signature in database
GPG key ID: 661348FC1E144F04

View file

@ -139,10 +139,11 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" /> <Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-4096x2160" value="24" /> <Limit name="performance-point-4096x2304" value="30" />
<Limit name="performance-point-3840x2160" value="30" /> <Limit name="performance-point-4096x2160" value="60" />
<Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-3840x2160" value="60" />
<Limit name="performance-point-1280x720" value="240" /> <Limit name="performance-point-1920x1088" value="240" />
<Limit name="performance-point-1280x720" value="480" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" > <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -156,8 +157,9 @@ Only the three quirks included above are recognized at this point:
<Limit name="frame-rate" range="1-240" /> <Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-4096x2304" value="24" /> <Limit name="performance-point-4096x2304" value="24" />
<Limit name="performance-point-4096x2160" value="30" />
<Limit name="performance-point-3840x2160" value="30" /> <Limit name="performance-point-3840x2160" value="30" />
<Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-1920x1088" value="120" />
<Limit name="performance-point-1280x720" value="240" /> <Limit name="performance-point-1280x720" value="240" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" > <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
@ -171,10 +173,13 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" /> <Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-4096x2160" value="24" /> <Limit name="quality" range="0-100" default="80" />
<Limit name="performance-point-3840x2160" value="30" /> <Feature name="bitrate-modes" value="VBR,CBR,CQ" />
<Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-4096x2304" value="30" />
<Limit name="performance-point-1280x720" value="240" /> <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>
<!-- Video Software --> <!-- Video Software -->
<MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" > <MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" >
@ -188,7 +193,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-2000000" /> <Limit name="bitrate" range="1-2000000" />
<Limit name="frame-rate" range="1-30" /> <Limit name="frame-rate" range="1-30" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-720x480" value="30" /> <Limit name="performance-point-352x288" value="30" />
<Limit name="performance-point-864x480" value="30" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" > <MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -217,11 +223,11 @@ Only the three quirks included above are recognized at this point:
<Limit name="frame-rate" range="1-240" /> <Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-4096x2160" value="24" /> <Limit name="performance-point-4096x2304" value="30" />
<Limit name="performance-point-3840x2160" value="30" /> <Limit name="performance-point-4096x2160" value="60" />
<Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-3840x2160" value="60" />
<Limit name="performance-point-1280x720" value="240" /> <Limit name="performance-point-1920x1088" value="240" />
<!-- Limit name="performance-point-720x480" value="240" /> --> <Limit name="performance-point-1280x720" value="480" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -235,6 +241,9 @@ Only the three quirks included above are recognized at this point:
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" /> <Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="3" /> <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>
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" > <MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -247,7 +256,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="frame-rate" range="1-30" /> <Limit name="frame-rate" range="1-30" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1088" value="30" /> <Limit name="performance-point-1920x1080" value="30" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" > <MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -273,10 +282,11 @@ Only the three quirks included above are recognized at this point:
<Limit name="frame-rate" range="1-240" /> <Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-4096x2160" value="24" /> <Limit name="performance-point-4096x2304" value="30" />
<Limit name="performance-point-3840x2160" value="30" /> <Limit name="performance-point-4096x2160" value="60" />
<Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-3840x2160" value="60" />
<Limit name="performance-point-1280x720" value="240" /> <Limit name="performance-point-1920x1088" value="240" />
<Limit name="performance-point-1280x720" value="480" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" > <MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -290,6 +300,9 @@ Only the three quirks included above are recognized at this point:
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" /> <Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="3" /> <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>
<!-- Video Software --> <!-- Video Software -->
<MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" > <MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" >
@ -303,7 +316,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="frame-rate" range="1-30" /> <Limit name="frame-rate" range="1-30" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-720x480" value="30" /> <Limit name="performance-point-720x576" value="30" />
<Limit name="performance-point-864x480" value="30" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es"> <MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es">
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />