Lines Matching refs:quantize_error
245 quantize_error; member
878 node_info->quantize_error+=count*sqrt(distance); in ClassifyImageColors()
879 cube_info->root->quantize_error+=node_info->quantize_error; in ClassifyImageColors()
985 node_info->quantize_error+=count*sqrt(distance); in ClassifyImageColors()
986 cube_info->root->quantize_error+=node_info->quantize_error; in ClassifyImageColors()
2909 const NodeInfo *node_info,const ssize_t offset,double *quantize_error) in QuantizeErrorFlatten() argument
2920 quantize_error[offset]=node_info->quantize_error; in QuantizeErrorFlatten()
2926 quantize_error); in QuantizeErrorFlatten()
2970 if (node_info->quantize_error <= cube_info->pruning_threshold) in Reduce()
2979 if (node_info->quantize_error < cube_info->next_threshold) in Reduce()
2980 cube_info->next_threshold=node_info->quantize_error; in Reduce()
3071 *quantize_error; in ReduceImageColors() local
3076 quantize_error=(double *) AcquireQuantumMemory(cube_info->nodes, in ReduceImageColors()
3077 sizeof(*quantize_error)); in ReduceImageColors()
3078 if (quantize_error != (double *) NULL) in ReduceImageColors()
3081 quantize_error); in ReduceImageColors()
3082 qsort(quantize_error,cube_info->nodes,sizeof(double), in ReduceImageColors()
3085 cube_info->next_threshold=quantize_error[cube_info->nodes-110* in ReduceImageColors()
3087 quantize_error=(double *) RelinquishMagickMemory(quantize_error); in ReduceImageColors()
3093 cube_info->next_threshold=cube_info->root->quantize_error-1; in ReduceImageColors()