Change-Id: I4d59433bdce554f3625a58f326c63aa859f5c1ef
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
index++;
}
+ if(normalizeFactor < Math::MACHINE_EPSILON_1)
+ {
+ DALI_LOG_ERROR("Blur radius is too small.\n");
+ delete[] weightMatrix;
+ return;
+ }
+
for(int i = 0; i < rows; i++)
{
weightMatrix[i] /= normalizeFactor;