msm8226-common: update media_codecs.xml from LA.BF.1.1.3_rb1.15

This commit is contained in:
Francescodario Cuzzocrea 2019-05-13 22:03:31 +02:00
parent 99dd1014e9
commit bd32be1777

View file

@ -16,6 +16,33 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<!--
8226 Encoder capabilities
______________________________________________________
| Codec | W H fps Mbps MB/s |
|__________|_________________________________________|
| h264 | 1920 1088 30 20 244800 |
| mpeg4 | 1920 1088 30 20 244800 |
| h263 | 864 480 30 2 48600 |
|__________|_________________________________________|
8226 Decoder capabilities
______________________________________________________
| Codec | W H fps Mbps MB/s |
|__________|_________________________________________|
| h264 | 1920 1088 30 20 244800 |
| hevc | 1280 720 30 2 108000 |
| mpeg4 | 1920 1088 30 20 244800 |
| vc1 | 1920 1088 30 20 244800 |
| vp8 | 1920 1088 30 20 244800 |
| divx3 | 720 480 30 2 40500 |
| div4/5/6 | 1920 1088 30 10 244800 |
| h263 | 864 480 30 2 48600 |
| mpeg2 | 1920 1088 30 20 244800 |
|__________|_________________________________________|
-->
<MediaCodecs> <MediaCodecs>
<Include href="media_codecs_google_audio.xml" /> <Include href="media_codecs_google_audio.xml" />
<Include href="media_codecs_google_telephony.xml" /> <Include href="media_codecs_google_telephony.xml" />
@ -23,28 +50,37 @@
<Setting name="max-video-encoder-input-buffers" value="9" /> <Setting name="max-video-encoder-input-buffers" value="9" />
</Settings> </Settings>
<Encoders> <Encoders>
<!-- Audio Hardware -->
<MediaCodec name="OMX.qcom.audio.encoder.evrc" type="audio/evrc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
</MediaCodec>
<MediaCodec name="OMX.qcom.audio.encoder.qcelp13" type="audio/qcelp" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
</MediaCodec>
<!-- Video Hardware --> <!-- Video Hardware -->
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
<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" />
<Quirk name="requires-loaded-to-idle-after-allocation" /> <Quirk name="requires-loaded-to-idle-after-allocation" />
<Limit name="size" min="96x64" max="1280x720" /> <Limit name="size" min="96x64" max="1920x1088" />
<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="108000" /> <Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-20000000" /> <Limit name="bitrate" range="1-20000000" />
<Limit name="concurrent-instances" max="8" /> <Limit name="concurrent-instances" max="13" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" > <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" >
<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" />
<Quirk name="requires-loaded-to-idle-after-allocation"/> <Quirk name="requires-loaded-to-idle-after-allocation"/>
<Limit name="size" min="96x64" max="1280x720" /> <Limit name="size" min="96x64" max="1920x1088" />
<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="108000" /> <Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-20000000" /> <Limit name="bitrate" range="1-20000000" />
<Limit name="concurrent-instances" max="8" /> <Limit name="concurrent-instances" max="13" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" > <MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -55,10 +91,30 @@
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="48600" /> <Limit name="blocks-per-second" min="1" max="48600" />
<Limit name="bitrate" range="1-2000000" /> <Limit name="bitrate" range="1-2000000" />
<Limit name="concurrent-instances" max="8" /> <Limit name="concurrent-instances" max="13" />
</MediaCodec> </MediaCodec>
</Encoders> </Encoders>
<Decoders> <Decoders>
<!-- Audio Hardware -->
<MediaCodec name="OMX.qcom.audio.decoder.wma" type="audio/x-ms-wma" >
<Quirk name="requires-global-flush" />
<Quirk name="requires-wma-pro-component" />
</MediaCodec>
<MediaCodec name="OMX.qcom.audio.decoder.wmaLossLess" type="audio/x-ms-wma" >
<Quirk name="requires-global-flush" />
</MediaCodec>
<MediaCodec name="OMX.qcom.audio.decoder.wma10Pro" type="audio/x-ms-wma" >
<Quirk name="requires-global-flush" />
</MediaCodec>
<MediaCodec name="OMX.qcom.audio.decoder.amrwbplus" type="audio/amr-wb-plus" >
</MediaCodec>
<!-- Audio Software -->
<MediaCodec name="OMX.qcom.audio.decoder.Qcelp13" type="audio/qcelp" >
<Quirk name="requires-global-flush" />
</MediaCodec>
<MediaCodec name="OMX.qcom.audio.decoder.evrc" type="audio/evrc" >
<Quirk name="requires-global-flush" />
</MediaCodec>
<!-- Video Hardware --> <!-- Video Hardware -->
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -68,20 +124,20 @@
<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-20000000" /> <Limit name="bitrate" range="1-20000000" />
<Limit name="concurrent-instances" max="8" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="13" />
</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" />
<Quirk name="requires-allocate-on-output-ports" /> <Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="1280x720" /> <Limit name="size" min="64x64" max="1920x1088" />
<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="108000" /> <Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-20000000" /> <Limit name="bitrate" range="1-20000000" />
<Limit name="concurrent-instances" max="2" />
<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" />
</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" />
@ -91,8 +147,8 @@
<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-20000000" /> <Limit name="bitrate" range="1-20000000" />
<Limit name="concurrent-instances" max="8" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="13" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" > <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -102,8 +158,8 @@
<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-20000000" /> <Limit name="bitrate" range="1-20000000" />
<Limit name="concurrent-instances" max="8" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="13" />
</MediaCodec> </MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" > <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" >
<Quirk name="requires-allocate-on-input-ports" /> <Quirk name="requires-allocate-on-input-ports" />
@ -113,8 +169,74 @@
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="48600" /> <Limit name="blocks-per-second" min="1" max="48600" />
<Limit name="bitrate" range="1-2000000" /> <Limit name="bitrate" range="1-2000000" />
<Limit name="concurrent-instances" max="8" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="13" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vc1" 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="244800" />
<Limit name="bitrate" range="1-20000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="8" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" >
<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-10000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="8" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.divx311" type="video/divx311" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="720x480" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="40500" />
<Limit name="bitrate" range="1-2000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="8" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.divx4" type="video/divx4" >
<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-10000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="8" />
</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="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-20000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="13" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevchybrid" type="video/hevc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="1280x720" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="108000" />
<Limit name="bitrate" range="1-2000000" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="3" />
</MediaCodec> </MediaCodec>
</Decoders> </Decoders>
<Include href="media_codecs_google_video.xml" /> <Include href="media_codecs_google_video.xml" />