/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
H A D | hdi_layer.cpp | 89 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 D | hdi_session.cpp | 160 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...] |
H A D | hdi_layer.h | 162 virtual int32_t SetLayerSize(IRect *rect);
163 virtual int32_t SetLayerCrop(IRect *rect);
169 virtual int32_t SetLayerVisibleRegion(uint32_t num, IRect *rect);
|
/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | hdi_layer.cpp | 100 int32_t HdiLayer::SetLayerRegion(IRect *rect) in SetLayerRegion() argument 102 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in rect is nullptr")); in SetLayerRegion() 103 DISPLAY_LOGD(" displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, in SetLayerRegion() 104 rect->w, rect->h); in SetLayerRegion() 105 mDisplayRect = *rect; in SetLayerRegion() 109 int32_t HdiLayer::SetLayerCrop(IRect *rect) in SetLayerCrop() argument 111 DISPLAY_CHK_RETURN((rect in SetLayerCrop() 154 SetLayerVisibleRegion(uint32_t num, IRect *rect) SetLayerVisibleRegion() argument [all...] |
H A D | hdi_session.cpp | 184 static int32_t SetDisplayClientCrop(uint32_t devId, IRect *rect) in SetDisplayClientCrop() argument 187 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientCrop() 191 static int32_t SetDisplayClientDestRect(uint32_t devId, IRect *rect) in SetDisplayClientDestRect() argument 194 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDestRect() 204 static int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, IRect *rect) in SetDisplayClientDamage() argument 208 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr")); in SetDisplayClientDamage() 269 static int32_t SetLayerRegion(uint32_t devId, uint32_t layerId, IRect *rect) in SetLayerRegion() argument 276 SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect) SetLayerCrop() argument 315 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect) SetLayerVisibleRegion() argument [all...] |
/drivers/peripheral/display/composer/test/common/ |
H A D | display_test_utils.cpp | 201 void ClearColorRect(const BufferHandle &handle, uint32_t color, const IRect &rect) in ClearColorRect() argument 203 DISPLAY_TEST_LOGD("x %{public}d, y %{public}d w %{public}d h %{public}d color %x ", rect.x, rect.y, rect.w, rect.h, in ClearColorRect() 205 for (int32_t x = 0; x < rect.w; x++) { in ClearColorRect() 206 for (int32_t y = 0; y < rect.h; y++) { in ClearColorRect() 207 SetPixel(handle, x + rect.x, y + rect.y, color); in ClearColorRect() 227 IRect rect in SplitBuffer() local [all...] |
H A D | hdi_test_layer.cpp | 181 void HdiTestLayer::SetLayerPosition(const IRect& rect) in SetLayerPosition() argument 183 DISPLAY_TEST_LOGD("x : %{public}d y : %{public}d w : %{public}d h : %{public}d", rect.x, rect.y, rect.w, rect.h); in SetLayerPosition() 184 displayRect_ = rect; in SetLayerPosition() 187 void HdiTestLayer::SetLayerCrop(const IRect& rect) in SetLayerCrop() argument 189 DISPLAY_TEST_LOGD("x : %{public}d y : %{public}d w : %{public}d h : %{public}d", rect.x, rect.y, rect in SetLayerCrop() [all...] |
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/ |
H A D | fb_composition.cpp | 29 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()
|
/drivers/peripheral/display/composer/test/fuzztest/layer_fuzzer/ |
H A D | layer_fuzzer.cpp | 108 static int32_t GetIRect(IRect& rect) in GetIRect() argument 110 rect.x = GetData<int32_t>(); in GetIRect() 111 rect.y = GetData<int32_t>(); in GetIRect() 112 rect.w = GetData<int32_t>(); in GetIRect() 113 rect.h = GetData<int32_t>(); in GetIRect() 180 IRect rect; in TestSetLayerRegion() local 181 int32_t ret = GetIRect(rect); in TestSetLayerRegion() 186 ret = g_composerInterface->SetLayerRegion(devId, layerId, rect); in TestSetLayerRegion() 195 IRect rect; in TestSetLayerCrop() local 196 int32_t ret = GetIRect(rect); in TestSetLayerCrop() 262 IRect rect; TestSetLayerVisibleRegion() local [all...] |
/drivers/peripheral/display/hdi_service/device/src/server/ |
H A D | display_device_service.cpp | 109 int32_t DisplayDeviceService::SetDisplayClientCrop(uint32_t devId, const IRect *rect) in SetDisplayClientCrop() argument 111 return displayDevice_->SetDisplayClientCrop(devId, const_cast<IRect *>(rect)); in SetDisplayClientCrop() 114 int32_t DisplayDeviceService::SetDisplayClientDestRect(uint32_t devId, const IRect &rect) in SetDisplayClientDestRect() argument 116 return displayDevice_->SetDisplayClientDestRect(devId, const_cast<IRect *>(&rect)); in SetDisplayClientDestRect() 124 int32_t DisplayDeviceService::SetDisplayClientDamage(uint32_t devId, uint32_t num, const IRect &rect) in SetDisplayClientDamage() argument 126 return displayDevice_->SetDisplayClientDamage(devId, num, const_cast<IRect *>(&rect)); in SetDisplayClientDamage() 223 int32_t DisplayDeviceService::SetLayerCrop(uint32_t devId, uint32_t layerId, const IRect *rect) in SetLayerCrop() argument 225 return displayLayer_->SetLayerCrop(devId, layerId, const_cast<IRect *>(rect)); in SetLayerCrop() 315 int32_t DisplayDeviceService::SetLayerSize(uint32_t devId, uint32_t layerId, const IRect *rect) in SetLayerSize() argument 317 return displayLayer_->SetLayerSize(devId, layerId, const_cast<IRect *>(rect)); in SetLayerSize() 320 GetLayerSize(uint32_t devId, uint32_t layerId, IRect &rect) GetLayerSize() argument 350 SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, const IRect &rect) SetLayerVisibleRegion() argument [all...] |
/drivers/peripheral/display/hal/default_standard/src/display_layer_video/ |
H A D | display_layer_video.cpp | 68 static int32_t SetLayerSize(uint32_t devId, uint32_t layerId, IRect *rect)
in SetLayerSize() argument 71 DISPLAY_CHK_RETURN((rect == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("rect is nullptr"));
in SetLayerSize() 72 g_layerService->SetLayerRect(devId, layerId, *rect);
in SetLayerSize() 76 static int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, IRect *rect)
in SetLayerCrop() argument
|
/drivers/peripheral/display/composer/vdi_base/include/ |
H A D | display_gfx.h | 48 * @param rect Indicates the pointer to the rectangle to fill. 55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt); 61 * @param rect Indicates the pointer to the rectangle to draw. 68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
|
H A D | hdi_layer.h | 142 virtual int32_t SetLayerRegion(IRect *rect); 143 virtual int32_t SetLayerCrop(IRect *rect); 149 virtual int32_t SetLayerVisibleRegion(uint32_t num, IRect *rect);
|
/drivers/peripheral/display/hal/default_standard/src/display_device/ |
H A D | display_gfx.h | 48 * @param rect Indicates the pointer to the rectangle to fill. 55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt); 61 * @param rect Indicates the pointer to the rectangle to draw. 68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
|
/drivers/peripheral/display/interfaces/include/ |
H A D | display_gfx.h | 76 * @param rect Indicates the pointer to the rectangle to fill. 85 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt); 91 * @param rect Indicates the pointer to the rectangle to draw. 100 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
|
H A D | display_layer.h | 174 * @param rect Indicates the pointer to the layer size to set, in pixels. 182 int32_t (*SetLayerSize)(uint32_t devId, uint32_t layerId, IRect *rect); 191 * @param rect Indicates the pointer to the obtained layer size. 199 int32_t (*GetLayerSize)(uint32_t devId, uint32_t layerId, IRect *rect); 208 * @param rect Indicates the pointer to the rectangular area to crop. 215 int32_t (*SetLayerCrop)(uint32_t devId, uint32_t layerId, IRect *rect); 549 * @param num Indicates the count of rect. the region contains multiple IRect, the num means how much rects in the 551 * @param rect Indicates the pointer of the rectes. 558 int32_t (*SetLayerVisibleRegion)(uint32_t devId, uint32_t layerId, uint32_t num, IRect *rect);
|
H A D | display_device.h | 326 * @param rect Indicates the pointer to the cropped region of the client buffer. 333 int32_t (*SetDisplayClientCrop)(uint32_t devId, IRect *rect); 339 * @param rect Indicates the pointer to the display region. 346 int32_t (*SetDisplayClientDestRect)(uint32_t devId, IRect *rect); 374 * @param rect Indicates the pointer to the start address of the rectangle array. 381 int32_t (*SetDisplayClientDamage)(uint32_t devId, uint32_t num, IRect *rect);
|
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/ |
H A D | device_fuzzer.cpp | 79 static int32_t GetIRect(IRect& rect) in GetIRect() argument 81 rect.x = GetData<int32_t>(); in GetIRect() 82 rect.y = GetData<int32_t>(); in GetIRect() 83 rect.w = GetData<int32_t>(); in GetIRect() 84 rect.h = GetData<int32_t>(); in GetIRect() 263 IRect rect; in TestSetDisplayClientCrop() local 264 int32_t ret = GetIRect(rect); in TestSetDisplayClientCrop() 269 ret = g_composerInterface->SetDisplayClientCrop(devId, rect); in TestSetDisplayClientCrop() 279 IRect rect; in TestSetDisplayClientDamage() local 280 int32_t ret = GetIRect(rect); in TestSetDisplayClientDamage() [all...] |
/drivers/peripheral/display/hdi_service/device/include/interfaces/ |
H A D | idisplay_device.h | 58 virtual int32_t SetDisplayClientCrop(uint32_t devId, const IRect *rect) = 0;
59 virtual int32_t SetDisplayClientDestRect(uint32_t devId, const IRect &rect) = 0;
61 virtual int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, const IRect &rect) = 0;
79 virtual int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, const IRect *rect) = 0;
97 virtual int32_t SetLayerSize(uint32_t devId, uint32_t layerId, const IRect *rect) = 0;
98 virtual int32_t GetLayerSize(uint32_t devId, uint32_t layerId, IRect &rect) = 0;
104 virtual int32_t SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, const IRect &rect) = 0;
|
/drivers/peripheral/display/hdi_service/device/include/proxy/ |
H A D | display_device_proxy.h | 52 int32_t SetDisplayClientCrop(uint32_t devId, const IRect *rect) override; 53 int32_t SetDisplayClientDestRect(uint32_t devId, const IRect &rect) override; 55 int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, const IRect &rect) override; 73 int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, const IRect *rect) override; 91 int32_t SetLayerSize(uint32_t devId, uint32_t layerId, const IRect *rect) override; 92 int32_t GetLayerSize(uint32_t devId, uint32_t layerId, IRect &rect) override; 98 int32_t SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, const IRect &rect) override;
|
/drivers/peripheral/display/hdi_service/device/include/server/ |
H A D | display_device_service.h | 48 int32_t SetDisplayClientCrop(uint32_t devId, const IRect *rect) override; 49 int32_t SetDisplayClientDestRect(uint32_t devId, const IRect &rect) override; 51 int32_t SetDisplayClientDamage(uint32_t devId, uint32_t num, const IRect &rect) override; 69 int32_t SetLayerCrop(uint32_t devId, uint32_t layerId, const IRect *rect) override; 87 int32_t SetLayerSize(uint32_t devId, uint32_t layerId, const IRect *rect) override; 88 int32_t GetLayerSize(uint32_t devId, uint32_t layerId, IRect &rect) override; 94 int32_t SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, uint32_t num, const IRect &rect) override;
|
/drivers/interface/display/composer/v1_0/display_command/ |
H A D | display_cmd_utils.h | 140 static int32_t RectPack(const IRect& rect, CommandDataPacker& packer) in RectPack() argument 142 DISPLAY_CHK_RETURN(packer.WriteInt32(rect.x) == false, HDF_FAILURE, in RectPack() 143 HDF_LOGE("%{public}s, write rect.x error", __func__)); in RectPack() 144 DISPLAY_CHK_RETURN(packer.WriteInt32(rect.y) == false, HDF_FAILURE, in RectPack() 145 HDF_LOGE("%{public}s, write rect.y error", __func__)); in RectPack() 146 DISPLAY_CHK_RETURN(packer.WriteInt32(rect.w) == false, HDF_FAILURE, in RectPack() 147 HDF_LOGE("%{public}s, write rect.w error", __func__)); in RectPack() 148 DISPLAY_CHK_RETURN(packer.WriteInt32(rect.h) == false, HDF_FAILURE, in RectPack() 149 HDF_LOGE("%{public}s, write rect.h error", __func__)); in RectPack() 254 static int32_t RectUnpack(CommandDataUnpacker& unpacker, IRect& rect) in RectUnpack() argument [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/ |
H A D | RightMenu.js | 119 e.rect = [x, y, w, 32]; 128 e.rect = [x, y, w, 0]; 201 if (!e.rect) { 204 if (XTools.InRect(x, y, ...e.rect)) {
|
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/ |
H A D | mipi_v4l2_adapter.c | 175 ImgRect *rect = &drvData->attr->imgRect; in LinuxSetPadFormat() local 191 height = rect->height; in LinuxSetPadFormat() 197 h_blank = mode->llp - rect->width; in LinuxSetPadFormat() 261 ImgRect *rect = &(drvData->attr->imgRect); in LinuxInitControls() local 297 vblank_def = mode->fll_def - rect->height; in LinuxInitControls() 298 vblank_min = mode->fll_min - rect->height; in LinuxInitControls() 300 V4L2_CID_VBLANK, vblank_min, SENSOR_FLL_MAX - rect->height, 1, vblank_def); in LinuxInitControls() 304 hblank = mode->llp - rect->width; in LinuxInitControls()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/composer/ |
H A D | hdi_video_composition.cpp | 54 IRect rect = hdiLayer.GetLayerDisplayRect();
in CreateVideoLayerForHdiLayer() local 55 LayerInfo layerInfo = { rect.w, rect.h, LAYER_TYPE_OVERLAY, 8, PIXEL_FMT_YCRCB_420_P }; // the bpp of yuv is 8
in CreateVideoLayerForHdiLayer()
|