Home
last modified time | relevance | path

Searched refs:SkBitmap (Results 1 – 25 of 875) sorted by relevance

12345678910>>...35

/external/skia/src/core/
DSkBitmap.cpp33 static bool reset_return_false(SkBitmap* bm) { in reset_return_false()
38 SkBitmap::SkBitmap() : fFlags(0) {} in SkBitmap() function in SkBitmap
40 SkBitmap::SkBitmap(const SkBitmap& src) in SkBitmap() function in SkBitmap
49 SkBitmap::SkBitmap(SkBitmap&& other) in SkBitmap() function in SkBitmap
59 SkBitmap::~SkBitmap() {} in ~SkBitmap()
61 SkBitmap& SkBitmap::operator=(const SkBitmap& src) { in operator =()
71 SkBitmap& SkBitmap::operator=(SkBitmap&& other) { in operator =()
83 void SkBitmap::swap(SkBitmap& other) { in swap()
88 void SkBitmap::reset() { in reset()
94 void SkBitmap::getBounds(SkRect* bounds) const { in getBounds()
[all …]
/external/skqp/src/core/
DSkBitmap.cpp33 static bool reset_return_false(SkBitmap* bm) { in reset_return_false()
38 SkBitmap::SkBitmap() : fFlags(0) {} in SkBitmap() function in SkBitmap
40 SkBitmap::SkBitmap(const SkBitmap& src) in SkBitmap() function in SkBitmap
49 SkBitmap::SkBitmap(SkBitmap&& other) in SkBitmap() function in SkBitmap
59 SkBitmap::~SkBitmap() {} in ~SkBitmap()
61 SkBitmap& SkBitmap::operator=(const SkBitmap& src) { in operator =()
71 SkBitmap& SkBitmap::operator=(SkBitmap&& other) { in operator =()
83 void SkBitmap::swap(SkBitmap& other) { in swap()
88 void SkBitmap::reset() { in reset()
94 void SkBitmap::getBounds(SkRect* bounds) const { in getBounds()
[all …]
/external/skia/gm/
Dshowmiplevels.cpp22 static SkBitmap make_bitmap(int w, int h) { in make_bitmap()
23 SkBitmap bm; in make_bitmap()
35 static SkBitmap make_bitmap2(int w, int h) { in make_bitmap2()
36 SkBitmap bm; in make_bitmap2()
55 static SkBitmap make_bitmap3(int w, int h) { in make_bitmap3()
56 SkBitmap bm; in make_bitmap3()
77 SkBitmap fBM[4];
94 static void apply_gamma(const SkBitmap& bm) { in apply_gamma()
119 static void DrawAndFrame(SkCanvas* canvas, const SkBitmap& orig, SkScalar x, SkScalar y) { in DrawAndFrame()
120 SkBitmap bm; in DrawAndFrame()
[all …]
Dall_bitmap_configs.cpp16 static SkBitmap copy_bitmap(const SkBitmap& src, SkColorType colorType) { in copy_bitmap()
17 const SkBitmap* srcPtr = &src; in copy_bitmap()
18 SkBitmap tmp(src); in copy_bitmap()
24 SkBitmap copy; in copy_bitmap()
33 static SkBitmap make_bitmap(SkColorType ct) { in make_bitmap()
34 SkBitmap bm; in make_bitmap()
107 const SkBitmap& src, in draw()
124 SkBitmap bitmap;
130 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType);
136 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType);
[all …]
Dbitmappremul.cpp25 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap()
31 static SkBitmap make_argb8888_gradient() { in make_argb8888_gradient()
32 SkBitmap bitmap; in make_argb8888_gradient()
48 static SkBitmap make_argb4444_gradient() { in make_argb4444_gradient()
49 SkBitmap bitmap; in make_argb4444_gradient()
65 static SkBitmap make_argb8888_stripes() { in make_argb8888_stripes()
66 SkBitmap bitmap; in make_argb8888_stripes()
84 static SkBitmap make_argb4444_stripes() { in make_argb4444_stripes()
85 SkBitmap bitmap; in make_argb4444_stripes()
Ddrawbitmaprect.cpp21 static SkBitmap make_chessbm(int w, int h) { in make_chessbm()
22 SkBitmap bm; in make_chessbm()
35 static sk_sp<SkImage> makebm(SkCanvas* origCanvas, SkBitmap* resultBM, int w, int h) { in makebm()
80 SkBitmap tempBM; in makebm()
91 static void bitmapproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapproc()
96 static void bitmapsubsetproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapsubsetproc()
103 SkBitmap subset; in bitmapsubsetproc()
109 static void imageproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect& srcR, in imageproc() argument
114 static void imagesubsetproc(SkCanvas* canvas, SkImage* image, const SkBitmap& bm, in imagesubsetproc()
126 typedef void DrawRectRectProc(SkCanvas*, SkImage*, const SkBitmap&, const SkIRect&, const SkRect&,
[all …]
/external/skqp/gm/
Dshowmiplevels.cpp21 static SkBitmap make_bitmap(int w, int h) { in make_bitmap()
22 SkBitmap bm; in make_bitmap()
34 static SkBitmap make_bitmap2(int w, int h) { in make_bitmap2()
35 SkBitmap bm; in make_bitmap2()
54 static SkBitmap make_bitmap3(int w, int h) { in make_bitmap3()
55 SkBitmap bm; in make_bitmap3()
76 SkBitmap fBM[4];
93 static void apply_gamma(const SkBitmap& bm) { in apply_gamma()
118 static void DrawAndFrame(SkCanvas* canvas, const SkBitmap& orig, SkScalar x, SkScalar y) { in DrawAndFrame()
119 SkBitmap bm; in DrawAndFrame()
[all …]
Dall_bitmap_configs.cpp16 static SkBitmap copy_bitmap(const SkBitmap& src, SkColorType colorType) { in copy_bitmap()
17 const SkBitmap* srcPtr = &src; in copy_bitmap()
18 SkBitmap tmp(src); in copy_bitmap()
24 SkBitmap copy; in copy_bitmap()
33 static SkBitmap make_bitmap(SkColorType ct) { in make_bitmap()
34 SkBitmap bm; in make_bitmap()
107 const SkBitmap& src, in draw()
124 SkBitmap bitmap;
130 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType);
136 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType);
[all …]
Dbitmappremul.cpp25 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap()
31 static SkBitmap make_argb8888_gradient() { in make_argb8888_gradient()
32 SkBitmap bitmap; in make_argb8888_gradient()
48 static SkBitmap make_argb4444_gradient() { in make_argb4444_gradient()
49 SkBitmap bitmap; in make_argb4444_gradient()
65 static SkBitmap make_argb8888_stripes() { in make_argb8888_stripes()
66 SkBitmap bitmap; in make_argb8888_stripes()
84 static SkBitmap make_argb4444_stripes() { in make_argb4444_stripes()
85 SkBitmap bitmap; in make_argb4444_stripes()
Ddrawbitmaprect.cpp21 static SkBitmap make_chessbm(int w, int h) { in make_chessbm()
22 SkBitmap bm; in make_chessbm()
35 static sk_sp<SkImage> makebm(SkCanvas* origCanvas, SkBitmap* resultBM, int w, int h) { in makebm()
80 SkBitmap tempBM; in makebm()
91 static void bitmapproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapproc()
96 static void bitmapsubsetproc(SkCanvas* canvas, SkImage*, const SkBitmap& bm, const SkIRect& srcR, in bitmapsubsetproc()
103 SkBitmap subset; in bitmapsubsetproc()
109 static void imageproc(SkCanvas* canvas, SkImage* image, const SkBitmap&, const SkIRect& srcR, in imageproc() argument
114 static void imagesubsetproc(SkCanvas* canvas, SkImage* image, const SkBitmap& bm, in imagesubsetproc()
126 typedef void DrawRectRectProc(SkCanvas*, SkImage*, const SkBitmap&, const SkIRect&, const SkRect&,
[all …]
/external/skqp/include/core/
DSkBitmap.h45 class SK_API SkBitmap {
58 SkBitmap();
66 SkBitmap(const SkBitmap& src);
74 SkBitmap(SkBitmap&& src);
78 ~SkBitmap();
86 SkBitmap& operator=(const SkBitmap& src);
94 SkBitmap& operator=(SkBitmap&& src);
100 void swap(SkBitmap& other);
344 static bool ComputeIsOpaque(const SkBitmap& bm) { in ComputeIsOpaque()
922 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const;
[all …]
/external/skia/include/core/
DSkBitmap.h45 class SK_API SkBitmap {
58 SkBitmap();
66 SkBitmap(const SkBitmap& src);
74 SkBitmap(SkBitmap&& src);
78 ~SkBitmap();
86 SkBitmap& operator=(const SkBitmap& src);
94 SkBitmap& operator=(SkBitmap&& src);
100 void swap(SkBitmap& other);
344 static bool ComputeIsOpaque(const SkBitmap& bm) { in ComputeIsOpaque()
912 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const;
[all …]
/external/skqp/src/utils/mac/
DSkCreateCGImageRef.cpp52 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); in SkBitmap_ReleaseInfo()
56 static bool getBitmapInfo(const SkBitmap& bm, in getBitmapInfo()
102 static SkBitmap* prepareForImageRef(const SkBitmap& bm, in prepareForImageRef()
110 SkBitmap* copy; in prepareForImageRef()
112 copy = new SkBitmap; in prepareForImageRef()
118 copy = new SkBitmap(bm); in prepareForImageRef()
123 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, in SkCreateCGImageRefWithColorspace()
128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
159 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
237 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image) { in SkCreateBitmapFromCGImage()
[all …]
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp52 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); in SkBitmap_ReleaseInfo()
56 static bool getBitmapInfo(const SkBitmap& bm, in getBitmapInfo()
102 static SkBitmap* prepareForImageRef(const SkBitmap& bm, in prepareForImageRef()
110 SkBitmap* copy; in prepareForImageRef()
112 copy = new SkBitmap; in prepareForImageRef()
118 copy = new SkBitmap(bm); in prepareForImageRef()
123 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, in SkCreateCGImageRefWithColorspace()
128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
159 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
237 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image) { in SkCreateBitmapFromCGImage()
[all …]
/external/skqp/include/effects/
DSkMatrixConvolutionImageFilter.h16 class SkBitmap; variable
101 void filterPixels(const SkBitmap& src,
102 SkBitmap* result,
106 void filterPixels(const SkBitmap& src,
107 SkBitmap* result,
110 void filterInteriorPixels(const SkBitmap& src,
111 SkBitmap* result,
114 void filterBorderPixels(const SkBitmap& src,
115 SkBitmap* result,
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h16 class SkBitmap; variable
101 void filterPixels(const SkBitmap& src,
102 SkBitmap* result,
106 void filterPixels(const SkBitmap& src,
107 SkBitmap* result,
110 void filterInteriorPixels(const SkBitmap& src,
111 SkBitmap* result,
114 void filterBorderPixels(const SkBitmap& src,
115 SkBitmap* result,
/external/skia/tools/
Dsk_tool_utils.h20 class SkBitmap; variable
76 void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
77 void write_pixels(SkSurface*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
89 bool equal_pixels(const SkBitmap&, const SkBitmap&, unsigned maxDiff = 0,
108 SkBitmap create_checkerboard_bitmap(int w, int h,
117 SkBitmap create_string_bitmap(int w, int h, SkColor c, int x, int y,
146 SkBitmap slow_blur(const SkBitmap& src, float sigma);
246 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
247 void copy_to_g8(SkBitmap* dst, const SkBitmap& src);
/external/skqp/tests/
DBitmapTest.cpp18 SkBitmap bm; in test_peekpixels()
44 SkBitmap bm; in test_bigalloc()
57 SkBitmap bm; in test_allocpixels()
88 SkBitmap bm; in test_bigwidth()
111 SkBitmap bm; in DEF_TEST()
131 SkBitmap source; in DEF_TEST()
139 SkBitmap copy; in DEF_TEST()
150 SkBitmap bm; in test_erasecolor_premul()
184 SkBitmap bm; in DEF_TEST()
185 REPORTER_ASSERT(r, !SkBitmap::ComputeIsOpaque(bm)); in DEF_TEST()
[all …]
Dskbug6653.cpp19 static SkBitmap read_pixels(sk_sp<SkSurface> surface) { in read_pixels()
20 SkBitmap bmp; in read_pixels()
60 SkBitmap b1 = read_pixels(s1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 SkBitmap b2 = read_pixels(s2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 SkBitmap b3 = read_pixels(s3); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 SkBitmap b4 = read_pixels(s4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
83 SkBitmap b5 = read_pixels(s4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DBitmapTest.cpp18 SkBitmap bm; in test_peekpixels()
44 SkBitmap bm; in test_bigalloc()
57 SkBitmap bm; in test_allocpixels()
88 SkBitmap bm; in test_bigwidth()
111 SkBitmap bm; in DEF_TEST()
131 SkBitmap source; in DEF_TEST()
139 SkBitmap copy; in DEF_TEST()
150 SkBitmap bm; in test_erasecolor_premul()
184 SkBitmap bm; in DEF_TEST()
185 REPORTER_ASSERT(r, !SkBitmap::ComputeIsOpaque(bm)); in DEF_TEST()
[all …]
Dskbug6653.cpp19 static SkBitmap read_pixels(sk_sp<SkSurface> surface) { in read_pixels()
20 SkBitmap bmp; in read_pixels()
60 SkBitmap b1 = read_pixels(s1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 SkBitmap b2 = read_pixels(s2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 SkBitmap b3 = read_pixels(s3); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 SkBitmap b4 = read_pixels(s4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
83 SkBitmap b5 = read_pixels(s4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tools/
Dsk_tool_utils.h19 class SkBitmap; variable
74 void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
86 bool equal_pixels(const SkBitmap&, const SkBitmap&, unsigned maxDiff = 0,
105 SkBitmap create_checkerboard_bitmap(int w, int h,
114 SkBitmap create_string_bitmap(int w, int h, SkColor c, int x, int y,
143 SkBitmap slow_blur(const SkBitmap& src, float sigma);
251 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
252 void copy_to_g8(SkBitmap* dst, const SkBitmap& src);
/external/skia/dm/
DDMSrcSink.h89 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
333 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
346 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
347 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*,
379 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
395 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
406 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
415 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
428 void allocPixels(const Src& src, SkBitmap*) const;
[all …]
/external/skqp/dm/
DDMSrcSink.h89 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
333 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override;
346 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
347 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*,
379 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
395 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
406 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
415 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
436 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
[all …]
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp129 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { in fetch()
136 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { in fetch()
145 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { in fetch()
160 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { in fetch()
170 void SkMatrixConvolutionImageFilter::filterPixels(const SkBitmap& src, in filterPixels()
171 SkBitmap* result, in filterPixels()
214 void SkMatrixConvolutionImageFilter::filterPixels(const SkBitmap& src, in filterPixels()
215 SkBitmap* result, in filterPixels()
225 void SkMatrixConvolutionImageFilter::filterInteriorPixels(const SkBitmap& src, in filterInteriorPixels()
226 SkBitmap* result, in filterInteriorPixels()
[all …]

12345678910>>...35