Home
last modified time | relevance | path

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

/PHP-7.0/ext/gd/libgd/
H A Dgd_interpolation.c889 …inline LineContribType * _gdContributionsAlloc(unsigned int line_length, unsigned int windows_size) in _gdContributionsAlloc() argument
899 res->WindowSize = windows_size; in _gdContributionsAlloc()
911 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()
914 res->ContribRow[u].Weights = (double *) gdMalloc(windows_size * sizeof(double)); in _gdContributionsAlloc()
945 int windows_size; in _gdContributionsCalc() local
957 windows_size = 2 * (int)ceil(width_d) + 1; in _gdContributionsCalc()
958 res = _gdContributionsAlloc(line_size, windows_size); in _gdContributionsCalc()
971 if (iRight - iLeft + 1 > windows_size) { in _gdContributionsCalc()

Completed in 11 milliseconds