media: imx-pxp: add i.MX Pixel Pipeline driver
Add a V4L2 mem-to-mem scaler/CSC driver for the Pixel Pipeline (PXP) version found on i.MX6ULL SoCs. A similar variant is used on i.MX7D. Since this driver only uses the legacy pipeline, it should be reasonably easy to extend it to work with the older PXP versions found on i.MX6UL, i.MX6SX, i.MX6SL, i.MX28, and i.MX23. The driver supports scaling and colorspace conversion. There is currently no support for rotation, alpha-blending, and the LUTs. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Родитель
b0c351b55b
Коммит
51abcf7fdb
|
@ -181,6 +181,15 @@ config VIDEO_CODA
|
||||||
config VIDEO_IMX_VDOA
|
config VIDEO_IMX_VDOA
|
||||||
def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
|
def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
|
||||||
|
|
||||||
|
config VIDEO_IMX_PXP
|
||||||
|
tristate "i.MX Pixel Pipeline (PXP)"
|
||||||
|
depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
|
||||||
|
select VIDEOBUF2_DMA_CONTIG
|
||||||
|
select V4L2_MEM2MEM_DEV
|
||||||
|
help
|
||||||
|
The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
|
||||||
|
color space conversion, and rotation.
|
||||||
|
|
||||||
config VIDEO_MEDIATEK_JPEG
|
config VIDEO_MEDIATEK_JPEG
|
||||||
tristate "Mediatek JPEG Codec driver"
|
tristate "Mediatek JPEG Codec driver"
|
||||||
depends on MTK_IOMMU_V1 || COMPILE_TEST
|
depends on MTK_IOMMU_V1 || COMPILE_TEST
|
||||||
|
|
|
@ -25,6 +25,8 @@ obj-$(CONFIG_VIDEO_TI_CAL) += ti-vpe/
|
||||||
obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o
|
obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o
|
||||||
obj-$(CONFIG_VIDEO_CODA) += coda/
|
obj-$(CONFIG_VIDEO_CODA) += coda/
|
||||||
|
|
||||||
|
obj-$(CONFIG_VIDEO_IMX_PXP) += imx-pxp.o
|
||||||
|
|
||||||
obj-$(CONFIG_VIDEO_SH_VEU) += sh_veu.o
|
obj-$(CONFIG_VIDEO_SH_VEU) += sh_veu.o
|
||||||
|
|
||||||
obj-$(CONFIG_CEC_GPIO) += cec-gpio/
|
obj-$(CONFIG_CEC_GPIO) += cec-gpio/
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче