Home
last modified time | relevance | path

Searched refs:CheckMulOverflow (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dimage_utils.h49 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 Dimage_utils_test.cpp275 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 Dpost_proc.cpp215 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 Dbasic_transformer.cpp178 ImageUtils::CheckMulOverflow(dstSize.width, dstSize.height, pixelBytes)) { in TransformPixmap()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp351 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 Dnative_image.cpp126 if (ImageUtils::CheckMulOverflow(width, height)) { in SplitYUV422SPComponent()
H A Dpixel_map.cpp375 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 Dbmp_decoder.cpp304 if (ImageUtils::CheckMulOverflow(dstInfo.width(), dstInfo.height(), dstInfo.bytesPerPixel())) { in Decode()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp381 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 Djpeg_decoder.cpp363 if (ImageUtils::CheckMulOverflow(rowStride, decodeInfo_.output_height)) { in DoSwDecode()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp572 … 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 Dimage_source.cpp2883 …if (ImageUtils::CheckMulOverflow(pixelMap->GetWidth(), pixelMap->GetHeight(), pixelMap->GetPixelBy… in CreatePixelMapForYUV()