mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
v1.1.1
This commit is contained in:
@@ -208,6 +208,11 @@ int config_ui_layer_rect(struct aic_de_comp *comp,
|
||||
de_ui_layer_enable(comp->regs, 1);
|
||||
}
|
||||
|
||||
#ifdef AIC_SCREEN_CROP
|
||||
x_offset += AIC_SCREEN_CROP_POS_X;
|
||||
y_offset += AIC_SCREEN_CROP_POS_Y;
|
||||
#endif
|
||||
|
||||
de_ui_layer_set_rect(comp->regs, in_w, in_h, x_offset, y_offset,
|
||||
stride0, addr0, layer_data->rect_id);
|
||||
de_ui_layer_rect_enable(comp->regs, layer_data->rect_id, 1);
|
||||
|
||||
Reference in New Issue
Block a user