Searched refs:pixelBytes (Results 1 - 11 of 11) sorted by relevance
/base/update/updater/services/ui/driver/ |
H A D | graphic_engine.cpp | 114 uint8_t pixelBytes = OHOS::DrawUtils::GetByteSizeByColorMode(colorMode_); in FlushThreadLoop() local 115 (void)memset_s(buffInfo_->virAddr, width_ * height_ * pixelBytes, 0, width_ * height_ * pixelBytes); in FlushThreadLoop() 136 uint8_t pixelBytes = OHOS::DrawUtils::GetByteSizeByColorMode(colorMode_); in GetFBBufferInfo() local 137 if (pixelBytes == 0) { in GetFBBufferInfo() 138 LOG(ERROR) << "GraphicEngine get pixelBytes fail"; in GetFBBufferInfo() 146 UiRotation::GetInstance().InitRotation(width_, height_, pixelBytes); in GetFBBufferInfo() 149 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo() 156 buffInfo_->stride = static_cast<uint32_t>(width_ * pixelBytes); in GetFBBufferInfo()
|
H A D | ui_rotation.cpp | 27 void UiRotation::InitRotation(int realWidth, int realHeight, uint8_t pixelBytes) in InitRotation() argument 30 ", pixelBytes = " << static_cast<int>(pixelBytes); in InitRotation() 31 pixelBytes_ = pixelBytes; in InitRotation()
|
H A D | graphic_drv.h | 24 unsigned int pixelBytes {};
|
H A D | ui_rotation.h | 39 void InitRotation(int realWidth, int realHeight, uint8_t pixelBytes);
|
H A D | fbdev_driver.cpp | 128 surface.pixelBytes = vinfo_.bits_per_pixel / 8; // 8: byte bit len in GetGrSurface() 129 surface.width = static_cast<int>(surface.rowBytes / surface.pixelBytes); in GetGrSurface()
|
H A D | drm_driver.cpp | 46 surface.pixelBytes = 0; in GetGrSurface()
|
/base/powermgr/battery_manager/charger/src/ |
H A D | charger_graphic_engine.cpp | 107 uint8_t pixelBytes = OHOS::DrawUtils::GetByteSizeByColorMode(colorMode_); in GetFBBufferInfo() local 108 if (pixelBytes == 0) { in GetFBBufferInfo() 109 BATTERY_HILOGE(FEATURE_CHARGING, "ChargerGraphicEngine get pixelBytes fail"); in GetFBBufferInfo() 117 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo() 124 buffInfo_->stride = static_cast<uint32_t>(width_ * pixelBytes); in GetFBBufferInfo()
|
/base/update/updater/test/unittest/updater_ui_test/driver/ |
H A D | ui_rotation_unittest.cpp | 37 uint8_t pixelBytes = 0; in HWTEST_F() local 45 UiRotation::GetInstance().InitRotation(realWidth, realHeight, pixelBytes); in HWTEST_F()
|
/base/powermgr/battery_manager/charger/include/dev/ |
H A D | display_drv.h | 28 unsigned int pixelBytes {};
|
/base/powermgr/battery_manager/charger/src/dev/ |
H A D | fbdev_driver.cpp | 92 dsInfo.pixelBytes = vinfo_.bits_per_pixel / 8; // 8: byte bit len in GetDisplayInfo()
|
H A D | drm_driver.cpp | 48 dsInfo.pixelBytes = 0; in GetDisplayInfo()
|
Completed in 6 milliseconds