Lines Matching refs:values

64 			value = kernel_info->values[count];  in php_imagickkernelvalues_to_zval()
134 if (fabs(kernel->values[i]) < MagickEpsilon) { in im_CalcKernelMetaData()
135 kernel->values[i] = 0.0; in im_CalcKernelMetaData()
137 if (kernel->values[i] < 0) { in im_CalcKernelMetaData()
138 kernel->negative_range += kernel->values[i]; in im_CalcKernelMetaData()
141 kernel->positive_range += kernel->values[i]; in im_CalcKernelMetaData()
143 if (kernel->values[i] < kernel->minimum) { in im_CalcKernelMetaData()
144 kernel->minimum = kernel->values[i]; in im_CalcKernelMetaData()
147 if (kernel->values[i] > kernel->maximum) { in im_CalcKernelMetaData()
148 kernel->maximum = kernel->values[i]; in im_CalcKernelMetaData()
157 static KernelInfo *imagick_createKernel(KernelValueType *values, size_t width, size_t height, size_… in imagick_createKernel() argument
180 if (kernel_info->values != NULL) { in imagick_createKernel()
181 RelinquishAlignedMemory(kernel_info->values); in imagick_createKernel()
185 kernel_info->values = (MagickRealType *)AcquireAlignedMemory(width*height, sizeof(MagickRealType)); in imagick_createKernel()
188 kernel_info->values[i] = (MagickRealType)values[i]; in imagick_createKernel()
192 kernel_info->values = values; in imagick_createKernel()
255 KernelValueType *values = NULL; in PHP_METHOD() local
294 if (values == NULL) { in PHP_METHOD()
295 values = (KernelValueType *)AcquireAlignedMemory(num_columns, num_rows*sizeof(KernelValueType)); in PHP_METHOD()
317 values[count] = Z_DVAL_P(pzval_inner); in PHP_METHOD()
321 values[count] = (float)Z_LVAL_P(pzval_inner); in PHP_METHOD()
325 values[count] = notanumber; in PHP_METHOD()
397 kernel_info = imagick_createKernel(values, num_columns, num_rows, origin_x, origin_y); in PHP_METHOD()
403 if (values != NULL) { in PHP_METHOD()
404 RelinquishAlignedMemory(values); in PHP_METHOD()
429 KernelValueType *values = NULL; in PHP_METHOD() local
467 if (values == NULL) { in PHP_METHOD()
468 values = (KernelValueType *)AcquireAlignedMemory(num_columns, num_rows*sizeof(KernelValueType)); in PHP_METHOD()
488 values[count] = Z_DVAL_PP(ppzval_inner); in PHP_METHOD()
492 values[count] = (float)Z_LVAL_PP(ppzval_inner); in PHP_METHOD()
496 values[count] = notanumber; in PHP_METHOD()
565 kernel_info = imagick_createKernel(values, num_columns, num_rows, origin_x, origin_y); in PHP_METHOD()
571 if (values != NULL) { in PHP_METHOD()
572 RelinquishAlignedMemory(values); in PHP_METHOD()
758 memcpy(values_copy, kernel_info->values, number_values * sizeof(KernelValueType)); in PHP_METHOD()