/third_party/ffmpeg/libavfilter/ |
D | vf_fieldmatch.c | 156 static int get_width(const FieldMatchContext *fm, const AVFrame *f, int plane) in get_width() argument 158 return plane ? AV_CEIL_RSHIFT(f->width, fm->hsub) : f->width; in get_width() 161 static int get_height(const FieldMatchContext *fm, const AVFrame *f, int plane) in get_height() argument 163 return plane ? AV_CEIL_RSHIFT(f->height, fm->vsub) : f->height; in get_height() 196 static int calc_combed_score(const FieldMatchContext *fm, const AVFrame *src) in calc_combed_score() argument 199 const int cthresh = fm->cthresh; in calc_combed_score() 202 for (plane = 0; plane < (fm->chroma ? 3 : 1); plane++) { in calc_combed_score() 205 const int width = get_width (fm, src, plane); in calc_combed_score() 206 const int height = get_height(fm, src, plane); in calc_combed_score() 207 uint8_t *cmkp = fm->cmask_data[plane]; in calc_combed_score() [all …]
|
/third_party/skia/src/utils/ |
D | SkOrderedFontMgr.cpp | 14 void SkOrderedFontMgr::append(sk_sp<SkFontMgr> fm) { in append() argument 15 fList.push_back(std::move(fm)); in append() 20 for (const auto& fm : fList) { in onCountFamilies() local 21 count += fm->countFamilies(); in onCountFamilies() 27 for (const auto& fm : fList) { in onGetFamilyName() local 28 const int count = fm->countFamilies(); in onGetFamilyName() 30 return fm->getFamilyName(index, familyName); in onGetFamilyName() 37 for (const auto& fm : fList) { in onCreateStyleSet() local 38 const int count = fm->countFamilies(); in onCreateStyleSet() 40 return fm->createStyleSet(index); in onCreateStyleSet() [all …]
|
/third_party/skia/gm/ |
D | fontmgr.cpp | 44 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter() argument 51 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter() 65 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter() 91 SkFontMgr* fm = fFM.get(); in onDraw() local 92 int count = std::min(fm->countFamilies(), MAX_FAMILIES); in onDraw() 96 fm->getFamilyName(i, &familyName); in onDraw() 102 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in onDraw() 113 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); in onDraw() 114 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); in onDraw() 116 … x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyName.c_str(), nullptr,0, fs); in onDraw() [all …]
|
D | poly2poly.cpp | 63 SkFontMetrics fm; in doDraw() local 64 font.getMetrics(&fm); in doDraw() 68 SkScalar y = D/2 - (fm.fAscent + fm.fDescent)/2; in doDraw()
|
/third_party/skia/tests/ |
D | TypefaceTest.cpp | 129 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 130 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST() 218 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 231 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() 252 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST() 272 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 290 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 294 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() 421 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local 434 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() [all …]
|
D | FontMgrTest.cpp | 85 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() local 86 int count = fm->countFamilies(); in DEF_TEST() 90 fm->getFamilyName(i, &fname); in DEF_TEST() 92 sk_sp<SkFontStyleSet> fnset(fm->matchFamily(fname.c_str())); in DEF_TEST() 93 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in DEF_TEST() 118 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() local 119 sk_sp<SkFontStyleSet> styleSet(fm->matchFamily(nullptr)); in DEF_TEST() 741 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() local 743 SkSafeUnref(fm->matchFamilyStyleCharacter("Blah", SkFontStyle::Normal(), nullptr, 0, 0x0)); in DEF_TEST() 744 SkSafeUnref(fm->matchFamilyStyleCharacter("Blah", SkFontStyle::Normal(), nullptr, 0, 0xD800)); in DEF_TEST() [all …]
|
/third_party/skia/tools/fm/fm_bot/ |
D | fm_bot.go | 51 func listAll(flag string, fm string) (list []string, err error) { 52 cmd := exec.Command(fm, flag) 162 fm := flag.Args()[0] 164 gms, err := listAll("--listGMs", fm) 166 log.Fatalln("Could not query", fm, "for GMs:", err) 169 tests, err := listAll("--listTests", fm) 171 log.Fatalln("Could not query", fm, "for tests:", err) 207 cmd := exec.Command(fm, args...)
|
/third_party/skia/include/core/ |
D | SkSamplingOptions.h | 68 SkSamplingOptions(SkFilterMode fm, SkMipmapMode mm) in SkSamplingOptions() 70 , filter(fm) in SkSamplingOptions() 73 explicit SkSamplingOptions(SkFilterMode fm) in SkSamplingOptions() 75 , filter(fm) in SkSamplingOptions()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 209 FontMetrics fm = g.getFontMetrics(); in paint() local 210 int labelHeight = fm.getHeight() + YINSET * 2; in paint() 212 int v = fm.getAscent() + YINSET; in paint() 224 h -= fm.stringWidth(dayName) / 2; in paint() 296 fm = g.getFontMetrics(); in paint() 318 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(dayNum); in paint() 322 int y = celly + + fm.getAscent() + YINSET + i * fm.getHeight(); in paint() 337 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(month); in paint()
|
D | CalendarFrame.java | 378 FontMetrics fm = g.getFontMetrics(font); in paint() local 384 g.drawString(text, fm.stringWidth("\u00a0"), in paint() 385 bounds.height/2 + fm.getHeight() in paint() 386 - fm.getAscent() + fm.getLeading()/2); in paint() 394 FontMetrics fm = getFontMetrics(font); in getMinimumSize() local 396 return new Dimension( fm.stringWidth(text) + 2*fm.stringWidth("\u00a0"), in getMinimumSize() 397 fm.getHeight() + fm.getLeading()*2); in getMinimumSize()
|
/third_party/glfw/src/ |
D | monitor.c | 42 const GLFWvidmode* fm = fp; in compareVideoModes() local 44 const int fbpp = fm->redBits + fm->greenBits + fm->blueBits; in compareVideoModes() 46 const int farea = fm->width * fm->height; in compareVideoModes() 58 return fm->refreshRate - sm->refreshRate; in compareVideoModes() 275 int _glfwCompareVideoModes(const GLFWvidmode* fm, const GLFWvidmode* sm) in _glfwCompareVideoModes() argument 277 return compareVideoModes(fm, sm); in _glfwCompareVideoModes()
|
/third_party/libffi/src/ |
D | dlmalloc.c | 4270 mstate fm = get_mstate_for(p); in dlfree() local 4271 if (!ok_magic(fm)) { in dlfree() 4272 USAGE_ERROR_ACTION(fm, p); in dlfree() 4276 #define fm gm in dlfree() macro 4278 if (!PREACTION(fm)) { in dlfree() 4279 check_inuse_chunk(fm, p); in dlfree() 4280 if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { in dlfree() 4289 fm->footprint -= psize; in dlfree() 4296 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree() 4297 if (p != fm->dv) { in dlfree() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | mpegaudiodec_common_tablegen.h | 55 double f, fm; in mpegaudiodec_common_tableinit() local 61 fm = frexp(f, &e); in mpegaudiodec_common_tableinit() 62 m = llrint(fm * (1LL << 31)); in mpegaudiodec_common_tableinit()
|
/third_party/f2fs-tools/tools/f2fs_io/ |
D | f2fs_io.c | 787 struct fiemap *fm = xmalloc(sizeof(struct fiemap)); in do_fiemap() local 795 memset(fm, 0, sizeof(struct fiemap)); in do_fiemap() 798 fm->fm_start = start; in do_fiemap() 799 fm->fm_length = length; in do_fiemap() 805 if (ioctl(fd, FS_IOC_FIEMAP, fm) < 0) in do_fiemap() 808 mapped_extents = fm->fm_mapped_extents; in do_fiemap() 810 free(fm); in do_fiemap() 811 fm = xmalloc(sizeof(struct fiemap) + extents_mem_size); in do_fiemap() 813 memset(fm, 0, sizeof(struct fiemap) + extents_mem_size); in do_fiemap() 814 fm->fm_start = start; in do_fiemap() [all …]
|
/third_party/node/deps/v8/src/codegen/arm64/ |
D | macro-assembler-arm64-inl.h | 522 const VRegister& fm) { in Fadd() argument 524 fadd(fd, fn, fm); in Fadd() 527 void TurboAssembler::Fccmp(const VRegister& fn, const VRegister& fm, in Fccmp() argument 531 fccmp(fn, fm, nzcv, cond); in Fccmp() 534 void TurboAssembler::Fcmp(const VRegister& fn, const VRegister& fm) { in Fcmp() argument 536 fcmp(fn, fm); in Fcmp() 552 const VRegister& fm, Condition cond) { in Fcsel() argument 555 fcsel(fd, fn, fm, cond); in Fcsel() 611 const VRegister& fm) { in Fdiv() argument 613 fdiv(fd, fn, fm); in Fdiv() [all …]
|
/third_party/skia/third_party/externals/freetype/builds/windows/ |
D | ftsystem.c | 261 HANDLE fm; in FT_Stream_Open() local 299 fm = CreateFileMapping( file, NULL, PAGE_READONLY, 0, 0, NULL ); in FT_Stream_Open() 300 if ( fm == NULL ) in FT_Stream_Open() 312 MapViewOfFile( fm, FILE_MAP_READ, 0, 0, 0 ); in FT_Stream_Open() 314 CloseHandle( fm ); in FT_Stream_Open()
|
/third_party/skia/bench/ |
D | FilteringBench.cpp | 17 FilteringBench(SkFilterMode fm, SkMipmapMode mm) : fSampling(fm, mm) { in FilteringBench() argument 18 fName.printf("samplingoptions_filter_%d_mipmap_%d", (int)fm, (int)mm); in FilteringBench()
|
D | TileBench.cpp | 33 SkFilterMode fm, in ConstXTileBench() argument 36 : fFilterMode{fm} in ConstXTileBench() 47 if (fm != SkFilterMode::kNearest) {
|
/third_party/skia/src/core/ |
D | SkTypeface.cpp | 110 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in GetDefaultTypeface() local 111 auto t = fm->legacyMakeTypeface(nullptr, FromOldStyle(style)); in GetDefaultTypeface() 490 SkFontMetrics fm; in onComputeBounds() local 491 ctx->getFontMetrics(&fm); in onComputeBounds() 492 if (!fm.hasBounds()) { in onComputeBounds() 495 bounds->setLTRB(fm.fXMin * invTextSize, fm.fTop * invTextSize, in onComputeBounds() 496 fm.fXMax * invTextSize, fm.fBottom * invTextSize); in onComputeBounds()
|
/third_party/skia/modules/androidkit/src/ |
D | Utils.cpp | 18 const auto fm = static_cast<SkFilterMode>((desc >> 1) & 0x01); in SamplingOptions() local 19 SkASSERT(fm <= SkFilterMode::kLast); in SamplingOptions() 23 return SkSamplingOptions(fm, mm); in SamplingOptions()
|
/third_party/skia/samplecode/ |
D | SamplePolyToPoly.cpp | 93 SkFontMetrics fm; in doDraw() local 94 font.getMetrics(&fm); in doDraw() 98 float y = D/2 - (fm.fAscent + fm.fDescent)/2; in doDraw()
|
/third_party/icu/icu4c/source/data/unit/ |
D | kl.txt | 13 dnam{"fm"} 41 dnam{"fm"} 95 dnam{"fm"}
|
/third_party/skia/third_party/externals/icu/source/data/unit/ |
D | kl.txt | 13 dnam{"fm"} 41 dnam{"fm"} 95 dnam{"fm"}
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DumbTextComponent.java | 72 private transient FontMetrics fm; field in DumbTextComponent 532 fm = g.getFontMetrics(); in paint2() 533 lineAscent = fm.getAscent(); in paint2() 534 lineLeading = fm.getLeading(); in paint2() 535 lineHeight = lineAscent + fm.getDescent() + lineLeading; in paint2() 606 width = fm.stringWidth( in offset2Point() 657 int highWidth = fm.stringWidth(contents.substring(lineStarts[line],highGuess)); in point2Offset() 665 int width = fm.stringWidth(contents.substring(lineStarts[line],guess)); in point2Offset() 680 lowWidth = fm.stringWidth(contents.substring(lineStarts[line],lowBound)); in point2Offset() 682 highWidth = fm.stringWidth(contents.substring(lineStarts[line],highBound)); in point2Offset() [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | gnomeglue.cpp | 62 GnomeFontMap *fm = (GnomeFontMap *) fontMap; in fm_fontMapClose() local 64 delete fm; in fm_fontMapClose()
|