OSDN Git Service

media: mtk-vcodec: Align width and height to 64 bytes
authorYunfei Dong <yunfei.dong@mediatek.com>
Thu, 4 Nov 2021 12:24:26 +0000 (12:24 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:12:04 +0000 (08:12 +0000)
commitb5150b6ec1cf45c2f499b501b6622a562437ee37
tree36d63613c7a8d265d008130a1cf3d8e5ac97286f
parentcd9d9377ed235b294a492a094e1666178a5e78fd
media: mtk-vcodec: Align width and height to 64 bytes

Width and height need to 64 bytes aligned when setting the format.
Need to make sure all is 64 bytes align when use width and height to
calculate buffer size.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Tested-by: Steve Cho <stevecho@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h
drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c