/external/freetype/src/autofit/ |
D | aflatin.c | 556 FT_Pos delta1, delta2; in af_latin_metrics_scale_dim() local 560 delta2 = delta1; in af_latin_metrics_scale_dim() 562 delta2 = -delta2; in af_latin_metrics_scale_dim() 564 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim() 566 if ( delta2 < 32 ) in af_latin_metrics_scale_dim() 567 delta2 = 0; in af_latin_metrics_scale_dim() 568 else if ( delta2 < 64 ) in af_latin_metrics_scale_dim() 569 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin_metrics_scale_dim() 571 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim() 574 delta2 = -delta2; in af_latin_metrics_scale_dim() [all …]
|
D | aflatin2.c | 555 FT_Pos delta1, delta2; in af_latin2_metrics_scale_dim() local 558 delta2 = delta1; in af_latin2_metrics_scale_dim() 560 delta2 = -delta2; in af_latin2_metrics_scale_dim() 562 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim() 564 if ( delta2 < 32 ) in af_latin2_metrics_scale_dim() 565 delta2 = 0; in af_latin2_metrics_scale_dim() 566 else if ( delta2 < 64 ) in af_latin2_metrics_scale_dim() 567 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin2_metrics_scale_dim() 569 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim() 572 delta2 = -delta2; in af_latin2_metrics_scale_dim() [all …]
|
D | afcjk.c | 1063 FT_Pos delta1, delta2, d1, d2; in af_cjk_hint_edges() 1087 delta2 = delta - 32; in af_cjk_hint_edges() 1089 delta2 = delta + 32; in af_cjk_hint_edges() 1091 delta2 += af_hint_normal_stem( hints, &left1, &left2, delta2, 0 ); in af_cjk_hint_edges() 1093 if ( delta1 != delta2 ) in af_cjk_hint_edges() 1096 af_hint_normal_stem( hints, &right1, &right2, delta2, 0 ); in af_cjk_hint_edges() 1114 delta1 = delta2; in af_cjk_hint_edges()
|
/external/tesseract/liblept/ |
D | numafunc2.c | 1561 l_float32 xval1, xval2, yval1, yval2, delta1, delta2, crossval, fract; in numaCrossingsByThreshold() local 1587 delta2 = yval2 - thresh; in numaCrossingsByThreshold() 1590 else if (delta2 == 0.0) in numaCrossingsByThreshold() 1592 else if (delta1 * delta2 < 0.0) { /* crossing */ in numaCrossingsByThreshold() 1624 l_float32 xval1, xval2, yval1, yval2, delta1, delta2; in numaCrossingsByPeaks() local 1669 delta2 = yval2 - thresh; in numaCrossingsByPeaks() 1674 else if (delta2 == 0.0) { in numaCrossingsByPeaks() 1678 else if (delta1 * delta2 < 0.0) { /* crossing */ in numaCrossingsByPeaks()
|
D | boxfunc2.c | 763 l_int32 delta2, in boxaSort2d() argument 823 boxaaAlignBox(baa, box, delta2, &index); in boxaSort2d()
|
D | leptprotos.h | 241 LEPT_DLL extern BOXAA * boxaSort2d ( BOXA *boxas, NUMAA **pnaad, l_int32 delta1, l_int32 delta2, l_…
|
/external/freetype/src/base/ |
D | ftstroke.c | 838 FT_Vector delta, delta2; in ft_stroker_cap() local 844 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap() 847 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap() 848 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap() 854 FT_Vector_From_Polar( &delta2, radius, angle - rotate ); in ft_stroker_cap() 857 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap() 858 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 428 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta() local 431 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta() 434 return delta2; in psh_hint_snap_stem_side_delta()
|
/external/freetype/src/truetype/ |
D | ttinterp.c | 6318 FT_F26Dot6 orus1, orus2, org1, org2, delta1, delta2; in _iup_worker_interpolate() local 6349 delta2 = worker->curs[ref2].x - org2; in _iup_worker_interpolate() 6362 x += delta2; in _iup_worker_interpolate() 6383 x += delta2; in _iup_worker_interpolate() 6390 scale = TT_MULDIV( org2 + delta2 - ( org1 + delta1 ), in _iup_worker_interpolate()
|
/external/tesseract/include/ |
D | leptprotos.h | 243 LEPT_DLL extern BOXAA * boxaSort2d ( BOXA *boxas, NUMAA **pnaad, l_int32 delta1, l_int32 delta2, l_…
|