Lines Matching refs:currData
157 DFData* currData = data; in init_distances() local
172 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
173 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
182 float dist = edge_distance(currGrad, currData->fAlpha); in init_distances()
183 currGrad.scale(dist, &currData->fDistVector); in init_distances()
184 currData->fDistSq = dist*dist; in init_distances()
187 currData->fDistSq = 2000000.f; in init_distances()
188 currData->fDistVector.fX = 1000.f; in init_distances()
189 currData->fDistVector.fY = 1000.f; in init_distances()
191 ++currData; in init_distances()
374 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image() local
381 F1(currData, dataWidth); in generate_distance_field_from_image()
383 ++currData; in generate_distance_field_from_image()
388 --currData; // reset to end in generate_distance_field_from_image()
393 F2(currData, dataWidth); in generate_distance_field_from_image()
395 --currData; in generate_distance_field_from_image()
399 currData += dataWidth+1; in generate_distance_field_from_image()
404 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
411 B1(currData, dataWidth); in generate_distance_field_from_image()
413 ++currData; in generate_distance_field_from_image()
418 --currData; // reset to end in generate_distance_field_from_image()
423 B2(currData, dataWidth); in generate_distance_field_from_image()
425 --currData; in generate_distance_field_from_image()
429 currData -= dataWidth-1; in generate_distance_field_from_image()
434 currData = dataPtr + dataWidth+1; in generate_distance_field_from_image()
440 float alpha = currData->fAlpha; in generate_distance_field_from_image()
451 if (currData->fAlpha > 0.5f) { in generate_distance_field_from_image()
452 dist = -SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
454 dist = SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
458 ++currData; in generate_distance_field_from_image()
461 currData += 2; in generate_distance_field_from_image()