Home
last modified time | relevance | path

Searched refs:scaler (Results 1 – 25 of 33) sorted by relevance

12

/external/freetype/src/cache/
Dftcbasic.c39 FTC_ScalerRec scaler; member
45 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
49 ( FTC_SCALER_HASH( &(a)->scaler ) + 31 * (a)->load_flags )
106 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
135 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
161 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
168 scaler, in ftc_basic_family_load_glyph()
217 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
309 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
310 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c40 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
48 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
58 if ( scaler->pixel ) in ftc_scaler_lookup_size()
59 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
62 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
63 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
64 scaler->x_res, in ftc_scaler_lookup_size()
65 scaler->y_res ); in ftc_scaler_lookup_size()
82 FTC_ScalerRec scaler; member
108 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/external/freetype/src/autofit/
Dafloader.c97 AF_Scaler scaler, in af_loader_load_g() argument
299 if ( scaler->render_mode != FT_RENDER_MODE_LIGHT ) in af_loader_load_g()
383 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
384 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
423 if ( scaler->render_mode != FT_RENDER_MODE_LIGHT && in af_loader_load_g()
429 metrics->scaler.x_scale ); in af_loader_load_g()
445 metrics->scaler.y_scale ); in af_loader_load_g()
478 AF_ScalerRec scaler; in af_loader_load_glyph() local
484 FT_ZERO( &scaler ); in af_loader_load_glyph()
486 scaler.face = face; in af_loader_load_glyph()
[all …]
Dafdummy.c31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
33 hints->x_delta = metrics->scaler.x_delta; in af_dummy_hints_init()
34 hints->y_delta = metrics->scaler.y_delta; in af_dummy_hints_init()
Daflatin2.c76 AF_Scaler scaler = &dummy->root.scaler; in af_latin2_metrics_init_widths() local
92 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
93 scaler->x_delta = scaler->y_delta = 0; in af_latin2_metrics_init_widths()
94 scaler->face = face; in af_latin2_metrics_init_widths()
95 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin2_metrics_init_widths()
96 scaler->flags = 0; in af_latin2_metrics_init_widths()
517 AF_Scaler scaler, in af_latin2_metrics_scale_dim() argument
528 scale = scaler->x_scale; in af_latin2_metrics_scale_dim()
529 delta = scaler->x_delta; in af_latin2_metrics_scale_dim()
533 scale = scaler->y_scale; in af_latin2_metrics_scale_dim()
[all …]
Daflatin.c84 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() local
160 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
161 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
162 scaler->x_delta = 0; in af_latin_metrics_init_widths()
163 scaler->y_delta = 0; in af_latin_metrics_init_widths()
165 scaler->face = face; in af_latin_metrics_init_widths()
166 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin_metrics_init_widths()
167 scaler->flags = 0; in af_latin_metrics_init_widths()
1024 AF_Scaler scaler, in af_latin_metrics_scale_dim() argument
1035 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c93 AF_Scaler scaler = &dummy->root.scaler; in af_cjk_metrics_init_widths() local
167 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
168 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
169 scaler->x_delta = 0; in af_cjk_metrics_init_widths()
170 scaler->y_delta = 0; in af_cjk_metrics_init_widths()
172 scaler->face = face; in af_cjk_metrics_init_widths()
173 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_cjk_metrics_init_widths()
174 scaler->flags = 0; in af_cjk_metrics_init_widths()
646 AF_Scaler scaler, in af_cjk_metrics_scale_dim() argument
657 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
[all …]
Dafindic.c65 AF_Scaler scaler ) in af_indic_metrics_scale() argument
68 af_cjk_metrics_scale( metrics, scaler ); in af_indic_metrics_scale()
Daftypes.h209 AF_Scaler scaler );
474 AF_ScalerRec scaler; member
Dafcjk.h111 AF_Scaler scaler );
Daflatin.h124 AF_Scaler scaler );
/external/skia/src/gpu/
DGrBatchFontCache.h35 inline GrGlyph* getGlyph(GrGlyph::PackedID packed, GrFontScaler* scaler) { in getGlyph() argument
38 glyph = this->generateGlyph(packed, scaler); in getGlyph()
71 GrGlyph* generateGlyph(GrGlyph::PackedID packed, GrFontScaler* scaler);
92 inline GrBatchTextStrike* getStrike(GrFontScaler* scaler) { in getStrike() argument
93 GrBatchTextStrike* strike = fCache.find(*(scaler->getKey())); in getStrike()
95 strike = this->generateStrike(scaler); in getStrike()
171 GrBatchTextStrike* generateStrike(GrFontScaler* scaler) { in generateStrike() argument
172 GrBatchTextStrike* strike = SkNEW_ARGS(GrBatchTextStrike, (this, scaler->getKey())); in generateStrike()
DGrBatchFontCache.cpp175 GrFontScaler* scaler) { in generateGlyph() argument
178 if (!scaler->getPackedGlyphDFBounds(packed, &bounds)) { in generateGlyph()
182 if (!scaler->getPackedGlyphBounds(packed, &bounds)) { in generateGlyph()
186 GrMaskFormat format = scaler->getPackedGlyphMaskFormat(packed); in generateGlyph()
207 GrFontScaler* scaler) { in addGlyphToAtlas() argument
209 SkASSERT(scaler); in addGlyphToAtlas()
213 SkAutoUnref ar(SkSafeRef(scaler)); in addGlyphToAtlas()
221 if (!scaler->getPackedGlyphDFImage(glyph->fPackedID, glyph->width(), in addGlyphToAtlas()
227 if (!scaler->getPackedGlyphImage(glyph->fPackedID, glyph->width(), in addGlyphToAtlas()
DGrTextContext.cpp243 GrFontScaler* scaler = (GrFontScaler*)data; in GlyphCacheAuxProc() local
244 SkSafeUnref(scaler); in GlyphCacheAuxProc()
249 GrFontScaler* scaler = NULL; in GetGrFontScaler() local
252 scaler = (GrFontScaler*)auxData; in GetGrFontScaler()
254 if (NULL == scaler) { in GetGrFontScaler()
255 scaler = SkNEW_ARGS(GrFontScaler, (cache)); in GetGrFontScaler()
256 cache->setAuxProc(GlyphCacheAuxProc, scaler); in GetGrFontScaler()
259 return scaler; in GetGrFontScaler()
DGrAtlasTextContext.cpp1224 int vx, int vy, GrColor color, GrFontScaler* scaler, in bmpAppendGlyph() argument
1228 fCurrStrike = fContext->getBatchFontCache()->getStrike(scaler); in bmpAppendGlyph()
1232 GrGlyph* glyph = fCurrStrike->getGlyph(packed, scaler); in bmpAppendGlyph()
1258 this->appendGlyphPath(blob, glyph, scaler, SkIntToScalar(vx), SkIntToScalar(vy)); in bmpAppendGlyph()
1286 GrFontScaler* scaler, in dfAppendGlyph() argument
1291 fCurrStrike = fContext->getBatchFontCache()->getStrike(scaler); in dfAppendGlyph()
1295 GrGlyph* glyph = fCurrStrike->getGlyph(packed, scaler); in dfAppendGlyph()
1334 this->appendGlyphPath(blob, glyph, scaler, sx - dx, sy - dy); in dfAppendGlyph()
1351 GrFontScaler* scaler, SkScalar x, SkScalar y) { in appendGlyphPath() argument
1354 if (!scaler->getGlyphPath(glyph->glyphID(), path)) { in appendGlyphPath()
[all …]
/external/pdfium/third_party/freetype/include/
Dftcache.h487 FTC_Scaler scaler,
833 FTC_Scaler scaler,
1043 FTC_Scaler scaler,
/external/freetype/include/freetype/
Dftcache.h487 FTC_Scaler scaler,
833 FTC_Scaler scaler,
1043 FTC_Scaler scaler,
/external/libvpx/libvpx/third_party/libyuv/
DREADME.libvpx11 The optimized scaler in libyuv is used in multiple resolution encoder example,
/external/llvm/test/CodeGen/AArch64/
Darm64-shrink-v1i64.ll6 ; when it tries to generate an add mixed using vector type and scaler type.
/external/webp/src/dec/
Dio.c283 WebPRescaler* const scaler = &p->scaler_y; in EmitRescaledYUV() local
293 num_lines_out = Rescale(io->y, io->y_stride, mb_h, scaler); in EmitRescaledYUV()
479 WebPRescaler* const scaler = &p->scaler_a; in EmitRescaledAlphaRGB() local
483 j += WebPRescalerImport(scaler, io->mb_h - j, in EmitRescaledAlphaRGB()
/external/skia/site/user/
Dtips.md44 communicating with a font scaler engine. In src/ports you can see support
/external/skia/site/dev/testing/
Dfonts.md15 differences introduced by the font scaler native to each platform.
/external/icu/icu4c/source/data/mappings/
Dmacos-6_2-10.4.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dmacos-7_3-10.2.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dmacos-35-10.2.ucm21 # |3 for the best reverse fallback Unicode scaler value

12