Home
last modified time | relevance | path

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

/external/skia/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/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.c177 switch ( bitmap->pixel_mode ) in ft_bitmap_assure_buffer()
338 switch ( bitmap->pixel_mode ) in FT_Bitmap_Embolden()
407 if ( bitmap->pixel_mode == FT_PIXEL_MODE_MONO ) in FT_Bitmap_Embolden()
536 switch ( source->pixel_mode ) in FT_Bitmap_Convert()
556 target->pixel_mode = FT_PIXEL_MODE_GRAY; in FT_Bitmap_Convert()
595 switch ( source->pixel_mode ) in FT_Bitmap_Convert()
832 if ( !( target->pixel_mode == FT_PIXEL_MODE_NONE || in FT_Bitmap_Blend()
833 ( target->pixel_mode == FT_PIXEL_MODE_BGRA && in FT_Bitmap_Blend()
837 if ( source_->pixel_mode == FT_PIXEL_MODE_NONE ) in FT_Bitmap_Blend()
841 if ( target->pixel_mode == FT_PIXEL_MODE_BGRA && in FT_Bitmap_Blend()
[all …]
Dftobjs.c353 FT_Pixel_Mode pixel_mode; in ft_glyphslot_preset_bitmap() local
383 pixel_mode = FT_PIXEL_MODE_MONO; in ft_glyphslot_preset_bitmap()
411 pixel_mode = FT_PIXEL_MODE_LCD; in ft_glyphslot_preset_bitmap()
416 pixel_mode = FT_PIXEL_MODE_LCD_V; in ft_glyphslot_preset_bitmap()
423 pixel_mode = FT_PIXEL_MODE_GRAY; in ft_glyphslot_preset_bitmap()
440 switch ( pixel_mode ) in ft_glyphslot_preset_bitmap()
463 bitmap->pixel_mode = (unsigned char)pixel_mode; in ft_glyphslot_preset_bitmap()
514 slot->bitmap.pixel_mode = 0; in ft_glyphslot_clear()
1038 pixel_modes[slot->bitmap.pixel_mode], in FT_Load_Glyph()
1039 slot->bitmap.pixel_mode )); in FT_Load_Glyph()
[all …]
Dftoutln.c683 if ( abitmap->pixel_mode == FT_PIXEL_MODE_GRAY || in FT_Outline_Get_Bitmap()
684 abitmap->pixel_mode == FT_PIXEL_MODE_LCD || in FT_Outline_Get_Bitmap()
685 abitmap->pixel_mode == FT_PIXEL_MODE_LCD_V ) in FT_Outline_Get_Bitmap()
/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.c585 map->pixel_mode = FT_PIXEL_MODE_MONO; in tt_sbit_decoder_alloc_bitmap()
591 map->pixel_mode = FT_PIXEL_MODE_GRAY2; in tt_sbit_decoder_alloc_bitmap()
597 map->pixel_mode = FT_PIXEL_MODE_GRAY4; in tt_sbit_decoder_alloc_bitmap()
603 map->pixel_mode = FT_PIXEL_MODE_GRAY; in tt_sbit_decoder_alloc_bitmap()
609 map->pixel_mode = FT_PIXEL_MODE_BGRA; in tt_sbit_decoder_alloc_bitmap()
1648 map->pixel_mode == FT_PIXEL_MODE_BGRA ) in tt_face_load_sbit_image()
1662 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
Dpngshim.c282 map->pixel_mode != FT_PIXEL_MODE_BGRA ) ) in Load_SBit_Png()
335 map->pixel_mode = FT_PIXEL_MODE_BGRA; in Load_SBit_Png()
Dttcolr.c294 dstSlot->bitmap.pixel_mode = FT_PIXEL_MODE_BGRA; in tt_face_colr_blend_layer()
/external/freetype/src/bdf/
Dbdfdrivr.c827 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in BDF_Glyph_Load()
830 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY2; in BDF_Glyph_Load()
833 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY4; in BDF_Glyph_Load()
836 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY; in BDF_Glyph_Load()
/external/freetype/include/freetype/
Dftimage.h282 unsigned char pixel_mode; member
/external/freetype/src/cache/
Dftcsbits.c178 sbit->format = (FT_Byte)bitmap->pixel_mode; in ftc_snode_load()
/external/pdfium/core/fxge/
Dfx_freetype.h173 static_cast<FT_Bitmap*>(bitmap)->pixel_mode
/external/freetype/src/smooth/
Dftsmooth.c166 if ( bitmap->pixel_mode == FT_PIXEL_MODE_LCD_V ) in ft_smooth_render_generic()
/external/freetype/src/pfr/
Dpfrsbit.c763 glyph->root.bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in pfr_slot_load_bitmap()
/external/freetype/src/pcf/
Dpcfdrivr.c527 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in PCF_Glyph_Load()
/external/freetype/src/winfonts/
Dwinfnt.c1053 bitmap->pixel_mode = FT_PIXEL_MODE_MONO; in FNT_Load_Glyph()
/external/ImageMagick/MagickCore/
Dannotate.c1626 if (bitmap->bitmap.pixel_mode == ft_pixel_mode_mono) in RenderFreetype()
1699 if (bitmap->bitmap.pixel_mode != ft_pixel_mode_mono) in RenderFreetype()
/external/freetype/src/truetype/
Dttgload.c2776 glyph->bitmap.pixel_mode = FT_PIXEL_MODE_MONO; in TT_Load_Glyph()
/external/freetype/
DChangeLog2840 (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.