Home
last modified time | relevance | path

Searched refs:pixel_mode (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo-ansi.hh55 ChafaPixelMode pixel_mode; in chafa_print_image_rgb24() local
64 pixel_mode = CHAFA_PIXEL_MODE_SYMBOLS; in chafa_print_image_rgb24()
68 pixel_mode = CHAFA_PIXEL_MODE_SIXELS; in chafa_print_image_rgb24()
91 chafa_canvas_config_set_pixel_mode (config, pixel_mode); in chafa_print_image_rgb24()
116 if (pixel_mode != CHAFA_PIXEL_MODE_SIXELS) in chafa_print_image_rgb24()
/third_party/skia/third_party/externals/freetype/src/base/
Dftbitmap.c176 switch ( bitmap->pixel_mode ) in ft_bitmap_assure_buffer()
337 switch ( bitmap->pixel_mode ) in FT_Bitmap_Embolden()
406 if ( bitmap->pixel_mode == FT_PIXEL_MODE_MONO ) in FT_Bitmap_Embolden()
535 switch ( source->pixel_mode ) in FT_Bitmap_Convert()
555 target->pixel_mode = FT_PIXEL_MODE_GRAY; in FT_Bitmap_Convert()
594 switch ( source->pixel_mode ) in FT_Bitmap_Convert()
830 if ( !( target->pixel_mode == FT_PIXEL_MODE_NONE || in FT_Bitmap_Blend()
831 ( target->pixel_mode == FT_PIXEL_MODE_BGRA && in FT_Bitmap_Blend()
835 if ( source_->pixel_mode == FT_PIXEL_MODE_NONE ) in FT_Bitmap_Blend()
839 if ( target->pixel_mode == FT_PIXEL_MODE_BGRA && in FT_Bitmap_Blend()
[all …]
Dftlcdfil.c85 FT_Byte mode = bitmap->pixel_mode; in ft_lcd_filter_fir()
191 FT_Byte mode = bitmap->pixel_mode; in _ft_lcd_filter_legacy()
Dftobjs.c366 FT_Pixel_Mode pixel_mode; in ft_glyphslot_preset_bitmap() local
403 pixel_mode = FT_PIXEL_MODE_MONO; in ft_glyphslot_preset_bitmap()
446 pixel_mode = FT_PIXEL_MODE_LCD; in ft_glyphslot_preset_bitmap()
451 pixel_mode = FT_PIXEL_MODE_LCD_V; in ft_glyphslot_preset_bitmap()
458 pixel_mode = FT_PIXEL_MODE_GRAY; in ft_glyphslot_preset_bitmap()
472 switch ( pixel_mode ) in ft_glyphslot_preset_bitmap()
495 bitmap->pixel_mode = (unsigned char)pixel_mode; in ft_glyphslot_preset_bitmap()
558 slot->bitmap.pixel_mode = 0; in ft_glyphslot_clear()
1107 pixel_modes[slot->bitmap.pixel_mode], in FT_Load_Glyph()
1108 slot->bitmap.pixel_mode )); in FT_Load_Glyph()
[all …]
Dftoutln.c671 if ( abitmap->pixel_mode == FT_PIXEL_MODE_GRAY || in FT_Outline_Get_Bitmap()
672 abitmap->pixel_mode == FT_PIXEL_MODE_LCD || in FT_Outline_Get_Bitmap()
673 abitmap->pixel_mode == FT_PIXEL_MODE_LCD_V ) in FT_Outline_Get_Bitmap()
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp116 if (FT_PIXEL_MODE_LCD != bitmap.pixel_mode) { in copyFT2LCD16()
119 if (FT_PIXEL_MODE_LCD_V != bitmap.pixel_mode) { in copyFT2LCD16()
130 switch (bitmap.pixel_mode) { in copyFT2LCD16()
192 SkDEBUGF("FT_Pixel_Mode %d", bitmap.pixel_mode); in copyFT2LCD16()
229 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); in copyFTBitmap()
355 inline SkColorType SkColorType_for_FTPixelMode(FT_Pixel_Mode pixel_mode) { in SkColorType_for_FTPixelMode() argument
356 switch (pixel_mode) { in SkColorType_for_FTPixelMode()
1428 target.pixel_mode = compute_pixel_mode(glyph.fMaskFormat); in generateGlyphImage()
1444 FT_Pixel_Mode pixel_mode = static_cast<FT_Pixel_Mode>(face->glyph->bitmap.pixel_mode); in generateGlyphImage() local
1448 SkASSERT(FT_PIXEL_MODE_MONO == pixel_mode || in generateGlyphImage()
[all …]
DSkFontHost_FreeType.cpp1241 if (fFace->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { in generateMetrics()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c588 map->pixel_mode = FT_PIXEL_MODE_MONO; in tt_sbit_decoder_alloc_bitmap()
594 map->pixel_mode = FT_PIXEL_MODE_GRAY2; in tt_sbit_decoder_alloc_bitmap()
600 map->pixel_mode = FT_PIXEL_MODE_GRAY4; in tt_sbit_decoder_alloc_bitmap()
606 map->pixel_mode = FT_PIXEL_MODE_GRAY; in tt_sbit_decoder_alloc_bitmap()
612 map->pixel_mode = FT_PIXEL_MODE_BGRA; in tt_sbit_decoder_alloc_bitmap()
1651 map->pixel_mode == FT_PIXEL_MODE_BGRA ) in tt_face_load_sbit_image()
1665 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
Dpngshim.c290 map->pixel_mode != FT_PIXEL_MODE_BGRA ) ) in Load_SBit_Png()
350 map->pixel_mode = FT_PIXEL_MODE_BGRA; in Load_SBit_Png()
Dttcolr.c1140 dstSlot->bitmap.pixel_mode = FT_PIXEL_MODE_BGRA; in tt_face_colr_blend_layer()
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdfdrivr.c837 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in BDF_Glyph_Load()
840 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY2; in BDF_Glyph_Load()
843 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY4; in BDF_Glyph_Load()
846 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; in BDF_Glyph_Load()
/third_party/skia/third_party/externals/freetype/src/sdf/
Dftbsdf.c673 if ( source->pixel_mode == FT_PIXEL_MODE_NONE ) in bsdf_init_distance_map()
682 if ( source->pixel_mode == FT_PIXEL_MODE_MONO ) in bsdf_init_distance_map()
716 switch ( source->pixel_mode ) in bsdf_init_distance_map()
Dftsdfrend.c320 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; in ft_sdf_render()
547 target.pixel_mode = FT_PIXEL_MODE_GRAY; in ft_bsdf_render()
Dftsdf.c3565 bitmaps[i].pixel_mode = bitmap->pixel_mode; in sdf_generate_with_overlaps()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftimage.h267 unsigned char pixel_mode; member
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcsbits.c173 sbit->format = (FT_Byte)bitmap->pixel_mode; in ftc_snode_load()
/third_party/skia/third_party/externals/imgui/misc/freetype/
Dimgui_freetype.cpp265 out_glyph_info->IsColored = (ft_bitmap->pixel_mode == FT_PIXEL_MODE_BGRA); in RenderGlyphAndGetInfo()
278 switch (ft_bitmap->pixel_mode) in BlitGlyph()
/third_party/ffmpeg/libavfilter/
Dvf_drawtext.c1245 if (glyph->bitmap.pixel_mode != FT_PIXEL_MODE_MONO && in draw_glyphs()
1246 glyph->bitmap.pixel_mode != FT_PIXEL_MODE_GRAY) in draw_glyphs()
1256 bitmap.pixel_mode == FT_PIXEL_MODE_MONO ? 0 : 3, in draw_glyphs()
/third_party/skia/third_party/externals/freetype/src/smooth/
Dftsmooth.c482 if ( bitmap->pixel_mode == FT_PIXEL_MODE_LCD_V ) in ft_smooth_render()
/third_party/skia/third_party/externals/freetype/src/pcf/
Dpcfdrivr.c503 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in PCF_Glyph_Load()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c763 glyph->root.bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in pfr_slot_load_bitmap()
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c1064 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in FNT_Load_Glyph()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttgload.c2884 glyph->bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in TT_Load_Glyph()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.291481 (ft_smooth_render_lcd, ft_smooth_render_lcd): The pixel_mode setting
DChangeLog.2152 of pixel_mode FT_PIXEL_MODE_GRAY2 or FT_PIXEL_MODE_GRAY4.
53 If xstr is larger than 8 and bitmap is of pixel_mode

12