mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 02:50:06 +08:00
[vepu540]: Fix me regs param cfg issue
Change-Id: I88d32eeb4c3876d268c784d1baa789d7c34a6b50 Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
This commit is contained in:
@@ -1174,11 +1174,12 @@ static void setup_vepu541_me(Vepu541H264eRegSet *regs, H264eSps *sps,
|
||||
|
||||
if (is_vepu540) {
|
||||
RK_S32 w_temp = 1296;
|
||||
RK_S32 h_temp = 4;
|
||||
RK_S32 h_val_0 = 4;
|
||||
RK_S32 h_val_1 = 24;
|
||||
RK_S32 h_temp = 1;
|
||||
RK_S32 h_val_0 = 1;
|
||||
RK_S32 h_val_1 = 18;
|
||||
RK_S32 temp0, temp1;
|
||||
RK_S32 cime_linebuf_w = pic_w / 64;
|
||||
RK_U32 pic_temp = ((regs->reg012.pic_wd8_m1 + 1) * 8 + 63) / 64 * 64;
|
||||
RK_S32 cime_linebuf_w = pic_temp / 64;
|
||||
|
||||
regs->reg091.cme_linebuf_w = cime_linebuf_w;
|
||||
|
||||
|
Reference in New Issue
Block a user