diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-19 18:40:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-21 16:25:14 -0400 |
commit | bcb4e0efd1380d93866df51ec5d8dfaa026537ad (patch) | |
tree | dc52f14b55b69cea7d8eb283edd9e48d2e9df768 /drivers/media/platform/omap3isp/ispreg.h | |
parent | 9a36d8ed33c481a99f69f8a2eeb22e3c7750e522 (diff) |
[media] omap3isp: ccdc: Support the interlaced field orders at the CCDC output
The CCDC can interleave fields into a single buffer when writing to
memory. Support it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Enrico Butera <ebutera@users.sourceforge.net>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispreg.h')
-rw-r--r-- | drivers/media/platform/omap3isp/ispreg.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/media/platform/omap3isp/ispreg.h b/drivers/media/platform/omap3isp/ispreg.h index f37a8df23cf6..b5ea8da0b904 100644 --- a/drivers/media/platform/omap3isp/ispreg.h +++ b/drivers/media/platform/omap3isp/ispreg.h | |||
@@ -730,17 +730,13 @@ | |||
730 | 730 | ||
731 | #define ISPCCDC_HSIZE_OFF_SHIFT 0 | 731 | #define ISPCCDC_HSIZE_OFF_SHIFT 0 |
732 | 732 | ||
733 | #define ISPCCDC_SDOFST_FINV (1 << 14) | 733 | #define ISPCCDC_SDOFST_FIINV (1 << 14) |
734 | #define ISPCCDC_SDOFST_FOFST_1L 0 | 734 | #define ISPCCDC_SDOFST_FOFST_SHIFT 12 |
735 | #define ISPCCDC_SDOFST_FOFST_4L (3 << 12) | 735 | #define ISPCCDC_SDOFST_FOFST_MASK (3 << 12) |
736 | #define ISPCCDC_SDOFST_LOFST3_SHIFT 0 | 736 | #define ISPCCDC_SDOFST_LOFST3_SHIFT 0 |
737 | #define ISPCCDC_SDOFST_LOFST2_SHIFT 3 | 737 | #define ISPCCDC_SDOFST_LOFST2_SHIFT 3 |
738 | #define ISPCCDC_SDOFST_LOFST1_SHIFT 6 | 738 | #define ISPCCDC_SDOFST_LOFST1_SHIFT 6 |
739 | #define ISPCCDC_SDOFST_LOFST0_SHIFT 9 | 739 | #define ISPCCDC_SDOFST_LOFST0_SHIFT 9 |
740 | #define EVENEVEN 1 | ||
741 | #define ODDEVEN 2 | ||
742 | #define EVENODD 3 | ||
743 | #define ODDODD 4 | ||
744 | 740 | ||
745 | #define ISPCCDC_CLAMP_OBGAIN_SHIFT 0 | 741 | #define ISPCCDC_CLAMP_OBGAIN_SHIFT 0 |
746 | #define ISPCCDC_CLAMP_OBST_SHIFT 10 | 742 | #define ISPCCDC_CLAMP_OBST_SHIFT 10 |