Lines Matching refs:currData
158 DFData* currData = data; in init_distances() local
173 + SK_ScalarSqrt2*(currData+1)->fAlpha in init_distances()
174 - SK_ScalarSqrt2*(currData-1)->fAlpha in init_distances()
183 float dist = edge_distance(currGrad, currData->fAlpha); in init_distances()
184 currGrad.scale(dist, &currData->fDistVector); in init_distances()
185 currData->fDistSq = dist*dist; in init_distances()
188 currData->fDistSq = 2000000.f; in init_distances()
189 currData->fDistVector.fX = 1000.f; in init_distances()
190 currData->fDistVector.fY = 1000.f; in init_distances()
192 ++currData; in init_distances()
375 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image() local
382 F1(currData, dataWidth); in generate_distance_field_from_image()
384 ++currData; in generate_distance_field_from_image()
389 --currData; // reset to end in generate_distance_field_from_image()
394 F2(currData, dataWidth); in generate_distance_field_from_image()
396 --currData; in generate_distance_field_from_image()
400 currData += dataWidth+1; in generate_distance_field_from_image()
405 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
412 B1(currData, dataWidth); in generate_distance_field_from_image()
414 ++currData; in generate_distance_field_from_image()
419 --currData; // reset to end in generate_distance_field_from_image()
424 B2(currData, dataWidth); in generate_distance_field_from_image()
426 --currData; in generate_distance_field_from_image()
430 currData -= dataWidth-1; in generate_distance_field_from_image()
435 currData = dataPtr + dataWidth+1; in generate_distance_field_from_image()
441 float alpha = currData->fAlpha; in generate_distance_field_from_image()
452 if (currData->fAlpha > 0.5f) { in generate_distance_field_from_image()
453 dist = -SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
455 dist = SkScalarSqrt(currData->fDistSq); in generate_distance_field_from_image()
459 ++currData; in generate_distance_field_from_image()
462 currData += 2; in generate_distance_field_from_image()