Home
last modified time | relevance | path

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

/external/skia/bench/
DSwizzleBench.cpp13 SwizzleBench(const char* name, SkOpts::Swizzle_8888 fn) : fName(name), fFn(fn) {} in SwizzleBench()
26 SkOpts::Swizzle_8888 fFn;
30 DEF_BENCH(return new SwizzleBench("SkOpts::RGBA_to_rgbA", SkOpts::RGBA_to_rgbA));
31 DEF_BENCH(return new SwizzleBench("SkOpts::RGBA_to_bgrA", SkOpts::RGBA_to_bgrA));
32 DEF_BENCH(return new SwizzleBench("SkOpts::RGBA_to_BGRA", SkOpts::RGBA_to_BGRA));
33 DEF_BENCH(return new SwizzleBench("SkOpts::RGB_to_RGB1", SkOpts::RGB_to_RGB1));
34 DEF_BENCH(return new SwizzleBench("SkOpts::RGB_to_BGR1", SkOpts::RGB_to_BGR1));
35 DEF_BENCH(return new SwizzleBench("SkOpts::gray_to_RGB1", SkOpts::gray_to_RGB1));
36 DEF_BENCH(return new SwizzleBench("SkOpts::grayA_to_RGBA", SkOpts::grayA_to_RGBA));
37 DEF_BENCH(return new SwizzleBench("SkOpts::grayA_to_rgbA", SkOpts::grayA_to_rgbA));
[all …]
DHalfBench.cpp25 SkOpts::float_to_half(hs, fs, 1023); in onDraw()
44 SkOpts::half_to_float(fs, hs, 1023); in onDraw()
/external/skia/src/effects/
DSkBlurImageFilter.cpp163 SkOpts::box_blur_xx(s, sw, srcBounds, t, kernelSizeX, lowOffsetX, highOffsetX, w, h); in onFilterImageDeprecated()
164 SkOpts::box_blur_xx(t, w, dstBounds, d, kernelSizeX, highOffsetX, lowOffsetX, w, h); in onFilterImageDeprecated()
165 SkOpts::box_blur_xy(d, w, dstBounds, t, kernelSizeX3, highOffsetX, highOffsetX, w, h); in onFilterImageDeprecated()
166 SkOpts::box_blur_xx(t, h, dstBoundsT, d, kernelSizeY, lowOffsetY, highOffsetY, h, w); in onFilterImageDeprecated()
167 SkOpts::box_blur_xx(d, h, dstBoundsT, t, kernelSizeY, highOffsetY, lowOffsetY, h, w); in onFilterImageDeprecated()
168 SkOpts::box_blur_xy(t, h, dstBoundsT, d, kernelSizeY3, highOffsetY, highOffsetY, h, w); in onFilterImageDeprecated()
170 SkOpts::box_blur_xx(s, sw, srcBounds, d, kernelSizeX, lowOffsetX, highOffsetX, w, h); in onFilterImageDeprecated()
171 SkOpts::box_blur_xx(d, w, dstBounds, t, kernelSizeX, highOffsetX, lowOffsetX, w, h); in onFilterImageDeprecated()
172 SkOpts::box_blur_xx(t, w, dstBounds, d, kernelSizeX3, highOffsetX, highOffsetX, w, h); in onFilterImageDeprecated()
174 SkOpts::box_blur_yx(s, sw, srcBoundsT, d, kernelSizeY, lowOffsetY, highOffsetY, h, w); in onFilterImageDeprecated()
[all …]
DSkMorphologyImageFilter.cpp134 return this->filterImageGeneric(SkOpts::erode_x, SkOpts::erode_y, in onFilterImageDeprecated()
141 return this->filterImageGeneric(SkOpts::dilate_x, SkOpts::dilate_y, in onFilterImageDeprecated()
DSkColorCubeFilter.cpp134 SkOpts::color_cube_filter_span(src, count, dst, colorToIndex, in filterSpan()
/external/skia/tests/
DSwizzlerTest.cpp135 SkOpts::RGBA_to_rgbA(&dst, &src, 1); in DEF_TEST()
137 SkOpts::RGBA_to_bgrA(&dst, &src, 1); in DEF_TEST()
141 SkOpts::RGBA_to_rgbA(&dst, &src, 1); in DEF_TEST()
143 SkOpts::RGBA_to_bgrA(&dst, &src, 1); in DEF_TEST()
149 SkOpts::RGBA_to_rgbA(&dst, &src, 1); in DEF_TEST()
153 SkOpts::RGBA_to_BGRA(&dst, &src, 1); in DEF_TEST()
157 SkOpts::RGBA_to_bgrA(&dst, &src, 1); in DEF_TEST()
DFloat16Test.cpp62 SkOpts::float_to_half(hscratch, fs, 7); in DEF_TEST()
66 SkOpts::half_to_float(fscratch, hs, 7); in DEF_TEST()
/external/skia/src/codec/
DSkSwizzler.cpp283 SkOpts::gray_to_RGB1((uint32_t*) dst, src + offset, width); in fast_swizzle_gray_to_n32()
322 SkOpts::grayA_to_RGBA((uint32_t*) dst, src + offset, width); in fast_swizzle_grayalpha_to_n32_unpremul()
348 SkOpts::grayA_to_rgbA((uint32_t*) dst, src + offset, width); in fast_swizzle_grayalpha_to_n32_premul()
401 SkOpts::RGBA_to_BGRA((uint32_t*) dst, src + offset, width); in fast_swizzle_bgra_to_n32_unpremul()
429 SkOpts::RGBA_to_bgrA((uint32_t*) dst, src + offset, width); in fast_swizzle_bgra_to_n32_premul()
431 SkOpts::RGBA_to_rgbA((uint32_t*) dst, src + offset, width); in fast_swizzle_bgra_to_n32_premul()
458 SkOpts::RGB_to_RGB1((uint32_t*) dst, src + offset, width); in fast_swizzle_rgb_to_n32()
460 SkOpts::RGB_to_BGR1((uint32_t*) dst, src + offset, width); in fast_swizzle_rgb_to_n32()
500 SkOpts::RGBA_to_rgbA((uint32_t*) dst, src + offset, width); in fast_swizzle_rgba_to_n32_premul()
502 SkOpts::RGBA_to_bgrA((uint32_t*) dst, src + offset, width); in fast_swizzle_rgba_to_n32_premul()
[all …]
DSkPngCodec.cpp137 SkOpts::RGB_to_RGB1(colorPtr + numColorsWithAlpha, palette, numColors - numColorsWithAlpha); in decodePalette()
139 SkOpts::RGB_to_BGR1(colorPtr + numColorsWithAlpha, palette, numColors - numColorsWithAlpha); in decodePalette()
/external/skia/src/utils/
DSkTextureCompressor.cpp42 if (!matchSpec && SkOpts::fill_block_dimensions(format, dimX, dimY)) { in GetBlockDimensions()
123 SkOpts::TextureCompressor proc = SkOpts::texture_compressor(srcColorType, format); in CompressBufferToFormat()
/external/skia/src/opts/
DSkOpts_ssse3.cpp15 namespace SkOpts { namespace
DSkOpts_neon.cpp21 namespace SkOpts { namespace
DSkTextureCompressor_opts.h239 static SkOpts::TextureCompressor texture_compressor(SkColorType ct, in texture_compressor()
256 static SkOpts::TextureCompressor texture_compressor(SkColorType, SkTextureCompressor::Format) {
DSkOpts_sse41.cpp219 namespace SkOpts { namespace
/external/skia/src/core/
DSkOpts.h18 namespace SkOpts {
DSkGraphics.cpp50 SkOpts::Init(); in Init()
DSkBlitRow_D32.cpp140 return SkOpts::blit_row_color32(dst, src, count, color); in Color32()
DSkOpts.cpp65 namespace SkOpts { namespace
DSkBlitMask_D32.cpp59 SkOpts::blit_mask_d32_a8(device.writable_addr32(x,y), device.rowBytes(), in BlitColor()
DSkMatrix.cpp920 return SkOpts::matrix_translate(m,dst,src,count); in Trans_pts()
924 return SkOpts::matrix_scale_translate(m,dst,src,count); in Scale_pts()
956 return SkOpts::matrix_affine(m,dst,src,count); in Affine_vpts()
DSkXfermode.cpp1324 if (auto xfermode = SkOpts::create_xfermode(rec, mode)) { in Create()
/external/skia/gyp/
Dcore.gypi182 '<(skia_src_path)/core/SkOpts.cpp',
183 '<(skia_src_path)/core/SkOpts.h',
/external/skia/dm/
DDMSrcSink.cpp290 SkOpts::RGBA_to_rgbA(row, row, bitmap.width()); in premultiply_if_necessary()
296 SkOpts::RGBA_to_rgbA(colorPtr, colorPtr, colorTable->count()); in premultiply_if_necessary()
/external/skia/
DAndroid.mk194 src/core/SkOpts.cpp \