summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngela Stegmaier2017-01-18 12:27:11 -0600
committerAngela Stegmaier2017-01-18 14:40:13 -0600
commitb574fef395fe5358b9b7e6b0e518011e07ac9d9f (patch)
tree11edd4dd5891b73a57c297eff265ac30b13c16d5
parent4a57861a38546a966f155fa8a20ef095fe416309 (diff)
downloaddevice-ti-jacinto6evm-b574fef395fe5358b9b7e6b0e518011e07ac9d9f.tar.gz
device-ti-jacinto6evm-b574fef395fe5358b9b7e6b0e518011e07ac9d9f.tar.xz
device-ti-jacinto6evm-b574fef395fe5358b9b7e6b0e518011e07ac9d9f.zip
jacinto6evm: add media_codecs_performance.xml
Some CTS tests require the media_codecs_performance.xml file to be present on the device in /system/etc in order for the tests to PASS. This media_codecs_performance.xml file was generated by first running the CTS tests on the J6 EVM and then using the results and the cts-provided get_achievable_rates.py script. Note that this file may need to be re-generated for other devices like J6Eco. Change-Id: I8c8eaf197493d9c92757d966c46264d227a85eba Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
-rw-r--r--device.mk1
-rw-r--r--media_codecs_performance.xml97
2 files changed, 98 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 921433b..6802878 100644
--- a/device.mk
+++ b/device.mk
@@ -32,6 +32,7 @@ PRODUCT_COPY_FILES := \
32 device/ti/jacinto6evm/fstab.jacinto6evmboard:root/fstab.jacinto6evmboard \ 32 device/ti/jacinto6evm/fstab.jacinto6evmboard:root/fstab.jacinto6evmboard \
33 device/ti/jacinto6evm/media_profiles.xml:system/etc/media_profiles.xml \ 33 device/ti/jacinto6evm/media_profiles.xml:system/etc/media_profiles.xml \
34 device/ti/jacinto6evm/media_codecs.xml:system/etc/media_codecs.xml \ 34 device/ti/jacinto6evm/media_codecs.xml:system/etc/media_codecs.xml \
35 device/ti/jacinto6evm/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \
35 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ 36 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
36 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ 37 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
37 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 38 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
diff --git a/media_codecs_performance.xml b/media_codecs_performance.xml
new file mode 100644
index 0000000..1871ff4
--- /dev/null
+++ b/media_codecs_performance.xml
@@ -0,0 +1,97 @@
1<?xml version="1.0" encoding="utf-8" ?>
2<!-- Copyright (C) 2017 Texas Instruments Inc.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<!--
18 This performance data was generated by running the
19 com.android.cts.videoperf.VideoEncoderDecoderTest and
20 android.media.cts.VideoDecoderPerfTest cts test classes on the J6 EVM.
21-->
22
23<MediaCodecs>
24 <Encoders>
25 <MediaCodec name="OMX.TI.DUCATI1.VIDEO.H264E" type="video/avc" update="true">
26 <Limit name="measured-frame-rate-320x240" range="570-570" />
27 <Limit name="measured-frame-rate-720x480" range="244-244" />
28 <Limit name="measured-frame-rate-1280x720" range="124-124" />
29 </MediaCodec>
30 <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
31 <Limit name="measured-frame-rate-176x144" range="1132-1132" />
32 </MediaCodec>
33 <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
34 <Limit name="measured-frame-rate-320x240" range="627-627" />
35 <Limit name="measured-frame-rate-720x480" range="167-167" />
36 <Limit name="measured-frame-rate-1280x720" range="72-72" />
37 <Limit name="measured-frame-rate-1920x1080" range="36-36" />
38 </MediaCodec>
39 <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
40 <Limit name="measured-frame-rate-176x144" range="1486-1486" />
41 </MediaCodec>
42 <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
43 <Limit name="measured-frame-rate-320x180" range="799-799" />
44 <Limit name="measured-frame-rate-640x360" range="278-278" />
45 <Limit name="measured-frame-rate-1280x720" range="60-60" />
46 <Limit name="measured-frame-rate-1920x1080" range="27-27" />
47 </MediaCodec>
48 </Encoders>
49 <Decoders>
50 <MediaCodec name="OMX.TI.DUCATI1.VIDEO.DECODER" update="true">
51 <Type name="video/3gpp">
52 <Limit name="measured-frame-rate-256x192" range="1024-1024" />
53 <Limit name="measured-frame-rate-384x320" range="594-594" />
54 </Type>
55 <Type name="video/avc">
56 <Limit name="measured-frame-rate-384x352" range="700-700" />
57 <Limit name="measured-frame-rate-896x576" range="498-498" />
58 <Limit name="measured-frame-rate-1408x832" range="227-227" />
59 <Limit name="measured-frame-rate-2048x1184" range="104-104" />
60 </Type>
61 <Type name="video/mp4v-es">
62 <Limit name="measured-frame-rate-256x192" range="1100-1100" />
63 </Type>
64 </MediaCodec>
65 <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
66 <Limit name="measured-frame-rate-176x144" range="2438-2438" />
67 <Limit name="measured-frame-rate-352x288" range="1470-1470" />
68 </MediaCodec>
69 <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
70 <Limit name="measured-frame-rate-320x240" range="966-966" />
71 <Limit name="measured-frame-rate-720x480" range="319-319" />
72 <Limit name="measured-frame-rate-1280x720" range="108-108" />
73 <Limit name="measured-frame-rate-1920x1080" range="27-27" />
74 </MediaCodec>
75 <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
76 <Limit name="measured-frame-rate-352x288" range="972-972" />
77 <Limit name="measured-frame-rate-640x360" range="488-488" />
78 <Limit name="measured-frame-rate-1280x720" range="161-161" />
79 <Limit name="measured-frame-rate-1920x1080" range="75-75" />
80 </MediaCodec>
81 <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
82 <Limit name="measured-frame-rate-176x144" range="2685-2685" />
83 </MediaCodec>
84 <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
85 <Limit name="measured-frame-rate-320x180" range="1662-1662" />
86 <Limit name="measured-frame-rate-640x360" range="487-487" />
87 <Limit name="measured-frame-rate-1280x720" range="92-92" />
88 <Limit name="measured-frame-rate-1920x1080" range="81-81" />
89 </MediaCodec>
90 <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
91 <Limit name="measured-frame-rate-320x180" range="806-806" />
92 <Limit name="measured-frame-rate-640x360" range="654-654" />
93 <Limit name="measured-frame-rate-1280x720" range="172-172" />
94 <Limit name="measured-frame-rate-1920x1080" range="106-106" />
95 </MediaCodec>
96 </Decoders>
97</MediaCodecs>