sdm660: mediacodec: Update media codecs capabilities

Publish secure decoder capabilities correctly

Change-Id: I8b73ba11a4d39f9830c263bf33caddaa190a1f6b
This commit is contained in:
Mahesh Lanka 2017-08-14 17:59:10 +05:30
parent f2e87ca821
commit a6a3182263

View file

@ -82,22 +82,32 @@ Only the three quirks included above are recognized at this point:
--> -->
<!-- <!--
Decoder capabilities for sdm660 Non secure decoder capabilities for sdm660
__________ _________________________________________ ___________________ __________ _________________________________________
| Codec | W H fps Mbps MB/s | Encode Secure-dec | | Codec | W H fps Mbps MB/s |
|__________|_________________________________________|___________________| |__________|_________________________________________|
| hevc | 3840 2160 30 100 972000 | Y Y | | hevc | 3840 2160 30 100 972000 |
| h264 | 3840 2160 30 100 972000 | Y Y | | h264 | 3840 2160 30 100 972000 |
| h263 | 864 480 30 2 48600 | Y N | | h263 | 864 480 30 2 48600 |
| mpeg4 | 1920 1088 60 60 489600 | Y N | | mpeg4 | 1920 1088 60 60 489600 |
| mpeg2 | 1920 1088 30 40 244800 | N Y | | mpeg2 | 1920 1088 30 40 244800 |
| vc1 | 1920 1088 60 60 489600 | N N | | vc1 | 1920 1088 60 60 489600 |
| vp8 | 3840 2160 30 100 972000 | Y N | | vp8 | 3840 2160 30 100 972000 |
| vp9 | 3840 2160 30 100 972000 | N Y | | vp9 | 3840 2160 30 100 972000 |
| divx3 | 720 480 30 2 40500 | N N | | divx3 | 720 480 30 2 40500 |
| div4/5/6 | 1920 1088 30 10 244800 | N N | | div4/5/6 | 1920 1088 30 10 244800 |
|__________|_________________________________________|___________________| |__________|_________________________________________|
sdm660 secure decoder capabilities
______________________________________________________
| Codec | W H fps Mbps MB/s |
|__________|_________________________________________|
| h264 | 3840 2160 30 35 972000 |
| hevc | 3840 2160 30 35 972000 |
| VP9 | 3840 2160 30 35 979200 |
| vc1 | 1920 1088 30 20 489600 |
| mpeg2 | 1920 1088 30 20 244800 |
|__________|_________________________________________|
--> -->
<!-- <!--
@ -207,7 +217,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="972000" /> <Limit name="blocks-per-second" min="1" max="972000" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-35000000" />
<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="6" /> <Limit name="concurrent-instances" max="6" />
@ -230,7 +240,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="244800" /> <Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-40000000" /> <Limit name="bitrate" range="1-20000000" />
<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="6" /> <Limit name="concurrent-instances" max="6" />
@ -268,18 +278,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.wmv.secure" type="video/x-ms-wmv" >
<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="489600" />
<Limit name="bitrate" range="1-60000000" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="7" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" > <MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" >
<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" />
@ -298,7 +296,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="489600" /> <Limit name="blocks-per-second" min="1" max="489600" />
<Limit name="bitrate" range="1-60000000" /> <Limit name="bitrate" range="1-20000000" />
<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="7" /> <Limit name="concurrent-instances" max="7" />
@ -365,8 +363,8 @@ Only the three quirks included above are recognized at this point:
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="979200" /> <Limit name="blocks-per-second" min="1" max="979200" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-240" /> <Limit name="frame-rate" range="1-30" />
<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="6" /> <Limit name="concurrent-instances" max="6" />
@ -389,7 +387,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="972000" /> <Limit name="blocks-per-second" min="1" max="972000" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-35000000" />
<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="6" /> <Limit name="concurrent-instances" max="6" />