/external/skia/src/core/ |
D | SkImageFilter.cpp | 14 SK_DEFINE_INST_COUNT(SkImageFilter) in SK_DEFINE_INST_COUNT() argument 16 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs) in SK_DEFINE_INST_COUNT() 17 : fInputCount(inputCount), fInputs(new SkImageFilter*[inputCount]) { in SK_DEFINE_INST_COUNT() 24 SkImageFilter::SkImageFilter(SkImageFilter* input) in SkImageFilter() function in SkImageFilter 25 : fInputCount(1), fInputs(new SkImageFilter*[1]) { in SkImageFilter() 30 SkImageFilter::SkImageFilter(SkImageFilter* input1, SkImageFilter* input2) in SkImageFilter() function in SkImageFilter 31 : fInputCount(2), fInputs(new SkImageFilter*[2]) { in SkImageFilter() 38 SkImageFilter::~SkImageFilter() { in ~SkImageFilter() 45 SkImageFilter::SkImageFilter(SkFlattenableReadBuffer& buffer) in SkImageFilter() function in SkImageFilter 46 : fInputCount(buffer.readInt()), fInputs(new SkImageFilter*[fInputCount]) { in SkImageFilter() [all …]
|
D | SkDeviceImageFilterProxy.h | 13 class SkDeviceImageFilterProxy : public SkImageFilter::Proxy { 21 virtual bool canHandleImageFilter(SkImageFilter* filter) SK_OVERRIDE { in canHandleImageFilter() 24 virtual bool filterImage(SkImageFilter* filter, const SkBitmap& src, in filterImage()
|
/external/skia/gm/ |
D | testimagefilters.cpp | 23 static SkImageFilter* make0() { return new SkDownSampleImageFilter(SK_Scalar1 / 5); } in make0() 24 static SkImageFilter* make1() { return new SkOffsetImageFilter(SkIntToScalar(16), SkIntToScalar(16)… in make1() 25 static SkImageFilter* make2() { in make2() 31 static SkImageFilter* make3() { in make3() 35 static SkImageFilter* make4() { in make4() 36 SkImageFilter* outer = new SkOffsetImageFilter(SkIntToScalar(16), SkIntToScalar(16)); in make4() 37 SkImageFilter* inner = new SkDownSampleImageFilter(SK_Scalar1 / 5); in make4() 42 static SkImageFilter* make5() { in make5() 43 SkImageFilter* first = new SkOffsetImageFilter(SkIntToScalar(16), SkIntToScalar(16)); in make5() 44 SkImageFilter* second = new SkDownSampleImageFilter(SK_Scalar1 / 5); in make5() [all …]
|
D | colorfilterimagefilter.cpp | 21 static SkImageFilter* make_blur(float amount, SkImageFilter* input = NULL) { in make_blur() 25 static SkImageFilter* make_brightness(float amount, SkImageFilter* input = NULL) { in make_brightness() 35 static SkImageFilter* make_grayscale(SkImageFilter* input = NULL) { in make_grayscale() 46 static SkImageFilter* make_mode_blue(SkImageFilter* input = NULL) { in make_mode_blue() 80 SkAutoTUnref<SkImageFilter> dim(make_brightness(-brightness)); in onDraw() 81 SkAutoTUnref<SkImageFilter> bright(make_brightness(brightness, dim)); in onDraw() 89 SkAutoTUnref<SkImageFilter> brightness(make_brightness(0.9f)); in onDraw() 90 SkAutoTUnref<SkImageFilter> grayscale(make_grayscale(brightness)); in onDraw() 96 SkAutoTUnref<SkImageFilter> grayscale(make_grayscale()); in onDraw() 97 SkAutoTUnref<SkImageFilter> brightness(make_brightness(0.9f, grayscale)); in onDraw() [all …]
|
D | imagefiltersgraph.cpp | 55 SkAutoTUnref<SkImageFilter> bitmapSource(new SkBitmapSource(fBitmap)); in onDraw() 58 SkAutoTUnref<SkImageFilter> blur(new SkBlurImageFilter(4.0f, 4.0f, bitmapSource)); in onDraw() 59 SkAutoTUnref<SkImageFilter> erode(new SkErodeImageFilter(4, 4, blur)); in onDraw() 60 SkAutoTUnref<SkImageFilter> color(SkColorFilterImageFilter::Create(cf, erode)); in onDraw() 61 SkAutoTUnref<SkImageFilter> merge(new SkMergeImageFilter(blur, color)); in onDraw() 68 SkAutoTUnref<SkImageFilter> morph(new SkDilateImageFilter(5, 5)); in onDraw() 76 … SkAutoTUnref<SkImageFilter> colorMorph(SkColorFilterImageFilter::Create(matrixFilter, morph)); in onDraw() 77 …SkAutoTUnref<SkImageFilter> blendColor(new SkBlendImageFilter(SkBlendImageFilter::kNormal_Mode, co… in onDraw()
|
D | imagefiltersbase.cpp | 18 class FailImageFilter : public SkImageFilter { 32 typedef SkImageFilter INHERITED; 39 class IdentityImageFilter : public SkImageFilter { 54 typedef SkImageFilter INHERITED; 64 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint() 74 static void draw_line(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_line() 82 static void draw_rect(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_rect() 91 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path() 99 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text() 109 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap() [all …]
|
/external/skia/include/core/ |
D | SkImageFilter.h | 43 class SK_API SkImageFilter : public SkFlattenable { 45 SK_DECLARE_INST_COUNT(SkImageFilter) in SK_DECLARE_INST_COUNT() argument 53 virtual bool canHandleImageFilter(SkImageFilter*) = 0; in SK_DECLARE_INST_COUNT() 56 virtual bool filterImage(SkImageFilter*, const SkBitmap& src, in SK_DECLARE_INST_COUNT() 130 SkImageFilter* getInput(int i) const { in getInput() 136 SkImageFilter(int inputCount, SkImageFilter** inputs); 139 explicit SkImageFilter(SkImageFilter* input); 142 SkImageFilter(SkImageFilter* input1, SkImageFilter* input2); 144 virtual ~SkImageFilter(); 146 explicit SkImageFilter(SkFlattenableReadBuffer& rb); [all …]
|
/external/skia/legacy/include/effects/ |
D | SkTestImageFilters.h | 8 class SkOffsetImageFilter : public SkImageFilter { 31 typedef SkImageFilter INHERITED; 34 class SkComposeImageFilter : public SkImageFilter { 36 SkComposeImageFilter(SkImageFilter* outer, SkImageFilter* inner) { in SkComposeImageFilter() 59 SkImageFilter* fOuter; 60 SkImageFilter* fInner; 62 typedef SkImageFilter INHERITED; 67 class SkMergeImageFilter : public SkImageFilter { 69 SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second, 71 SkMergeImageFilter(SkImageFilter* const filters[], int count, [all …]
|
D | SkBlurImageFilter.h | 14 class SK_API SkBlurImageFilter : public SkImageFilter { 36 typedef SkImageFilter INHERITED;
|
/external/skia/include/effects/ |
D | SkLightingImageFilter.h | 52 static SkImageFilter* CreateDistantLitDiffuse(const SkPoint3& direction, 54 SkImageFilter* input = NULL); 55 static SkImageFilter* CreatePointLitDiffuse(const SkPoint3& location, 57 SkImageFilter* input = NULL); 58 static SkImageFilter* CreateSpotLitDiffuse(const SkPoint3& location, 61 SkImageFilter* input = NULL); 62 static SkImageFilter* CreateDistantLitSpecular(const SkPoint3& direction, 64 SkScalar shininess, SkImageFilter* input = NULL); 65 static SkImageFilter* CreatePointLitSpecular(const SkPoint3& location, 67 SkScalar shininess, SkImageFilter* input = NULL); [all …]
|
D | SkBlendImageFilter.h | 14 class SK_API SkBlendImageFilter : public SkImageFilter { 23 SkBlendImageFilter(Mode mode, SkImageFilter* background, SkImageFilter* foreground = NULL); 45 typedef SkImageFilter INHERITED; 46 SkImageFilter* getBackgroundInput() { return getInput(0); } in getBackgroundInput() 47 SkImageFilter* getForegroundInput() { return getInput(1); } in getForegroundInput()
|
D | SkDisplacementMapEffect.h | 14 class SK_API SkDisplacementMapEffect : public SkImageFilter { 25 … ChannelSelectorType yChannelSelector, SkScalar scale, SkImageFilter* displacement, SkImageFilter*… 49 typedef SkImageFilter INHERITED; 50 SkImageFilter* getDisplacementInput() { return getInput(0); } in getDisplacementInput() 51 SkImageFilter* getColorInput() { return getInput(1); } in getColorInput()
|
D | SkTestImageFilters.h | 7 class SK_API SkComposeImageFilter : public SkImageFilter { 9 SkComposeImageFilter(SkImageFilter* outer, SkImageFilter* inner) : INHERITED(outer, inner) {} in SkComposeImageFilter() 22 typedef SkImageFilter INHERITED; 28 class SK_API SkDownSampleImageFilter : public SkImageFilter { 44 typedef SkImageFilter INHERITED;
|
D | SkMergeImageFilter.h | 15 class SK_API SkMergeImageFilter : public SkImageFilter { 17 SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second, 19 SkMergeImageFilter(SkImageFilter* filters[], int count, 43 typedef SkImageFilter INHERITED;
|
D | SkSingleInputImageFilter.h | 17 class SK_API SkSingleInputImageFilter : public SkImageFilter { 22 explicit SkSingleInputImageFilter(SkImageFilter* input); 32 SkImageFilter* input() const { return getInput(0); } in input() 34 typedef SkImageFilter INHERITED;
|
D | SkImageFilterUtils.h | 17 class SkImageFilter; variable 31 …static bool GetInputResultGPU(SkImageFilter* filter, SkImageFilter::Proxy* proxy, const SkBitmap& …
|
D | SkMorphologyImageFilter.h | 17 SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input); 35 SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input = NULL) 55 SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input = NULL)
|
D | SkBitmapSource.h | 14 class SK_API SkBitmapSource : public SkImageFilter { 28 typedef SkImageFilter INHERITED;
|
D | SkMagnifierImageFilter.h | 15 class SK_API SkMagnifierImageFilter : public SkImageFilter { 33 typedef SkImageFilter INHERITED;
|
D | SkColorFilterImageFilter.h | 17 static SkColorFilterImageFilter* Create(SkColorFilter* cf, SkImageFilter* input = NULL); 32 SkColorFilterImageFilter(SkColorFilter* cf, SkImageFilter* input);
|
D | SkBicubicImageFilter.h | 30 …SkBicubicImageFilter(const SkSize& scale, const SkScalar coefficients[16], SkImageFilter* input = … 31 static SkBicubicImageFilter* CreateMitchell(const SkSize& scale, SkImageFilter* input = NULL);
|
/external/skia/legacy/src/effects/ |
D | SkTestImageFilters.cpp | 99 fOuter = (SkImageFilter*)buffer.readFlattenable(); in SkComposeImageFilter() 100 fInner = (SkImageFilter*)buffer.readFlattenable(); in SkComposeImageFilter() 121 size_t size = sizeof(SkImageFilter*) * count + sizeof(uint8_t) * modeCount; in initAlloc() 123 fFilters = SkTCast<SkImageFilter**>(fStorage); in initAlloc() 125 fFilters = SkTCast<SkImageFilter**>(sk_malloc_throw(size)); in initAlloc() 132 void SkMergeImageFilter::init(SkImageFilter* const filters[], int count, in init() 143 SkMergeImageFilter::SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second, in SkMergeImageFilter() 145 SkImageFilter* filters[] = { first, second }; in SkMergeImageFilter() 150 SkMergeImageFilter::SkMergeImageFilter(SkImageFilter* const filters[], int count, in SkMergeImageFilter() 160 if (fFilters != SkTCast<SkImageFilter**>(fStorage)) { in ~SkMergeImageFilter() [all …]
|
/external/skia/legacy/include/core/ |
D | SkImageFilter.h | 39 class SK_API SkImageFilter : public SkFlattenable { 47 virtual bool filterImage(SkImageFilter*, const SkBitmap& src, 100 SkImageFilter() {} in SkImageFilter() function 101 explicit SkImageFilter(SkFlattenableReadBuffer& rb) : INHERITED(rb) {} in SkImageFilter() function
|
/external/skia/src/effects/ |
D | SkMergeImageFilter.cpp | 41 SkMergeImageFilter::SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second, in SkMergeImageFilter() 51 SkMergeImageFilter::SkMergeImageFilter(SkImageFilter* filters[], int count, in SkMergeImageFilter() 73 SkImageFilter* filter = getInput(i); in onFilterBounds() 124 SkImageFilter* filter = getInput(i); in onFilterImage()
|
D | SkTestImageFilters.cpp | 31 SkImageFilter* outer = getInput(0); in onFilterImage() 32 SkImageFilter* inner = getInput(1); in onFilterImage() 50 SkImageFilter* outer = getInput(0); in onFilterBounds() 51 SkImageFilter* inner = getInput(1); in onFilterBounds()
|