diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-03-17 11:28:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-04 06:32:52 -0400 |
commit | 3830e4f2a907cab76464338d8ebfa943ab248d2e (patch) | |
tree | c176012a4577418284116ce8c64ce5ceb90a4dac /drivers/staging/media/imx | |
parent | f072c44f36590bf2f34a5d18209811de7060967f (diff) | |
download | linux-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