Searched refs:SkImageFilter (Results 1 - 25 of 254) sorted by relevance

1234567891011

/external/chromium_org/third_party/skia/include/effects/
H A DSkComposeImageFilter.h11 #include "SkImageFilter.h"
13 class SK_API SkComposeImageFilter : public SkImageFilter {
17 static SkComposeImageFilter* Create(SkImageFilter* outer, SkImageFilter* inner) {
24 SkComposeImageFilter(SkImageFilter* outer, SkImageFilter* inner) : INHERITED(outer, inner) {}
32 typedef SkImageFilter INHERITED;
H A DSkAlphaThresholdFilter.h12 #include "SkImageFilter.h"
23 static SkImageFilter* Create(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold);
H A DSkDisplacementMapEffect.h11 #include "SkImageFilter.h"
14 class SK_API SkDisplacementMapEffect : public SkImageFilter {
28 SkScalar scale, SkImageFilter* displacement,
29 SkImageFilter* color = NULL,
56 SkScalar scale, SkImageFilter* displacement,
57 SkImageFilter* color = NULL,
66 typedef SkImageFilter INHERITED;
67 const SkImageFilter* getDisplacementInput() const { return getInput(0); }
68 const SkImageFilter* getColorInput() const { return getInput(1); }
H A DSkMergeImageFilter.h11 #include "SkImageFilter.h"
15 class SK_API SkMergeImageFilter : public SkImageFilter {
19 static SkMergeImageFilter* Create(SkImageFilter* first, SkImageFilter* second,
24 static SkMergeImageFilter* Create(SkImageFilter* filters[], int count,
33 SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second,
36 SkMergeImageFilter(SkImageFilter* filters[], int count,
55 typedef SkImageFilter INHERITED;
H A DSkBicubicImageFilter.h11 #include "SkImageFilter.h"
21 class SK_API SkBicubicImageFilter : public SkImageFilter {
25 static SkBicubicImageFilter* CreateMitchell(const SkSize& scale, SkImageFilter* input = NULL);
37 SkImageFilter* input = NULL);
53 typedef SkImageFilter INHERITED;
H A DSkColorFilterImageFilter.h11 #include "SkImageFilter.h"
15 class SK_API SkColorFilterImageFilter : public SkImageFilter {
18 SkImageFilter* input = NULL,
35 SkImageFilter* input,
39 typedef SkImageFilter INHERITED;
H A DSkMatrixImageFilter.h11 #include "SkImageFilter.h"
22 class SK_API SkMatrixImageFilter : public SkImageFilter {
33 SkImageFilter* input = NULL);
43 SkImageFilter* input = NULL);
55 typedef SkImageFilter INHERITED;
H A DSkOffsetImageFilter.h11 #include "SkImageFilter.h"
14 class SK_API SkOffsetImageFilter : public SkImageFilter {
15 typedef SkImageFilter INHERITED;
18 static SkOffsetImageFilter* Create(SkScalar dx, SkScalar dy, SkImageFilter* input = NULL,
26 SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect* cropRect);
H A DSkTileImageFilter.h11 #include "SkImageFilter.h"
13 class SK_API SkTileImageFilter : public SkImageFilter {
14 typedef SkImageFilter INHERITED;
23 SkImageFilter* input) {
35 SkTileImageFilter(const SkRect& srcRect, const SkRect& dstRect, SkImageFilter* input)
/external/skia/include/effects/
H A DSkComposeImageFilter.h11 #include "SkImageFilter.h"
13 class SK_API SkComposeImageFilter : public SkImageFilter {
17 static SkComposeImageFilter* Create(SkImageFilter* outer, SkImageFilter* inner) {
24 SkComposeImageFilter(SkImageFilter* outer, SkImageFilter* inner) : INHERITED(outer, inner) {}
32 typedef SkImageFilter INHERITED;
H A DSkAlphaThresholdFilter.h12 #include "SkImageFilter.h"
23 static SkImageFilter* Create(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold);
H A DSkDisplacementMapEffect.h11 #include "SkImageFilter.h"
14 class SK_API SkDisplacementMapEffect : public SkImageFilter {
28 SkScalar scale, SkImageFilter* displacement,
29 SkImageFilter* color = NULL,
56 SkScalar scale, SkImageFilter* displacement,
57 SkImageFilter* color = NULL,
66 typedef SkImageFilter INHERITED;
67 const SkImageFilter* getDisplacementInput() const { return getInput(0); }
68 const SkImageFilter* getColorInput() const { return getInput(1); }
H A DSkMergeImageFilter.h11 #include "SkImageFilter.h"
15 class SK_API SkMergeImageFilter : public SkImageFilter {
19 static SkMergeImageFilter* Create(SkImageFilter* first, SkImageFilter* second,
24 static SkMergeImageFilter* Create(SkImageFilter* filters[], int count,
33 SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second,
36 SkMergeImageFilter(SkImageFilter* filters[], int count,
55 typedef SkImageFilter INHERITED;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DSkiaImageFilterBuilder.h34 class SkImageFilter;
48 PassRefPtr<SkImageFilter> build(FilterEffect*, ColorSpace, bool requiresPMColorValidation = true);
50 PassRefPtr<SkImageFilter> buildTransform(const AffineTransform&, SkImageFilter* input);
52 PassRefPtr<SkImageFilter> transformColorSpace(
53 SkImageFilter* input, ColorSpace srcColorSpace, ColorSpace dstColorSpace);
/external/chromium_org/third_party/skia/gm/
H A Dtestimagefilters.cpp24 static SkImageFilter* make0() { return SkDownSampleImageFilter::Create(SK_Scalar1 / 5); }
25 static SkImageFilter* make1() { return SkOffsetImageFilter::Create(SkIntToScalar(16), SkIntToScalar(16)); }
26 static SkImageFilter* make2() {
32 static SkImageFilter* make3() {
36 static SkImageFilter* make4() {
37 SkImageFilter* outer = SkOffsetImageFilter::Create(SkIntToScalar(16), SkIntToScalar(16));
38 SkImageFilter* inner = SkDownSampleImageFilter::Create(SK_Scalar1 / 5);
43 static SkImageFilter* make5() {
44 SkImageFilter* first = SkOffsetImageFilter::Create(SkIntToScalar(16), SkIntToScalar(16));
45 SkImageFilter* secon
[all...]
H A Dcolorfilterimagefilter.cpp21 static SkImageFilter* make_blur(float amount, SkImageFilter* input = NULL) {
25 static SkImageFilter* make_brightness(float amount, SkImageFilter* input = NULL) {
35 static SkImageFilter* make_grayscale(SkImageFilter* input = NULL) {
46 static SkImageFilter* make_mode_blue(SkImageFilter* input = NULL) {
80 SkAutoTUnref<SkImageFilter> dim(make_brightness(-brightness));
81 SkAutoTUnref<SkImageFilter> brigh
[all...]
H A Dimagefiltersgraph.cpp26 class SimpleOffsetFilter : public SkImageFilter {
28 static SkImageFilter* Create(SkScalar dx, SkScalar dy, SkImageFilter* input) {
35 SkImageFilter* input = getInput(0);
61 : SkImageFilter(1, buffer) {
67 this->SkImageFilter::flatten(buffer);
73 SimpleOffsetFilter(SkScalar dx, SkScalar dy, SkImageFilter* input)
74 : SkImageFilter(input), fDX(dx), fDY(dy) {}
125 SkAutoTUnref<SkImageFilter> bitmapSource(SkBitmapSource::Create(fBitmap));
128 SkAutoTUnref<SkImageFilter> blu
[all...]
/external/skia/gm/
H A Dtestimagefilters.cpp24 static SkImageFilter* make0() { return SkDownSampleImageFilter::Create(SK_Scalar1 / 5); }
25 static SkImageFilter* make1() { return SkOffsetImageFilter::Create(SkIntToScalar(16), SkIntToScalar(16)); }
26 static SkImageFilter* make2() {
32 static SkImageFilter* make3() {
36 static SkImageFilter* make4() {
37 SkImageFilter* outer = SkOffsetImageFilter::Create(SkIntToScalar(16), SkIntToScalar(16));
38 SkImageFilter* inner = SkDownSampleImageFilter::Create(SK_Scalar1 / 5);
43 static SkImageFilter* make5() {
44 SkImageFilter* first = SkOffsetImageFilter::Create(SkIntToScalar(16), SkIntToScalar(16));
45 SkImageFilter* secon
[all...]
H A Dcolorfilterimagefilter.cpp21 static SkImageFilter* make_blur(float amount, SkImageFilter* input = NULL) {
25 static SkImageFilter* make_brightness(float amount, SkImageFilter* input = NULL) {
35 static SkImageFilter* make_grayscale(SkImageFilter* input = NULL) {
46 static SkImageFilter* make_mode_blue(SkImageFilter* input = NULL) {
80 SkAutoTUnref<SkImageFilter> dim(make_brightness(-brightness));
81 SkAutoTUnref<SkImageFilter> brigh
[all...]
H A Dimagefiltersgraph.cpp26 class SimpleOffsetFilter : public SkImageFilter {
28 static SkImageFilter* Create(SkScalar dx, SkScalar dy, SkImageFilter* input) {
35 SkImageFilter* input = getInput(0);
61 : SkImageFilter(1, buffer) {
67 this->SkImageFilter::flatten(buffer);
73 SimpleOffsetFilter(SkScalar dx, SkScalar dy, SkImageFilter* input)
74 : SkImageFilter(input), fDX(dx), fDY(dy) {}
125 SkAutoTUnref<SkImageFilter> bitmapSource(SkBitmapSource::Create(fBitmap));
128 SkAutoTUnref<SkImageFilter> blu
[all...]
/external/chromium_org/third_party/skia/include/core/
H A DSkImageFilter.h29 class SK_API SkImageFilter : public SkFlattenable { class in inherits:SkFlattenable
31 SK_DECLARE_INST_COUNT(SkImageFilter)
56 virtual bool get(const SkImageFilter* key, SkBitmap* result, SkIPoint* offset) = 0;
57 virtual void set(const SkImageFilter* key,
59 virtual void remove(const SkImageFilter* key) = 0;
82 virtual bool canHandleImageFilter(const SkImageFilter*) = 0;
85 virtual bool filterImage(const SkImageFilter*, const SkBitmap& src,
153 SkImageFilter* getInput(int i) const {
183 bool getInputResultGPU(SkImageFilter::Proxy* proxy, const SkBitmap& src, const Context&,
198 SK_DEFINE_FLATTENABLE_TYPE(SkImageFilter)
[all...]
/external/skia/include/core/
H A DSkImageFilter.h29 class SK_API SkImageFilter : public SkFlattenable { class in inherits:SkFlattenable
31 SK_DECLARE_INST_COUNT(SkImageFilter)
56 virtual bool get(const SkImageFilter* key, SkBitmap* result, SkIPoint* offset) = 0;
57 virtual void set(const SkImageFilter* key,
59 virtual void remove(const SkImageFilter* key) = 0;
82 virtual bool canHandleImageFilter(const SkImageFilter*) = 0;
85 virtual bool filterImage(const SkImageFilter*, const SkBitmap& src,
153 SkImageFilter* getInput(int i) const {
183 bool getInputResultGPU(SkImageFilter::Proxy* proxy, const SkBitmap& src, const Context&,
198 SK_DEFINE_FLATTENABLE_TYPE(SkImageFilter)
[all...]
/external/chromium_org/third_party/skia/bench/
H A DImageFilterDAGBench.cpp30 SkAutoTUnref<SkImageFilter> blur(SkBlurImageFilter::Create(20.0f, 20.0f));
31 SkImageFilter* inputs[kNumInputs];
35 SkAutoTUnref<SkImageFilter> merge(SkMergeImageFilter::Create(inputs, kNumInputs));
/external/skia/bench/
H A DImageFilterDAGBench.cpp30 SkAutoTUnref<SkImageFilter> blur(SkBlurImageFilter::Create(20.0f, 20.0f));
31 SkImageFilter* inputs[kNumInputs];
35 SkAutoTUnref<SkImageFilter> merge(SkMergeImageFilter::Create(inputs, kNumInputs));
/external/chromium_org/third_party/skia/src/core/
H A DSkDeviceImageFilterProxy.h11 #include "SkImageFilter.h"
13 class SkDeviceImageFilterProxy : public SkImageFilter::Proxy {
20 virtual bool canHandleImageFilter(const SkImageFilter* filter) SK_OVERRIDE {
23 virtual bool filterImage(const SkImageFilter* filter, const SkBitmap& src,
24 const SkImageFilter::Context& ctx,

Completed in 348 milliseconds

1234567891011