代码拉取完成,页面将自动刷新
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 The TenonOS Authors
#
# 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.
################################################################################
# Library registration
################################################################################
$(eval $(call addlib_s,libyuv,$(CONFIG_LIBYUV)))
################################################################################
# Sources
################################################################################
LIBYUV_COMMIT=772bddaed79860d05f5d3b5ade09ec251b8cbbdb
LIBYUV_URL=https://chromium.googlesource.com/libyuv/libyuv/+archive/$(LIBYUV_COMMIT).tar.gz
ifeq ($(CONFIG_LIBYUV),y)
$(eval $(call fetch,libyuv,$(LIBYUV_URL)))
endif
################################################################################
# Helpers
################################################################################
LIBYUV_SRC = $(LIBYUV_ORIGIN)
################################################################################
# Library includes
################################################################################
CINCLUDES-$(CONFIG_LIBYUV) += -I$(LIBYUV_SRC)/include
CXXINCLUDES-$(CONFIG_LIBYUV) += -I$(LIBYUV_SRC)/include
################################################################################
# Global flags
################################################################################
GCC_INSTALLDIR_FLAGS := -idirafter $(shell LC_ALL=C $(CC) -v 2>&1 | \
$(SED) -e '/^COLLECT_LTO_WRAPPER=\(.*\)\/lto-wrapper/!d' -e 's//\1/')/include
ifdef CONFIG_ARCH_X86_64
LIBYUV_CFLAGS-$(CONFIG_ARCH_X86_64) += $(GCC_INSTALLDIR_FLAGS)
LIBYUV_CXXFLAGS-$(CONFIG_ARCH_X86_64) += $(GCC_INSTALLDIR_FLAGS)
endif
ifdef CONFIG_ARCH_ARM_64
LIBYUV_CFLAGS-$(CONFIG_ARCH_ARM_64) += $(GCC_INSTALLDIR_FLAGS)
LIBYUV_CXXFLAGS-$(CONFIG_ARCH_ARM_64) += $(GCC_INSTALLDIR_FLAGS)
endif
################################################################################
# Library sources
################################################################################
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_neon64.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert_to_i420.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_lsx.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_neon.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_win.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_rgb.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_msa.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_common.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert_from.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/mjpeg_validate.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/mjpeg_decoder.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_lsx.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_neon.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert_argb.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_msa.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_argb.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert_from_argb.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_uv.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare_gcc.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare_common.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_msa.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_any.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_common.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_win.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_gcc.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare_win.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_neon64.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/cpu_id.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert_jpeg.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_lsx.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_any.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/planar_functions.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_argb.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_neon64.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare_neon64.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_common.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_rvv.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_any.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_neon.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare_msa.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare_neon.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_rvv.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/scale_win.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/convert_to_argb.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/rotate_gcc.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/compare.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_gcc.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/video_common.cc
LIBYUV_SRCS-y += $(LIBYUV_SRC)/source/row_lasx.cc
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。