]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPC: Update Accumulator configuration for chroma plane
authorChandrabhanu Mahapatra <cmahapatra@ti.com>
Tue, 15 May 2012 06:52:34 +0000 (12:22 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 May 2012 10:51:56 +0000 (13:51 +0300)
commit44127459a0daa9f12f3b16880219721be99e31b7
tree1f7248a3ea593ff33ea96dec723e5565e776c85a
parent272a51ca31f954abf42c6719cb03cf692895d31e
OMAPDSS: DISPC: Update Accumulator configuration for chroma plane

DISPC has two accumulator registers DISPC_VIDp_ACCU_0 and DISPC_VIDp_ACCU_1 each
with horizontal and vertical bit fields. The bit fields can take values in the
range of -1024 to 1023. Based on bit field values DISPC decides on which one out
of 8 phases the filtering starts. DISPC_VIDp_ACCU_0 is used for progressive
output and for interlaced output both DISPC_VIDp_ACCU_0 and DISPC_VIDp_ACCU_1
are used.

The current accumulator values in DISPC scaling logic for chroma plane takes
default values for all color modes and rotation types. So, the horizontal and
vertical up and downsampling accumulator bit field values have been updated for
better performance.

Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c