Home
last modified time | relevance | path

Searched refs:kBW_Format (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/src/core/
DSkBlurMask.cpp107 if (src.fFormat != SkMask::kBW_Format && in BoxBlur()
158 case SkMask::kBW_Format: in BoxBlur()
161 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
191 case SkMask::kBW_Format: in BoxBlur()
194 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
234 case SkMask::kBW_Format: in BoxBlur()
237 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
DSkMask.h26 kBW_Format, //!< 1bit per pixel mask (e.g. monochrome) enumerator
66 SkASSERT(kBW_Format == fFormat); in getAddr1()
151 template <> struct SkMask::AlphaIter<SkMask::kBW_Format> {
DSkMask.cpp101 SkASSERT(SkMask::kBW_Format != format); in maskFormatToShift()
106 SkASSERT(kBW_Format != fFormat); in getAddr()
DSkScalerContext.cpp241 glyph.fMaskFormat = SkMask::kBW_Format; in internalMakeGlyph()
459 SkASSERT(mask.fFormat == SkMask::kBW_Format || in generateMask()
477 paint.setAntiAlias(SkMask::kBW_Format != mask.fFormat); in generateMask()
481 const bool intermediateDst = fromLCD || mask.fFormat == SkMask::kBW_Format; in generateMask()
533 case SkMask::kBW_Format: in generateMask()
956 return SkMask::kBW_Format; in compute_mask_format()
DSkGlyph.cpp47 case SkMask::kBW_Format: in format_alignment()
64 return format == SkMask::kBW_Format ? bits_to_bytes(width) in format_rowbytes()
DSkMaskBlurFilter.cpp920 case SkMask::kBW_Format: in small_blur()
1004 case SkMask::kBW_Format: { in blur()
1006 auto start = SkMask::AlphaIter<SkMask::kBW_Format>(bwStart, 0); in blur()
1007 auto end = SkMask::AlphaIter<SkMask::kBW_Format>(bwStart + (srcW / 8), srcW % 8); in blur()
/external/skqp/src/core/
DSkBlurMask.cpp106 if (src.fFormat != SkMask::kBW_Format && in BoxBlur()
157 case SkMask::kBW_Format: in BoxBlur()
160 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
190 case SkMask::kBW_Format: in BoxBlur()
193 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
233 case SkMask::kBW_Format: in BoxBlur()
236 SkMask::AlphaIter<SkMask::kBW_Format>(src.fImage, 0), src.fRowBytes, in BoxBlur()
DSkMask.h26 kBW_Format, //!< 1bit per pixel mask (e.g. monochrome) enumerator
64 SkASSERT(kBW_Format == fFormat); in getAddr1()
149 template <> struct SkMask::AlphaIter<SkMask::kBW_Format> {
DSkMask.cpp101 SkASSERT(SkMask::kBW_Format != format); in maskFormatToShift()
106 SkASSERT(kBW_Format != fFormat); in getAddr()
DSkGlyph.cpp38 case SkMask::kBW_Format: in format_alignment()
55 return format == SkMask::kBW_Format ? bits_to_bytes(width) in format_rowbytes()
DSkScalerContext.cpp397 paint.setAntiAlias(SkMask::kBW_Format != mask.fFormat); in generateMask()
399 case SkMask::kBW_Format: in generateMask()
440 case SkMask::kBW_Format: in generateMask()
855 return SkMask::kBW_Format; in compute_mask_format()
1084 case SkMask::kBW_Format: in MakeRecAndEffects()
DSkMaskBlurFilter.cpp917 case SkMask::kBW_Format: in small_blur()
997 case SkMask::kBW_Format: { in blur()
999 auto start = SkMask::AlphaIter<SkMask::kBW_Format>(bwStart, 0); in blur()
1000 auto end = SkMask::AlphaIter<SkMask::kBW_Format>(bwStart + (srcW / 8), srcW % 8); in blur()
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp59 case SkMask::kBW_Format: in compute_pixel_mode()
234 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap()
358 case SkMask::kBW_Format: in SkColorType_for_SkMaskFormat()
575 SkASSERT(SkMask::kBW_Format == maskFormat || in generateGlyphImage()
610 if (SkMask::kBW_Format != maskFormat && SkMask::kLCD16_Format != maskFormat) { in generateGlyphImage()
619 if (SkMask::kBW_Format == maskFormat || SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
649 if (SkMask::kBW_Format == maskFormat) { in generateGlyphImage()
/external/skia/tests/
DMaskCacheTest.cpp49 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
86 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
DBlitMaskClip.cpp54 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
/external/skqp/tests/
DMaskCacheTest.cpp49 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
86 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
DBlitMaskClip.cpp54 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
/external/skia/src/gpu/
DGrGlyph.h20 case SkMask::kBW_Format: in FormatFromSkGlyph()
/external/skia/src/gpu/text/
DGrSDFMaskFilter.cpp49 && src.fFormat != SkMask::kBW_Format in filterMask()
/external/skqp/src/gpu/text/
DGrSDFMaskFilter.cpp49 && src.fFormat != SkMask::kBW_Format in filterMask()
DGrStrikeCache.cpp132 if (SkMask::kBW_Format == glyph.fMaskFormat) { in get_packed_glyph_image()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp71 case SkMask::kBW_Format: in compute_pixel_mode()
246 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap()
370 case SkMask::kBW_Format: in SkColorType_for_SkMaskFormat()
1124 SkASSERT(SkMask::kBW_Format == maskFormat || in generateGlyphImage()
1158 if (SkMask::kBW_Format != maskFormat && SkMask::kLCD16_Format != maskFormat) { in generateGlyphImage()
1167 if (SkMask::kBW_Format == maskFormat || SkMask::kLCD16_Format == maskFormat) { in generateGlyphImage()
1188 if (SkMask::kBW_Format == maskFormat) { in generateGlyphImage()
/external/skqp/src/gpu/
DGrGlyph.h28 case SkMask::kBW_Format: in FormatFromSkGlyph()
/external/skia/tools/fonts/
DRandomScalerContext.cpp60 case 3: format = SkMask::kBW_Format; break; in generateMetrics()
/external/skqp/tools/fonts/
DSkRandomScalerContext.cpp71 case 3: glyph->fMaskFormat = SkMask::kBW_Format; break; in generateMetrics()

12