arc-codec-chipset-bdw: update media codecs performance value
For samus, there are two different HW spec: Intel-i5 and Intel-i7
inside. They lead to different codec frame-rate performance, and both of
them might be settled in lab.
To suit for both, we modified performance XML and obtained frame-rate
range min from Intel-i5, and range max from Intel-i7.
BUG=b:32327376
TEST=build samus image.
Run CTS test: android.media.cts.VideoDecoderPerfTest
Change-Id: Iff1c562471e10bd996a941f63fbdf70c5e123e51
Reviewed-on: https://chromium-review.googlesource.com/405927
Commit-Ready: Pin-chih Lin <johnylin@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
Reviewed-by: Wu-cheng Li <wuchengli@chromium.org>
(cherry picked from commit 6192706711d92779d5d5163a9aa37b21cb0363af)
Reviewed-on: https://chromium-review.googlesource.com/406609
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Commit-Queue: Bernie Thompson <bhthompson@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
diff --git a/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/arc-codec-chipset-bdw-0.0.1-r1.ebuild b/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/arc-codec-chipset-bdw-0.0.1-r1.ebuild
new file mode 120000
index 0000000..0c25c9b
--- /dev/null
+++ b/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/arc-codec-chipset-bdw-0.0.1-r1.ebuild
@@ -0,0 +1 @@
+arc-codec-chipset-bdw-0.0.1.ebuild
\ No newline at end of file
diff --git a/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/files/media_codecs_performance.xml b/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/files/media_codecs_performance.xml
index 3833d05..6614658 100644
--- a/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/files/media_codecs_performance.xml
+++ b/chipset-bdw/chromeos-base/arc-codec-chipset-bdw/files/media_codecs_performance.xml
@@ -17,61 +17,61 @@
<MediaCodecs>
<Encoders>
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
- <Limit name="measured-frame-rate-176x144" range="1557-1557" />
+ <Limit name="measured-frame-rate-176x144" range="1890-2959" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
- <Limit name="measured-frame-rate-320x240" range="921-921" />
- <Limit name="measured-frame-rate-720x480" range="280-280" />
- <Limit name="measured-frame-rate-1280x720" range="113-113" />
- <Limit name="measured-frame-rate-1920x1080" range="50-50" />
+ <Limit name="measured-frame-rate-320x240" range="932-1594" />
+ <Limit name="measured-frame-rate-720x480" range="258-437" />
+ <Limit name="measured-frame-rate-1280x720" range="113-188" />
+ <Limit name="measured-frame-rate-1920x1080" range="50-89" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
- <Limit name="measured-frame-rate-176x144" range="2518-2518" />
+ <Limit name="measured-frame-rate-176x144" range="2389-3984" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
- <Limit name="measured-frame-rate-320x180" range="1419-1419" />
- <Limit name="measured-frame-rate-640x360" range="507-507" />
- <Limit name="measured-frame-rate-1280x720" range="139-139" />
- <Limit name="measured-frame-rate-1920x1080" range="67-67" />
+ <Limit name="measured-frame-rate-320x180" range="1289-1904" />
+ <Limit name="measured-frame-rate-640x360" range="567-753" />
+ <Limit name="measured-frame-rate-1280x720" range="154-232" />
+ <Limit name="measured-frame-rate-1920x1080" range="67-111" />
</MediaCodec>
</Encoders>
<Decoders>
<MediaCodec name="ARC.h264.decode" type="video/avc" update="true">
- <Limit name="measured-frame-rate-320x240" range="4190-4190" />
- <Limit name="measured-frame-rate-720x480" range="1185-1185" />
- <Limit name="measured-frame-rate-1280x720" range="608-608" />
- <Limit name="measured-frame-rate-1920x1088" range="304-304" />
+ <Limit name="measured-frame-rate-320x240" range="3721-7977" />
+ <Limit name="measured-frame-rate-720x480" range="1650-2483" />
+ <Limit name="measured-frame-rate-1280x720" range="707-960" />
+ <Limit name="measured-frame-rate-1920x1088" range="362-496" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
- <Limit name="measured-frame-rate-176x144" range="1694-1694" />
- <Limit name="measured-frame-rate-352x288" range="911-911" />
+ <Limit name="measured-frame-rate-176x144" range="2535-7552" />
+ <Limit name="measured-frame-rate-352x288" range="1320-4121" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
- <Limit name="measured-frame-rate-320x240" range="2214-2214" />
- <Limit name="measured-frame-rate-720x480" range="557-557" />
- <Limit name="measured-frame-rate-1280x720" range="197-197" />
- <Limit name="measured-frame-rate-1920x1080" range="36-36" />
+ <Limit name="measured-frame-rate-320x240" range="1971-3432" />
+ <Limit name="measured-frame-rate-720x480" range="532-884" />
+ <Limit name="measured-frame-rate-1280x720" range="201-336" />
+ <Limit name="measured-frame-rate-1920x1080" range="45-61" />
</MediaCodec>
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
- <Limit name="measured-frame-rate-352x288" range="2092-2092" />
- <Limit name="measured-frame-rate-640x360" range="1043-1043" />
- <Limit name="measured-frame-rate-1280x720" range="400-400" />
- <Limit name="measured-frame-rate-1920x1080" range="157-157" />
+ <Limit name="measured-frame-rate-352x288" range="2129-3472" />
+ <Limit name="measured-frame-rate-640x360" range="1023-1733" />
+ <Limit name="measured-frame-rate-1280x720" range="366-561" />
+ <Limit name="measured-frame-rate-1920x1080" range="149-241" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
- <Limit name="measured-frame-rate-176x144" range="1813-1813" />
+ <Limit name="measured-frame-rate-176x144" range="3040-7887" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
- <Limit name="measured-frame-rate-320x180" range="2414-2414" />
- <Limit name="measured-frame-rate-640x360" range="873-873" />
- <Limit name="measured-frame-rate-1280x720" range="175-175" />
- <Limit name="measured-frame-rate-1920x1080" range="189-189" />
+ <Limit name="measured-frame-rate-320x180" range="2476-4415" />
+ <Limit name="measured-frame-rate-640x360" range="848-1525" />
+ <Limit name="measured-frame-rate-1280x720" range="176-284" />
+ <Limit name="measured-frame-rate-1920x1080" range="192-285" />
</MediaCodec>
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
- <Limit name="measured-frame-rate-320x180" range="1185-1185" />
- <Limit name="measured-frame-rate-640x360" range="1178-1178" />
- <Limit name="measured-frame-rate-1280x720" range="393-393" />
- <Limit name="measured-frame-rate-1920x1080" range="273-273" />
+ <Limit name="measured-frame-rate-320x180" range="1179-1822" />
+ <Limit name="measured-frame-rate-640x360" range="1283-2178" />
+ <Limit name="measured-frame-rate-1280x720" range="387-591" />
+ <Limit name="measured-frame-rate-1920x1080" range="260-400" />
</MediaCodec>
</Decoders>
</MediaCodecs>