/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_utils.h | 49 static bool CheckMulOverflow(int32_t width, int32_t bytesPerPixel); 50 static bool CheckMulOverflow(int32_t width, int32_t height, int32_t bytesPerPixel);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_utils_test.cpp | 275 bool res = ImageUtils::CheckMulOverflow(width, height, bytesPerPixel); 441 bool ret = ImageUtils::CheckMulOverflow(width, bytesPerPixel); 445 ret = ImageUtils::CheckMulOverflow(width, bytesPerPixel);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 215 ImageUtils::CheckMulOverflow(std::min(srcWidth, targetWidth), pixelBytes)) { in CopyPixels() 314 … if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, dstImageInfo.size.height, pixelBytes)) { in CheckScanlineFilter() 335 if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, pixelBytes)) { in CheckScanlineFilter() 387 … if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, dstImageInfo.size.height, pixelBytes)) { in ConvertProc() 439 if (ImageUtils::CheckMulOverflow(imageInfo.size.width, imageInfo.size.height, pixelBytes)) { in AllocBuffer()
|
H A D | basic_transformer.cpp | 178 ImageUtils::CheckMulOverflow(dstSize.width, dstSize.height, pixelBytes)) { in TransformPixmap()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 351 if (ImageUtils::CheckMulOverflow(bgWidth, bgHeight, sizeof(uint32_t))) { in AllocateLocalPixelMapBuffer() 713 if (ImageUtils::CheckMulOverflow(bgWidth, bgHeight, sizeof(uint32_t))) { in RedirectOutputBuffer() 829 if (ImageUtils::CheckMulOverflow(imageWidth, imageHeight)) { in ParseFrameDetail()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | native_image.cpp | 126 if (ImageUtils::CheckMulOverflow(width, height)) { in SplitYUV422SPComponent()
|
H A D | pixel_map.cpp | 375 if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, dstImageInfo.size.height, in AllocPixelMapMemory() 1503 if (ImageUtils::CheckMulOverflow(rowDataSize_, imageInfo_.size.height)) { in IsSameImage() 1720 if (ImageUtils::CheckMulOverflow(size.width, size.height, bytesPerPixel)) { in ResetConfig() 2378 if (ImageUtils::CheckMulOverflow(imageInfo_.size.height, rowDataSize_)) { in Marshalling()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/ |
H A D | bmp_decoder.cpp | 304 if (ImageUtils::CheckMulOverflow(dstInfo.width(), dstInfo.height(), dstInfo.bytesPerPixel())) { in Decode()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 381 bool ImageUtils::CheckMulOverflow(int32_t width, int32_t bytesPerPixel) in CheckMulOverflow() function in OHOS::Media::ImageUtils 395 bool ImageUtils::CheckMulOverflow(int32_t width, int32_t height, int32_t bytesPerPixel) in CheckMulOverflow() function in OHOS::Media::ImageUtils
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | jpeg_decoder.cpp | 363 if (ImageUtils::CheckMulOverflow(rowStride, decodeInfo_.output_height)) { in DoSwDecode()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 572 … if (ImageUtils::CheckMulOverflow(dstInfo_.width(), dstInfo_.height(), dstInfo_.bytesPerPixel())) { in HeapMemAlloc() 1119 …if (ImageUtils::CheckMulOverflow(hwDstInfo_.height(), hwDstInfo_.width(), hwDstInfo_.bytesPerPixel… in HeapMemAlloc()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 2883 …if (ImageUtils::CheckMulOverflow(pixelMap->GetWidth(), pixelMap->GetHeight(), pixelMap->GetPixelBy… in CreatePixelMapForYUV()
|