Home
last modified time | relevance | path

Searched refs:pixelBytes (Results 1 - 11 of 11) sorted by relevance

/base/update/updater/services/ui/driver/
H A Dgraphic_engine.cpp114 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 Dui_rotation.cpp27 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 Dgraphic_drv.h24 unsigned int pixelBytes {};
H A Dui_rotation.h39 void InitRotation(int realWidth, int realHeight, uint8_t pixelBytes);
H A Dfbdev_driver.cpp128 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 Ddrm_driver.cpp46 surface.pixelBytes = 0; in GetGrSurface()
/base/powermgr/battery_manager/charger/src/
H A Dcharger_graphic_engine.cpp107 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 Dui_rotation_unittest.cpp37 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 Ddisplay_drv.h28 unsigned int pixelBytes {};
/base/powermgr/battery_manager/charger/src/dev/
H A Dfbdev_driver.cpp92 dsInfo.pixelBytes = vinfo_.bits_per_pixel / 8; // 8: byte bit len in GetDisplayInfo()
H A Ddrm_driver.cpp48 dsInfo.pixelBytes = 0; in GetDisplayInfo()

Completed in 6 milliseconds