Home
last modified time | relevance | path

Searched refs:rect (Results 1 - 25 of 94) sorted by relevance

1234

/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A 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 DISPLAY_LOGD(" 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 in SetLayerCrop()
143 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
H A Dhdi_session.cpp160 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
163 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
167 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
170 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
180 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
184 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
245 static int32_t SetLayerSize(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerSize() argument
252 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument
291 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
/device/soc/rockchip/common/hardware/display/src/display_device/
H A 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 DISPLAY_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 in SetLayerCrop()
146 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
H A Dhdi_session.cpp182 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
185 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
189 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
192 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
202 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
206 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
266 static int32_t SetLayerSize(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerSize() argument
273 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument
312 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A 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 DISPLAY_DEBUGLOG(" 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 in SetLayerCrop()
144 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
H A Dhdi_session.cpp182 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument
185 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop()
189 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument
192 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect()
202 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument
206 DISPLAY_CHK_RETURN((rect == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage()
267 static int32_t SetLayerSize(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerSize() argument
274 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument
313 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A 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 DISPLAY_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 in SetLayerCrop()
155 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
H A 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
277 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument
316 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A 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 DISPLAY_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 in SetLayerCrop()
155 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
H A 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
277 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument
316 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A 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 DISPLAY_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 in SetLayerCrop()
155 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
H A 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
277 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument
316 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument
[all...]
/device/soc/rockchip/common/hardware/rga/include/
H A Ddrmrga.h125 rga_rect_t rect; member
153 @param rect:The rect user want to set,like setting the src rect:
156 mean to set the src rect to the value.
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 in rga_set_rect()
[all...]
H A Dim2d.h463 * @param rect
469 #define imcrop(src, dst, rect, ...) \
475 ret = imcrop_t(src, dst, rect, 1); \
477 ret = imcrop_t(src, dst, rect, args[0]); \
486 IM_API IM_STATUS imcrop_t(const rga_buffer_t src, rga_buffer_t dst, im_rect rect, int sync);
558 * @param rect
565 #define imfill(buf, rect, color, ...) \
571 ret = imfill_t(buf, rect, color, 1); \
573 ret = imfill_t(buf, rect, color, args[0]); \
582 #define imreset(buf, rect, colo
[all...]
/device/soc/rockchip/rk3399/hardware/rga/include/
H A Ddrmrga.h126 rga_rect_t rect; member
155 @param rect:The rect user want to set,like setting the src rect:
158 mean to set the src rect to the value.
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 in rga_set_rect()
[all...]
H A Dim2d.h477 * @param rect
483 #define imcrop(src, dst, rect, ...) \
489 ret = imcrop_t(src, dst, rect, 1); \
491 ret = imcrop_t(src, dst, rect, args[0]);; \
499 IM_API IM_STATUS imcrop_t(const rga_buffer_t src, rga_buffer_t dst, im_rect rect, int sync);
569 * @param rect
576 #define imfill(buf, rect, color, ...) \
582 ret = imfill_t(buf, rect, color, 1); \
584 ret = imfill_t(buf, rect, color, args[0]);; \
592 #define imreset(buf, rect, colo
[all...]
/device/soc/rockchip/rk3568/hardware/rga/include/
H A Ddrmrga.h126 rga_rect_t rect; member
155 @param rect:The rect user want to set,like setting the src rect:
158 mean to set the src rect to the value.
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 in rga_set_rect()
[all...]
H A Dim2d.h477 * @param rect
483 #define imcrop(src, dst, rect, ...) \
489 ret = imcrop_t(src, dst, rect, 1); \
491 ret = imcrop_t(src, dst, rect, args[0]);; \
499 IM_API IM_STATUS imcrop_t(const rga_buffer_t src, rga_buffer_t dst, im_rect rect, int sync);
569 * @param rect
576 #define imfill(buf, rect, color, ...) \
582 ret = imfill_t(buf, rect, color, 1); \
584 ret = imfill_t(buf, rect, color, args[0]);; \
592 #define imreset(buf, rect, colo
[all...]
/device/soc/rockchip/rk3588/hardware/rga/include/
H A Ddrmrga.h157 rga_rect_t rect; member
209 @param rect:The rect user want to set,like setting the src rect:
212 mean to set the src rect to the value.
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 in rga_set_rect()
[all...]
H A 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 resolution_usage);
65 IM_STATUS rga_check_format(const char *name, rga_buffer_t info, im_rect rect, int format_usage, int mode_usgae);
H A Dim2d.h285 * @param rect
291 #define imcrop(src, dst, rect, ...) \
297 __ret = imcrop_t(src, dst, rect, 1); \
299 __ret = imcrop_t(src, dst, rect, (int)__args[RGA_GET_MIN(__argc, 0)]); \
307 IM_API IM_STATUS imcrop_t(const rga_buffer_t src, rga_buffer_t dst, im_rect rect, int sync);
377 * @param rect
384 #define imfill(buf, rect, color, ...) \
390 __ret = imfill_t(buf, rect, color, 1); \
392 __ret = imfill_t(buf, rect, color, (int)__args[RGA_GET_MIN(__argc, 0)]); \
400 #define imreset(buf, rect, colo
[all...]
/device/soc/hisilicon/common/hal/display/hi3751v350/linux_standard/adapter/
H A 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/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
H A Dhi_gv_graphiccontext.h39 * brief Begin draw,add the default clip rect .
50 * brief End draw,empty clip rect.
59 * brief Add clip rect.
60 * Keep old clip rect,add new clip rect.
62 * param[in] rect Clip rect.
66 HI_S32 HI_GV_GraphicContext_AddClipRect(HIGV_HANDLE contextHandle, const HI_RECT *rect);
69 * brief Reset clip rect.
70 * Clean old clip rect,rese
[all...]
/device/soc/hisilicon/common/hal/display/source/display_device/src/fbdev/
H A Dfb_composition.cpp29 fbFrameInfo.rect.x = 0; in FbFresh()
30 fbFrameInfo.rect.y = 0; in FbFresh()
31 fbFrameInfo.rect.w = clientlayer.GetCurrentBuffer()->GetWidth(); in FbFresh()
32 fbFrameInfo.rect.h = clientlayer.GetCurrentBuffer()->GetHeight(); in FbFresh()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/
H A Dhifb_vou_drv.c253 HIFB_RECT rect = { 0 }; in hifb_drv_set_layer_src_image_reso() local
254 rect.x = hifb_rect->x; in hifb_drv_set_layer_src_image_reso()
255 rect.y = hifb_rect->y; in hifb_drv_set_layer_src_image_reso()
256 rect.w = hifb_rect->w; in hifb_drv_set_layer_src_image_reso()
257 rect.h = hifb_rect->h; in hifb_drv_set_layer_src_image_reso()
258 if (vou_graphics_set_layer_src_image_reso(g_hifblayer_to_hwlayer[disp_layer], &rect) == HI_FALSE) { in hifb_drv_set_layer_src_image_reso()
266 HIFB_RECT rect; in hifb_drv_set_layer_rect() local
270 rect.x = output_rect->x; in hifb_drv_set_layer_rect()
271 rect.y = output_rect->y; in hifb_drv_set_layer_rect()
272 rect in hifb_drv_set_layer_rect()
[all...]

Completed in 15 milliseconds

1234