Home
last modified time | relevance | path

Searched refs:p_image (Results 1 – 9 of 9) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/g2d_rcq/
A Dg2d_wb.c110 if (p_wb && p_image) { in g2d_wb_set()
116 (!p_image->clip_rect.h) ? 0 : p_image->clip_rect.h - 1; in g2d_wb_set()
118 (!p_image->clip_rect.w) ? 0 : p_image->clip_rect.w - 1; in g2d_wb_set()
122 cw = p_image->width >> 1; in g2d_wb_set()
123 ch = p_image->height; in g2d_wb_set()
128 cw = p_image->width >> 1; in g2d_wb_set()
135 ch = p_image->height; in g2d_wb_set()
146 pitch0 = cal_align(ycnt * p_image->width, p_image->align[0]); in g2d_wb_set()
153 addr0 = p_image->laddr[0] + ((__u64)p_image->haddr[0] << 32) + in g2d_wb_set()
158 addr1 = p_image->laddr[1] + ((__u64)p_image->haddr[1] << 32) + in g2d_wb_set()
[all …]
A Dg2d_ovl_v.c170 if (p_image->bpremul) in g2d_vlayer_set()
178 (p_image->clip_rect.w == 0 ? 0 : p_image->clip_rect.w - 1) & 0x1fff; in g2d_vlayer_set()
180 (p_image->clip_rect.h == 0 ? 0 : p_image->clip_rect.h - 1) & 0x1fff; in g2d_vlayer_set()
183 (p_image->clip_rect.w == 0 ? 0 : p_image->clip_rect.w - 1) & 0x1fff; in g2d_vlayer_set()
185 (p_image->clip_rect.h == 0 ? 0 : p_image->clip_rect.h - 1) & 0x1fff; in g2d_vlayer_set()
192 ch = p_image->height; in g2d_vlayer_set()
220 pitch0 = cal_align(ycnt * p_image->width, p_image->align[0]); in g2d_vlayer_set()
227 p_image->laddr[0] + ((__u64) p_image->haddr[0] << 32) + in g2d_vlayer_set()
228 pitch0 * p_image->clip_rect.y + ycnt * p_image->clip_rect.x; in g2d_vlayer_set()
231 p_image->laddr[1] + ((__u64) p_image->haddr[1] << 32) + pitch1 * cy + in g2d_vlayer_set()
[all …]
A Dg2d.c226 if (!p_image) in g2d_image_check()
233 ((-p_image->clip_rect.x) > p_image->clip_rect.w)) || in g2d_image_check()
235 ((-p_image->clip_rect.y) > p_image->clip_rect.h)) || in g2d_image_check()
237 (p_image->clip_rect.x > p_image->width - 1)) || in g2d_image_check()
239 (p_image->clip_rect.y > p_image->height - 1))) in g2d_image_check()
249 p_image->clip_rect.w = in g2d_image_check()
255 > p_image->width) in g2d_image_check()
258 p_image->width - in g2d_image_check()
274 p_image->height - in g2d_image_check()
278 p_image->bpremul = 0; in g2d_image_check()
[all …]
A Dg2d_wb.h30 __s32 (*apply)(struct wb_submodule *p_wb, g2d_image_enh *p_image);
40 __s32 g2d_wb_set(struct wb_submodule *p_wb, g2d_image_enh *p_image);
A Dg2d_ovl_v.h29 __s32 (*apply)(struct ovl_v_submodule *p_ovl_v, g2d_image_enh *p_image);
40 g2d_image_enh *p_image, u8 evasion_flag);
A Dg2d_bld.c127 __s32 bld_out_setting(struct blender_submodule *p_bld, g2d_image_enh *p_image) in bld_out_setting() argument
136 if (p_image->bpremul) in bld_out_setting()
141 p_image->clip_rect.w == 0 ? 0 : p_image->clip_rect.w - 1; in bld_out_setting()
143 p_image->clip_rect.h == 0 ? 0 : p_image->clip_rect.h - 1; in bld_out_setting()
A Dg2d_scal.h32 __s32 (*apply)(struct scaler_submodule *p_scal, g2d_image_enh *p_image);
A Dg2d_bld.h43 __s32 bld_out_setting(struct blender_submodule *p_bld, g2d_image_enh *p_image);
A Dg2d_driver_i.h116 __s32 g2d_image_check(g2d_image_enh *p_image);

Completed in 20 milliseconds