]> git.baikalelectronics.ru Git - kernel.git/commit
media: meson: vdec: align stride on 32 bytes
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 4 Mar 2020 09:46:21 +0000 (10:46 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Mar 2020 21:58:52 +0000 (22:58 +0100)
commitdcc88358ba179bb814f5f7a420f6250d2de70153
treeb469236bea98b3a07326011633cc475929d0435e
parentad094f08ea69604972f39687f212e444521f30b8
media: meson: vdec: align stride on 32 bytes

The HEVC/VP9 aligns the plane stride on 32, so align the planes stride
for all codecs to 32 to satisfy HEVC/VP9 decoding using the "HEVC" HW.

This fixes VP9 decoding of streams with following (not limited) widths:
- 264
 -288
- 350
- 352
- 472
- 480
- 528
- 600
- 720
- 800
- 848
- 1440

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/meson/vdec/vdec.c
drivers/staging/media/meson/vdec/vdec_helpers.c