]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: Use output buffer width and height for H264 decoding
authorJonas Karlman <jonas@kwiboo.se>
Wed, 6 Nov 2019 22:34:22 +0000 (23:34 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 10 Nov 2019 16:58:45 +0000 (17:58 +0100)
commite310f1817ea619976c801fbb033337e4123f5164
tree2fa22166f323240c7536da50d68bd712d0a85bd3
parente6bd7e5606be96645ae6e2f800c3e02b1b403960
media: hantro: Use output buffer width and height for H264 decoding

Calculations for motion vector buffer offset is based on width and height
from the configured output format, lets use the same values for macroblock
width and height hw regs.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_g1_h264_dec.c