The purpose of this page is to describe the Linux V4L2 driver for Xilinx Chroma resampler(CRESAMPLE) soft IP.

Overview

The Linux CRESAMPLE driver (xilinx-cresample.c) based on the V4L2 framework creates a subdev node(/dev/v4l-subdev*) which can be used to configure the CRESAMPLE IP core. The general description of V4L2 framework is documented here, v4l2-framework.txt.

Linux Kernel defconfig

CONFIG_VIDEO_XILINX_CRESAMPLE and CONFIG_VIDEO_XILINX should be enabled.

Device tree binding

The dts node should be defined with correct hardware configuration. How to define the node is documented here, xlnx,axi-cresample.txt.

Supporting features

Following CRESAMPLE features are supported including:
  • Converting YUV444 / YUV422 / YUV420 into YUV422 / YUV420 format using predefined coefficients
  • Configuring field or chroma parity

Work to be done

  • Support to program coefficients

Related Links