/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 202 int32_t pixelBytes = pixelMap.GetPixelBytes(); in CopyPixels() local 209 int32_t srcRowBytes = srcWidth * pixelBytes; in CopyPixels() 321 static_cast<uint64_t>(pixelBytes); in CheckScanlineFilter() 384 if (pixelBytes == 0) { in ConvertProc() 411 if (pixelBytes == 0) { in PixelConvertProc() 436 if (pixelBytes == 0) { in AllocBuffer() 446 static_cast<uint64_t>(pixelBytes); in AllocBuffer() 826 int32_t pixelBytes = pixelMap.GetPixelBytes(); in CheckPixelMapSLR() local 827 if (pixelBytes <= 0) { in CheckPixelMapSLR() 833 static_cast<uint64_t>(pixelBytes); in CheckPixelMapSLR() [all …]
|
H A D | basic_transformer.cpp | 168 int32_t pixelBytes = ImageUtils::GetPixelBytes(inPixmap.imageInfo.pixelFormat); in TransformPixmap() local 169 if (pixelBytes == 0) { in TransformPixmap() 178 ImageUtils::CheckMulOverflow(dstSize.width, dstSize.height, pixelBytes)) { in TransformPixmap() 185 static_cast<uint64_t>(pixelBytes); in TransformPixmap() 208 if (!DrawPixelmap(inPixmap, pixelBytes, dstSize, outPixmap.data)) { in TransformPixmap() 227 bool BasicTransformer::DrawPixelmap(const PixmapInfo &pixmapInfo, const int32_t pixelBytes, const S… in DrawPixelmap() argument 235 uint32_t rb = pixmapInfo.imageInfo.size.width * pixelBytes; in DrawPixelmap() 251 uint32_t shiftBytes = (y * size.width + x) * pixelBytes; in DrawPixelmap()
|
/ohos5.0/base/update/updater/services/ui/driver/ |
H A D | graphic_engine.cpp | 116 uint8_t pixelBytes = OHOS::DrawUtils::GetByteSizeByColorMode(colorMode_); in GetFBBufferInfo() local 117 if (pixelBytes == 0) { in GetFBBufferInfo() 126 UiRotation::GetInstance().InitRotation(width_, height_, pixelBytes); in GetFBBufferInfo() 129 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo() 136 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 | 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 | 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 | drm_driver.cpp | 46 surface.pixelBytes = 0; in GetGrSurface()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 153 int pixelBytes = 0; in GetPixelBytes() local 160 pixelBytes = ARGB8888_BYTES; in GetPixelBytes() 163 pixelBytes = ALPHA8_BYTES; in GetPixelBytes() 166 pixelBytes = RGB888_BYTES; in GetPixelBytes() 169 pixelBytes = RGB565_BYTES; in GetPixelBytes() 173 pixelBytes = RGBA_F16_BYTES; in GetPixelBytes() 182 pixelBytes = ASTC_4X4_BYTES; in GetPixelBytes() 186 pixelBytes = NV21P010_BYTES; in GetPixelBytes() 193 return pixelBytes; in GetPixelBytes() 199 uint64_t pixelBytes = static_cast<uint64_t>(GetPixelBytes(format)); in GetRowDataSizeByPixelFormat() local [all …]
|
/ohos5.0/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() 117 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo() 124 buffInfo_->stride = static_cast<uint32_t>(width_ * pixelBytes); in GetFBBufferInfo()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/ |
H A D | rs_ashmem_test.cpp | 176 int pixelBytes = 4; variable 187 ASSERT_TRUE((int)parcel.GetDataSize() < width * height * pixelBytes); 226 int pixelBytes = 4; variable 237 ASSERT_TRUE((int)parcel.GetDataSize() < width * height * pixelBytes);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_pixelmap.cpp | 61 static std::vector<uint8_t> GenerateMiniature(const uint8_t* data, size_t size, uint32_t pixelBytes) in GenerateMiniature() argument 70 ((pixelBytes > 0) && (pixelBytes < pixelBytesThreshold)) ? pixelBytes : rgbaBytesPerPixel; in GenerateMiniature() 89 …ctor<uint8_t> GenerateImageData(const uint8_t* data, size_t size, bool isAstc, uint32_t pixelBytes) in GenerateImageData() argument 95 return isAstc ? GenerateMiniatureAstc(data, size) : GenerateMiniature(data, size, pixelBytes); in GenerateImageData()
|
/ohos5.0/base/powermgr/battery_manager/charger/include/dev/ |
H A D | display_drv.h | 28 unsigned int pixelBytes {};
|
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
H A D | hdi_layer.cpp | 185 const int32_t pixelBytes = 4; in SetPixel() local 195 if ((position * pixelBytes) > handle.size) { in SetPixel()
|
/ohos5.0/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | hdi_layer.cpp | 240 const int32_t pixelBytes = 4; in SetPixel() local 249 if ((position * pixelBytes) > handle.size) { in SetPixel()
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | post_proc.h | 66 int32_t pixelBytes, ScanlineFilter &scanlineFilter);
|
H A D | basic_transformer.h | 170 …bool DrawPixelmap(const PixmapInfo &pixmapInfo, const int32_t pixelBytes, const Size &size, uint8_…
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/ |
H A D | render_data_store_default_staging.cpp | 304 const uint32_t pixelBytes = gpuResourceMgr_.GetFormatProperties(ref.handle).bytesPerPixel; in GetImageClearByteSize() local 305 byteSize += (pixelBytes * desc.width * desc.height); // no 3D supported in GetImageClearByteSize()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.cpp | 1141 int32_t pixelBytes = 1; in DumpOutputBuffer() local 1143 pixelBytes = 2; // 2 in DumpOutputBuffer() 1147 static_cast<int32_t>(cachedFrame_->width * pixelBytes)); in DumpOutputBuffer() 1151 static_cast<int32_t>(cachedFrame_->width * pixelBytes / 2)); // 2 in DumpOutputBuffer() 1155 static_cast<int32_t>(cachedFrame_->width * pixelBytes / 2)); // 2 in DumpOutputBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | post_proc_test.cpp | 905 int32_t pixelBytes = 0; variable 909 …uint32_t ret = postProc.CheckScanlineFilter(cropRect, dstImageInfo, pixelMap, pixelBytes, scanline… 913 … ret = postProc.CheckScanlineFilter(cropRect, dstImageInfo, pixelMap, pixelBytes, scanlineFilter);
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | jpeg_decoder.cpp | 349 uint32_t pixelBytes = in GetRowBytes() local 351 return decodeInfo_.output_width * pixelBytes; in GetRowBytes()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 284 int32_t pixelBytes = ImageUtils::GetPixelBytes(info.pixelFormat); in GetRGBxRowDataSize() local 285 if (pixelBytes < 0) { in GetRGBxRowDataSize() 289 return pixelBytes * info.size.width; in GetRGBxRowDataSize() 715 uint8_t pixelBytes = dstPixelMap.GetPixelBytes(); in UpdatePixelsAlpha() local 722 for (uint32_t i = alphaIndex; i < uBufferSize; i += pixelBytes) { in UpdatePixelsAlpha()
|