Home
last modified time | relevance | path

Searched refs:y_scale (Results 1 – 25 of 31) sorted by relevance

12

/external/freetype/src/cff/
Dcffobjs.c230 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select()
237 FT_Pos x_scale, y_scale; in cff_size_select() local
243 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select()
248 y_scale = size->metrics.y_scale; in cff_size_select()
252 x_scale, y_scale, 0, 0 ); in cff_size_select()
302 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request()
309 FT_Pos x_scale, y_scale; in cff_size_request() local
315 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request()
320 y_scale = size->metrics.y_scale; in cff_size_request()
324 x_scale, y_scale, 0, 0 ); in cff_size_request()
Dcffobjs.h79 FT_Fixed y_scale; member
Dcffgload.c2619 glyph->y_scale = 0x10000L; in cff_slot_load()
2623 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load()
2716 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load()
2931 FT_Fixed y_scale = glyph->y_scale; in cff_slot_load() local
2939 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load()
2944 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load()
/external/freetype/src/truetype/
Dttgload.c755 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph()
763 loader->exec->metrics.y_scale = in TT_Hint_Glyph()
764 ((TT_Size)loader->size)->metrics.y_scale; in TT_Hint_Glyph()
898 FT_Fixed y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Simple_Glyph() local
904 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph()
1058 FT_Fixed y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Composite_Component() local
1062 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component()
1217 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local
1255 y_scale = ((TT_Size)loader->size)->metrics.y_scale; in load_truetype_glyph()
1260 y_scale = 0x10000L; in load_truetype_glyph()
[all …]
Dttobjs.c759 metrics->y_scale = 0; in tt_size_run_fpgm()
1153 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset()
1157 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
1159 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
1161 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
1179 size->ttmetrics.scale = metrics->y_scale; in tt_size_reset()
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/
Dbilin_scaler.c170 float y_scale = (float)src_height/(float)dst_height; in scale_srcw16_dstw16() local
206 curr_src_y_lower = ((float)curr_interpl_y_upper+1)*y_scale; in scale_srcw16_dstw16()
232 next_src_vu = ((float)dst_vu+1)*y_scale; in scale_srcw16_dstw16()
233 next_src_y_upper = ((float)dst_y+2)*y_scale; in scale_srcw16_dstw16()
234 next_src_y_lower = ((float)dst_y+3)*y_scale; in scale_srcw16_dstw16()
476 float y_scale = (float)src_height/(float)dst_height; in scale_srcw16_dstw32() local
512 curr_src_y_lower = ((float)curr_interpl_y_upper+1)*y_scale; in scale_srcw16_dstw32()
537 next_src_vu = ((float)dst_vu+1)*y_scale; in scale_srcw16_dstw32()
538 next_src_y_upper = ((float)dst_y+2)*y_scale; in scale_srcw16_dstw32()
539 next_src_y_lower = ((float)dst_y+3)*y_scale; in scale_srcw16_dstw32()
[all …]
/external/freetype/src/autofit/
Daftypes.h184 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member
195 (a)->y_scale == (b)->y_scale && \
Dafloader.c363 y = FT_MulFix( subglyph->arg2, hints->y_scale ) + hints->y_delta; in af_loader_load_g()
397 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
458 metrics->scaler.y_scale ); in af_loader_load_g()
505 scaler.y_scale = size->metrics.y_scale; in af_loader_load_glyph()
Dafhints.c578 FT_Fixed y_scale = hints->y_scale; in af_glyph_hints_reload() local
639 hints->y_scale = y_scale; in af_glyph_hints_reload()
669 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload()
Daflatin.c89 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
540 scale = scaler->y_scale; in af_latin_metrics_scale_dim()
572 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin_metrics_scale_dim()
602 metrics->root.scaler.y_scale = scale; in af_latin_metrics_scale_dim()
1062 : hints->y_scale; in af_latin_hints_compute_edges()
1075 segment_length_threshold = FT_DivFix( 64, hints->y_scale ); in af_latin_hints_compute_edges()
1471 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; in af_latin_hints_init()
Daflatin2.c90 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
523 scale = scaler->y_scale; in af_latin2_metrics_scale_dim()
556 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin2_metrics_scale_dim()
582 metrics->root.scaler.y_scale = scale; in af_latin2_metrics_scale_dim()
1056 : hints->y_scale; in af_latin2_hints_compute_edges()
1075 segment_length_threshold = FT_DivFix( 64, hints->y_scale ); in af_latin2_hints_compute_edges()
1481 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; in af_latin2_hints_init()
Dafhints.h338 FT_Fixed y_scale; member
Dafcjk.c103 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
590 scale = scaler->y_scale; in af_cjk_metrics_scale_dim()
741 : hints->y_scale; in af_cjk_hints_link_segments()
910 : hints->y_scale; in af_cjk_hints_compute_edges()
1272 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale; in af_cjk_hints_init()
Dafwarp.c185 org_scale = hints->y_scale; in af_warper_compute()
/external/freetype/src/base/
Dftobjs.c741 metrics->y_scale, 64 ); in FT_Load_Glyph()
2563 metrics->y_scale ) ); in ft_recompute_scaled_metrics()
2566 metrics->y_scale ) ); in ft_recompute_scaled_metrics()
2569 metrics->y_scale ) ); in ft_recompute_scaled_metrics()
2575 metrics->y_scale ); in ft_recompute_scaled_metrics()
2578 metrics->y_scale ); in ft_recompute_scaled_metrics()
2581 metrics->y_scale ); in ft_recompute_scaled_metrics()
2607 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
2615 metrics->y_scale = 1L << 16; in FT_Select_Metrics()
2626 metrics->y_scale, metrics->y_scale / 65536.0 )); in FT_Select_Metrics()
[all …]
Dftsynth.c98 face->size->metrics.y_scale ) / 24; in FT_GlyphSlot_Embolden()
Dftadvanc.c41 scale = face->size->metrics.y_scale; in _ft_face_scale_advances()
/external/freetype/src/pshinter/
Dpshglob.c709 FT_Fixed y_scale, in psh_globals_set_scale() argument
727 if ( y_scale != dim->scale_mult || in psh_globals_set_scale()
730 dim->scale_mult = y_scale; in psh_globals_set_scale()
734 psh_blues_scale_zones( &globals->blues, y_scale, y_delta ); in psh_globals_set_scale()
Dpshglob.h173 FT_Fixed y_scale,
Dpshalgo.c2228 FT_Fixed y_scale = dim_y->scale_mult; in ps_hints_apply() local
2231 FT_Fixed old_y_scale = y_scale; in ps_hints_apply()
2239 scaled = FT_MulFix( globals->blues.normal_top.zones->org_ref, y_scale ); in ps_hints_apply()
2246 y_scale = FT_MulDiv( y_scale, fitted, scaled ); in ps_hints_apply()
2251 psh_globals_set_scale( glyph->globals, x_scale, y_scale, 0, 0 ); in ps_hints_apply()
/external/freetype/include/freetype/internal/
Dpshints.h51 FT_Fixed y_scale,
/external/harfbuzz/src/
Dharfbuzz-shaper.h256 HB_16Dot16 x_scale, y_scale; member
/external/harfbuzz/tests/shaping/
Dmain.cpp222 hbFont.y_scale = face->size->metrics.y_scale; in shaping()
/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg.cpp1641 int x_scale = channels > 1 ? 2 : 1, y_scale = x_scale; in WriteImage() local
1644 int y_step = y_scale * 8; in WriteImage()
1647 int luma_count = x_scale*y_scale; in WriteImage()
1717 lowstrm.PutByte(x_scale*16 + y_scale); // chroma scale factors in WriteImage()
1778 if( ((i+1) & (y_scale - 1)) == 0 ) in WriteImage()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DComplexTextControllerLinux.cpp216 m_item.font->y_scale = scale; in setupFontForScriptRun()

12