Lines Matching refs:DFData
17 struct DFData { struct
72 static void init_glyph_data(DFData* data, unsigned char* edges, const unsigned char* image, in init_glyph_data()
155 static void init_distances(DFData* data, unsigned char* edges, int width, int height) { in init_distances()
157 DFData* currData = data; in init_distances()
158 DFData* prevData = data - width; in init_distances()
159 DFData* nextData = data + width; in init_distances()
203 static void F1(DFData* curr, int width) { in F1()
205 DFData* check = curr - width-1; in F1()
249 static void F2(DFData* curr, int width) { in F2()
251 DFData* check = curr + 1; in F2()
263 static void B1(DFData* curr, int width) { in B1()
265 DFData* check = curr - 1; in B1()
277 static void B2(DFData* curr, int width) { in B2()
279 DFData* check = curr + 1; in B2()
359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
360 DFData* dataPtr = (DFData*)storage.get(); in generate_distance_field_from_image()
361 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
374 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image()