brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · bc82922 Raw
37 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config VIDEO_MEDIATEK_VCODEC_SCP3	bool4 5config VIDEO_MEDIATEK_VCODEC_VPU6	bool7 8config VIDEO_MEDIATEK_VCODEC9	tristate "Mediatek Video Codec driver"10	depends on V4L_MEM2MEM_DRIVERS11	depends on MTK_IOMMU || COMPILE_TEST12	depends on VIDEO_DEV13	depends on ARCH_MEDIATEK || COMPILE_TEST14	depends on VIDEO_MEDIATEK_VPU || MTK_SCP15	# The two following lines ensure we have the same state ("m" or "y") as16	# our dependencies, to avoid missing symbols during link.17	depends on VIDEO_MEDIATEK_VPU || !VIDEO_MEDIATEK_VPU18	depends on MTK_SCP || !MTK_SCP19	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)20	select VIDEOBUF2_DMA_CONTIG21	select V4L2_MEM2MEM_DEV22	select VIDEO_MEDIATEK_VCODEC_VPU if VIDEO_MEDIATEK_VPU23	select VIDEO_MEDIATEK_VCODEC_SCP if MTK_SCP24	select V4L2_H26425	select V4L2_VP926	select MEDIA_CONTROLLER27	help28	  Mediatek video codec driver provides HW capability to29	  encode and decode in a range of video formats on MT817330	  and MT8183.31 32	  Note that support for MT8173 requires VIDEO_MEDIATEK_VPU to33	  also be selected. Support for MT8183 depends on MTK_SCP.34 35	  To compile this driver as modules, choose M here: the36	  modules will be called mtk-vcodec-dec and mtk-vcodec-enc.37