Home
last modified time | relevance | path

Searched refs:rect (Results 1 – 25 of 146) sorted by relevance

123456

/device/soc/rockchip/common/hardware/display/src/display_device/
Dhdi_layer.cpp91 int32_t HdiLayer::SetLayerSize(IRect *rect) in SetLayerSize() argument
93 … DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerSize()
94 …ISPLAY_DEBUGLOG(" displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, in SetLayerSize()
95 rect->y, rect->w, rect->h); in SetLayerSize()
96 mDisplayRect = *rect; in SetLayerSize()
100 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
102 … DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
104 rect->x, rect->y, rect->w, rect->h); in SetLayerCrop()
105 mCrop = *rect; in SetLayerCrop()
146 int32_t HdiLayer::SetLayerVisibleRegion(uint32_t num, IRect *rect) in SetLayerVisibleRegion() argument
[all …]
/device/soc/allwinner/t507/hardware/display/src/display_device/
Dhdi_layer.cpp92 int32_t HdiLayer::SetLayerSize(IRect *rect) in SetLayerSize() argument
94 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerSize()
95 …displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, rect->w, in SetLayerSize()
96 rect->h); in SetLayerSize()
97 mDisplayRect = *rect; in SetLayerSize()
101 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
103 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
104 …GD("id : %{public}d crop x: %{public}d y : %{public}d w : %{public}d h : %{public}d", mId, rect->x, in SetLayerCrop()
105 rect->y, rect->w, rect->h); in SetLayerCrop()
106 mCrop = *rect; in SetLayerCrop()
[all …]
Dhdi_session.cpp156 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
158 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
162 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
164 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
173 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
176 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
228 static int32_t SetLayerSize(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerSize() argument
230 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetLayerSize()
231 … return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerSize, rect); in SetLayerSize()
234 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerCrop() argument
[all …]
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
Dhdi_layer.cpp89 int32_t HdiLayer::SetLayerSize(IRect *rect) in SetLayerSize() argument
91 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerSize()
92 …displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, rect->w, in SetLayerSize()
93 rect->h); in SetLayerSize()
94 mDisplayRect = *rect; in SetLayerSize()
98 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
100 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
101 …GD("id : %{public}d crop x: %{public}d y : %{public}d w : %{public}d h : %{public}d", mId, rect->x, in SetLayerCrop()
102 rect->y, rect->w, rect->h); in SetLayerCrop()
103 mCrop = *rect; in SetLayerCrop()
[all …]
/device/soc/nxp/hardware/display/src/display_device/core/
Dhdi_layer.cpp92 int32_t HdiLayer::SetLayerSize(IRect *rect) in SetLayerSize() argument
94 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerSize()
95 …displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, rect->w, in SetLayerSize()
96 rect->h); in SetLayerSize()
97 mDisplayRect = *rect; in SetLayerSize()
101 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
103 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
104 …GD("id : %{public}d crop x: %{public}d y : %{public}d w : %{public}d h : %{public}d", mId, rect->x, in SetLayerCrop()
105 rect->y, rect->w, rect->h); in SetLayerCrop()
106 mCrop = *rect; in SetLayerCrop()
[all …]
Dhdi_session.cpp163 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
166 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
170 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
173 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
183 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
187 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
248 static int32_t SetLayerSize(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerSize() argument
250 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetLayerSize()
252 … return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerSize, rect); in SetLayerSize()
255 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerCrop() argument
[all …]
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
Dhdi_layer.cpp90 int32_t HdiLayer::SetLayerSize(IRect *rect) in SetLayerSize() argument
92 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerSize()
93 …BUGLOG(" displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, in SetLayerSize()
94 rect->w, rect->h); in SetLayerSize()
95 mDisplayRect = *rect; in SetLayerSize()
99 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
101 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
103 rect->x, rect->y, rect->w, rect->h); in SetLayerCrop()
104 mCrop = *rect; in SetLayerCrop()
144 int32_t HdiLayer::SetLayerVisibleRegion(uint32_t num, IRect *rect) in SetLayerVisibleRegion() argument
[all …]
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Dhdi_layer.cpp101 int32_t HdiLayer::SetLayerRegion(IRect *rect) in SetLayerRegion() argument
103 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerRegion()
104 …displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, rect->w, in SetLayerRegion()
105 rect->h); in SetLayerRegion()
106 mDisplayRect = *rect; in SetLayerRegion()
110 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
112 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
113 …GD("id : %{public}d crop x: %{public}d y : %{public}d w : %{public}d h : %{public}d", mId, rect->x, in SetLayerCrop()
114 rect->y, rect->w, rect->h); in SetLayerCrop()
115 mCrop = *rect; in SetLayerCrop()
[all …]
Dhdi_drm_composition.cpp23 static int VideoAxisSet(const IRect &rect) in VideoAxisSet() argument
32 rect.x, rect.y, rect.x+rect.w, rect.y+rect.h); in VideoAxisSet()
217 IRect rect = videoLayer.GetLayerDisplayRect(); in UpdateVideoRect() local
219 rect.x = rect.x * dstWidth / srcWidth; in UpdateVideoRect()
220 rect.y = rect.y * dstHeight / srcHeight; in UpdateVideoRect()
221 rect.w = rect.w * dstWidth / srcWidth; in UpdateVideoRect()
222 rect.h = rect.h * dstHeight / srcHeight; in UpdateVideoRect()
224 return VideoAxisSet(rect); in UpdateVideoRect()
Dhdi_session.cpp161 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
164 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
168 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
171 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
181 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
185 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
246 static int32_t SetLayerRegion(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerRegion() argument
248 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetLayerRegion()
250 …eturn HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerRegion, rect); in SetLayerRegion()
253 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerCrop() argument
[all …]
/device/soc/rockchip/rk3568/hardware/rga/include/
Ddrmrga.h126 rga_rect_t rect; member
160 static inline int rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) in rga_set_rect() argument
162 if (!rect) { in rga_set_rect()
165 rect->xoffset = x; in rga_set_rect()
166 rect->yoffset = y; in rga_set_rect()
167 rect->width = w; in rga_set_rect()
168 rect->height = h; in rga_set_rect()
169 rect->wstride = sw; in rga_set_rect()
170 rect->hstride = sh; in rga_set_rect()
171 rect->format = f; in rga_set_rect()
/device/soc/rockchip/common/hardware/rga/include/
Ddrmrga.h125 rga_rect_t rect; member
158 static inline int rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) in rga_set_rect() argument
160 if (!rect) { in rga_set_rect()
163 rect->xoffset = x; in rga_set_rect()
164 rect->yoffset = y; in rga_set_rect()
165 rect->width = w; in rga_set_rect()
166 rect->height = h; in rga_set_rect()
167 rect->wstride = sw; in rga_set_rect()
168 rect->hstride = sh; in rga_set_rect()
169 rect->format = f; in rga_set_rect()
/device/soc/rockchip/rk3399/hardware/rga/include/
Ddrmrga.h126 rga_rect_t rect; member
160 static inline int rga_set_rect(rga_rect_t *rect, int x, int y, int w, int h, int sw, int sh, int f) in rga_set_rect() argument
162 if (!rect) { in rga_set_rect()
165 rect->xoffset = x; in rga_set_rect()
166 rect->yoffset = y; in rga_set_rect()
167 rect->width = w; in rga_set_rect()
168 rect->height = h; in rga_set_rect()
169 rect->wstride = sw; in rga_set_rect()
170 rect->hstride = sh; in rga_set_rect()
171 rect->format = f; in rga_set_rect()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
Dhdi_layer.cpp101 int32_t HdiLayer::SetLayerRegion(IRect *rect) in SetLayerRegion() argument
103 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerRegion()
104 …Y_LOGD(" displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, in SetLayerRegion()
105 rect->w, rect->h); in SetLayerRegion()
106 mDisplayRect = *rect; in SetLayerRegion()
110 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
112 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
114 rect->x, rect->y, rect->w, rect->h); in SetLayerCrop()
115 mCrop = *rect; in SetLayerCrop()
155 int32_t HdiLayer::SetLayerVisibleRegion(uint32_t num, IRect *rect) in SetLayerVisibleRegion() argument
[all …]
Dhdi_session.cpp185 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
188 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
192 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
195 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
205 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
209 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
270 static int32_t SetLayerRegion(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerRegion() argument
272 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetLayerRegion()
274 …eturn HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerRegion, rect); in SetLayerRegion()
277 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerCrop() argument
[all …]
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
Dhdi_layer.cpp101 int32_t HdiLayer::SetLayerRegion(IRect *rect) in SetLayerRegion() argument
103 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerRegion()
104 …Y_LOGD(" displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, in SetLayerRegion()
105 rect->w, rect->h); in SetLayerRegion()
106 mDisplayRect = *rect; in SetLayerRegion()
110 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
112 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
114 rect->x, rect->y, rect->w, rect->h); in SetLayerCrop()
115 mCrop = *rect; in SetLayerCrop()
155 int32_t HdiLayer::SetLayerVisibleRegion(uint32_t num, IRect *rect) in SetLayerVisibleRegion() argument
[all …]
Dhdi_session.cpp185 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
188 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
192 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
195 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
205 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
209 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
270 static int32_t SetLayerRegion(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerRegion() argument
272 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetLayerRegion()
274 …eturn HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerRegion, rect); in SetLayerRegion()
277 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerCrop() argument
[all …]
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
Dhdi_layer.cpp101 int32_t HdiLayer::SetLayerRegion(IRect *rect) in SetLayerRegion() argument
103 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerRegion()
104 …Y_LOGD(" displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, in SetLayerRegion()
105 rect->w, rect->h); in SetLayerRegion()
106 mDisplayRect = *rect; in SetLayerRegion()
110 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument
112 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerCrop()
114 rect->x, rect->y, rect->w, rect->h); in SetLayerCrop()
115 mCrop = *rect; in SetLayerCrop()
155 int32_t HdiLayer::SetLayerVisibleRegion(uint32_t num, IRect *rect) in SetLayerVisibleRegion() argument
[all …]
Dhdi_session.cpp185 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
188 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
192 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
195 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
205 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
209 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
270 static int32_t SetLayerRegion(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerRegion() argument
272 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetLayerRegion()
274 …eturn HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerRegion, rect); in SetLayerRegion()
277 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerCrop() argument
[all …]
/device/soc/rockchip/rk3588/hardware/rga/include/
Ddrmrga.h157 rga_rect_t rect; member
214 static inline int rga_set_rect(rga_rect_t *rect, in rga_set_rect() argument
216 if (!rect) in rga_set_rect()
219 rect->xoffset = x; in rga_set_rect()
220 rect->yoffset = y; in rga_set_rect()
221 rect->width = w; in rga_set_rect()
222 rect->height = h; in rga_set_rect()
223 rect->wstride = sw; in rga_set_rect()
224 rect->hstride = sh; in rga_set_rect()
225 rect->format = f; in rga_set_rect()
Dim2d_common.h48 bool rga_is_rect_valid(im_rect rect);
53 inline void rga_apply_rect(rga_buffer_t *image, im_rect *rect) { in rga_apply_rect() argument
54 if (rect->width > 0 && rect->height > 0) { in rga_apply_rect()
55 image->width = rect->width; in rga_apply_rect()
56 image->height = rect->height; in rga_apply_rect()
63 IM_STATUS rga_check_info(const char *name, const rga_buffer_t info, const im_rect rect, int resolut…
65 IM_STATUS rga_check_format(const char *name, rga_buffer_t info, im_rect rect, int format_usage, int…
/device/soc/hisilicon/common/hal/display/hi3751v350/linux_standard/adapter/
Ddisplay_adapter_impl.cpp54 fbFrameInfo.rect.x = frame->rect.x; in DisplayFbFresh()
55 fbFrameInfo.rect.y = frame->rect.y; in DisplayFbFresh()
56 fbFrameInfo.rect.w = frame->rect.w; in DisplayFbFresh()
57 fbFrameInfo.rect.h = frame->rect.h; in DisplayFbFresh()
/device/soc/amlogic/a311d/hardware/display/src/display_gfx/
Ddisplay_gfx.c155 g_ge2d.ge2dinfo.dst_info.rect.x = dstRect.x; in FillGe2d()
156 g_ge2d.ge2dinfo.dst_info.rect.y = dstRect.y; in FillGe2d()
157 g_ge2d.ge2dinfo.dst_info.rect.w = dstRect.w; in FillGe2d()
158 g_ge2d.ge2dinfo.dst_info.rect.h = dstRect.h; in FillGe2d()
168 static int32_t FillRect(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt) in FillRect() argument
185 if (rect != NULL) { in FillRect()
186 dstRect.x = rect->x; in FillRect()
187 dstRect.y = rect->y; in FillRect()
188 dstRect.w = rect->w; in FillRect()
189 dstRect.h = rect->h; in FillRect()
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/lcd/
Dlcd_driver.c844 …if((lcd_disp->rect.x > PIXEL_320-1) || (lcd_disp->rect.x + lcd_disp->rect.width > PIXEL_320-1)) re… in bk_lcd_fill_color()
845 …if((lcd_disp->rect.y > PIXEL_480-1) || (lcd_disp->rect.y + lcd_disp->rect.height > PIXEL_480-1)) … in bk_lcd_fill_color()
847 dma2d_lcd_fill((uint32_t)lcd_disp->buffer, lcd_disp->rect.width, lcd_disp->rect.height, color); in bk_lcd_fill_color()
848 lcd_hal_pixel_config(lcd_disp->rect.width, lcd_disp->rect.height); in bk_lcd_fill_color()
854 …isplay_mem_area(lcd_disp->rect.x, lcd_disp->rect.x + lcd_disp->rect.width, lcd_disp->rect.y, lcd_d… in bk_lcd_fill_color()
866 lcd_hal_pixel_config(lcd_disp->rect.width, lcd_disp->rect.height); in bk_lcd_fill_data()
871 …isplay_mem_area(lcd_disp->rect.x, lcd_disp->rect.x + lcd_disp->rect.width, lcd_disp->rect.y, lcd_d… in bk_lcd_fill_data()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
Dhi_gv_graphiccontext.h66 HI_S32 HI_GV_GraphicContext_AddClipRect(HIGV_HANDLE contextHandle, const HI_RECT *rect);
76 HI_S32 HI_GV_GraphicContext_SetClipRect(HIGV_HANDLE contextHandle, const HI_RECT *rect);
208 const HI_RECT *rect, HI_U32 align);
232 const HI_RECT *rect, HI_U32 align);
252 HI_S32 HI_GV_GraphicContext_FillRect(HIGV_HANDLE contextHandle, const HI_RECT *rect);

123456