Searched refs:CheckMulOverflow (Results 1 - 6 of 6) sorted by relevance
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_utils.h | 50 static bool CheckMulOverflow(int32_t width, int32_t bytesPerPixel); 51 static bool CheckMulOverflow(int32_t width, int32_t height, int32_t bytesPerPixel);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_utils_test.cpp | 266 * @tc.desc: CheckMulOverflow 275 bool res = ImageUtils::CheckMulOverflow(width, height, bytesPerPixel); in HWTEST_F() 433 * @tc.desc: CheckMulOverflow 441 bool ret = ImageUtils::CheckMulOverflow(width, bytesPerPixel); in HWTEST_F() 445 ret = ImageUtils::CheckMulOverflow(width, bytesPerPixel); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 322 if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, pixelBytes)) { in CheckScanlineFilter() 374 if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, dstImageInfo.size.height, pixelBytes)) { in ConvertProc() 426 if (ImageUtils::CheckMulOverflow(imageInfo.size.width, imageInfo.size.height, pixelBytes)) { in AllocBuffer()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 375 bool ImageUtils::CheckMulOverflow(int32_t width, int32_t bytesPerPixel) in CheckMulOverflow() function in OHOS::Media::ImageUtils 389 bool ImageUtils::CheckMulOverflow(int32_t width, int32_t height, int32_t bytesPerPixel) in CheckMulOverflow() function in OHOS::Media::ImageUtils
|
/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()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 543 if (ImageUtils::CheckMulOverflow(dstInfo_.width(), dstInfo_.height(), dstInfo_.bytesPerPixel())) {
in HeapMemAlloc()
|
Completed in 11 milliseconds