/external/harfbuzz_ng/test/api/ |
D | test-font.c | 377 int x_scale, y_scale; in test_font_properties() local 408 x_scale = y_scale = 13; in test_font_properties() 411 x_scale = y_scale = 13; in test_font_properties() 412 hb_font_get_scale (font, NULL, &y_scale); in test_font_properties() 413 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 414 x_scale = y_scale = 13; in test_font_properties() 415 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() 417 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 421 x_scale = y_scale = 13; in test_font_properties() 422 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen7_viewport_state.c | 36 GLfloat y_scale, y_bias; in gen7_upload_sf_clip_viewport() local 54 y_scale = 1.0; in gen7_upload_sf_clip_viewport() 57 y_scale = -1.0; in gen7_upload_sf_clip_viewport() 63 vp->viewport.m11 = v[MAT_SY] * y_scale; in gen7_upload_sf_clip_viewport() 66 vp->viewport.m31 = v[MAT_TY] * y_scale + y_bias; in gen7_upload_sf_clip_viewport()
|
D | gen6_viewport_state.c | 73 GLfloat y_scale, y_bias; in gen6_upload_sf_vp() local 83 y_scale = 1.0; in gen6_upload_sf_vp() 86 y_scale = -1.0; in gen6_upload_sf_vp() 92 sfv->viewport.m11 = v[MAT_SY] * y_scale; in gen6_upload_sf_vp() 95 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias; in gen6_upload_sf_vp()
|
D | brw_sf_state.c | 48 GLfloat y_scale, y_bias; in upload_sf_vp() local 57 y_scale = 1.0; in upload_sf_vp() 61 y_scale = -1.0; in upload_sf_vp() 68 sfv->viewport.m11 = v[MAT_SY] * y_scale; in upload_sf_vp() 71 sfv->viewport.m31 = v[MAT_TY] * y_scale + y_bias; in upload_sf_vp()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftpfr.c | 66 FT_Fixed x_scale, y_scale; in FT_Get_PFR_Metrics() local 76 x_scale = y_scale = 0x10000L; in FT_Get_PFR_Metrics() 80 y_scale = face->size->metrics.y_scale; in FT_Get_PFR_Metrics() 87 *ametrics_y_scale = y_scale; in FT_Get_PFR_Metrics()
|
D | ftobjs.c | 778 metrics->y_scale, 64 ); in FT_Load_Glyph() 2651 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 2654 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 2657 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 2663 metrics->y_scale ); in ft_recompute_scaled_metrics() 2666 metrics->y_scale ); in ft_recompute_scaled_metrics() 2669 metrics->y_scale ); in ft_recompute_scaled_metrics() 2695 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics() 2703 metrics->y_scale = 1L << 16; in FT_Select_Metrics() 2714 metrics->y_scale, metrics->y_scale / 65536.0 )); in FT_Select_Metrics() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-font-private.hh | 106 int y_scale; member 120 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); } in em_scale_y() 129 if (unlikely (parent && parent->y_scale != y_scale)) in parent_scale_y_distance() 130 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance() 301 extents->ascender = y_scale * .8; in get_extents_for_direction() 302 extents->descender = y_scale - extents->ascender; in get_extents_for_direction() 335 *y = y_scale; in guess_v_origin_minus_h_origin()
|
D | hb-ft.cc | 222 if (font->y_scale < 0) in hb_ft_get_glyph_v_advance() 251 if (font->y_scale < 0) in hb_ft_get_glyph_v_origin() 296 if (font->y_scale < 0) in hb_ft_get_glyph_extents() 391 if (font->y_scale < 0) in hb_ft_get_font_h_extents() 586 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1<<15)) >>… in hb_ft_font_create() 681 abs (font->x_scale), abs (font->y_scale), in hb_ft_font_set_funcs() 685 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs() 687 if (font->x_scale < 0 || font->y_scale < 0) in hb_ft_font_set_funcs() 690 0, font->y_scale < 0 ? -1 : +1}; in hb_ft_font_set_funcs()
|
D | hb-font.cc | 161 return font->y_scale; in hb_font_get_glyph_v_advance_nil() 1136 font->x_scale = font->y_scale = hb_face_get_upem (face); in hb_font_create() 1165 font->y_scale = parent->y_scale; in hb_font_create_sub_font() 1471 int y_scale) in hb_font_set_scale() argument 1477 font->y_scale = y_scale; in hb_font_set_scale() 1493 int *y_scale) in hb_font_get_scale() argument 1496 if (y_scale) *y_scale = font->y_scale; in hb_font_get_scale()
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttgload.c | 768 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph() 775 loader->exec->metrics.y_scale = loader->size->metrics.y_scale; in TT_Hint_Glyph() 911 FT_Fixed y_scale = 0; in TT_Process_Simple_Glyph() local 933 y_scale = loader->size->metrics.y_scale; in TT_Process_Simple_Glyph() 954 y_scale = loader->size->metrics.y_scale; in TT_Process_Simple_Glyph() 965 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1113 FT_Fixed y_scale = loader->size->metrics.y_scale; in TT_Process_Composite_Component() local 1117 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component() 1385 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local 1421 y_scale = loader->size->metrics.y_scale; in load_truetype_glyph() [all …]
|
D | ttobjs.c | 829 metrics->y_scale = 0; in tt_size_run_fpgm() 1239 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset() 1243 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset() 1245 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset() 1247 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset() 1264 size->ttmetrics.scale = metrics->y_scale; in tt_size_reset()
|
/external/freetype/src/cff/ |
D | cffobjs.c | 234 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 241 FT_Pos x_scale, y_scale; in cff_size_select() local 247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select() 252 y_scale = size->metrics.y_scale; in cff_size_select() 256 x_scale, y_scale, 0, 0 ); in cff_size_select() 306 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 313 FT_Pos x_scale, y_scale; in cff_size_request() local 319 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request() 324 y_scale = size->metrics.y_scale; in cff_size_request() 328 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
D | cf2ft.c | 257 CF2_Fixed* y_scale, in cf2_getScaleAndHintFlag() argument 270 *y_scale = ( decoder->builder.glyph->y_scale + 32 ) / 64; in cf2_getScaleAndHintFlag() 278 *y_scale = 0x0400; in cf2_getScaleAndHintFlag()
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cffobjs.c | 234 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 241 FT_Pos x_scale, y_scale; in cff_size_select() local 247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select() 252 y_scale = size->metrics.y_scale; in cff_size_select() 256 x_scale, y_scale, 0, 0 ); in cff_size_select() 306 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 313 FT_Pos x_scale, y_scale; in cff_size_request() local 319 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request() 324 y_scale = size->metrics.y_scale; in cff_size_request() 328 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
D | cf2ft.c | 257 CF2_Fixed* y_scale, in cf2_getScaleAndHintFlag() argument 270 *y_scale = ( decoder->builder.glyph->y_scale + 32 ) / 64; in cf2_getScaleAndHintFlag() 278 *y_scale = 0x0400; in cf2_getScaleAndHintFlag()
|
/external/freetype/src/truetype/ |
D | ttgload.c | 791 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph() 799 loader->exec->metrics.y_scale = in TT_Hint_Glyph() 800 ((TT_Size)loader->size)->metrics.y_scale; in TT_Hint_Glyph() 936 FT_Fixed y_scale = 0; in TT_Process_Simple_Glyph() local 958 y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Simple_Glyph() 979 y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Simple_Glyph() 990 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1139 FT_Fixed y_scale = ((TT_Size)loader->size)->metrics.y_scale; in TT_Process_Composite_Component() local 1143 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component() 1413 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local [all …]
|
D | ttobjs.c | 780 metrics->y_scale = 0; in tt_size_run_fpgm() 1190 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset() 1194 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset() 1196 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset() 1198 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset() 1215 size->ttmetrics.scale = metrics->y_scale; in tt_size_reset()
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1gload.c | 313 glyph->y_scale = t1size->metrics.y_scale; in T1_Load_Glyph() 318 glyph->y_scale = 0x10000L; in T1_Load_Glyph() 458 FT_Fixed y_scale = glyph->y_scale; in T1_Load_Glyph() local 466 vec->y = FT_MulFix( vec->y, y_scale ); in T1_Load_Glyph() 471 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in T1_Load_Glyph()
|
/external/pdfium/third_party/freetype/src/cid/ |
D | cidgload.c | 295 glyph->y_scale = cidsize->metrics.y_scale; in cid_slot_load_glyph() 408 FT_Fixed y_scale = glyph->y_scale; in cid_slot_load_glyph() local 416 vec->y = FT_MulFix( vec->y, y_scale ); in cid_slot_load_glyph() 421 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cid_slot_load_glyph()
|
/external/freetype/src/autofit/ |
D | afdummy.c | 32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
|
D | aftypes.h | 180 FT_Fixed y_scale; /* from font units to 1/64th device pixels */ member 191 (a)->y_scale == (b)->y_scale && \
|
D | afloader.c | 245 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g() 306 metrics->scaler.y_scale ); in af_loader_load_g() 350 scaler.y_scale = size->metrics.y_scale; in af_loader_load_glyph()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_pattern.cpp | 606 int y_scale) { in _BiInterpol() argument 609 return x1 + (x2 - x1) * y / y_scale; in _BiInterpol() 618 int y_scale) { in BiInterpol() 622 colors[3].comp[i], x, y, x_scale, y_scale); in BiInterpol() 646 int y_scale, in Draw() 657 div_colors[0].BiInterpol(patch_colors, left, bottom, x_scale, y_scale); in Draw() 660 y_scale); in Draw() 662 y_scale); in Draw() 664 y_scale); in Draw() 692 y_scale *= 2; in Draw() [all …]
|
/external/freetype/src/base/ |
D | ftobjs.c | 778 metrics->y_scale, 64 ); in FT_Load_Glyph() 2634 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 2637 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 2640 metrics->y_scale ) ); in ft_recompute_scaled_metrics() 2646 metrics->y_scale ); in ft_recompute_scaled_metrics() 2649 metrics->y_scale ); in ft_recompute_scaled_metrics() 2652 metrics->y_scale ); in ft_recompute_scaled_metrics() 2678 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics() 2686 metrics->y_scale = 1L << 16; in FT_Select_Metrics() 2697 metrics->y_scale, metrics->y_scale / 65536.0 )); in FT_Select_Metrics() [all …]
|
/external/libvpx/libvpx/vpx/src/ |
D | svc_encodeframe.c | 602 double y_scale; in vpx_svc_dump_statistics() local 622 y_scale = si->width * si->height * 255.0 * 255.0 * number_of_frames; in vpx_svc_dump_statistics() 623 scale[1] = y_scale; in vpx_svc_dump_statistics() 624 scale[2] = scale[3] = y_scale / 4; // U or V in vpx_svc_dump_statistics() 625 scale[0] = y_scale * 1.5; // total in vpx_svc_dump_statistics()
|