xref: /OK3568_Linux_fs/kernel/Documentation/admin-guide/media/rcar-fdp1.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRenesas R-Car Fine Display Processor (FDP1) Driver
4*4882a593Smuzhiyun==================================================
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe R-Car FDP1 driver implements driver-specific controls as follows.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun``V4L2_CID_DEINTERLACING_MODE (menu)``
9*4882a593Smuzhiyun    The video deinterlacing mode (such as Bob, Weave, ...). The R-Car FDP1
10*4882a593Smuzhiyun    driver implements the following modes.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun.. flat-table::
13*4882a593Smuzhiyun    :header-rows:  0
14*4882a593Smuzhiyun    :stub-columns: 0
15*4882a593Smuzhiyun    :widths:       1 4
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun    * - ``"Progressive" (0)``
18*4882a593Smuzhiyun      - The input image video stream is progressive (not interlaced). No
19*4882a593Smuzhiyun        deinterlacing is performed. Apart from (optional) format and encoding
20*4882a593Smuzhiyun        conversion output frames are identical to the input frames.
21*4882a593Smuzhiyun    * - ``"Adaptive 2D/3D" (1)``
22*4882a593Smuzhiyun      - Motion adaptive version of 2D and 3D deinterlacing. Use 3D deinterlacing
23*4882a593Smuzhiyun        in the presence of fast motion and 2D deinterlacing with diagonal
24*4882a593Smuzhiyun        interpolation otherwise.
25*4882a593Smuzhiyun    * - ``"Fixed 2D" (2)``
26*4882a593Smuzhiyun      - The current field is scaled vertically by averaging adjacent lines to
27*4882a593Smuzhiyun        recover missing lines. This method is also known as blending or Line
28*4882a593Smuzhiyun        Averaging (LAV).
29*4882a593Smuzhiyun    * - ``"Fixed 3D" (3)``
30*4882a593Smuzhiyun      - The previous and next fields are averaged to recover lines missing from
31*4882a593Smuzhiyun        the current field. This method is also known as Field Averaging (FAV).
32*4882a593Smuzhiyun    * - ``"Previous field" (4)``
33*4882a593Smuzhiyun      - The current field is weaved with the previous field, i.e. the previous
34*4882a593Smuzhiyun        field is used to fill missing lines from the current field. This method
35*4882a593Smuzhiyun        is also known as weave deinterlacing.
36*4882a593Smuzhiyun    * - ``"Next field" (5)``
37*4882a593Smuzhiyun      - The current field is weaved with the next field, i.e. the next field is
38*4882a593Smuzhiyun        used to fill missing lines from the current field. This method is also
39*4882a593Smuzhiyun        known as weave deinterlacing.
40