Lines Matching refs:currData
150 DFData* currData = data; in init_distances() local
165 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
166 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
175 float dist = edge_distance(currGrad, currData->fAlpha); in init_distances()
176 currGrad.scale(dist, &currData->fDistVector); in init_distances()
177 currData->fDistSq = dist*dist; in init_distances()
180 currData->fDistSq = 2000000.f; in init_distances()
181 currData->fDistVector.fX = 1000.f; in init_distances()
182 currData->fDistVector.fY = 1000.f; in init_distances()
184 ++currData; in init_distances()
367 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image() local
374 F1(currData, dataWidth); in generate_distance_field_from_image()
376 ++currData; in generate_distance_field_from_image()
381 --currData; // reset to end in generate_distance_field_from_image()
386 F2(currData, dataWidth); in generate_distance_field_from_image()
388 --currData; in generate_distance_field_from_image()
392 currData += dataWidth+1; in generate_distance_field_from_image()
397 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
404 B1(currData, dataWidth); in generate_distance_field_from_image()
406 ++currData; in generate_distance_field_from_image()
411 --currData; // reset to end in generate_distance_field_from_image()
416 B2(currData, dataWidth); in generate_distance_field_from_image()
418 --currData; in generate_distance_field_from_image()
422 currData -= dataWidth-1; in generate_distance_field_from_image()
427 currData = dataPtr + dataWidth+1; in generate_distance_field_from_image()
433 float alpha = currData->fAlpha; in generate_distance_field_from_image()
444 if (currData->fAlpha > 0.5f) { in generate_distance_field_from_image()
445 dist = -SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
447 dist = SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
451 ++currData; in generate_distance_field_from_image()
454 currData += 2; in generate_distance_field_from_image()