/external/skqp/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 104 if (FT_PIXEL_MODE_LCD != bitmap.pixel_mode) { in copyFT2LCD16() 107 if (FT_PIXEL_MODE_LCD_V != bitmap.pixel_mode) { in copyFT2LCD16() 118 switch (bitmap.pixel_mode) { in copyFT2LCD16() 180 SkDEBUGF("FT_Pixel_Mode %d", bitmap.pixel_mode); in copyFT2LCD16() 217 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); in copyFTBitmap() 343 inline SkColorType SkColorType_for_FTPixelMode(FT_Pixel_Mode pixel_mode) { in SkColorType_for_FTPixelMode() argument 344 switch (pixel_mode) { in SkColorType_for_FTPixelMode() 550 target.pixel_mode = compute_pixel_mode( (SkMask::Format)glyph.fMaskFormat); in generateGlyphImage() 566 FT_Pixel_Mode pixel_mode = static_cast<FT_Pixel_Mode>(face->glyph->bitmap.pixel_mode); in generateGlyphImage() local 570 SkASSERT(FT_PIXEL_MODE_MONO == pixel_mode || in generateGlyphImage() [all …]
|
D | SkFontHost_FreeType.cpp | 1250 if (fFace->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { in generateMetrics()
|
/external/freetype/src/base/ |
D | ftbitmap.c | 176 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 …]
|
D | ftlcdfil.c | 85 FT_Byte mode = bitmap->pixel_mode; in ft_lcd_filter_fir() 191 FT_Byte mode = bitmap->pixel_mode; in _ft_lcd_filter_legacy()
|
D | ftobjs.c | 354 FT_Pixel_Mode pixel_mode; in ft_glyphslot_preset_bitmap() local 391 pixel_mode = FT_PIXEL_MODE_MONO; in ft_glyphslot_preset_bitmap() 434 pixel_mode = FT_PIXEL_MODE_LCD; in ft_glyphslot_preset_bitmap() 439 pixel_mode = FT_PIXEL_MODE_LCD_V; in ft_glyphslot_preset_bitmap() 446 pixel_mode = FT_PIXEL_MODE_GRAY; in ft_glyphslot_preset_bitmap() 460 switch ( pixel_mode ) in ft_glyphslot_preset_bitmap() 483 bitmap->pixel_mode = (unsigned char)pixel_mode; in ft_glyphslot_preset_bitmap() 544 slot->bitmap.pixel_mode = 0; in ft_glyphslot_clear() 1069 pixel_modes[slot->bitmap.pixel_mode], in FT_Load_Glyph() 1070 slot->bitmap.pixel_mode )); in FT_Load_Glyph() [all …]
|
D | ftoutln.c | 671 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()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 116 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() 1099 target.pixel_mode = compute_pixel_mode(glyph.fMaskFormat); in generateGlyphImage() 1115 FT_Pixel_Mode pixel_mode = static_cast<FT_Pixel_Mode>(face->glyph->bitmap.pixel_mode); in generateGlyphImage() local 1119 SkASSERT(FT_PIXEL_MODE_MONO == pixel_mode || in generateGlyphImage() [all …]
|
D | SkFontHost_FreeType.cpp | 1439 if (fFace->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { in generateMetrics()
|
/external/ImageMagick/coders/ |
D | tim.c | 128 pixel_mode, in ReadTIMImage() local 171 pixel_mode=tim_info.flag & 0x07; in ReadTIMImage() 172 switch ((int) pixel_mode) in ReadTIMImage() 196 if (AcquireImageColormap(image,pixel_mode == 1 ? 256UL : 16UL,exception) == MagickFalse) in ReadTIMImage()
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 584 map->pixel_mode = FT_PIXEL_MODE_MONO; in tt_sbit_decoder_alloc_bitmap() 590 map->pixel_mode = FT_PIXEL_MODE_GRAY2; in tt_sbit_decoder_alloc_bitmap() 596 map->pixel_mode = FT_PIXEL_MODE_GRAY4; in tt_sbit_decoder_alloc_bitmap() 602 map->pixel_mode = FT_PIXEL_MODE_GRAY; in tt_sbit_decoder_alloc_bitmap() 608 map->pixel_mode = FT_PIXEL_MODE_BGRA; in tt_sbit_decoder_alloc_bitmap() 1647 map->pixel_mode == FT_PIXEL_MODE_BGRA ) in tt_face_load_sbit_image() 1661 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
|
D | pngshim.c | 287 map->pixel_mode != FT_PIXEL_MODE_BGRA ) ) in Load_SBit_Png() 347 map->pixel_mode = FT_PIXEL_MODE_BGRA; in Load_SBit_Png()
|
D | ttcolr.c | 293 dstSlot->bitmap.pixel_mode = FT_PIXEL_MODE_BGRA; in tt_face_colr_blend_layer()
|
/external/freetype/src/bdf/ |
D | bdfdrivr.c | 839 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in BDF_Glyph_Load() 842 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY2; in BDF_Glyph_Load() 845 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY4; in BDF_Glyph_Load() 848 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; in BDF_Glyph_Load()
|
/external/freetype/include/freetype/ |
D | ftimage.h | 267 unsigned char pixel_mode; member
|
/external/pdfium/core/fxge/ |
D | fx_freetype.h | 96 #define FXFT_Get_Bitmap_PixelMode(bitmap) (bitmap).pixel_mode
|
/external/freetype/src/cache/ |
D | ftcsbits.c | 177 sbit->format = (FT_Byte)bitmap->pixel_mode; in ftc_snode_load()
|
/external/freetype/src/pfr/ |
D | pfrsbit.c | 763 glyph->root.bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in pfr_slot_load_bitmap()
|
/external/freetype/src/smooth/ |
D | ftsmooth.c | 482 if ( bitmap->pixel_mode == FT_PIXEL_MODE_LCD_V ) in ft_smooth_render()
|
/external/freetype/src/pcf/ |
D | pcfdrivr.c | 503 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in PCF_Glyph_Load()
|
/external/ImageMagick/MagickCore/ |
D | annotate.c | 1688 if (bitmap->bitmap.pixel_mode == ft_pixel_mode_mono) in RenderFreetype() 1763 if (bitmap->bitmap.pixel_mode == ft_pixel_mode_grays) in RenderFreetype() 1766 if (bitmap->bitmap.pixel_mode == ft_pixel_mode_mono) in RenderFreetype()
|
/external/freetype/src/winfonts/ |
D | winfnt.c | 1056 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in FNT_Load_Glyph()
|
/external/freetype/src/truetype/ |
D | ttgload.c | 2877 glyph->bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in TT_Load_Glyph()
|
/external/freetype/ |
D | ChangeLog.29 | 1481 (ft_smooth_render_lcd, ft_smooth_render_lcd): The pixel_mode setting
|
D | ChangeLog.21 | 52 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
|
D | ChangeLog.25 | 865 `pixel_mode', and `palette_mode' unsigned types.
|