summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/imx
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-03-17 11:28:13 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-04 06:32:52 -0400
commit3830e4f2a907cab76464338d8ebfa943ab248d2e (patch)
treec176012a4577418284116ce8c64ce5ceb90a4dac /drivers/staging/media/imx
parentf072c44f36590bf2f34a5d18209811de7060967f (diff)
downloadlinux-3830e4f2a907cab76464338d8ebfa943ab248d2e.tar.gz
linux-3830e4f2a907cab76464338d8ebfa943ab248d2e.tar.bz2
linux-3830e4f2a907cab76464338d8ebfa943ab248d2e.zip
media: staging: tegra-vde: Correct minimum size of U/V planes
Stride of U/V planes must be aligned to 16 bytes (2 macroblocks). This needs to be taken into account, otherwise it is possible to get a silent memory corruption if dmabuf size is less than the size of decoded video frame. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx')
0 files changed, 0 insertions, 0 deletions