]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit517dbce2b855ea98695bdacaccd8fc3116e389ec
tree96aac3e4398dfe55d25c6cff69fa34dbf4bc7102
parent17cdb1eb60b03e5098feb56b2ffd2a414792e023
[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