Lines Matching defs:height
156 static void init_distances(DFData* data, unsigned char* edges, int width, int height) {
162 for (int j = 0; j < height; ++j) {
166 SkASSERT(i > 0 && i < width-1 && j > 0 && j < height-1);
344 // width and height are the original width and height of the image
347 int width, int height) {
357 int dataHeight = height + 2*pad;
367 width+2, height+2, SK_DistanceFieldPad);
472 int width, int height, size_t rowBytes) {
477 SkAutoSMalloc<1024> copyStorage((width+2)*(height+2)*sizeof(char));
485 for (int i = 0; i < height; ++i) {
494 return generate_distance_field_from_image(distanceField, copyPtr, width, height);
530 int width, int height, size_t rowBytes) {
535 SkAutoSMalloc<1024> copyStorage((width+2)*(height+2)*sizeof(char));
543 for (int i = 0; i < height; ++i) {
560 return generate_distance_field_from_image(distanceField, copyPtr, width, height);