]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: use correct offset for mpeg4 decoder mvcol buffer
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 7 Dec 2017 14:59:51 +0000 (09:59 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 20:00:16 +0000 (15:00 -0500)
commitadb2ea7164aed369303617cde618f9770013b97c
tree840a8fb9325b988d5d5b358560b8304027017bdd
parent4b9ff530ff10e7a35c011674e9a56f8bf4158510
media: coda: use correct offset for mpeg4 decoder mvcol buffer

The mvcol buffer needs to be placed behind the chroma plane(s) when
decoding MPEG-4, same as for the h.264 decoder. Use the real offset
with the required rounding.

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@s-opensource.com>
drivers/media/platform/coda/coda-bit.c