Lines Matching refs:dataHeight
74 int dataWidth, int dataHeight, in init_glyph_data() argument
357 int dataHeight = height + 2*pad; in generate_distance_field_from_image() local
360 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
362 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
366 dataWidth, dataHeight, in generate_distance_field_from_image()
370 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
377 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image()
405 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
406 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
407 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image()
438 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image()