diff options
| author | Steve Longerbeam <slongerbeam@gmail.com> | 2016-08-17 20:50:16 -0400 |
|---|---|---|
| committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-08-29 10:30:11 -0400 |
| commit | 2d2ead4530771de0c5f2f7f0a7924deb045c4cce (patch) | |
| tree | 8ed28496b6ba9aeb4456b25571e6db49c684b0e5 /include/video | |
| parent | a40e65b76430a6ce0bb22ed8327c56dd5044a4a3 (diff) | |
gpu: ipu-v3: Add Video Deinterlacer unit
Adds the Video Deinterlacer (VDIC) unit.
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/video')
| -rw-r--r-- | include/video/imx-ipu-v3.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/video/imx-ipu-v3.h b/include/video/imx-ipu-v3.h index c3de7406474b..335d42e250a9 100644 --- a/include/video/imx-ipu-v3.h +++ b/include/video/imx-ipu-v3.h | |||
| @@ -80,6 +80,16 @@ enum ipu_color_space { | |||
| 80 | IPUV3_COLORSPACE_UNKNOWN, | 80 | IPUV3_COLORSPACE_UNKNOWN, |
| 81 | }; | 81 | }; |
| 82 | 82 | ||
| 83 | /* | ||
| 84 | * Enumeration of VDI MOTION select | ||
| 85 | */ | ||
| 86 | enum ipu_motion_sel { | ||
| 87 | MOTION_NONE = 0, | ||
| 88 | LOW_MOTION, | ||
| 89 | MED_MOTION, | ||
| 90 | HIGH_MOTION, | ||
| 91 | }; | ||
| 92 | |||
| 83 | struct ipuv3_channel; | 93 | struct ipuv3_channel; |
| 84 | 94 | ||
| 85 | enum ipu_channel_irq { | 95 | enum ipu_channel_irq { |
| @@ -335,6 +345,19 @@ void ipu_ic_put(struct ipu_ic *ic); | |||
| 335 | void ipu_ic_dump(struct ipu_ic *ic); | 345 | void ipu_ic_dump(struct ipu_ic *ic); |
| 336 | 346 | ||
| 337 | /* | 347 | /* |
| 348 | * IPU Video De-Interlacer (vdi) functions | ||
| 349 | */ | ||
| 350 | struct ipu_vdi; | ||
| 351 | void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field); | ||
| 352 | void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel); | ||
| 353 | void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres); | ||
| 354 | void ipu_vdi_unsetup(struct ipu_vdi *vdi); | ||
| 355 | int ipu_vdi_enable(struct ipu_vdi *vdi); | ||
| 356 | int ipu_vdi_disable(struct ipu_vdi *vdi); | ||
| 357 | struct ipu_vdi *ipu_vdi_get(struct ipu_soc *ipu); | ||
| 358 | void ipu_vdi_put(struct ipu_vdi *vdi); | ||
| 359 | |||
| 360 | /* | ||
| 338 | * IPU Sensor Multiple FIFO Controller (SMFC) functions | 361 | * IPU Sensor Multiple FIFO Controller (SMFC) functions |
| 339 | */ | 362 | */ |
| 340 | struct ipu_smfc *ipu_smfc_get(struct ipu_soc *ipu, unsigned int chno); | 363 | struct ipu_smfc *ipu_smfc_get(struct ipu_soc *ipu, unsigned int chno); |
