]> 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)
commit13b8ae4873af7fd9518041374b3e4359a842ad57
tree1f7248a3ea593ff33ea96dec723e5565e776c85a
parente14300e05a3da89a7fe21acc2b6ef47f8db095c5
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