]> git.karo-electronics.de Git - linux-beck.git/commit
[media] coda: increase frame stride to 16 for h.264
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 11 Jul 2014 09:36:39 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 15:13:08 +0000 (12:13 -0300)
commit451dfe5d85cc5f5c6cb196dc9ebae4458a59dc21
treeaacd99ef7f8a878090a255ac3d3110baac0e91a7
parent7c3df78953ca62c0713eae3d6b7cbc55b58cd9d5
[media] coda: increase frame stride to 16 for h.264

When encoding into h.264, the input frame stride needs to be a multiple of 16.
During allocation of the input buffers, it may not be known yet whether the
encoder should create h.264 or not. Assume the worst and always use a frame
stride that is a multiple of 16.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c