diff options
author | Amber Jain <amber@ti.com> | 2011-05-19 18:17:54 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-23 09:29:47 +0400 |
commit | 0d66cbb53eca4ab3db85d9189d5a85c9fac49b84 (patch) | |
tree | 7941f147f00df90c7beb7e34b064fea3cb09f564 /include/video/omapdss.h | |
parent | ab5ca071e231e6d6da5f6aa9484a2cd233f7c746 (diff) | |
download | linux-0d66cbb53eca4ab3db85d9189d5a85c9fac49b84.tar.xz |
OMAP: DSS2: Add support for NV12 format
Add the support for NV12 color format.
Configure base address for UV component of NV12 color format.
Change the way chroma scaling is handled for YUV formats on OMAP4 by enabling
chroma-resampling for video pipeline and hence using FIR2 register set for
scaling UV.
Changes to _dispc_set_scaling(), because of the reason above, are:
- call _dispc_set_scaling_common() to handle scaling for all color formats
except for OMAP4 where it only handles scaling for RGB or Y-component
- call _dispc_set_scaling_uv() for special handling required for UV
component on OMAP4.
- dispc_set_scaling_uv() also resets chroma-resampling bit for RGB color modes.
Contains chroma scaling (_dispc_set_scaling_uv) design and implemented by
Lajos Molnar <molnar@ti.com>
Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video/omapdss.h')
-rw-r--r-- | include/video/omapdss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 5658b4b83db8..892b97f8e157 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -305,6 +305,7 @@ struct omap_overlay_info { u32 paddr; void __iomem *vaddr; + u32 p_uv_addr; /* for NV12 format */ u16 screen_width; u16 width; u16 height; |