Home
last modified time | relevance | path

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

12345

/third_party/flutter/skia/third_party/externals/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()
320 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
321 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c36 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
44 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
54 if ( scaler->pixel ) in ftc_scaler_lookup_size()
55 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
58 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
59 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
60 scaler->x_res, in ftc_scaler_lookup_size()
61 scaler->y_res ); in ftc_scaler_lookup_size()
78 FTC_ScalerRec scaler; member
104 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/third_party/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()
141 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
167 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
174 scaler, in ftc_basic_family_load_glyph()
224 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
327 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
328 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c35 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
43 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
53 if ( scaler->pixel ) in ftc_scaler_lookup_size()
54 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
57 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
58 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
59 scaler->x_res, in ftc_scaler_lookup_size()
60 scaler->y_res ); in ftc_scaler_lookup_size()
77 FTC_ScalerRec scaler; member
103 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcbasic.c38 FTC_ScalerRec scaler; member
44 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
48 ( FTC_SCALER_HASH( &(a)->scaler ) + 31 * (a)->load_flags )
105 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
140 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
166 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
173 scaler, in ftc_basic_family_load_glyph()
222 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
325 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
326 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c35 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
43 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
53 if ( scaler->pixel ) in ftc_scaler_lookup_size()
54 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
57 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
58 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
59 scaler->x_res, in ftc_scaler_lookup_size()
60 scaler->y_res ); in ftc_scaler_lookup_size()
77 FTC_ScalerRec scaler; member
103 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/third_party/ffmpeg/doc/
Dswscale.txt16 | Horizontal scaler
21 | Vertical scaler and output converter
27 Swscale has 2 scaler paths. Each side must be capable of handling
39 output line the vertical scaler pulls lines from a ring buffer. When
41 the input slice through the input converter and horizontal scaler.
43 scaler requests.
55 but is slightly slower. The scaler will try to preserve full chroma
57 SWS_FULL_CHR_H_INP even for cases where the scaler thinks it is useless.
59 Horizontal scaler
61 the fast bilinear scaler that is made of runtime-generated MMXEXT code
[all …]
Dlibswscale.texi45 @url{ffmpeg-scaler.html,ffmpeg-scaler},
51 ffmpeg-scaler(1),
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafloader.c225 AF_ScalerRec scaler; in af_loader_load_glyph() local
235 FT_ZERO( &scaler ); in af_loader_load_glyph()
285 scaler.face = face; in af_loader_load_glyph()
286 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph()
287 scaler.x_delta = 0; in af_loader_load_glyph()
288 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph()
289 scaler.y_delta = 0; in af_loader_load_glyph()
291 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
292 scaler.flags = 0; in af_loader_load_glyph()
318 writing_system_class->style_metrics_scale( style_metrics, &scaler ); 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()
Daflatin.c77 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() local
163 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
164 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
165 scaler->x_delta = 0; in af_latin_metrics_init_widths()
166 scaler->y_delta = 0; in af_latin_metrics_init_widths()
168 scaler->face = face; in af_latin_metrics_init_widths()
169 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin_metrics_init_widths()
170 scaler->flags = 0; in af_latin_metrics_init_widths()
1170 AF_Scaler scaler, in af_latin_metrics_scale_dim() argument
1181 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c86 AF_Scaler scaler = &dummy->root.scaler; in af_cjk_metrics_init_widths() local
166 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
167 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
168 scaler->x_delta = 0; in af_cjk_metrics_init_widths()
169 scaler->y_delta = 0; in af_cjk_metrics_init_widths()
171 scaler->face = face; in af_cjk_metrics_init_widths()
172 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_cjk_metrics_init_widths()
173 scaler->flags = 0; in af_cjk_metrics_init_widths()
663 AF_Scaler scaler, in af_cjk_metrics_scale_dim() argument
674 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
[all …]
/third_party/freetype/src/autofit/
Dafloader.c225 AF_ScalerRec scaler; in af_loader_load_glyph() local
235 FT_ZERO( &scaler ); in af_loader_load_glyph()
285 scaler.face = face; in af_loader_load_glyph()
286 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph()
287 scaler.x_delta = 0; in af_loader_load_glyph()
288 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph()
289 scaler.y_delta = 0; in af_loader_load_glyph()
291 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
292 scaler.flags = 0; in af_loader_load_glyph()
318 writing_system_class->style_metrics_scale( style_metrics, &scaler ); 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()
Daflatin.c77 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() local
163 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
164 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
165 scaler->x_delta = 0; in af_latin_metrics_init_widths()
166 scaler->y_delta = 0; in af_latin_metrics_init_widths()
168 scaler->face = face; in af_latin_metrics_init_widths()
169 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin_metrics_init_widths()
170 scaler->flags = 0; in af_latin_metrics_init_widths()
1170 AF_Scaler scaler, in af_latin_metrics_scale_dim() argument
1181 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c86 AF_Scaler scaler = &dummy->root.scaler; in af_cjk_metrics_init_widths() local
166 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
167 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
168 scaler->x_delta = 0; in af_cjk_metrics_init_widths()
169 scaler->y_delta = 0; in af_cjk_metrics_init_widths()
171 scaler->face = face; in af_cjk_metrics_init_widths()
172 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_cjk_metrics_init_widths()
173 scaler->flags = 0; in af_cjk_metrics_init_widths()
663 AF_Scaler scaler, in af_cjk_metrics_scale_dim() argument
674 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafloader.c228 AF_ScalerRec scaler; in af_loader_load_glyph() local
238 FT_ZERO( &scaler ); in af_loader_load_glyph()
288 scaler.face = face; in af_loader_load_glyph()
289 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph()
290 scaler.x_delta = 0; in af_loader_load_glyph()
291 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph()
292 scaler.y_delta = 0; in af_loader_load_glyph()
294 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
295 scaler.flags = 0; in af_loader_load_glyph()
327 writing_system_class->style_metrics_scale( style_metrics, &scaler ); 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.c84 AF_Scaler scaler = &dummy->root.scaler; in af_latin2_metrics_init_widths() local
100 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
101 scaler->x_delta = scaler->y_delta = 0; in af_latin2_metrics_init_widths()
102 scaler->face = face; in af_latin2_metrics_init_widths()
103 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin2_metrics_init_widths()
104 scaler->flags = 0; in af_latin2_metrics_init_widths()
526 AF_Scaler scaler, in af_latin2_metrics_scale_dim() argument
537 scale = scaler->x_scale; in af_latin2_metrics_scale_dim()
538 delta = scaler->x_delta; in af_latin2_metrics_scale_dim()
542 scale = scaler->y_scale; in af_latin2_metrics_scale_dim()
[all …]
Daflatin.c83 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() local
169 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
170 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
171 scaler->x_delta = 0; in af_latin_metrics_init_widths()
172 scaler->y_delta = 0; in af_latin_metrics_init_widths()
174 scaler->face = face; in af_latin_metrics_init_widths()
175 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin_metrics_init_widths()
176 scaler->flags = 0; in af_latin_metrics_init_widths()
1177 AF_Scaler scaler, in af_latin_metrics_scale_dim() argument
1188 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c92 AF_Scaler scaler = &dummy->root.scaler; in af_cjk_metrics_init_widths() local
172 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
173 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
174 scaler->x_delta = 0; in af_cjk_metrics_init_widths()
175 scaler->y_delta = 0; in af_cjk_metrics_init_widths()
177 scaler->face = face; in af_cjk_metrics_init_widths()
178 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_cjk_metrics_init_widths()
179 scaler->flags = 0; in af_cjk_metrics_init_widths()
670 AF_Scaler scaler, in af_cjk_metrics_scale_dim() argument
681 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
[all …]
/third_party/flutter/skia/src/core/
DSkStrikeCache.cpp24 std::unique_ptr<SkScalerContext> scaler, in Node() argument
28 , fStrike{desc, std::move(scaler), metrics}
143 auto scaler = typeface.createScalerContext(effects, &desc, true /* can fail */); in CreateScalerContext() local
149 if (scaler == nullptr) { in CreateScalerContext()
151 scaler = typeface.createScalerContext(effects, &desc, false /* must succeed */); in CreateScalerContext()
153 return scaler; in CreateScalerContext()
167 auto scaler = CreateScalerContext(desc, effects, typeface); in findOrCreateStrike() local
168 node = this->createStrike(desc, std::move(scaler)); in findOrCreateStrike()
358 std::unique_ptr<SkScalerContext> scaler, in createStrikeExclusive() argument
363 this->createStrike(desc, std::move(scaler), maybeMetrics, std::move(pinner))); in createStrikeExclusive()
[all …]
/third_party/flutter/skia/docs/examples/
DCanvas_SaveLayerRec.cpp15 auto scaler = SkImageFilters::MatrixTransform(matrix, kNone_SkFilterQuality, nullptr); in draw() local
16 SkCanvas::SaveLayerRec saveLayerRec(nullptr, nullptr, scaler.get(), 0); in draw()
/third_party/skia/docs/examples/
DCanvas_SaveLayerRec.cpp15 auto scaler = SkImageFilters::MatrixTransform(matrix, SkSamplingOptions(), nullptr); in draw() local
16 SkCanvas::SaveLayerRec saveLayerRec(nullptr, nullptr, scaler.get(), 0); in draw()
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/
Dftcache.h506 FTC_Scaler scaler,
846 FTC_Scaler scaler,
1074 FTC_Scaler scaler,

12345