[media] coda: add macroblock tiling support
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 16 Jul 2015 16:19:38 +0000 (13:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:28:59 +0000 (11:28 -0300)
commita269e53b1aa87157311e53e5b69699ba8f3ba4d0
tree96aac3e4398dfe55d25c6cff69fa34dbf4bc7102
parent4e447ff199cfc4bc04ddb515d3d9ab46bb19530a
[media] coda: add macroblock tiling support

Storing internal frames in macroblock tiled order improves memory
access patterns by allowing increased burst sizes when transferring
the uncompressed macroblocks to or from main memory.
The translation logic only supports a single chroma base address,
so this is only supported for the chroma interleaved NV12 format.

Since the rotator used to copy the decoder output into the v4l2
capture buffers does not seem to support the tiled format correctly,
only enable it in the encoder for now.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/Makefile
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda-common.c
drivers/media/platform/coda/coda-gdi.c [new file with mode: 0644]
drivers/media/platform/coda/coda.h
drivers/media/platform/coda/coda_regs.h
This page took 0.025833 seconds and 5 git commands to generate.