168 lines
4.3 KiB
Plaintext
Executable File
168 lines
4.3 KiB
Plaintext
Executable File
// Copyright (C) 2008 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.
|
|
|
|
// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
|
|
// CONSULT THE OWNERS AND [email protected] BEFORE
|
|
// DEPENDING ON IT IN YOUR PROJECT. ***
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_amlogic_hwcomposer_license"
|
|
// to get the below license kinds:
|
|
// legacy_by_exception_only (by exception only)
|
|
// legacy_proprietary (by exception only)
|
|
default_applicable_licenses: ["hardware_amlogic_hwcomposer_license"],
|
|
}
|
|
|
|
soong_config_module_type {
|
|
name: "meson_common_postprocessor_defaults",
|
|
module_type: "cc_defaults",
|
|
config_namespace: "meson_hwc",
|
|
|
|
bool_variables: [
|
|
"enable_keystone_correction",
|
|
"support_dmabuf_import",
|
|
"enable_video_aisr",
|
|
"enable_video_aipq",
|
|
"enable_video_aiface",
|
|
"enable_video_aicolor",
|
|
"enable_video_di",
|
|
],
|
|
|
|
properties: [
|
|
"srcs",
|
|
"shared_libs",
|
|
"cflags",
|
|
"header_libs",
|
|
"export_include_dirs",
|
|
],
|
|
}
|
|
|
|
|
|
meson_common_postprocessor_defaults {
|
|
name: "mesondisplay_postprocessor_defaults",
|
|
vendor: true,
|
|
|
|
soong_config_variables: {
|
|
enable_keystone_correction: {
|
|
srcs: [
|
|
"fbprocessor/KeystoneProcessor.cpp",
|
|
],
|
|
},
|
|
|
|
support_dmabuf_import: {
|
|
cflags: ["-DSUPPORT_DMABUF_IMPORT"],
|
|
},
|
|
|
|
enable_video_aisr: {
|
|
srcs: [
|
|
"nnprocess/NnProcessor.cpp",
|
|
"nnprocess/sr_sdk.c",
|
|
],
|
|
shared_libs: [
|
|
"libion",
|
|
"libui",
|
|
],
|
|
header_libs: [
|
|
"libnnsdk_headers",
|
|
],
|
|
export_include_dirs: [
|
|
"nnprocess",
|
|
]
|
|
},
|
|
enable_video_aipq: {
|
|
srcs: [
|
|
"nnprocess/AipqProcessor.cpp",
|
|
"nnprocess/pq_sdk.c",
|
|
],
|
|
shared_libs: [
|
|
"libion",
|
|
"libui",
|
|
],
|
|
header_libs: [
|
|
"libnnsdk_headers",
|
|
],
|
|
export_include_dirs: [
|
|
"nnprocess",
|
|
]
|
|
},
|
|
enable_video_aiface: {
|
|
srcs: [
|
|
"nnprocess/AiFaceProcessor.cpp",
|
|
"nnprocess/face_sdk.c",
|
|
"nnprocess/face_sdk_postprocess.c",
|
|
|
|
],
|
|
shared_libs: [
|
|
"libion",
|
|
"libui",
|
|
],
|
|
},
|
|
enable_video_aicolor: {
|
|
srcs: [
|
|
"nnprocess/AiColorProcessor.cpp",
|
|
"nnprocess/color_sdk.c",
|
|
|
|
],
|
|
shared_libs: [
|
|
"libion",
|
|
"libui",
|
|
],
|
|
|
|
export_include_dirs: [
|
|
"nnprocess",
|
|
]
|
|
},
|
|
|
|
enable_video_di: {
|
|
srcs: [
|
|
"nnprocess/DiProcessor.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libui",
|
|
],
|
|
export_include_dirs: [
|
|
"nnprocess",
|
|
],
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "mesondisplay.postprocessor_static",
|
|
defaults: [
|
|
"hwcomposer_cc_defaults",
|
|
"mesondisplay_postprocessor_defaults",
|
|
],
|
|
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
"ProcessorsManager.cpp",
|
|
"fbprocessor/FbProcessor.cpp",
|
|
],
|
|
|
|
static_libs: [
|
|
"mesondisplay.common_static",
|
|
"hwc.base_static",
|
|
"hwc.uvm_static",
|
|
"mesondisplay.composition_static",
|
|
],
|
|
|
|
export_include_dirs: [
|
|
"include",
|
|
"fbprocessor",
|
|
],
|
|
}
|