vmh264: fixed the calc of visiable size. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Tue, 26 May 2020 14:06:27 +0000 (22:06 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Thu, 28 May 2020 03:12:07 +0000 (20:12 -0700)
commita1ce75ba81641dfbaffd42c9ed333c6a69be8ca1
tree2b504974bb6fb0e631cead338d633c945fca8614
parent6c27635450014c78a9da7fbbabd5b25546122806
vmh264: fixed the calc of visiable size. [1/1]

PD#SH-4315

Problem:
returned wrong video size when using V4L2_SEL_TGT_COMPOSE inerface

Solution:
the visiable size calc need to considering the crop.

Verify:
u212

Change-Id: Iae4c22028f4fb981d6454f2cfd10f999679fef7a
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c