/third_party/ffmpeg/libavfilter/ |
H A D | vf_fieldmatch.c | 156 static int get_width(const FieldMatchContext *fm, const AVFrame *f, int plane, int input) in get_width() argument 158 return plane ? AV_CEIL_RSHIFT(f->width, fm->hsub[input]) : f->width; in get_width() 161 static int get_height(const FieldMatchContext *fm, const AVFrame *f, int plane, int input) in get_height() argument 163 return plane ? AV_CEIL_RSHIFT(f->height, fm->vsub[input]) : 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, INPUT_MAIN); in calc_combed_score() 206 const int height = get_height(fm, src, plane, INPUT_MAIN); in calc_combed_score() 207 uint8_t *cmkp = fm in calc_combed_score() 415 build_diff_map(FieldMatchContext *fm, const uint8_t *prvp, int prv_linesize, const uint8_t *nxtp, int nxt_linesize, uint8_t *dstp, int dst_linesize, int height, int width, int plane) build_diff_map() argument 480 select_frame(FieldMatchContext *fm, int match) select_frame() argument 487 compare_fields(FieldMatchContext *fm, int match1, int match2, int field) compare_fields() argument 609 copy_fields(const FieldMatchContext *fm, AVFrame *dst, const AVFrame *src, int field, int input) copy_fields() argument 626 FieldMatchContext *fm = ctx->priv; create_weave_frame() local 652 const FieldMatchContext *fm = ctx->priv; checkmm() local 681 FieldMatchContext *fm = ctx->priv; filter_frame() local 838 FieldMatchContext *fm = ctx->priv; activate() local 889 FieldMatchContext *fm = ctx->priv; query_formats() local 937 FieldMatchContext *fm = ctx->priv; config_input() local 971 const FieldMatchContext *fm = ctx->priv; fieldmatch_init() local 1005 FieldMatchContext *fm = ctx->priv; fieldmatch_uninit() local 1026 FieldMatchContext *fm = ctx->priv; config_output() local [all...] |
H A D | af_adynamicequalizer.c | 189 double fa[3], fm[3]; in filter_channels() local 207 fm[0] = 1.; in filter_channels() 208 fm[1] = k * (gain * gain - 1.); in filter_channels() 209 fm[2] = 0.; in filter_channels() 219 fm[0] = 1.; in filter_channels() 220 fm[1] = k * (gain - 1.); in filter_channels() 221 fm[2] = gain * gain - 1.; in filter_channels() 231 fm[0] = gain * gain; in filter_channels() 232 fm[1] = k * (1. - gain) * gain; in filter_channels() 233 fm[ in filter_channels() [all...] |
/third_party/skia/src/utils/ |
H A 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() 21 count += fm->countFamilies(); in onCountFamilies() 27 for (const auto& fm : fList) { in onGetFamilyName() 28 const int count = fm->countFamilies(); in onGetFamilyName() 30 return fm->getFamilyName(index, familyName); in onGetFamilyName() 37 for (const auto& fm : fList) { in onCreateStyleSet() 38 const int count = fm->countFamilies(); in onCreateStyleSet() 40 return fm in onCreateStyleSet() [all...] |
/third_party/skia/gm/ |
H A D | fontmgr.cpp | 44 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter() 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(); variable 92 int count = std::min(fm->countFamilies(), MAX_FAMILIES); 96 fm->getFamilyName(i, &familyName); 102 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); 113 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); 114 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); 116 x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyNam 43 drawCharacter(SkCanvas* canvas, uint32_t character, SkScalar x, SkScalar y, const SkFont& origFont, SkFontMgr* fm, const char* fontName, const char* bcp47[], int bcp47Count, const SkFontStyle& fontStyle) drawCharacter() argument 263 SkFontMetrics fm; show_bounds() local 338 SkFontMgr* fm = fFM.get(); global() variable [all...] |
H A 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/ |
H A 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 in DEF_TEST() 573 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); DEF_TEST() local [all...] |
H A D | FontMgrTest.cpp | 85 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() 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() 119 sk_sp<SkFontStyleSet> styleSet(fm->matchFamily(nullptr)); in DEF_TEST() 741 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in DEF_TEST() 743 SkSafeUnref(fm->matchFamilyStyleCharacter("Blah", SkFontStyle::Normal(), nullptr, 0, 0x0)); in DEF_TEST() 744 SkSafeUnref(fm in DEF_TEST() [all...] |
/third_party/skia/include/core/ |
H A 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/skia/tools/fm/fm_bot/ |
H A D | fm_bot.go | 50 // Query fm binary for list of all available GMs/tests by running with --listGMs/--listTests. 51 func listAll(flag string, fm string) (list []string, err error) { 52 cmd := exec.Command(fm, flag) 101 // Is this an option to pass through to fm? 160 log.Fatal("Please pass an fm binary as the first argument.") 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, "fo [all...] |
/third_party/glfw/src/ |
H A 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 if (fm->width != sm->width) in compareVideoModes() 59 return fm->width - sm->width; in compareVideoModes() 62 return fm->refreshRate - sm->refreshRate; in compareVideoModes() 273 int _glfwCompareVideoModes(const GLFWvidmode* fm, cons argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A 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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
H A D | CalendarFrame.java | 378 FontMetrics fm = g.getFontMetrics(font); in paint() 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() 396 return new Dimension( fm.stringWidth(text) + 2*fm.stringWidth("\u00a0"), in getMinimumSize() 397 fm.getHeight() + fm in getMinimumSize() [all...] |
H A D | CalendarPanel.java | 209 FontMetrics fm = g.getFontMetrics(); in paint() 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()
|
/third_party/skia/bench/ |
H A 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()
|
H A D | TileBench.cpp | 33 SkFilterMode fm, in ConstXTileBench() 36 : fFilterMode{fm} in ConstXTileBench() 47 if (fm != SkFilterMode::kNearest) { 31 ConstXTileBench(SkTileMode xTile, SkTileMode yTile, SkFilterMode fm, bool doTrans, bool doScale) ConstXTileBench() argument
|
/third_party/f2fs-tools/tools/f2fs_io/ |
H A D | f2fs_io.c | 803 struct fiemap *fm = xmalloc(sizeof(struct fiemap)); in do_fiemap() local 811 memset(fm, 0, sizeof(struct fiemap)); in do_fiemap() 814 fm->fm_start = start; in do_fiemap() 815 fm->fm_length = length; in do_fiemap() 821 if (ioctl(fd, FS_IOC_FIEMAP, fm) < 0) in do_fiemap() 824 mapped_extents = fm->fm_mapped_extents; in do_fiemap() 826 free(fm); in do_fiemap() 827 fm = xmalloc(sizeof(struct fiemap) + extents_mem_size); in do_fiemap() 829 memset(fm, 0, sizeof(struct fiemap) + extents_mem_size); in do_fiemap() 830 fm in do_fiemap() [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | macro-assembler-arm64-inl.h | 522 const VRegister& fm) { in Fadd() 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() 555 fcsel(fd, fn, fm, cond); in Fcsel() 611 const VRegister& fm) { in Fdiv() 613 fdiv(fd, fn, fm); in Fdiv() 521 Fadd(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fadd() argument 551 Fcsel(const VRegister& fd, const VRegister& fn, const VRegister& fm, Condition cond) Fcsel() argument 610 Fdiv(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fdiv() argument 616 Fmadd(const VRegister& fd, const VRegister& fn, const VRegister& fm, const VRegister& fa) Fmadd() argument 622 Fmax(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fmax() argument 628 Fmaxnm(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fmaxnm() argument 634 Fmin(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fmin() argument 640 Fminnm(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fminnm() argument 723 Fmsub(const VRegister& fd, const VRegister& fn, const VRegister& fm, const VRegister& fa) Fmsub() argument 729 Fmul(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fmul() argument 735 Fnmadd(const VRegister& fd, const VRegister& fn, const VRegister& fm, const VRegister& fa) Fnmadd() argument 741 Fnmsub(const VRegister& fd, const VRegister& fn, const VRegister& fm, const VRegister& fa) Fnmsub() argument 747 Fsub(const VRegister& fd, const VRegister& fn, const VRegister& fm) Fsub() argument [all...] |
/third_party/skia/third_party/externals/freetype/builds/windows/ |
H A D | ftsystem.c | 261 HANDLE fm; in FT_BASE_DEF() local 299 fm = CreateFileMapping( file, NULL, PAGE_READONLY, 0, 0, NULL ); in FT_BASE_DEF() 300 if ( fm == NULL ) in FT_BASE_DEF() 312 MapViewOfFile( fm, FILE_MAP_READ, 0, 0, 0 ); in FT_BASE_DEF() 314 CloseHandle( fm ); in FT_BASE_DEF()
|
/third_party/skia/modules/androidkit/src/ |
H A 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/ |
H A 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/ffmpeg/libavcodec/x86/ |
H A D | vp9lpf.asm | 566 ; calc fm mask 640 por m1, m5 ; fm final value 644 ; (m3: fm, m8..15: p3 p2 p1 p0 q0 q1 q2 q3) 708 ; (m0: hev, m2: flat8in, m3: fm, m6: pb_81, m9..15: p2 p1 p0 q0 q1 q2 q3) 764 ; if (fm) { 771 ; f14: fm & out & in 772 ; f6: fm & ~f14 & in => fm & ~(out & in) & in => fm & ~out & in 773 ; f2: fm [all...] |
/third_party/skia/src/core/ |
H A D | SkTypeface.cpp | 162 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in GetDefaultTypeface() 163 auto t = fm->legacyMakeTypeface(nullptr, FromOldStyle(style)); in GetDefaultTypeface() 573 SkFontMetrics fm; in onComputeBounds() local 574 ctx->getFontMetrics(&fm); in onComputeBounds() 575 if (!fm.hasBounds()) { in onComputeBounds() 578 bounds->setLTRB(fm.fXMin * invTextSize, fm.fTop * invTextSize, in onComputeBounds() 579 fm.fXMax * invTextSize, fm.fBottom * invTextSize); in onComputeBounds()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
H A 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 in point2Offset() [all...] |
/third_party/icu/icu4c/source/samples/layout/ |
H A D | gnomeglue.cpp | 62 GnomeFontMap *fm = (GnomeFontMap *) fontMap; in fm_fontMapClose() local 64 delete fm; in fm_fontMapClose()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
H A D | gnomeglue.cpp | 62 GnomeFontMap *fm = (GnomeFontMap *) fontMap; in fm_fontMapClose() local 64 delete fm; in fm_fontMapClose()
|