Home
last modified time | relevance | path

Searched refs:getAddr8 (Results 1 – 25 of 53) sorted by relevance

123

/external/skia/src/effects/
DSkTableColorFilter.cpp26 uint8_t *a = fBitmap.getAddr8(0,0), in SkTable_ColorFilter()
27 *r = fBitmap.getAddr8(0,1), in SkTable_ColorFilter()
28 *g = fBitmap.getAddr8(0,2), in SkTable_ColorFilter()
29 *b = fBitmap.getAddr8(0,3); in SkTable_ColorFilter()
51 const uint8_t *a = fBitmap.getAddr8(0,0), in onAppendStages()
52 *r = fBitmap.getAddr8(0,1), in onAppendStages()
53 *g = fBitmap.getAddr8(0,2), in onAppendStages()
54 *b = fBitmap.getAddr8(0,3); in onAppendStages()
76 c.a = apply_table_to_component(c.a, fBitmap.getAddr8(0,0)); in onProgram()
77 c.r = apply_table_to_component(c.r, fBitmap.getAddr8(0,1)); in onProgram()
[all …]
/external/skia/gm/
Dwacky_yuv_formats.cpp436 *planes->fYFull.getAddr8(x, y) = yuva[0]; in extract_planes()
437 *planes->fUFull.getAddr8(x, y) = yuva[1]; in extract_planes()
438 *planes->fVFull.getAddr8(x, y) = yuva[2]; in extract_planes()
439 *planes->fAFull.getAddr8(x, y) = yuva[3]; in extract_planes()
455 yAccum += *planes->fYFull.getAddr8(2*x, 2*y); in extract_planes()
456 yAccum += *planes->fYFull.getAddr8(2*x+1, 2*y); in extract_planes()
457 yAccum += *planes->fYFull.getAddr8(2*x, 2*y+1); in extract_planes()
458 yAccum += *planes->fYFull.getAddr8(2*x+1, 2*y+1); in extract_planes()
460 uAccum += *planes->fUFull.getAddr8(2*x, 2*y); in extract_planes()
461 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y); in extract_planes()
[all …]
Dalpha_image.cpp27 *bm.getAddr8(x, y) = 0xFF; in make_alpha_image()
71 *bm.getAddr8(x, y) = y * 4;
Dskbug_9819.cpp47 uint8_t gray = *bm.getAddr8(0,0); in __anonea7c8af90102()
Doverdrawcolorfilter.cpp25 uint8_t* addr = bitmap->getAddr8(x, y); in set_bitmap()
Dmipmap.cpp123 *bm.getAddr8(x, y) = static_cast<uint8_t>(255.0f * ((x + y) / (2.0f * (N - 1)))); in make_g8_gradient()
/external/skqp/gm/
Dwacky_yuv_formats.cpp304 *planes->fYFull.getAddr8(x, y) = yuva[0]; in extract_planes()
305 *planes->fUFull.getAddr8(x, y) = yuva[1]; in extract_planes()
306 *planes->fVFull.getAddr8(x, y) = yuva[2]; in extract_planes()
307 *planes->fAFull.getAddr8(x, y) = yuva[3]; in extract_planes()
315 uAccum += *planes->fUFull.getAddr8(2*x, 2*y); in extract_planes()
316 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y); in extract_planes()
317 uAccum += *planes->fUFull.getAddr8(2*x, 2*y+1); in extract_planes()
318 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y+1); in extract_planes()
320 *planes->fUQuarter.getAddr8(x, y) = uAccum / 4.0f; in extract_planes()
322 vAccum += *planes->fVFull.getAddr8(2*x, 2*y); in extract_planes()
[all …]
Dalpha_image.cpp21 *bm.getAddr8(x, y) = 0xFF; in make_alpha_image()
Doverdrawcolorfilter.cpp15 uint8_t* addr = bitmap->getAddr8(x, y); in set_bitmap()
Dmipmap.cpp110 *bm.getAddr8(x, y) = static_cast<uint8_t>(255.0f * ((x + y) / (2.0f * (N - 1)))); in make_g8_gradient()
/external/skqp/src/effects/
DSkTableColorFilter.cpp213 uint8_t* bitmapPixels = bmp->getAddr8(0, 0); in asComponentTable()
275 combine_tables(concatA, tableA, innerBM.getAddr8(0, 0)); in onMakeComposed()
276 combine_tables(concatR, tableR, innerBM.getAddr8(0, 1)); in onMakeComposed()
277 combine_tables(concatG, tableG, innerBM.getAddr8(0, 2)); in onMakeComposed()
278 combine_tables(concatB, tableB, innerBM.getAddr8(0, 3)); in onMakeComposed()
/external/skia/src/core/
DSkMaskFilter.cpp69 SkDebugf("%02X", *mask.getAddr8(x, y));
150 alpha[0] = *mask.getAddr8(cx, mask.fBounds.top() + y); in draw_nine_clipped()
163 alpha[0] = *mask.getAddr8(cx, mask.fBounds.bottom() - y - 1); in draw_nine_clipped()
171 m.fImage = mask.getAddr8(mask.fBounds.left() + r.left() - outerR.left(), in draw_nine_clipped()
182 m.fImage = mask.getAddr8(mask.fBounds.right() - outerR.right() + r.left(), in draw_nine_clipped()
DSkBlitter_A8.cpp81 const uint8_t* src = mask.getAddr8(x, y); in blitMask()
/external/skia/docs/examples/
DBitmap_getAddr8.cpp14 &pixels[4][2] == bitmap.getAddr8(2, 4) ? '=' : '!'); in draw()
Ddraw_a8_bitmap.cpp10 *bitmap.getAddr8(x, y) = (2 * x + 2 * y) & 0xFF; in draw()
Dalpha_bitmap_color_filter_mask_filter.cpp11 *bm.getAddr8(x, y) = 0xFF; in make_alpha_image()
/external/skqp/src/core/
DSkMaskFilter.cpp71 SkDebugf("%02X", *mask.getAddr8(x, y));
152 alpha[0] = *mask.getAddr8(cx, mask.fBounds.top() + y); in draw_nine_clipped()
165 alpha[0] = *mask.getAddr8(cx, mask.fBounds.bottom() - y - 1); in draw_nine_clipped()
173 m.fImage = mask.getAddr8(mask.fBounds.left() + r.left() - outerR.left(), in draw_nine_clipped()
184 m.fImage = mask.getAddr8(mask.fBounds.right() - outerR.right() + r.left(), in draw_nine_clipped()
DSkBlitter_A8.cpp81 const uint8_t* src = mask.getAddr8(x, y); in blitMask()
/external/skqp/include/core/
DSkBitmap.h909 inline uint8_t* getAddr8(int x, int y) const;
1190 inline uint8_t* SkBitmap::getAddr8(int x, int y) const { in getAddr8() function
/external/skia/include/core/
DSkBitmap.h897 inline uint8_t* getAddr8(int x, int y) const;
1207 inline uint8_t* SkBitmap::getAddr8(int x, int y) const { in getAddr8() function
/external/skia/src/gpu/effects/generated/
DGrRRectBlurEffect.cpp215 uint8_t* scanline = result.getAddr8(0, y); in create_mask_on_cpu()
223 integral.getAddr8(0, 0), in create_mask_on_cpu()
229 memcpy(result.getAddr8(0, dimensions.height() - y - 1), scanline, result.rowBytes()); in create_mask_on_cpu()
DGrCircleBlurFragmentProcessor.cpp246 create_half_plane_profile(bm.getAddr8(0, 0), kProfileTextureWidth); in create_profile_effect()
251 bm.getAddr8(0, 0), sigma * scale, circleR * scale, kProfileTextureWidth); in create_profile_effect()
/external/skqp/src/gpu/effects/
DGrCircleBlurFragmentProcessor.cpp217 create_half_plane_profile(bm.getAddr8(0, 0), kProfileTextureWidth); in create_profile_texture()
221 create_circle_profile(bm.getAddr8(0, 0), sigma * scale, circleR * scale, in create_profile_texture()
DGrRectBlurEffect.h42 SkBlurMask::ComputeBlurProfile(bitmap.getAddr8(0, 0), profileSize, sigma); in CreateBlurProfileTexture()
/external/skia/src/gpu/effects/
DGrRRectBlurEffect.fp223 uint8_t* scanline = result.getAddr8(0, y);
228 integral.getAddr8(0, 0), integral.width(), 6*xformedSigma);
232 memcpy(result.getAddr8(0, dimensions.height()-y-1), scanline, result.rowBytes());

123