<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.

Not a Contribution.

Copyright 2015 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
u may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<MediaCodecs>
    <Encoders>
        <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="337-452" />
            <Limit name="measured-frame-rate-720x480" range="182-312" />
            <Limit name="measured-frame-rate-1280x720" range="50-50" />
            <Limit name="measured-frame-rate-1920x1080" range="16-40" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-320x240" range="332-443" />
            <Limit name="measured-frame-rate-720x480" range="194-317" />
            <Limit name="measured-frame-rate-1280x720" range="49-49" />
            <Limit name="measured-frame-rate-1920x1080" range="55-65" />
            <Limit name="measured-frame-rate-3840x2160" range="18-25" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.hevc.cq" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-320x240" range="340-400" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="66-80" />
            <Limit name="measured-frame-rate-352x288" range="40-85" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="125-135" />
            <Limit name="measured-frame-rate-352x288" range="68-85" />
            <Limit name="measured-frame-rate-640x480" range="70-106" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="266-266" />
            <Limit name="measured-frame-rate-640x360" range="203-291" />
            <Limit name="measured-frame-rate-1280x720" range="49-49" />
            <Limit name="measured-frame-rate-1920x1080" range="16-40" />
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="215-215" />
            <Limit name="measured-frame-rate-720x480" range="100-100" />
            <Limit name="measured-frame-rate-1280x720" range="56-56" />
            <Limit name="measured-frame-rate-1920x1080" range="30-30" />
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="345-418" />
        </MediaCodec>
        <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="250-320" />
        </MediaCodec>
        <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="70-75" />
            <Limit name="measured-frame-rate-640x360" range="32-32" />
            <Limit name="measured-frame-rate-1280x720" range="17-24" />
            <Limit name="measured-frame-rate-1920x1080" range="8-12" />
        </MediaCodec>
        <MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="183-243" />
            <Limit name="measured-frame-rate-720x480" range="63-90" />
            <Limit name="measured-frame-rate-1280x720" range="36-57" />
            <Limit name="measured-frame-rate-1920x1080" range="22-32" />
        </MediaCodec>
        <MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-320x240" range="20-33" />
        </MediaCodec>
        <MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="250-364" />
        </MediaCodec>
        <MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="246-348" />
        </MediaCodec>
        <MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="85-112" />
            <Limit name="measured-frame-rate-640x360" range="73-103" />
            <Limit name="measured-frame-rate-1280x720" range="22-32" />
            <Limit name="measured-frame-rate-1920x1080" range="18-27" />
        </MediaCodec>
    </Encoders>
    <Decoders>
        <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="550-660" />
            <Limit name="measured-frame-rate-720x480" range="300-500" />
            <Limit name="measured-frame-rate-1280x720" range="220-255" />
            <Limit name="measured-frame-rate-1920x1088" range="71-71" />
        </MediaCodec>
            <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-352x288" range="540-600" />
            <Limit name="measured-frame-rate-720x480" range="350-550" />
            <Limit name="measured-frame-rate-1280x720" range="180-340" />
            <Limit name="measured-frame-rate-1920x1080" range="150-185" />
            <Limit name="measured-frame-rate-3840x2160" range="40-50" />
        </MediaCodec>
        <MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="356-356" />
            <Limit name="measured-frame-rate-352x288" range="292-292" />
        </MediaCodec>
        <MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="270-295" />
            <Limit name="measured-frame-rate-480x360" range="245-265" />
            <Limit name="measured-frame-rate-1280x720" range="210-260" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x240" range="337-337" />
            <Limit name="measured-frame-rate-640x360" range="337-337" />
            <Limit name="measured-frame-rate-1280x720" range="337-337" />
            <Limit name="measured-frame-rate-1920x1080" range="248-248" />
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
            <Limit name="measured-frame-rate-320x240" range="377-377" />
            <Limit name="measured-frame-rate-640x360" range="323-323" />
            <Limit name="measured-frame-rate-1280x720" range="262-262" />
            <Limit name="measured-frame-rate-1920x1080" range="220-220" />
            <Limit name="measured-frame-rate-3840x2160" range="51-51" />
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="270-310" />
            <Limit name="measured-frame-rate-720x480" range="68-68" />
            <Limit name="measured-frame-rate-1280x720" range="32-32" />
            <Limit name="measured-frame-rate-1920x1080" range="6-10" />
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="104-279" />
            <Limit name="measured-frame-rate-352x288" range="200-200" />
        </MediaCodec>
        <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-352x288" range="250-330" />
            <Limit name="measured-frame-rate-640x360" range="145-190" />
            <Limit name="measured-frame-rate-720x480" range="225-240" />
            <Limit name="measured-frame-rate-1280x720" range="88-100" />
            <Limit name="measured-frame-rate-1920x1080" range="48-52" />
        </MediaCodec>
        <MediaCodec name="OMX.google.mpeg4.decoder" update="true">
            <Type name="video/mp4v-es">
                <Limit name="measured-frame-rate-176x144" range="430-450" />
            </Type>
        </MediaCodec>
        <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="800-850" />
            <Limit name="measured-frame-rate-320x240" range="330-381" />
            <Limit name="measured-frame-rate-640x360" range="370-405" />
            <Limit name="measured-frame-rate-1280x720" range="22-38" />
            <Limit name="measured-frame-rate-1920x1080" range="30-35" />
        </MediaCodec>
        <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
            <Limit name="measured-frame-rate-320x180" range="640-700" />
            <Limit name="measured-frame-rate-320x240" range="200-230" />
            <Limit name="measured-frame-rate-640x360" range="81-90" />
            <Limit name="measured-frame-rate-1280x720" range="32-40" />
            <Limit name="measured-frame-rate-1920x1080" range="19-23" />
        </MediaCodec>
        <MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="101-183" />
            <Limit name="measured-frame-rate-720x480" range="36-52" />
            <Limit name="measured-frame-rate-1280x720" range="15-22" />
            <Limit name="measured-frame-rate-1920x1080" range="8-13" />
        </MediaCodec>
        <MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-352x288" range="100-181" />
            <Limit name="measured-frame-rate-640x360" range="71-91" />
            <Limit name="measured-frame-rate-720x480" range="75-95" />
            <Limit name="measured-frame-rate-1280x720" range="51-73" />
            <Limit name="measured-frame-rate-1920x1080" range="29-41" />
        </MediaCodec>
        <MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="414-782" />
            <Limit name="measured-frame-rate-352x288" range="237-523" />
        </MediaCodec>
        <MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="240-640" />
        </MediaCodec>
        <MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="510-810" />
            <Limit name="measured-frame-rate-640x360" range="197-336" />
            <Limit name="measured-frame-rate-1280x720" range="64-91" />
            <Limit name="measured-frame-rate-1920x1080" range="21-31" />
        </MediaCodec>
        <MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
            <Limit name="measured-frame-rate-320x180" range="329-666" />
            <Limit name="measured-frame-rate-640x360" range="54-83" />
            <Limit name="measured-frame-rate-1280x720" range="33-47" />
            <Limit name="measured-frame-rate-1920x1080" range="19-28" />
        </MediaCodec>
    </Decoders>
</MediaCodecs>
