Revert "sm8250-common: remove OMX"
- Re-imported from HyperOS Alioth 1.0.3.0.TKHMIXM
This commit is contained in:
21
proprietary/vendor/etc/seccomp_policy/mediacodec.policy
vendored
Normal file
21
proprietary/vendor/etc/seccomp_policy/mediacodec.policy
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# device specific syscalls
|
||||
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
|
||||
pselect6: 1
|
||||
eventfd2: 1
|
||||
sendto: 1
|
||||
recvfrom: 1
|
||||
_llseek: 1
|
||||
sysinfo: 1
|
||||
getcwd: 1
|
||||
getdents64: 1
|
||||
ARM_cacheflush: 1
|
||||
inotify_init1: 1
|
||||
inotify_add_watch: 1
|
||||
inotify_rm_watch: 1
|
||||
uname: 1
|
||||
ueventd: 1
|
||||
timer_create: 1
|
||||
timer_settime: 1
|
||||
rt_sigtimedwait: 1
|
||||
readlink: 1
|
||||
open: 1
|
||||
50
proprietary/vendor/etc/system_properties.xml
vendored
Normal file
50
proprietary/vendor/etc/system_properties.xml
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
Copyright (c) 2019-2020, 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_enc_log_in" value="0"/>
|
||||
<property name="vidc_enc_log_out" value="0"/>
|
||||
<property name="vidc_enc_csc_custom_matrix" value="0"/>
|
||||
<property name="vidc_perf_control_enable" value="0"/>
|
||||
<!-- Bitmask for linear color: 1: 8-bit, 2: 10-bit -->
|
||||
<property name="vidc_enc_linear_color_format" value="0"/>
|
||||
<!-- Buffer size : internal : 200 MB (200 X 1), output : 200 MB (12.5 X 16) -->
|
||||
<property name="vidc_dec_sec_prefetch_size_internal" value="209715200"/>
|
||||
<property name="vidc_dec_sec_prefetch_size_output" value="13434880"/>
|
||||
<!-- Enable CAC control: 0x0: disabled, 0x1:enabled for 8 bit, 0x2:enabled for 10 bit, 0x3:enabled for 8 and 10 bits both -->
|
||||
<property name="vidc_enc_bitrate_savings_enable" value="3"/>
|
||||
<property name="vidc_enc_auto_blur_disable" value="0"/>
|
||||
<property name="vidc_enc_auto_dynamic_fps_enable" value="1"/>
|
||||
<!-- Bitmask 0: RGB565 1: YUV420P 8-bit, 2: YUV420P 10-bit, 3: YUV420p 8&10 bit -->
|
||||
<property name="vidc_dec_thumbnail_yuv_output" value="0"/>
|
||||
<property name="vidc_enc_quality_boost_enable" value="1"/>
|
||||
<property name="vidc_dec_output_rate" value="120"/>
|
||||
</configs>
|
||||
Reference in New Issue
Block a user