/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-font.c | 465 int x_scale, y_scale; in test_font_properties() local 496 x_scale = y_scale = 13; in test_font_properties() 499 x_scale = y_scale = 13; in test_font_properties() 500 hb_font_get_scale (font, NULL, &y_scale); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 502 x_scale = y_scale = 13; in test_font_properties() 503 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 509 x_scale = y_scale = 13; in test_font_properties() 510 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftpfr.c | 65 FT_Fixed x_scale, y_scale; in FT_Get_PFR_Metrics() local 75 x_scale = y_scale = 0x10000L; in FT_Get_PFR_Metrics() 79 y_scale = face->size->metrics.y_scale; in FT_Get_PFR_Metrics() 86 *ametrics_y_scale = y_scale; in FT_Get_PFR_Metrics()
|
D | ftobjs.c | 1035 metrics->y_scale, 64 ); in FT_Load_Glyph() 3082 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 3085 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 3088 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 3094 metrics->y_scale ); in ft_recompute_scaled_metrics() 3097 metrics->y_scale ); in ft_recompute_scaled_metrics() 3100 metrics->y_scale ); in ft_recompute_scaled_metrics() 3126 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics() 3134 metrics->y_scale = 1L << 16; in FT_Select_Metrics() 3181 metrics->y_scale = (FT_Fixed)req->height; in FT_Request_Metrics() [all …]
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttgload.c | 860 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph() 867 loader->exec->metrics.y_scale = loader->size->metrics->y_scale; in TT_Hint_Glyph() 1035 FT_Fixed y_scale = 0; in TT_Process_Simple_Glyph() local 1057 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1091 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1108 vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1117 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1146 loader->pp3.y = FT_MulFix( loader->pp3.y, y_scale ); in TT_Process_Simple_Glyph() 1148 loader->pp4.y = FT_MulFix( loader->pp4.y, y_scale ); in TT_Process_Simple_Glyph() 1301 FT_Fixed y_scale = loader->size->metrics->y_scale; in TT_Process_Composite_Component() local [all …]
|
D | ttobjs.c | 927 size_metrics->y_scale = 0; in tt_size_run_fpgm() 1388 size_metrics->y_scale ) ); in tt_size_reset() 1391 size_metrics->y_scale ) ); in tt_size_reset() 1394 size_metrics->y_scale ) ); in tt_size_reset() 1412 size_metrics->y_scale = FT_DivFix( size_metrics->y_ppem << 6, in tt_size_reset() 1431 size->ttmetrics.scale = size_metrics->y_scale; in tt_size_reset()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrdrivr.c | 106 FT_Fixed x_scale, y_scale; in pfr_get_metrics() local 117 y_scale = 0x10000L; in pfr_get_metrics() 124 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics() 132 *ametrics_y_scale = y_scale; in pfr_get_metrics()
|
D | pfrobjs.c | 436 FT_Fixed y_scale = pfrsize->metrics.y_scale; in pfr_slot_load() local 444 vec->y = FT_MulFix( vec->y, y_scale ); in pfr_slot_load() 449 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in pfr_slot_load()
|
D | pfrgload.c | 641 subglyph->y_scale = 0x10000L; in pfr_glyph_load_compound() 645 subglyph->y_scale = PFR_NEXT_SHORT( p ) * 16; in pfr_glyph_load_compound() 787 if ( subglyph->x_scale != 0x10000L || subglyph->y_scale != 0x10000L ) in pfr_glyph_load_rec() 796 vec->y = FT_MulFix( vec->y, subglyph->y_scale ) + in pfr_glyph_load_rec()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ft.cc | 377 if (font->y_scale < 0) in hb_ft_get_glyph_v_advance() 407 if (font->y_scale < 0) in hb_ft_get_glyph_v_origin() 455 if (font->y_scale < 0) in hb_ft_get_glyph_extents() 552 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 553 metrics->descender = FT_MulFix(ft_face->descender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 554 …metrics->line_gap = FT_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascen… in hb_ft_get_font_h_extents() 555 if (font->y_scale < 0) in hb_ft_get_font_h_extents() 832 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed() 993 abs (font->x_scale), abs (font->y_scale), in hb_ft_font_set_funcs() 997 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs() [all …]
|
D | hb-font.hh | 111 int32_t y_scale; member 138 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y() 140 float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } in em_fscale_y() 153 if (unlikely (parent && parent->y_scale != y_scale)) in parent_scale_y_distance() 154 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance() 381 extents->ascender = y_scale * .8; in get_h_extents_with_fallback() 382 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback() 619 y_mult = ((int64_t) y_scale << 16) / upem; in mults_changed()
|
D | hb-font.cc | 227 return font->y_scale; in hb_font_get_glyph_v_advance_nil() 1512 font->x_scale = font->y_scale = hb_face_get_upem (face); in _hb_font_create() 1580 font->y_scale = parent->y_scale; in hb_font_create_sub_font() 1917 int y_scale) in hb_font_set_scale() argument 1923 font->y_scale = y_scale; in hb_font_set_scale() 1940 int *y_scale) in hb_font_get_scale() argument 1943 if (y_scale) *y_scale = font->y_scale; in hb_font_get_scale()
|
D | hb-ot-shape-fallback.cc | 220 hb_position_t y_gap = font->y_scale / 16; in position_mark() 547 pos[i].y_advance = -(font->y_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces() 554 pos[i].y_advance = (int64_t) -font->y_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffgload.c | 237 glyph->y_scale = 0x10000L; in cff_slot_load() 241 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 372 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load() 639 FT_Fixed y_scale = glyph->y_scale; in cff_slot_load() local 647 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load() 652 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load() 669 glyph->y_scale ); in cff_slot_load()
|
D | cffobjs.c | 250 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 257 FT_Pos x_scale, y_scale; in cff_size_select() local 263 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select() 268 y_scale = size->metrics.y_scale; in cff_size_select() 272 x_scale, y_scale, 0, 0 ); in cff_size_select() 326 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 333 FT_Pos x_scale, y_scale; in cff_size_request() local 339 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request() 344 y_scale = size->metrics.y_scale; in cff_size_request() 348 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | afloader.c | 166 size_metrics->y_scale ); in af_loader_embolden_glyph_in_slot() 257 size_metrics->y_scale ) ); in af_loader_load_glyph() 260 size_metrics->y_scale ) ); in af_loader_load_glyph() 263 size_metrics->y_scale ) ); in af_loader_load_glyph() 267 size_metrics->y_scale = FT_DivFix( size_metrics->y_ppem << 6, in af_loader_load_glyph() 288 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph() 514 vvector.y = FT_MulFix( vvector.y, style_metrics->scaler.y_scale ); in af_loader_load_glyph() 568 style_metrics->scaler.y_scale ); in af_loader_load_glyph()
|
D | afdummy.c | 32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
|
D | aftypes.h | 124 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member 135 (a)->y_scale == (b)->y_scale && \
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1gload.c | 393 glyph->y_scale = t1size->metrics.y_scale; in T1_Load_Glyph() 398 glyph->y_scale = 0x10000L; in T1_Load_Glyph() 543 FT_Fixed y_scale = glyph->y_scale; in T1_Load_Glyph() local 551 vec->y = FT_MulFix( vec->y, y_scale ); in T1_Load_Glyph() 556 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in T1_Load_Glyph()
|
D | t1objs.h | 124 FT_Fixed y_scale; member
|
/third_party/skia/third_party/externals/freetype/src/cid/ |
D | cidgload.c | 360 glyph->y_scale = cidsize->metrics.y_scale; in cid_slot_load_glyph() 483 FT_Fixed y_scale = glyph->y_scale; in cid_slot_load_glyph() local 491 vec->y = FT_MulFix( vec->y, y_scale ); in cid_slot_load_glyph() 496 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cid_slot_load_glyph()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | rescaler_msa.c | 269 const v4u32 y_scale = (v4u32)__msa_fill_w(yscale); 278 CALC_MULT_FIX1_16(src0, src1, src2, src3, y_scale, shiftval, 297 CALC_MULT_FIX1_4(src0, y_scale, shiftval, frac0); 298 CALC_MULT_FIX1_4(src1, y_scale, shiftval, frac1); 299 CALC_MULT_FIX1_4(src2, y_scale, shiftval, frac2); 315 CALC_MULT_FIX1_4(src0, y_scale, shiftval, frac0); 316 CALC_MULT_FIX1_4(src1, y_scale, shiftval, frac1); 331 CALC_MULT_FIX1_4(src0, y_scale, shiftval, frac0);
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-scaler.c | 1135 gst_video_scaler_combine_packed_YUV (GstVideoScaler * y_scale, in gst_video_scaler_combine_packed_YUV() argument 1145 g_return_val_if_fail (y_scale != NULL, NULL); in gst_video_scaler_combine_packed_YUV() 1148 y_scale->resampler.max_taps, NULL); in gst_video_scaler_combine_packed_YUV() 1152 scale->method = y_scale->method; in gst_video_scaler_combine_packed_YUV() 1153 scale->flags = y_scale->flags; in gst_video_scaler_combine_packed_YUV() 1158 out_size = GST_ROUND_UP_4 (y_scale->resampler.out_size * 2); in gst_video_scaler_combine_packed_YUV() 1159 max_taps = y_scale->resampler.max_taps; in gst_video_scaler_combine_packed_YUV() 1165 resampler->in_size = y_scale->resampler.in_size * 2; in gst_video_scaler_combine_packed_YUV() 1176 scale->inc = y_scale->inc; in gst_video_scaler_combine_packed_YUV() 1182 ic = MIN (i / 2, y_scale->resampler.out_size - 1); in gst_video_scaler_combine_packed_YUV() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_compute.c | 92 float y_scale = blit_info->src.box.height / (float)blit_info->dst.box.height; in util_compute_blit() local 101 u_bitcast_f2u(y_scale / src->height0), in util_compute_blit()
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
D | pshglob.c | 756 FT_Fixed y_scale, in psh_globals_set_scale() argument 774 if ( y_scale != dim->scale_mult || in psh_globals_set_scale() 777 dim->scale_mult = y_scale; in psh_globals_set_scale() 781 psh_blues_scale_zones( &globals->blues, y_scale, y_delta ); in psh_globals_set_scale()
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
D | cffotypes.h | 67 FT_Fixed y_scale; member
|