vmh264: fix bug of cropping. [1/1]
authormiaohong chen <miaohong.chen@amlogic.com>
Wed, 15 Jul 2020 12:48:37 +0000 (20:48 +0800)
committermiaohong chen <miaohong.chen@amlogic.com>
Tue, 21 Jul 2020 05:40:13 +0000 (13:40 +0800)
commit1c82cfdb17e49a033c50da061786d241d3e6e5ff
tree80089b11ce7e7e06c43a4f02d6b0bdee1fd1f948
parent27ca6de74aab958482dea3eaf4718b93356c2977
vmh264: fix bug of cropping. [1/1]

PD#SWPL-29563

Problem:
A register uses 32 bits to store
four crop offset syntax parameters,
resulting in the loss of high bits when passed to the driver.

Solution:
Use rpm memory to pass crop offset parameters.

ucode gerrit : 117325
ucode commit id: 18db008

Verify:
u212

Change-Id: I854ba3da073e63150fa1216ce775dff87399cff4
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
drivers/frame_provider/decoder/h264_multi/h264_dpb.h
drivers/frame_provider/decoder/h264_multi/vmh264.c
firmware/video_ucode.bin