media: platform: mtk-vcodec-mt8167: fix decoder v4l2 framesize alignment

MTK VPU supports h264 microblock size of 16, however, the driver
wrongfully aligns the v4l2 VIDIOC_S_FMT to 64, causing the mismatch
between the internal buffer size and the v4l2 framesize. For example,
qHD (960x540) video would have the buffer in 960x544 while the v4l2
framesize is set as 960x576.

Realign the size with the microblock size.

Bug: 174737545
Change-Id: I44e92fbae4dd49fcbbd920cee11e9cbd379551db
1 file changed