Compare commits
50 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
630f030313 | 4 days ago |
![]() |
97be3e7b9f | 4 days ago |
![]() |
7e198cb69d | 4 days ago |
![]() |
e889f6cd73 | 4 days ago |
![]() |
f16cd3bea2 | 4 days ago |
![]() |
70b59b2463 | 4 days ago |
![]() |
b9e7e01fe7 | 4 days ago |
![]() |
7659f924d5 | 4 days ago |
![]() |
c0d246f51d | 1 week ago |
![]() |
5f52610158 | 2 weeks ago |
![]() |
5e14a3f398 | 3 weeks ago |
![]() |
11573120c1 | 4 weeks ago |
![]() |
26b5789319 | 4 weeks ago |
![]() |
4c3396264c | 1 month ago |
![]() |
5349b3dcce | 1 month ago |
![]() |
90fd1d5568 | 1 month ago |
![]() |
259056f9e4 | 1 month ago |
![]() |
b81bab66fc | 1 month ago |
![]() |
2e7b62aa41 | 1 month ago |
![]() |
60c4222eb3 | 2 months ago |
![]() |
dfdfb7540c | 2 months ago |
![]() |
9993fb1a90 | 2 months ago |
![]() |
0eb1b31e7e | 2 months ago |
![]() |
df74a6d7f6 | 2 months ago |
![]() |
cdf9885652 | 2 months ago |
![]() |
f05bf4790f | 2 months ago |
![]() |
fb0255f3c8 | 2 months ago |
![]() |
f67bcde0c6 | 2 months ago |
![]() |
0127983c56 | 2 months ago |
![]() |
3d6f1e15f9 | 2 months ago |
![]() |
c26f22bde8 | 2 months ago |
![]() |
a487ce996e | 2 months ago |
![]() |
a662e2be0f | 2 months ago |
![]() |
fa092d5030 | 2 months ago |
![]() |
b59be7388d | 3 months ago |
![]() |
865c2d5f9f | 7 months ago |
![]() |
448998bf1d | 7 months ago |
![]() |
31461358c7 | 7 months ago |
![]() |
c5c98fdf68 | 7 months ago |
![]() |
46811e8b65 | 7 months ago |
![]() |
60bfd278ac | 7 months ago |
![]() |
e80167c0e5 | 7 months ago |
![]() |
91b81cd426 | 8 months ago |
![]() |
7d773c30e3 | 8 months ago |
![]() |
66d8f8ef4b | 8 months ago |
![]() |
df2bcc0d33 | 8 months ago |
![]() |
d5b04790bb | 8 months ago |
![]() |
0b639ee7d4 | 10 months ago |
![]() |
c8b3e2e1d1 | 10 months ago |
![]() |
ecafb627ef | 10 months ago |
@ -1,30 +0,0 @@ |
||||
// |
||||
// Copyright (C) 2023 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. |
||||
// You 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. |
||||
|
||||
cc_binary { |
||||
name: "audio_parameter_service.samsung_sm7125", |
||||
init_rc: ["audio_parameter_service.rc"], |
||||
system_ext_specific: true, |
||||
srcs: [ |
||||
"audio_parameter_service.cpp", |
||||
], |
||||
shared_libs: [ |
||||
"libbase", |
||||
"libutils", |
||||
"libhidlbase", |
||||
"liblog", |
||||
"android.hardware.audio@7.0", |
||||
], |
||||
} |
@ -1,55 +0,0 @@ |
||||
/*
|
||||
* Copyright (C) 2023 The LineageOS Project |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You 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. |
||||
*/ |
||||
|
||||
#include <android-base/properties.h> |
||||
#include <android-base/logging.h> |
||||
#include <android/hardware/audio/7.0/IDevicesFactory.h> |
||||
|
||||
using android::base::GetProperty; |
||||
using android::base::SetProperty; |
||||
using android::sp; |
||||
using ::android::hardware::hidl_string; |
||||
|
||||
int main() { |
||||
sp<::android::hardware::audio::V7_0::IDevice> audioDevice; |
||||
|
||||
LOG(DEBUG) << "Passing g_call_sim_slot parameter"; |
||||
|
||||
if (!audioDevice) { |
||||
::android::hardware::audio::V7_0::IDevicesFactory::getService()->openDevice( |
||||
"primary", [&](::android::hardware::audio::V7_0::Result, const sp<::android::hardware::audio::V7_0::IDevice>& result) { |
||||
audioDevice = result; |
||||
}); |
||||
} |
||||
|
||||
if (audioDevice != nullptr) { |
||||
std::string value = ""; |
||||
|
||||
if (strcmp(GetProperty("vendor.calls.slotid", "-1").c_str(), "1") == 0) { |
||||
// SIM 2
|
||||
value = "0x02"; |
||||
} |
||||
|
||||
audioDevice->setParameters({}, {{"g_call_sim_slot", value}}); |
||||
} |
||||
|
||||
if (audioDevice != nullptr) |
||||
audioDevice->close(); |
||||
|
||||
SetProperty("vendor.calls.parameter_state", "1"); |
||||
|
||||
return 0; |
||||
} |
@ -1,16 +0,0 @@ |
||||
service audio_parameter_service /system_ext/bin/audio_parameter_service.samsung_sm7125 |
||||
oneshot |
||||
disabled |
||||
|
||||
on boot |
||||
setprop vendor.calls.parameter_state 0 |
||||
|
||||
on property:vendor.calls.slotid=1 && property:vendor.calls.parameter_state=0 |
||||
stop audioserver |
||||
start audioserver |
||||
start audio_parameter_service |
||||
|
||||
on property:vendor.calls.slotid=-1 && property:vendor.calls.parameter_state=1 |
||||
setprop vendor.calls.parameter_state 0 |
||||
stop audioserver |
||||
start audioserver |
@ -1,88 +0,0 @@ |
||||
<!-- |
||||
Input: |
||||
compatibility_matrix.xml |
||||
device_compatibility_matrix.xml |
||||
device_compatibility_matrix.xml |
||||
vendor.samsung.frameworks.codecsolution-matrix.xml |
||||
--> |
||||
<compatibility-matrix version="2.0" type="device"> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.frameworks.schedulerservice</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>ISchedulingPolicyService</name> |
||||
<instance>default</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.frameworks.sensorservice</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>ISensorManager</name> |
||||
<instance>default</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.hidl.allocator</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>IAllocator</name> |
||||
<instance>ashmem</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.hidl.manager</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>IServiceManager</name> |
||||
<instance>default</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.hidl.memory</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>IMapper</name> |
||||
<instance>ashmem</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.hidl.token</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>ITokenManager</name> |
||||
<instance>default</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="false"> |
||||
<name>android.system.wifi.keystore</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>IKeystore</name> |
||||
<instance>default</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="true"> |
||||
<name>vendor.qti.hardware.qccsyshal</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>IQccsyshal</name> |
||||
<instance>qccsyshal</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="hidl" optional="true"> |
||||
<name>vendor.qti.hardware.sigma_miracast</name> |
||||
<version>1.0</version> |
||||
<interface> |
||||
<name>Isigma_miracast</name> |
||||
<instance>sigmahal</instance> |
||||
</interface> |
||||
</hal> |
||||
<hal format="aidl" optional="true"> |
||||
<name>vendor.samsung.frameworks.codecsolution</name> |
||||
<interface> |
||||
<name>ISehCodecSolution</name> |
||||
<instance>default</instance> |
||||
</interface> |
||||
</hal> |
||||
</compatibility-matrix> |
@ -1,8 +0,0 @@ |
||||
service vendor.gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service |
||||
interface android.hardware.gatekeeper@1.0::IGatekeeper default |
||||
class hal |
||||
user system |
||||
group system 5678 |
||||
|
||||
on post-fs-data |
||||
mkdir /data/vendor/gatekeeper 0770 system system |
@ -1,418 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<!-- Copyright (C) 2012-2020 The Linux Foundation. All rights reserved. |
||||
Not a contribution. |
||||
Copyright (C) 2012-2013 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. |
||||
You 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. |
||||
--> |
||||
|
||||
<!-- |
||||
<!DOCTYPE MediaCodecs [ |
||||
<!ELEMENT Include EMPTY> |
||||
<!ATTLIST Include href CDATA #REQUIRED> |
||||
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*> |
||||
<!ELEMENT Decoders (MediaCodec|Include)*> |
||||
<!ELEMENT Encoders (MediaCodec|Include)*> |
||||
<!ELEMENT MediaCodec (Type|Quirk|Include)*> |
||||
<!ATTLIST MediaCodec name CDATA #REQUIRED> |
||||
<!ATTLIST MediaCodec type CDATA> |
||||
<!ELEMENT Type EMPTY> |
||||
<!ATTLIST Type name CDATA #REQUIRED> |
||||
<!ELEMENT Quirk EMPTY> |
||||
<!ATTLIST Quirk name CDATA #REQUIRED> |
||||
]> |
||||
|
||||
There's a simple and a complex syntax to declare the availability of a |
||||
media codec: |
||||
|
||||
A codec that properly follows the OpenMax spec and therefore doesn't have any |
||||
quirks and that only supports a single content type can be declared like so: |
||||
|
||||
<MediaCodec name="OMX.foo.bar" type="something/interesting" /> |
||||
|
||||
If a codec has quirks OR supports multiple content types, the following syntax |
||||
can be used: |
||||
|
||||
<MediaCodec name="OMX.foo.bar" > |
||||
<Type name="something/interesting" /> |
||||
<Type name="something/else" /> |
||||
... |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="output-buffers-are-unreadable" /> |
||||
</MediaCodec> |
||||
|
||||
Only the three quirks included above are recognized at this point: |
||||
|
||||
"requires-allocate-on-input-ports" |
||||
must be advertised if the component does not properly support specification |
||||
of input buffers using the OMX_UseBuffer(...) API but instead requires |
||||
OMX_AllocateBuffer to be used. |
||||
|
||||
"requires-allocate-on-output-ports" |
||||
must be advertised if the component does not properly support specification |
||||
of output buffers using the OMX_UseBuffer(...) API but instead requires |
||||
OMX_AllocateBuffer to be used. |
||||
|
||||
"output-buffers-are-unreadable" |
||||
must be advertised if the emitted output buffers of a decoder component |
||||
are not readable, i.e. use a custom format even though abusing one of |
||||
the official OMX colorspace constants. |
||||
Clients of such decoders will not be able to access the decoded data, |
||||
naturally making the component much less useful. The only use for |
||||
a component with this quirk is to render the output to the screen. |
||||
Audio decoders MUST NOT advertise this quirk. |
||||
Video decoders that advertise this quirk must be accompanied by a |
||||
corresponding color space converter for thumbnail extraction, |
||||
matching surfaceflinger support that can render the custom format to |
||||
a texture and possibly other code, so just DON'T USE THIS QUIRK. |
||||
|
||||
|
||||
--> |
||||
|
||||
<!-- |
||||
SM6150 Non-Secure decoder capabilities |
||||
_________________________________________________________ |
||||
| Codec | W H fps Mbps MB/s | |
||||
|_____________|_________________________________________| |
||||
| h264 | 4096 2160 24 100 829440 | |
||||
| hevc | 4096 2160 24 100 829440 | |
||||
| mpeg4-sw | 1920 1088 30 40 244800 | |
||||
| vp8 | 3840 2160 30 100 972000 | |
||||
| vp9 | 4096 2160 24 100 829440 | |
||||
| vc1 | 1920 1088 30 20 244800 | |
||||
| h263-sw | 864 480 30 16 48600 | |
||||
| mpeg2 | 1920 1088 30 40 244800 | |
||||
|_____________|_________________________________________| |
||||
|
||||
SM6150 Secure decoder capabilities |
||||
______________________________________________________ |
||||
| Codec | W H fps Mbps MB/s | |
||||
|__________|_________________________________________| |
||||
| h264 | 3840 2160 30 35 972000 | |
||||
| vp9 | 3840 2160 30 35 972000 | |
||||
| hevc | 3840 2160 30 35 972000 | |
||||
| mpeg2 | 1920 1088 30 35 244800 | |
||||
|__________|_________________________________________| |
||||
|
||||
SM6150 Non-Secure encoder capabilities (Secure not supported) |
||||
______________________________________________________ |
||||
| Codec | W H fps Mbps MB/s | |
||||
|__________|_________________________________________| |
||||
| h264 | 4096 2160 24 100 829440 | |
||||
| hevc | 4096 2160 24 100 829440 | |
||||
| mpeg4-sw | 1280 720 30 4 108000 | |
||||
| vp8 | 3840 2160 30 100 972000 | |
||||
| h263-sw | 864 480 30 2 48600 | |
||||
|__________|_________________________________________| |
||||
--> |
||||
|
||||
<MediaCodecs> |
||||
<Settings> |
||||
<Setting name="max-video-encoder-input-buffers" value="11" /> |
||||
</Settings> |
||||
<Encoders> |
||||
<!-- Video Hardware --> |
||||
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="requires-loaded-to-idle-after-allocation" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="requires-loaded-to-idle-after-allocation" /> |
||||
<Limit name="size" min="96x96" max="3840x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-120000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="requires-loaded-to-idle-after-allocation" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="quality" range="0-100" default="80" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<Feature name="bitrate-modes" value="VBR,CBR" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc.cq" type="video/hevc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="requires-loaded-to-idle-after-allocation" /> |
||||
<Limit name="size" min="512x512" max="512x512" /> |
||||
<Limit name="frame-rate" range="1-20" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="quality" range="0-100" default="80" /> |
||||
<Limit name="performance-point-4096x2304" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<Feature name="bitrate-modes" value="CQ" /> |
||||
</MediaCodec> |
||||
<!-- Video Software --> |
||||
<MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="requires-loaded-to-idle-after-allocation" /> |
||||
<Limit name="size" min="96x96" max="864x480" /> |
||||
<Limit name="alignment" value="4x4" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="48600" /> |
||||
<Limit name="bitrate" range="1-2000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Attribute name="software-codec" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-864x480" value="30" /> |
||||
<Limit name="performance-point-720x480" value="30" /> |
||||
<Limit name="performance-point-720x576" value="25" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Quirk name="requires-loaded-to-idle-after-allocation" /> |
||||
<Limit name="size" min="96x96" max="864x480" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="48600" /> |
||||
<Limit name="bitrate" range="1-8000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Attribute name="software-codec" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Attribute name="software-codec" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-864x480" value="30" /> |
||||
<Limit name="performance-point-720x480" value="30" /> |
||||
<Limit name="performance-point-720x576" value="25" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.av1.encoder" type="video/av01" enabled="false" minsdk="34" update="true"> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="size" min="2x2" max="720x720" /> |
||||
<Limit name="block-count" range="1-1350" /> <!-- max 720x480 --> |
||||
<Limit name="bitrate" range="1-5000000" /> |
||||
<Limit name="quality" range="0-100" default="80" /> |
||||
<Limit name="complexity" range="0-5" default="0" /> |
||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" /> |
||||
<Attribute name="software-codec" /> |
||||
</MediaCodec> |
||||
</Encoders> |
||||
<Decoders> |
||||
<!-- Video Hardware --> |
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="3840x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="972000" /> |
||||
<Limit name="bitrate" range="1-35000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="3" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
</MediaCodec> |
||||
<!-- |
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="1920x1088" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="244800" /> |
||||
<Limit name="bitrate" range="1-40000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-1920x1080" value="30" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="1920x1088" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="244800" /> |
||||
<Limit name="bitrate" range="1-35000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="3" /> |
||||
<Limit name="performance-point-1920x1080" value="30" /> |
||||
</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="96x96" max="3840x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="60" /> |
||||
<Limit name="performance-point-1280x720" value="120" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-120000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="6" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="3840x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="972000" /> |
||||
<Limit name="bitrate" range="1-35000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="3" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="3840x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="972000" /> |
||||
<Limit name="bitrate" range="1-35000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="3" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
</MediaCodec> |
||||
<!-- Video Software --> |
||||
<MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" > |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="864x480" /> |
||||
<Limit name="alignment" value="4x4" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="48600" /> |
||||
<Limit name="bitrate" range="1-16000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-864x480" value="30" /> |
||||
<Limit name="performance-point-720x480" value="30" /> |
||||
<Limit name="performance-point-720x576" value="25" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es"> |
||||
<Quirk name="requires-allocate-on-input-ports" /> |
||||
<Quirk name="requires-allocate-on-output-ports" /> |
||||
<Limit name="size" min="96x96" max="1920x1088" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="36" max="244800" /> |
||||
<Limit name="bitrate" range="1-40000000" /> |
||||
<Limit name="frame-rate" range="1-30" /> |
||||
<Feature name="can-swap-width-height" required="true" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-1920x1080" value="30" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus" update="true" rank="100"/> |
||||
</Decoders> |
||||
<Include href="media_codecs_google_video.xml" /> |
||||
<Include href="media_codecs_google_audio.xml" /> |
||||
<Include href="media_codecs_google_telephony.xml" /> |
||||
</MediaCodecs> |
@ -0,0 +1,272 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<!-- |
||||
Copyright (c) 2018-2019 Qualcomm Technologies, Inc. |
||||
All Rights Reserved. |
||||
Confidential and Proprietary - Qualcomm Technologies, Inc. |
||||
|
||||
Not a Contribution. |
||||
|
||||
Copyright (C) 2012-2018 The Linux Foundation. All rights reserved. |
||||
Copyright (C) 2012-2013 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. |
||||
You 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. |
||||
--> |
||||
|
||||
<!-- |
||||
7150 Non-Secure decoder capabilities |
||||
_________________________________________________________ |
||||
| Codec | W H fps Mbps MB/s | |
||||
|_____________|_________________________________________| |
||||
| h264 | 4096 2160 24 100 829440 | |
||||
| hevc | 4096 2160 24 100 829440 | |
||||
| vp8 | 1920 1080 60 100 489600 | |
||||
| vp9 | 4096 2160 24 100 829440 | |
||||
|_____________|_________________________________________| |
||||
|
||||
7150 Secure decoder capabilities |
||||
______________________________________________________ |
||||
| Codec | W H fps Mbps MB/s | |
||||
|__________|_________________________________________| |
||||
| h264 | 3840 2160 30 40 972000 | |
||||
| vp9 | 3840 2160 30 40 972000 | |
||||
| hevc | 3840 2160 30 40 972000 | |
||||
|__________|_________________________________________| |
||||
|
||||
7150 Non-Secure encoder capabilities (Secure not supported) |
||||
______________________________________________________ |
||||
| Codec | W H fps Mbps MB/s | |
||||
|__________|_________________________________________| |
||||
| h264 | 4096 2160 24 100 829440 | |
||||
| hevc | 4096 2160 24 100 829440 | |
||||
| vp8 | 1920 1080 60 40 489600 | |
||||
|__________|_________________________________________| |
||||
--> |
||||
|
||||
<Included> |
||||
<Settings> |
||||
<Domain name="telephony" enabled="true" /> |
||||
<Setting name="max-video-encoder-input-buffers" value="11" /> |
||||
</Settings> |
||||
<Decoders> |
||||
<!-- C2 decoders --> |
||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc"> |
||||
<Alias name="OMX.qcom.video.decoder.avc" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" range="36-979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<!-- Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" > |
||||
<Alias name="OMX.qcom.video.decoder.avc.secure" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="1" max="972000" /> |
||||
<Limit name="bitrate" range="1-40000000" /> |
||||
<Limit name="frame-rate" range="1-60" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="60" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
<Limit name="concurrent-instances" max="4" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" > |
||||
<Alias name="OMX.qcom.video.decoder.hevc" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<!-- <Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" > |
||||
<Alias name="OMX.qcom.video.decoder.hevc.secure" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-40000000" /> |
||||
<Limit name="frame-rate" range="1-60" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="60" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
<Limit name="concurrent-instances" max="4" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp8.decoder" type="video/x-vnd.on2.vp8" > |
||||
<Alias name="OMX.qcom.video.decoder.vp8" /> |
||||
<Limit name="size" min="96x96" max="1920x1088" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="489600" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-120" /> |
||||
<!-- <Limit name="performance-point-4096x2160" value="24" /> --> |
||||
<!-- <Limit name="performance-point-3840x2160" value="30" /> --> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<!-- <Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" > |
||||
<Alias name="OMX.qcom.video.decoder.vp9" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-120000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Limit name="performance-point-4096x2304" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<!-- <Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
<Limit name="concurrent-instances" max="6" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" > |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-40000000" /> |
||||
<Limit name="frame-rate" range="1-60" /> |
||||
<Limit name="performance-point-4096x2304" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="60" /> |
||||
<Feature name="adaptive-playback" /> |
||||
<Feature name="secure-playback" required="true" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
<Limit name="concurrent-instances" max="4" /> |
||||
</MediaCodec> |
||||
</Decoders> |
||||
|
||||
<Encoders> |
||||
<!-- C2 encoders --> |
||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc"> |
||||
<Alias name="OMX.qcom.video.encoder.avc" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-100000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Limit name="complexity" range="0-100" default="100" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<!-- <Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="bitrate-modes" value="VBR,CBR" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc"> |
||||
<Alias name="OMX.qcom.video.encoder.hevc" /> |
||||
<Limit name="size" min="96x96" max="4096x2160" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-120000000" /> |
||||
<Limit name="frame-rate" range="1-240" /> |
||||
<Limit name="complexity" range="0-100" default="100" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="quality" range="0-100" default="80" /> |
||||
<Limit name="performance-point-4096x2160" value="24" /> |
||||
<Limit name="performance-point-3840x2160" value="30" /> |
||||
<Limit name="performance-point-1920x1080" value="120" /> |
||||
<Limit name="performance-point-1280x720" value="240" /> |
||||
<!-- <Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc"> |
||||
<Limit name="size" min="512x512" max="512x512" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="979200" /> |
||||
<Limit name="bitrate" range="1-160000000" /> |
||||
<Limit name="frame-rate" range="1-20" /> |
||||
<Limit name="complexity" range="0-100" default="100" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<Limit name="quality" range="0-100" default="80" /> |
||||
<Limit name="performance-point-512x512" value="480" /> |
||||
<Feature name="bitrate-modes" value="CQ" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic"> |
||||
<Limit name="size" min="512x512" max="4096x2160" /> |
||||
<Limit name="block-count" range="1024-138240" /> <!--max-spatial: 8192x4320 --> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="2073600" /> |
||||
<Limit name="frame-rate" range="1-20" /> |
||||
<Limit name="complexity" range="0-100" default="100" /> |
||||
<Limit name="concurrent-instances" max="6" /> |
||||
<Limit name="quality" range="0-100" default="80" /> |
||||
<!-- <Limit name="performance-point-7680x4320" value="3" /> --> |
||||
<Limit name="performance-point-4096x2160" value="12" /> |
||||
<!-- <Limit name="performance-point-4096x2160" value="12" /> --> |
||||
<!-- <Limit name="performance-point-3840x2160" value="12" /> --> |
||||
<Limit name="performance-point-1920x1080" value="40" /> |
||||
<Limit name="performance-point-1920x1080" value="30" /> |
||||
<Limit name="performance-point-1280x720" value="80" /> |
||||
<Limit name="performance-point-1280x720" value="60" /> |
||||
<Limit name="performance-point-720x480" value="240" /> |
||||
<Feature name="bitrate-modes" value="CQ" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp8.encoder" type="video/x-vnd.on2.vp8"> |
||||
<Alias name="OMX.qcom.video.encoder.vp8" /> |
||||
<Limit name="size" min="96x96" max="1920x1088" /> |
||||
<Limit name="alignment" value="2x2" /> |
||||
<Limit name="block-size" value="16x16" /> |
||||
<Limit name="blocks-per-second" min="24" max="489600" /> |
||||
<Limit name="bitrate" range="1-40000000" /> |
||||
<Limit name="frame-rate" range="1-120" /> |
||||
<Limit name="complexity" range="0-100" default="100" /> |
||||
<Limit name="concurrent-instances" max="16" /> |
||||
<!-- <Limit name="performance-point-4096x2304" value="24" /> --> |
||||
<!-- <Limit name="performance-point-3840x2160" value="30" /> --> |
||||
<Limit name="performance-point-1920x1080" value="60" /> |
||||
<Limit name="performance-point-1280x720" value="120" /> |
||||
<!-- <Limit name="performance-point-720x480" value="240" /> --> |
||||
<Feature name="bitrate-modes" value="VBR,CBR" /> |
||||
<Feature name="can-swap-width-height" value="1" /> |
||||
</MediaCodec> |
||||
</Encoders> |
||||
</Included> |
||||
|
@ -1,271 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<!-- |
||||
Copyright (c) 2015-2017, 2019 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"> |
||||
<!-- measured [234-262] lower-upper [63-667] median * 1.5 [372] --> |
||||
<Limit name="measured-frame-rate-320x240" range="138-303" /> |
||||
<!-- measured [132-224] lower-upper [45-479] median * 1.5 [267] --> |
||||
<Limit name="measured-frame-rate-720x480" range="99-218" /> |
||||
<!-- measured [68-94] lower-upper [21-219] median * 1.5 [122] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="45-100" /> |
||||
<!-- measured [67-81] lower-upper [19-199] median * 1.5 [111] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="41-91" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" update="true"> |
||||
<!-- measured [251-271] lower-upper [66-704] median * 1.5 [392] --> |
||||
<Limit name="measured-frame-rate-176x144" range="145-320" /> |
||||
<!-- measured [94-96] lower-upper [24-256] median * 1.5 [142] --> |
||||
<Limit name="measured-frame-rate-352x288" range="53-116" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true"> |
||||
<!-- measured [226-233] lower-upper [58-618] median * 1.5 [344] --> |
||||
<Limit name="measured-frame-rate-320x240" range="128-281" /> |
||||
<!-- measured [140-171] lower-upper [39-419] median * 1.5 [233] --> |
||||
<Limit name="measured-frame-rate-720x480" range="87-191" /> |
||||
<!-- measured [68-90] lower-upper [20-215] median * 1.5 [119] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="44-98" /> |
||||
<!-- measured [61-68] lower-upper [16-174] median * 1.5 [97] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="36-79" /> |
||||
<!-- measured [28-35] lower-upper [8-86] median * 1.5 [47] --> |
||||
<Limit name="measured-frame-rate-3840x2160" range="18-39" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" update="true"> |
||||
<!-- measured [226-233] lower-upper [58-618] median * 1.5 [344] --> |
||||
<Limit name="measured-frame-rate-176x144" range="128-281" /> |
||||
<!-- measured [82-83] lower-upper [21-223] median * 1.5 [124] --> |
||||
<Limit name="measured-frame-rate-352x288" range="46-101" /> |
||||
<!-- measured [42-42] lower-upper [11-114] median * 1.5 [63] --> |
||||
<Limit name="measured-frame-rate-640x480" range="24-52" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true"> |
||||
<!-- measured [239-245] lower-upper [61-653] median * 1.5 [364] --> |
||||
<Limit name="measured-frame-rate-320x180" range="135-297" /> |
||||
<!-- measured [171-193] lower-upper [46-491] median * 1.5 [273] --> |
||||
<Limit name="measured-frame-rate-640x360" range="101-223" /> |
||||
<!-- measured [68-93] lower-upper [21-218] median * 1.5 [121] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="45-99" /> |
||||
<!-- measured [69-72] lower-upper [18-191] median * 1.5 [106] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="39-87" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true"> |
||||
<!-- measured [289-344] lower-upper [80-852] median * 1.5 [475] --> |
||||
<Limit name="measured-frame-rate-320x240" range="176-387" /> |
||||
<!-- measured [118-121] lower-upper [30-323] median * 1.5 [180] --> |
||||
<Limit name="measured-frame-rate-720x480" range="67-147" /> |
||||
<!-- measured [73-78] lower-upper [19-205] median * 1.5 [114] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="42-93" /> |
||||
<!-- measured [42-44] lower-upper [11-117] median * 1.5 [65] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="24-53" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true"> |
||||
<!-- measured [270-281] lower-upper [70-742] median * 1.5 [414] --> |
||||
<Limit name="measured-frame-rate-176x144" range="153-337" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true"> |
||||
<!-- measured [40-43] lower-upper [11-113] median * 1.5 [63] --> |
||||
<Limit name="measured-frame-rate-320x240" range="23-51" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true"> |
||||
<!-- measured [264-274] lower-upper [68-725] median * 1.5 [404] --> |
||||
<Limit name="measured-frame-rate-176x144" range="150-329" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true"> |
||||
<!-- measured [169-201] lower-upper [47-500] median * 1.5 [278] --> |
||||
<Limit name="measured-frame-rate-320x180" range="103-227" /> |
||||
<!-- measured [140-141] lower-upper [36-379] median * 1.5 [211] --> |
||||
<Limit name="measured-frame-rate-640x360" range="78-172" /> |
||||
<!-- measured [38-39] lower-upper [10-104] median * 1.5 [58] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="22-47" /> |
||||
<!-- measured [34-35] lower-upper [9-93] median * 1.5 [51] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="19-42" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true" variant="!slow-cpu"> |
||||
<!-- measured [208-241] lower-upper [57-605] median * 1.5 [337] --> |
||||
<Limit name="measured-frame-rate-320x180" range="125-275" /> |
||||
<!-- measured [83-96] lower-upper [23-242] median * 1.5 [134] --> |
||||
<Limit name="measured-frame-rate-640x360" range="50-110" /> |
||||
<!-- measured [21-25] lower-upper [6-63] median * 1.5 [34] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="13-28" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true"> |
||||
<!-- measured [196-255] lower-upper [57-607] median * 1.5 [338] --> |
||||
<Limit name="measured-frame-rate-320x240" range="125-276" /> |
||||
<!-- measured [56-61] lower-upper [15-159] median * 1.5 [88] --> |
||||
<Limit name="measured-frame-rate-720x480" range="33-72" /> |
||||
<!-- measured [22-23] lower-upper [6-63] median * 1.5 [35] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="13-29" /> |
||||
</MediaCodec> |
||||
</Encoders> |
||||
<Decoders> |
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true"> |
||||
<!-- measured [387-465] lower-upper [108-1147] median * 1.5 [639] --> |
||||
<Limit name="measured-frame-rate-320x240" range="237-521" /> |
||||
<!-- measured [369-447] lower-upper [103-1098] median * 1.5 [612] --> |
||||
<Limit name="measured-frame-rate-720x480" range="227-499" /> |
||||
<!-- measured [296-316] lower-upper [77-824] median * 1.5 [459] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="170-375" /> |
||||
<!-- measured [167-167] lower-upper [42-450] median * 1.5 [250] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="93-205" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true"> |
||||
<!-- measured [414-554] lower-upper [122-1302] median * 1.5 [726] --> |
||||
<Limit name="measured-frame-rate-352x288" range="269-592" /> |
||||
<!-- measured [420-552] lower-upper [123-1308] median * 1.5 [729] --> |
||||
<Limit name="measured-frame-rate-640x360" range="270-595" /> |
||||
<!-- measured [385-535] lower-upper [116-1238] median * 1.5 [690] --> |
||||
<Limit name="measured-frame-rate-720x480" range="256-563" /> |
||||
<!-- measured [310-320] lower-upper [80-849] median * 1.5 [473] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="175-386" /> |
||||
<!-- measured [174-174] lower-upper [44-469] median * 1.5 [261] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="97-213" /> |
||||
<!-- measured [50-50] lower-upper [13-137] median * 1.5 [76] --> |
||||
<Limit name="measured-frame-rate-3840x2160" range="28-62" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true"> |
||||
<!-- measured [444-629] lower-upper [136-1444] median * 1.5 [805] --> |
||||
<Limit name="measured-frame-rate-320x180" range="298-656" /> |
||||
<!-- measured [418-594] lower-upper [128-1362] median * 1.5 [759] --> |
||||
<Limit name="measured-frame-rate-640x360" range="281-619" /> |
||||
<!-- measured [330-342] lower-upper [85-905] median * 1.5 [505] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="187-412" /> |
||||
<!-- measured [186-186] lower-upper [47-501] median * 1.5 [279] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="104-228" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true"> |
||||
<!-- measured [411-499] lower-upper [115-1225] median * 1.5 [683] --> |
||||
<Limit name="measured-frame-rate-320x180" range="253-557" /> |
||||
<!-- measured [368-384] lower-upper [95-1012] median * 1.5 [564] --> |
||||
<Limit name="measured-frame-rate-640x360" range="209-460" /> |
||||
<!-- measured [153-153] lower-upper [39-412] median * 1.5 [229] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="85-187" /> |
||||
<!-- measured [94-94] lower-upper [24-255] median * 1.5 [142] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="53-116" /> |
||||
<!-- measured [21-21] lower-upper [6-59] median * 1.5 [32] --> |
||||
<Limit name="measured-frame-rate-3840x2160" range="12-27" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" update="true"> |
||||
<!-- measured [606-638] lower-upper [157-1674] median * 1.5 [933] --> |
||||
<Limit name="measured-frame-rate-176x144" range="346-761" /> |
||||
<!-- measured [307-507] lower-upper [103-1096] median * 1.5 [611] --> |
||||
<Limit name="measured-frame-rate-352x288" range="226-498" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es" update="true"> |
||||
<!-- measured [544-547] lower-upper [138-1467] median * 1.5 [818] --> |
||||
<Limit name="measured-frame-rate-176x144" range="303-667" /> |
||||
<!-- measured [250-439] lower-upper [87-928] median * 1.5 [517] --> |
||||
<Limit name="measured-frame-rate-480x360" range="192-422" /> |
||||
<!-- measured [211-213] lower-upper [54-571] median * 1.5 [318] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="118-260" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true"> |
||||
<!-- measured [150-255] lower-upper [51-545] median * 1.5 [303] --> |
||||
<Limit name="measured-frame-rate-352x288" range="113-248" /> |
||||
<!-- measured [90-154] lower-upper [31-330] median * 1.5 [184] --> |
||||
<Limit name="measured-frame-rate-640x360" range="68-150" /> |
||||
<!-- measured [80-112] lower-upper [24-260] median * 1.5 [144] --> |
||||
<Limit name="measured-frame-rate-720x480" range="54-118" /> |
||||
<!-- measured [55-58] lower-upper [14-152] median * 1.5 [85] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="31-69" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true"> |
||||
<!-- measured [163-169] lower-upper [42-448] median * 1.5 [249] --> |
||||
<Limit name="measured-frame-rate-320x240" range="93-204" /> |
||||
<!-- measured [71-72] lower-upper [18-193] median * 1.5 [107] --> |
||||
<Limit name="measured-frame-rate-720x480" range="40-88" /> |
||||
<!-- measured [30-30] lower-upper [8-82] median * 1.5 [45] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="17-37" /> |
||||
<!-- measured [16-16] lower-upper [4-45] median * 1.5 [24] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="9-20" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true"> |
||||
<!-- measured [389-860] lower-upper [158-1681] median * 1.5 [937] --> |
||||
<Limit name="measured-frame-rate-176x144" range="347-764" /> |
||||
<!-- measured [298-690] lower-upper [125-1330] median * 1.5 [742] --> |
||||
<Limit name="measured-frame-rate-352x288" range="275-605" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true"> |
||||
<!-- measured [168-186] lower-upper [45-477] median * 1.5 [265] --> |
||||
<Limit name="measured-frame-rate-352x288" range="99-217" /> |
||||
<!-- measured [112-112] lower-upper [28-303] median * 1.5 [169] --> |
||||
<Limit name="measured-frame-rate-640x360" range="63-138" /> |
||||
<!-- measured [110-139] lower-upper [32-337] median * 1.5 [187] --> |
||||
<Limit name="measured-frame-rate-720x480" range="70-153" /> |
||||
<!-- measured [61-101] lower-upper [21-218] median * 1.5 [121] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="45-99" /> |
||||
<!-- measured [44-53] lower-upper [12-132] median * 1.5 [73] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="27-60" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true"> |
||||
<!-- measured [392-558] lower-upper [120-1279] median * 1.5 [713] --> |
||||
<Limit name="measured-frame-rate-176x144" range="264-581" /> |
||||
<!-- measured [338-728] lower-upper [135-1435] median * 1.5 [800] --> |
||||
<Limit name="measured-frame-rate-480x360" range="296-652" /> |
||||
<!-- measured [95-328] lower-upper [54-570] median * 1.5 [317] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="118-259" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true"> |
||||
<!-- measured [241-787] lower-upper [130-1383] median * 1.5 [771] --> |
||||
<Limit name="measured-frame-rate-320x180" range="286-628" /> |
||||
<!-- measured [98-358] lower-upper [58-615] median * 1.5 [343] --> |
||||
<Limit name="measured-frame-rate-640x360" range="127-280" /> |
||||
<!-- measured [53-97] lower-upper [19-203] median * 1.5 [113] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="42-92" /> |
||||
<!-- measured [39-39] lower-upper [10-105] median * 1.5 [58] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="22-48" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true"> |
||||
<!-- measured [232-640] lower-upper [110-1174] median * 1.5 [654] --> |
||||
<Limit name="measured-frame-rate-320x180" range="242-533" /> |
||||
<!-- measured [107-321] lower-upper [54-577] median * 1.5 [321] --> |
||||
<Limit name="measured-frame-rate-640x360" range="119-262" /> |
||||
<!-- measured [61-121] lower-upper [23-246] median * 1.5 [137] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="51-112" /> |
||||
<!-- measured [42-53] lower-upper [12-130] median * 1.5 [72] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="27-59" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.sec.mpeg4.decoder" type="video/mp4v-es" update="true"> |
||||
<!-- measured [314-444] lower-upper [96-1021] median * 1.5 [569] --> |
||||
<Limit name="measured-frame-rate-176x144" range="211-464" /> |
||||
<!-- measured [241-497] lower-upper [93-994] median * 1.5 [554] --> |
||||
<Limit name="measured-frame-rate-480x360" range="205-452" /> |
||||
<!-- measured [193-257] lower-upper [57-606] median * 1.5 [338] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="125-275" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.SEC.avc.sw.dec" type="video/avc" update="true"> |
||||
<!-- measured [191-489] lower-upper [86-915] median * 1.5 [510] --> |
||||
<Limit name="measured-frame-rate-320x240" range="189-416" /> |
||||
<!-- measured [185-188] lower-upper [47-502] median * 1.5 [280] --> |
||||
<Limit name="measured-frame-rate-720x480" range="104-228" /> |
||||
<!-- measured [71-71] lower-upper [18-192] median * 1.5 [107] --> |
||||
<Limit name="measured-frame-rate-1280x720" range="40-87" /> |
||||
<!-- measured [31-31] lower-upper [8-84] median * 1.5 [46] --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="17-38" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="OMX.SEC.mpeg4.sw.dec" type="video/mp4v-es" update="true"> |
||||
<!-- measured [723-1721] lower-upper [309-3288] median * 1.5 [1834] --> |
||||
<Limit name="measured-frame-rate-176x144" range="679-1495" /> |
||||
<!-- measured [1156-1188] lower-upper [296-3153] median * 1.5 [1758] --> |
||||
<Limit name="measured-frame-rate-480x360" range="651-1433" /> |
||||
</MediaCodec> |
||||
</Decoders> |
||||
</MediaCodecs> |
@ -0,0 +1,188 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<!-- |
||||
Copyright (c) 2018-2019 Qualcomm Technologies, Inc. |
||||
All Rights Reserved. |
||||
Confidential and Proprietary - Qualcomm Technologies, Inc. |
||||
|
||||
Not a Contribution. |
||||
|
||||
Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. |
||||
Copyright (C) 2012-2013 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. |
||||
You 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> |
||||
<Decoders> |
||||
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true"> |
||||
<Limit name="measured-frame-rate-320x240" range="569-573" /> <!-- N=108 v98%=1.1 --> |
||||
<Limit name="measured-frame-rate-720x480" range="554-554" /> <!-- N=108 v98%=1.0 --> |
||||
<!-- measured 90%:322-323 med:322 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="322-322" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:151-152 med:152 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="151-152" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true"> |
||||
<Limit name="measured-frame-rate-352x288" range="609-612" /> <!-- N=108 v98%=1.1 --> |
||||
<!-- measured 90%:551-606 med:590 N=8 --> |
||||
<Limit name="measured-frame-rate-640x360" range="578-578" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:574-616 med:590 N=8 --> |
||||
<Limit name="measured-frame-rate-720x480" range="589-595" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:416-420 med:419 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="418-418" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:233-235 med:234 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="234-234" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:62-63 med:63 N=8 --> |
||||
<Limit name="measured-frame-rate-3840x2160" range="62-63" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp8.decoder" type="video/x-vnd.on2.vp8" update="true"> |
||||
<Limit name="measured-frame-rate-320x180" range="633-638" /> <!-- N=108 v98%=1.1 --> |
||||
<Limit name="measured-frame-rate-640x360" range="606-606" /> <!-- N=108 v98%=1.1 --> |
||||
<!-- measured 90%:331-333 med:332 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="331-332" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:146-147 med:147 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="146-147" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true"> |
||||
<Limit name="measured-frame-rate-320x180" range="626-631" /> <!-- N=108 v98%=1.1 --> |
||||
<Limit name="measured-frame-rate-640x360" range="557-560" /> <!-- N=108 v98%=1.0 --> |
||||
<!-- measured 90%:317-319 med:318 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="317-318" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:225-228 med:227 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="226-227" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:59-60 med:60 N=8 --> |
||||
<Limit name="measured-frame-rate-3840x2160" range="59-60" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true"> |
||||
<Limit name="measured-frame-rate-320x240" range="482-482" /> <!-- N=108 v98%=1.0 --> |
||||
<Limit name="measured-frame-rate-720x480" range="162-162" /> <!-- N=108 v98%=1.0 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="62-63" /> <!-- N=108 v98%=1.0 --> |
||||
<!-- measured 90%:26-28 med:27 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="27-27" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true"> |
||||
<!-- measured 90%:481-504 med:493 N=8 --> |
||||
<Limit name="measured-frame-rate-352x288" range="492-492" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:269-279 med:271 N=8 --> |
||||
<Limit name="measured-frame-rate-640x360" range="271-274" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:254-264 med:261 N=8 --> |
||||
<Limit name="measured-frame-rate-720x480" range="259-259" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:103-106 med:105 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="105-105" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:55-57 med:56 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="56-56" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true"> |
||||
<!-- measured 90%:796-809 med:798 N=8 --> |
||||
<Limit name="measured-frame-rate-320x180" range="798-802" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:389-395 med:392 N=8 --> |
||||
<Limit name="measured-frame-rate-640x360" range="392-392" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:42-44 med:43 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="43-43" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true"> |
||||
<!-- measured 90%:657-680 med:672 N=8 --> |
||||
<Limit name="measured-frame-rate-320x180" range="669-669" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:218-226 med:221 N=8 --> |
||||
<Limit name="measured-frame-rate-640x360" range="220-222" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:85-87 med:86 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="86-86" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:51-53 med:52 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="52-52" /> <!-- v90%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true"> |
||||
<!-- measured 90%:761-885 med:853 N=8 --> |
||||
<Limit name="measured-frame-rate-176x144" range="821-821" /> <!-- v90%=1.1 --> |
||||
<!-- measured 98%:656-1034 med:723 SLOW --> |
||||
<Limit name="measured-frame-rate-352x288" range="723-824" /> <!-- N=80 v98%=1.3 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true"> |
||||
<!-- measured 90%:1697-1993 med:1825 N=8 --> |
||||
<Limit name="measured-frame-rate-176x144" range="1824-1839" /> <!-- v90%=1.1 --> |
||||
<Limit name="measured-frame-rate-480x360" range="970-1455" /> |
||||
<Limit name="measured-frame-rate-1280x720" range="368-552" /> |
||||
</MediaCodec> |
||||
</Decoders> |
||||
|
||||
<Encoders> |
||||
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true"> |
||||
<!-- measured 90%:378-394 med:383 N=8 --> |
||||
<Limit name="measured-frame-rate-320x240" range="382-386" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:165-204 med:190 N=8 --> |
||||
<Limit name="measured-frame-rate-720x480" range="183-183" /> <!-- v90%=1.1 --> |
||||
<!-- measured 90%:65-104 med:69 SLOW N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="68-82" /> <!-- v90%=1.3 --> |
||||
<!-- measured 90%:49-85 med:58 SLOW N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="57-64" /> <!-- v90%=1.3 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true"> |
||||
<!-- measured 90%:401-421 med:404 N=8 --> |
||||
<Limit name="measured-frame-rate-320x240" range="403-411" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:164-213 med:186 N=8 --> |
||||
<Limit name="measured-frame-rate-720x480" range="185-187" /> <!-- v90%=1.1 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="84-84" /> <!-- N=108 v98%=1.3 --> |
||||
<!-- measured 90%:32-67 med:51 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="47-47" /> <!-- v90%=1.4 --> |
||||
<!-- measured 90%:20-29 med:21 SLOW N=8 --> |
||||
<Limit name="measured-frame-rate-3840x2160" range="20-24" /> <!-- v90%=1.2 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.qti.vp8.encoder" type="video/x-vnd.on2.vp8" update="true"> |
||||
<!-- measured 90%:471-503 med:479 N=8 --> |
||||
<Limit name="measured-frame-rate-320x180" range="478-486" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:225-252 med:229 N=8 --> |
||||
<Limit name="measured-frame-rate-640x360" range="228-238" /> <!-- v90%=1.1 --> |
||||
<!-- measured 90%:66-102 med:101 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="82-82" /> <!-- v90%=1.2 --> |
||||
<!-- measured 90%:41-46 med:45 N=8 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="43-43" /> <!-- v90%=1.1 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true"> |
||||
<!-- measured 90%:659-756 med:693 N=8 --> |
||||
<Limit name="measured-frame-rate-176x144" range="693-706" /> <!-- v90%=1.1 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true"> |
||||
<!-- measured 90%:342-372 med:354 N=8 --> |
||||
<Limit name="measured-frame-rate-320x240" range="354-356" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:126-131 med:128 N=8 --> |
||||
<Limit name="measured-frame-rate-720x480" range="127-128" /> <!-- v90%=1.0 --> |
||||
<!-- measured 90%:70-83 med:71 N=8 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="71-76" /> <!-- v90%=1.1 --> |
||||
<!-- measured 90%:31-49 med:48 N=10 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="40-40" /> <!-- v90%=1.2 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true"> |
||||
<Limit name="measured-frame-rate-320x240" range="59-60" /> <!-- N=108 v98%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true"> |
||||
<Limit name="measured-frame-rate-320x240" range="27-37" /> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true"> |
||||
<!-- measured 90%:597-731 med:672 N=8 --> |
||||
<Limit name="measured-frame-rate-176x144" range="661-661" /> <!-- v90%=1.1 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true"> |
||||
<Limit name="measured-frame-rate-320x180" range="249-255" /> <!-- N=108 v98%=1.1 --> |
||||
<Limit name="measured-frame-rate-640x360" range="135-135" /> <!-- N=108 v98%=1.0 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="37-37" /> <!-- N=108 v98%=1.0 --> |
||||
<Limit name="measured-frame-rate-1920x1080" range="31-31" /> <!-- N=108 v98%=1.0 --> |
||||
</MediaCodec> |
||||
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true"> |
||||
<Limit name="measured-frame-rate-320x180" range="192-288" /> |
||||
<!-- measured 95%:54-67 med:61/61 N=36 --> |
||||
<Limit name="measured-frame-rate-640x360" range="61-61" /> <!-- v95%=1.1 --> |
||||
<!-- measured 95%:16-26 med:20/20 N=32 --> |
||||
<Limit name="measured-frame-rate-1280x720" range="20-20" /> <!-- v95%=1.3 --> |
||||
</MediaCodec> |
||||
</Encoders> |
||||
</MediaCodecs> |
||||
|
@ -1,45 +0,0 @@ |
||||
<?xml version="1.0" encoding="ISO-8859-1"?> |
||||
<!-- |
||||
Copyright (c) 2017, 2019 The Linux Foundation. All rights reserved. |
||||
|
||||
Redistribution and use in source and binary forms, with or without |
||||
modification, are permitted provided that the following conditions are |
||||
met: |
||||
* Redistributions of source code must retain the above copyright |
||||
notice, this list of conditions and the following disclaimer. |
||||
* Redistributions in binary form must reproduce the above |
||||
copyright notice, this list of conditions and the following |
||||
disclaimer in the documentation and/or other materials provided |
||||
with the distribution. |
||||
* Neither the name of The Linux Foundation nor the names of its |
||||
contributors may be used to endorse or promote products derived |
||||
from this software without specific prior written permission. |
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
||||
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
--> |
||||
<configs> |
||||
<property name="vidc_dec_log_in" value="0"/> |
||||
<property name="vidc_dec_log_out" value="0"/> |
||||
<property name="vidc_dec_hfr_fps" value="0"/> |
||||
<property name="vidc_enc_log_in" value="0"/> |
||||
<property name="vidc_enc_log_out" value="0"/> |
||||
<property name="vidc_enc_csc_custom_matrix" value="0"/> |
||||
<!-- Buffer size : internal : 30 MB (30 X 1), output : 50 MB (3.125 X 16) --> |
||||
<property name="vidc_dec_sec_prefetch_size_internal" value="31457280"/> |
||||
<property name="vidc_dec_sec_prefetch_size_output" value="3276800"/> |
||||
<!-- Bitmask for arb mode: 1: AVC, 2: HEVC, 4: MPEG2 --> |
||||
<property name="vidc_dec_arb_mode_override" value="7"/> |
||||
<!-- Bitmask for linear color: 1: 8-bit, 2: 10-bit, 3: 8&10 bit --> |
||||
<property name="vidc_enc_linear_color_format" value="3"/> |
||||
<property name="vidc_perf_control_enable" value="1"/> |
||||
</configs> |
@ -1,4 +1,6 @@ |
||||
p2p_disabled=1 |
||||
update_config=1 |
||||
pmf=1 |
||||
tdls_external_control=1 |
||||
tdls_external_control=1 |
||||
#PMK Lifetime value 259200 = 72 hours |
||||
dot11RSNAConfigPMKLifetime=259200 |
||||
|
@ -1,10 +0,0 @@ |
||||
cc_library_static { |
||||
name: "libudfps_extension.sm7125", |
||||
srcs: ["UdfpsExtension.cpp"], |
||||
include_dirs: [ |
||||
"frameworks/native/services/surfaceflinger/CompositionEngine/include" |
||||
], |
||||
header_libs: [ |
||||
"generated_kernel_headers", |
||||
], |
||||
} |
@ -1,33 +0,0 @@ |
||||
/*
|
||||
* Copyright (C) 2022 The LineageOS Project |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You 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. |
||||
*/ |
||||
|
||||
#include <compositionengine/UdfpsExtension.h> |
||||
#include <drm/sde_drm.h> |
||||
|
||||
uint32_t getUdfpsZOrder(uint32_t z, bool touched) { |
||||
if (touched) { |
||||
z |= FOD_PRESSED_LAYER_ZORDER; |
||||
} |
||||
|
||||
return z; |
||||
} |
||||
|
||||
uint64_t getUdfpsUsageBits(uint64_t usageBits, bool touched) { |
||||
if (touched) { |
||||
usageBits |= 0x400000000LL; |
||||
} |
||||
return usageBits; |
||||
} |
@ -0,0 +1,116 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<!-- |
||||
SPDX-FileCopyrightText: 2023 The LineageOS Project |
||||
SPDX-License-Identifier: Apache-2.0 |
||||
--> |
||||
<adaptive-icon |
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"> |
||||
<background> |
||||
<!-- |
||||
Base |
||||
--> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="#ff2A3232" android:pathData="M0,0h108v108h-108z" /> |
||||
</vector> |
||||
</background> |
||||
<foreground> |
||||
<layer-list> |
||||
<item> |
||||
<!-- |
||||
Hour hand |
||||
--> |
||||
<rotate android:fromDegrees="300.0" android:toDegrees="5300.0" android:pivotX="50.0%" android:pivotY="50.0%"> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="@android:color/white" android:pathData="M54.0001 32C53.4338 32 52.9609 32.4318 52.9096 32.9959L51.2717 51.0123C51.2697 51.0348 51.2679 51.0572 51.2664 51.0796C51.319 51.0305 51.3731 50.9825 51.4289 50.9358C52.9967 49.6202 55.2776 49.7129 56.7338 51.0794C56.7323 51.0571 56.7306 51.0347 56.7285 51.0123L55.0907 32.9959C55.0394 32.4318 54.5665 32 54.0001 32Z" /> |
||||
<path android:fillColor="#FF98A7A7" android:pathData="M56 54C56 55.1046 55.1046 56 54 56C52.8954 56 52 55.1046 52 54C52 52.8954 52.8954 52 54 52C55.1046 52 56 52.8954 56 54Z" /> |
||||
</vector> |
||||
</rotate> |
||||
</item> |
||||
<item> |
||||
<!-- |
||||
Minute hand |
||||
--> |
||||
<rotate android:fromDegrees="60.0" android:toDegrees="60060.0" android:pivotX="50.0%" android:pivotY="50.0%"> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="@android:color/white" android:pathData="M54 25.9996C53.4365 25.9996 52.9689 26.435 52.9287 26.997L51.2137 51.0072C51.2106 51.0502 51.2085 51.093 51.2074 51.1356C52.6604 49.7155 54.9821 49.6022 56.5712 50.9356C56.648 51.0001 56.7218 51.0668 56.7925 51.1356C56.7914 51.093 56.7893 51.0502 56.7862 51.0072L55.0712 26.997C55.0311 26.435 54.5634 25.9996 54 25.9996Z" /> |
||||
<path android:fillColor="#FF98A7A7" android:pathData="M56 54C56 55.1046 55.1046 56 54 56C52.8954 56 52 55.1046 52 54C52 52.8954 52.8954 52 54 52C55.1046 52 56 52.8954 56 54Z" /> |
||||
</vector> |
||||
</rotate> |
||||
</item> |
||||
<item> |
||||
<!-- |
||||
Second hand |
||||
--> |
||||
<rotate android:fromDegrees="180.0" android:toDegrees="6180.0" android:pivotX="50.0%" android:pivotY="50.0%"> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:strokeColor="#FFFFD250" android:strokeWidth="2" android:strokeLineCap="round" android:pathData="M54 29L54 54" /> |
||||
<path android:fillColor="#FFF09F38" android:pathData="M60 54C60 57.3137 57.3137 60 54 60C50.6863 60 48 57.3137 48 54C48 50.6863 50.6863 48 54 48C57.3137 48 60 50.6863 60 54Z" /> |
||||
</vector> |
||||
</rotate> |
||||
</item> |
||||
<item> |
||||
<!-- |
||||
Finish |
||||
--> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path |
||||
android:pathData="M28.54,28.54m-72,0a72,72 0,1 1,144 0a72,72 0,1 1,-144 0" |
||||
android:fillAlpha="0.6"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:gradientRadius="72" |
||||
android:centerX="28.54" |
||||
android:centerY="28.54" |
||||
android:type="radial"> |
||||
<item android:offset="0" android:color="#19FFFFFF"/> |
||||
<item android:offset="1" android:color="#00FFFFFF"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
</vector> |
||||
</item> |
||||
</layer-list> |
||||
</foreground> |
||||
<monochrome> |
||||
<layer-list> |
||||
<item> |
||||
<!-- |
||||
Hour hand |
||||
--> |
||||
<rotate android:fromDegrees="300.0" android:toDegrees="5300.0" android:pivotX="50.0%" android:pivotY="50.0%"> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="@android:color/white" android:pathData="M53.9998 35C53.4334 35 52.9605 35.4318 52.9092 35.9959L52.0718 45.2071C53.3459 44.9289 54.6633 44.9322 55.9278 45.2085L55.0903 35.9959C55.039 35.4318 54.5661 35 53.9998 35Z" /> |
||||
</vector> |
||||
</rotate> |
||||
</item> |
||||
<item> |
||||
<!-- |
||||
Minute hand |
||||
--> |
||||
<rotate android:fromDegrees="60.0" android:toDegrees="60060.0" android:pivotX="50.0%" android:pivotY="50.0%"> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="@android:color/white" android:pathData="M54.0002 29.0002C53.4368 29.0002 52.9691 29.4356 52.929 29.9976L51.8386 45.2629C53.2509 44.9147 54.7373 44.9103 56.1617 45.2615L55.0714 29.9976C55.0313 29.4356 54.5636 29.0002 54.0002 29.0002Z" /> |
||||
</vector> |
||||
</rotate> |
||||
</item> |
||||
<item> |
||||
<!-- |
||||
Second hand |
||||
--> |
||||
<rotate android:fromDegrees="180.0" android:toDegrees="6180.0" android:pivotX="50.0%" android:pivotY="50.0%"> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="@android:color/white" android:pathData="M53 45.0552C53.3283 45.0189 53.662 45.0002 54 45.0002C54.338 45.0002 54.6717 45.0189 55 45.0552L55 32.0002C55 31.448 54.5523 31.0002 54 31.0002C53.4477 31.0002 53 31.448 53 32.0002L53 45.0552Z" /> |
||||
</vector> |
||||
</rotate> |
||||
</item> |
||||
<item> |
||||
<!-- |
||||
Center |
||||
--> |
||||
<vector android:height="108.0dp" android:width="108.0dp" android:viewportWidth="108.0" android:viewportHeight="108.0"> |
||||
<path android:fillColor="@android:color/white" android:pathData="M60 54C60 57.3137 57.3137 60 54 60C50.6863 60 48 57.3137 48 54C48 50.6863 50.6863 48 54 48C57.3137 48 60 50.6863 60 54Z" /> |
||||
</vector> |
||||
</item> |
||||
</layer-list> |
||||
</monochrome> |
||||
</adaptive-icon> |
@ -1,8 +0,0 @@ |
||||
type audio_parameter_service, domain, coredomain; |
||||
type audio_parameter_service_exec, system_file_type, exec_type, file_type; |
||||
|
||||
init_daemon_domain(audio_parameter_service) |
||||
|
||||
hal_client_domain(audio_parameter_service, hal_audio) |
||||
|
||||
set_prop(audio_parameter_service, vendor_call_prop) |
@ -1 +0,0 @@ |
||||
/(system_ext|system/system_ext)/bin/audio_parameter_service.samsung_sm7125 u:object_r:audio_parameter_service_exec:s0 |
@ -1 +0,0 @@ |
||||
system_public_prop(vendor_call_prop) |
@ -0,0 +1 @@ |
||||
allow charger_vendor sysfs_battery:file r_file_perms; |
@ -0,0 +1,13 @@ |
||||
# sehradiomanager.te |
||||
|
||||
type sehradiomanager, domain; |
||||
type sehradiomanager_exec, exec_type, file_type, vendor_file_type; |
||||
|
||||
init_daemon_domain(sehradiomanager) |
||||
|
||||
get_prop(sehradiomanager, vendor_radio_prop) |
||||
get_prop(sehradiomanager, hwservicemanager_prop) |
||||
binder_call(sehradiomanager, hwservicemanager) |
||||
binder_call(sehradiomanager, servicemanager) |
||||
binder_call(servicemanager, sehradiomanager) |
||||
hal_client_domain(sehradiomanager, hal_telephony) |
@ -0,0 +1,14 @@ |
||||
vendor.samsung.hardware.radio.bridge.ISehRadioBridge/slot1 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.bridge.ISehRadioBridge/slot2 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.channel.ISehRadioChannel/epdgd u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.channel.ISehRadioChannel/epdgd2 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.channel.ISehRadioChannel/imsd u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.channel.ISehRadioChannel/imsd2 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.data.ISehRadioData/slot1 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.data.ISehRadioData/slot2 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.messaging.ISehRadioMessaging/slot1 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.messaging.ISehRadioMessaging/slot2 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.network.ISehRadioNetwork/slot1 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.network.ISehRadioNetwork/slot2 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.sim.ISehRadioSim/slot1 u:object_r:hal_radio_service:s0 |
||||
vendor.samsung.hardware.radio.sim.ISehRadioSim/slot2 u:object_r:hal_radio_service:s0 |
Loading…
Reference in new issue