Home
last modified time | relevance | path

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

12

/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp104 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 …]
DSkFontHost_FreeType.cpp1250 if (fFace->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { in generateMetrics()
/external/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.c354 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 …]
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()
/external/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()
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 …]
DSkFontHost_FreeType.cpp1439 if (fFace->glyph->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA) { in generateMetrics()
/external/ImageMagick/coders/
Dtim.c128 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/
Dttsbit.c584 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()
Dpngshim.c287 map->pixel_mode != FT_PIXEL_MODE_BGRA ) ) in Load_SBit_Png()
347 map->pixel_mode = FT_PIXEL_MODE_BGRA; in Load_SBit_Png()
Dttcolr.c293 dstSlot->bitmap.pixel_mode = FT_PIXEL_MODE_BGRA; in tt_face_colr_blend_layer()
/external/freetype/src/bdf/
Dbdfdrivr.c839 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/
Dftimage.h267 unsigned char pixel_mode; member
/external/pdfium/core/fxge/
Dfx_freetype.h96 #define FXFT_Get_Bitmap_PixelMode(bitmap) (bitmap).pixel_mode
/external/freetype/src/cache/
Dftcsbits.c177 sbit->format = (FT_Byte)bitmap->pixel_mode; in ftc_snode_load()
/external/freetype/src/pfr/
Dpfrsbit.c763 glyph->root.bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in pfr_slot_load_bitmap()
/external/freetype/src/smooth/
Dftsmooth.c482 if ( bitmap->pixel_mode == FT_PIXEL_MODE_LCD_V ) in ft_smooth_render()
/external/freetype/src/pcf/
Dpcfdrivr.c503 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in PCF_Glyph_Load()
/external/ImageMagick/MagickCore/
Dannotate.c1688 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/
Dwinfnt.c1056 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in FNT_Load_Glyph()
/external/freetype/src/truetype/
Dttgload.c2877 glyph->bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in TT_Load_Glyph()
/external/freetype/
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
DChangeLog.25865 `pixel_mode', and `palette_mode' unsigned types.

12