Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtimestamp_scaler_unittest.cc33 TimestampScaler scaler(db); in TEST() local
37 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST()
39 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST()
54 TimestampScaler scaler(db); in TEST() local
63 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST()
65 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST()
79 TimestampScaler scaler(db); in TEST() local
86 scaler.ToInternal(external_timestamp, kRtpPayloadType)); in TEST()
88 EXPECT_EQ(external_timestamp, scaler.ToExternal(internal_timestamp)); in TEST()
103 TimestampScaler scaler(db); in TEST() local
[all …]
/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 …]
/external/freetype/src/autofit/
Dafloader.c87 AF_Scaler scaler, in af_loader_load_g() argument
160 if ( scaler->render_mode != FT_RENDER_MODE_LIGHT ) in af_loader_load_g()
244 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
245 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
284 if ( scaler->render_mode != FT_RENDER_MODE_LIGHT && in af_loader_load_g()
290 metrics->scaler.x_scale ); in af_loader_load_g()
306 metrics->scaler.y_scale ); in af_loader_load_g()
339 AF_ScalerRec scaler; in af_loader_load_glyph() local
345 FT_ZERO( &scaler ); in af_loader_load_glyph()
347 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.c81 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() local
146 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
147 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
148 scaler->x_delta = 0; in af_latin_metrics_init_widths()
149 scaler->y_delta = 0; in af_latin_metrics_init_widths()
151 scaler->face = face; in af_latin_metrics_init_widths()
152 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin_metrics_init_widths()
153 scaler->flags = 0; in af_latin_metrics_init_widths()
889 AF_Scaler scaler, in af_latin_metrics_scale_dim() argument
900 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c94 AF_Scaler scaler = &dummy->root.scaler; in af_cjk_metrics_init_widths() local
152 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
153 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
154 scaler->x_delta = 0; in af_cjk_metrics_init_widths()
155 scaler->y_delta = 0; in af_cjk_metrics_init_widths()
157 scaler->face = face; in af_cjk_metrics_init_widths()
158 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_cjk_metrics_init_widths()
159 scaler->flags = 0; in af_cjk_metrics_init_widths()
585 AF_Scaler scaler, in af_cjk_metrics_scale_dim() argument
596 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.h207 AF_Scaler scaler );
464 AF_ScalerRec scaler; member
Dafcjk.h111 AF_Scaler scaler );
/external/skia/src/gpu/text/
DGrBatchFontCache.h34 GrFontScaler* scaler) { in getGlyph() argument
37 glyph = this->generateGlyph(skGlyph, packed, scaler); in getGlyph()
48 GrFontScaler* scaler) { in getGlyph() argument
54 const SkGlyph& skGlyph = scaler->grToSkGlyph(packed); in getGlyph()
55 glyph = this->generateGlyph(skGlyph, packed, scaler); in getGlyph()
115 inline GrBatchTextStrike* getStrike(GrFontScaler* scaler) { in getStrike() argument
116 GrBatchTextStrike* strike = fCache.find(*(scaler->getKey())); in getStrike()
118 strike = this->generateStrike(scaler); in getStrike()
210 GrBatchTextStrike* generateStrike(GrFontScaler* scaler) { in generateStrike() argument
211 GrBatchTextStrike* strike = new GrBatchTextStrike(this, scaler->getKey()); in generateStrike()
DGrBatchFontCache.cpp174 GrFontScaler* scaler) { in generateGlyph() argument
177 if (!scaler->getPackedGlyphDFBounds(skGlyph, &bounds)) { in generateGlyph()
181 if (!scaler->getPackedGlyphBounds(skGlyph, &bounds)) { in generateGlyph()
185 GrMaskFormat format = scaler->getPackedGlyphMaskFormat(skGlyph); in generateGlyph()
207 GrFontScaler* scaler, in addGlyphToAtlas() argument
210 SkASSERT(scaler); in addGlyphToAtlas()
213 SkAutoUnref ar(SkSafeRef(scaler)); in addGlyphToAtlas()
220 const SkGlyph& skGlyph = scaler->grToSkGlyph(glyph->fPackedID); in addGlyphToAtlas()
222 if (!scaler->getPackedGlyphDFImage(skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
227 if (!scaler->getPackedGlyphImage(skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
DGrTextUtils.cpp125 int vx, int vy, GrColor color, GrFontScaler* scaler) { in BmpAppendGlyph() argument
127 *strike = fontCache->getStrike(scaler); in BmpAppendGlyph()
134 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in BmpAppendGlyph()
152 blob->appendGlyph(runIndex, r, color, *strike, glyph, scaler, skGlyph, in BmpAppendGlyph()
427 GrFontScaler* scaler, in DfAppendGlyph() argument
430 *strike = cache->getStrike(scaler); in DfAppendGlyph()
437 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in DfAppendGlyph()
461 blob->appendGlyph(runIndex, glyphRect, color, *strike, glyph, scaler, skGlyph, in DfAppendGlyph()
567 GrFontScaler* scaler = (GrFontScaler*)data; in glyph_cache_aux_proc() local
568 SkSafeUnref(scaler); in glyph_cache_aux_proc()
[all …]
DGrAtlasTextBlob_regenInBatch.cpp146 SkTypeface** typeface, GrFontScaler** scaler, in regenInBatch() argument
169 *scaler = GrTextUtils::GetGrFontScaler(*cache); in regenInBatch()
174 strike = fontCache->getStrike(*scaler); in regenInBatch()
191 fGlyphs[glyphOffset] = strike->getGlyph(id, info->maskFormat(), *scaler); in regenInBatch()
198 !strike->addGlyphToAtlas(target, glyph, *scaler, info->maskFormat())) { in regenInBatch()
204 *scaler, in regenInBatch()
251 #define REGEN_ARGS target, fontCache, helper, &run, &info, cache, typeface, scaler, desc, \
258 SkTypeface** typeface, GrFontScaler** scaler, in regenInBatch() argument
DGrAtlasTextBlob.h162 GrFontScaler* scaler, const SkGlyph& skGlyph,
260 SkTypeface** typeface, GrFontScaler** scaler,
288 void appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph,
492 SkTypeface** typeface, GrFontScaler** scaler,
DGrAtlasTextBlob.cpp72 GrFontScaler* scaler, const SkGlyph& skGlyph, in appendGlyph() argument
77 this->appendLargeGlyph(glyph, scaler, skGlyph, x, y, scale, applyVM); in appendGlyph()
155 void GrAtlasTextBlob::appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph, in appendLargeGlyph() argument
158 const SkPath* glyphPath = scaler->getGlyphPath(skGlyph); in appendLargeGlyph()
/external/pdfium/third_party/freetype/include/freetype/
Dftcache.h487 FTC_Scaler scaler,
833 FTC_Scaler scaler,
1043 FTC_Scaler scaler,
/external/freetype/include/
Dftcache.h487 FTC_Scaler scaler,
833 FTC_Scaler scaler,
1043 FTC_Scaler scaler,
/external/webrtc/webrtc/common_video/
Dcommon_video.gyp48 'libyuv/include/scaler.h',
50 'libyuv/scaler.cc',
DBUILD.gn25 "libyuv/include/scaler.h",
27 "libyuv/scaler.cc",
/external/libweave/third_party/chromium/base/
Dobserver_list_unittest.cc26 explicit Adder(int scaler) : total(0), scaler_(scaler) {} in Adder() argument
/external/webp/src/dec/
Dio.c254 WebPRescaler* const scaler = &p->scaler_y; in EmitRescaledYUV() local
264 num_lines_out = Rescale(io->y, io->y_stride, mb_h, scaler); in EmitRescaledYUV()
448 WebPRescaler* const scaler = &p->scaler_a; in EmitRescaledAlphaRGB() local
452 const int row_offset = scaler->src_y - io->mb_y; in EmitRescaledAlphaRGB()
453 WebPRescalerImport(scaler, io->mb_h + io->mb_y - scaler->src_y, in EmitRescaledAlphaRGB()
/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/skia/src/gpu/batches/
DGrAtlasTextBatch.cpp141 GrFontScaler* scaler = nullptr; in onPrepareDraws() local
153 &typeface, &scaler, &desc, vertexStride, args.fViewMatrix, args.fX, in onPrepareDraws()

12