Lines Matching refs:dataWidth

73                             int dataWidth, int dataHeight,  in init_glyph_data()  argument
76 data += pad*dataWidth; in init_glyph_data()
78 edges += (pad*dataWidth + pad); in init_glyph_data()
355 int dataWidth = width + 2*pad; in generate_distance_field_from_image() local
359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
361 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
365 dataWidth, dataHeight, in generate_distance_field_from_image()
369 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
374 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image()
375 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image()
378 for (int i = 1; i < dataWidth-1; ++i) { in generate_distance_field_from_image()
381 F1(currData, dataWidth); in generate_distance_field_from_image()
390 for (int i = 1; i < dataWidth-1; ++i) { in generate_distance_field_from_image()
393 F2(currData, dataWidth); in generate_distance_field_from_image()
399 currData += dataWidth+1; in generate_distance_field_from_image()
400 currEdge += dataWidth+1; in generate_distance_field_from_image()
404 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
405 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
408 for (int i = 1; i < dataWidth-1; ++i) { in generate_distance_field_from_image()
411 B1(currData, dataWidth); in generate_distance_field_from_image()
420 for (int i = 1; i < dataWidth-1; ++i) { in generate_distance_field_from_image()
423 B2(currData, dataWidth); in generate_distance_field_from_image()
429 currData -= dataWidth-1; in generate_distance_field_from_image()
430 currEdge -= dataWidth-1; in generate_distance_field_from_image()
434 currData = dataPtr + dataWidth+1; in generate_distance_field_from_image()
435 currEdge = edgePtr + dataWidth+1; in generate_distance_field_from_image()
438 for (int i = 1; i < dataWidth-1; ++i) { in generate_distance_field_from_image()