HomeSort by relevance Sort by last modified time
    Searched defs:bm (Results 126 - 150 of 298) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/third_party/skia/gm/
arithmode.cpp 19 SkBitmap bm; local
20 bm.allocN32Pixels(WW, HH);
21 bm.eraseColor(SK_ColorTRANSPARENT);
22 return bm;
26 SkBitmap bm = make_bm(); local
27 SkCanvas canvas(bm);
38 return bm;
42 SkBitmap bm = make_bm(); local
43 SkCanvas canvas(bm);
53 return bm;
    [all...]
colormatrix.cpp 65 SkBitmap bm; local
66 bm.allocN32Pixels(width, height);
67 SkCanvas canvas(bm);
77 return bm;
82 SkBitmap bm; local
83 bm.allocN32Pixels(width, height);
84 SkCanvas canvas(bm);
93 return bm;
drawbitmaprect.cpp 18 SkBitmap bm; local
19 bm.allocN32Pixels(w, h);
21 for (int y = 0; y < bm.height(); y++) {
22 uint32_t* p = bm.getAddr32(0, y);
23 for (int x = 0; x < bm.width(); x++) {
27 bm.unlockPixels();
28 return bm;
31 static void makebm(SkBitmap* bm, int w, int h) {
32 bm->allocN32Pixels(w, h);
33 bm->eraseColor(SK_ColorTRANSPARENT)
161 SkBitmap bm; local
    [all...]
etc1bitmap.cpp 97 SkBitmap bm; variable
110 fileData, SkDecodingImageGenerator::Options()), &bm)) {
115 canvas->drawBitmap(bm, 0, 0);
172 SkBitmap bm; variable
199 nonPOTData, SkDecodingImageGenerator::Options()), &bm)) {
204 canvas->drawBitmap(bm, 0, 0);
simpleaaclip.cpp 18 SkBitmap bm; local
24 bm.installMaskPixels(mask);
29 bm.deepCopyTo(&bm2);
tablecolorfilter.cpp 13 static void make_bm0(SkBitmap* bm) {
16 bm->allocN32Pixels(W, H);
17 bm->eraseColor(SK_ColorTRANSPARENT);
19 SkCanvas canvas(*bm);
31 static void make_bm1(SkBitmap* bm) {
34 bm->allocN32Pixels(W, H);
35 bm->eraseColor(SK_ColorTRANSPARENT);
37 SkCanvas canvas(*bm);
111 SkBitmap bm; local
112 gMakers[maker](&bm);
    [all...]
  /external/chromium_org/third_party/skia/samplecode/
SampleDitherBitmap.cpp 62 SkBitmap bm; local
63 bm.allocPixels(SkImageInfo::Make(256, 32, kIndex_8_SkColorType,
68 bm.lockPixels();
69 for (int y = 0; y < bm.height(); y++) {
70 uint8_t* p = bm.getAddr8(0, y);
75 bm.unlockPixels();
76 return bm;
102 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) {
103 SkAutoLockPixels alp(*bm); // needed for ctable
104 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType)
    [all...]
SampleEncode.cpp 29 static void make_image(SkBitmap* bm, SkColorType ct, int configIndex) {
47 bm->swap(device);
50 bm->allocPixels(info);
53 *bm->getAddr16(x, y) = SkPixel32ToPixel16(*device.getAddr32(x, y));
68 bm->allocPixels(info, NULL, ctable);
72 *bm->getAddr8(x, y) = SkGetPackedR32(*device.getAddr32(x, y));
188 SkBitmap bm; local
199 &bm)) {
203 canvas->drawBitmap(bm, x, yy);
  /external/chromium_org/third_party/skia/src/images/
SkDecodingImageGenerator.cpp 69 virtual bool allocPixelRef(SkBitmap* bm, SkColorTable* ct) {
70 if (NULL == fTarget || !equal_modulo_alpha(fInfo, bm->info())) {
72 return bm->allocPixels(NULL, ct);
78 bm->installPixels(fInfo, fTarget, fRowBytes, ct, NULL, NULL);
183 SkBitmap bm; local
185 bool copySuccess = bitmap.copyTo(&bm, info.colorType(), &allocator);
191 SkASSERT(check_alpha(info.alphaType(), bm.alphaType()));
  /external/chromium_org/third_party/skia/src/utils/
SkGatherPixelRefsAndRects.h 52 SkBitmap bm; variable
54 if (GetBitmapFromPaint(paint, &bm)) {
56 fPRCont->add(bm.pixelRef(), clipRect);
61 SkBitmap bm; variable
62 if (!GetBitmapFromPaint(paint, &bm)) {
85 SkBitmap bm; variable
86 if (GetBitmapFromPaint(paint, &bm)) {
91 fPRCont->add(bm.pixelRef(), mappedRect);
105 SkBitmap bm; variable
106 if (!GetBitmapFromPaint(paint, &bm)) {
    [all...]
  /external/chromium_org/third_party/skia/src/views/
SkWindow.cpp 116 SkBitmap bm = this->getBitmap(); local
126 bm.setPixels(buffer);
  /external/chromium_org/third_party/skia/tests/
DrawPathTest.cpp 108 SkBitmap bm; local
109 bm.allocN32Pixels(2700, 30*1024);
110 SkCanvas canvas(bm);
EmptyPathTest.cpp 16 SkBitmap bm; local
17 bm.allocN32Pixels(DIMENSION, DIMENSION);
18 SkASSERT(DIMENSION*4 == bm.rowBytes()); // ensure no padding on each row
19 bm.eraseColor(SK_ColorTRANSPARENT);
21 SkCanvas canvas(bm);
28 const SkPMColor* ptr = bm.getAddr32(0, 0);
  /external/chromium_org/third_party/skia/tools/
render_pdfs_main.cpp 91 SkBitmap bm = bitmap; local
97 bm = copy;
100 return SkImageEncoder::EncodeData(bm,
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_rgb9e5.h 105 int rm, gm, bm; local
132 bm = (int) floor(bc / denom + 0.5);
136 assert(bm <= MAX_RGB9E5_MANTISSA);
139 assert(bm >= 0);
143 retval.field.b = bm;
  /external/skia/gm/
aarectmodes.cpp 110 SkBitmap bm; local
111 bm.allocN32Pixels(2, 2);
112 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF;
113 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC,
118 SkShader* s = SkShader::CreateBitmapShader(bm,
arithmode.cpp 19 SkBitmap bm; local
20 bm.allocN32Pixels(WW, HH);
21 bm.eraseColor(SK_ColorTRANSPARENT);
22 return bm;
26 SkBitmap bm = make_bm(); local
27 SkCanvas canvas(bm);
38 return bm;
42 SkBitmap bm = make_bm(); local
43 SkCanvas canvas(bm);
53 return bm;
    [all...]
colormatrix.cpp 65 SkBitmap bm; local
66 bm.allocN32Pixels(width, height);
67 SkCanvas canvas(bm);
77 return bm;
82 SkBitmap bm; local
83 bm.allocN32Pixels(width, height);
84 SkCanvas canvas(bm);
93 return bm;
drawbitmaprect.cpp 18 SkBitmap bm; local
19 bm.allocN32Pixels(w, h);
21 for (int y = 0; y < bm.height(); y++) {
22 uint32_t* p = bm.getAddr32(0, y);
23 for (int x = 0; x < bm.width(); x++) {
27 bm.unlockPixels();
28 return bm;
31 static void makebm(SkBitmap* bm, int w, int h) {
32 bm->allocN32Pixels(w, h);
33 bm->eraseColor(SK_ColorTRANSPARENT)
161 SkBitmap bm; local
    [all...]
etc1bitmap.cpp 97 SkBitmap bm; variable
110 fileData, SkDecodingImageGenerator::Options()), &bm)) {
115 canvas->drawBitmap(bm, 0, 0);
172 SkBitmap bm; variable
199 nonPOTData, SkDecodingImageGenerator::Options()), &bm)) {
204 canvas->drawBitmap(bm, 0, 0);
simpleaaclip.cpp 18 SkBitmap bm; local
24 bm.installMaskPixels(mask);
29 bm.deepCopyTo(&bm2);
tablecolorfilter.cpp 13 static void make_bm0(SkBitmap* bm) {
16 bm->allocN32Pixels(W, H);
17 bm->eraseColor(SK_ColorTRANSPARENT);
19 SkCanvas canvas(*bm);
31 static void make_bm1(SkBitmap* bm) {
34 bm->allocN32Pixels(W, H);
35 bm->eraseColor(SK_ColorTRANSPARENT);
37 SkCanvas canvas(*bm);
111 SkBitmap bm; local
112 gMakers[maker](&bm);
    [all...]
  /external/skia/samplecode/
SampleDitherBitmap.cpp 62 SkBitmap bm; local
63 bm.allocPixels(SkImageInfo::Make(256, 32, kIndex_8_SkColorType,
68 bm.lockPixels();
69 for (int y = 0; y < bm.height(); y++) {
70 uint8_t* p = bm.getAddr8(0, y);
75 bm.unlockPixels();
76 return bm;
102 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) {
103 SkAutoLockPixels alp(*bm); // needed for ctable
104 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType)
    [all...]
SampleEncode.cpp 29 static void make_image(SkBitmap* bm, SkColorType ct, int configIndex) {
47 bm->swap(device);
50 bm->allocPixels(info);
53 *bm->getAddr16(x, y) = SkPixel32ToPixel16(*device.getAddr32(x, y));
68 bm->allocPixels(info, NULL, ctable);
72 *bm->getAddr8(x, y) = SkGetPackedR32(*device.getAddr32(x, y));
188 SkBitmap bm; local
199 &bm)) {
203 canvas->drawBitmap(bm, x, yy);
  /external/skia/src/images/
SkDecodingImageGenerator.cpp 69 virtual bool allocPixelRef(SkBitmap* bm, SkColorTable* ct) {
70 if (NULL == fTarget || !equal_modulo_alpha(fInfo, bm->info())) {
72 return bm->allocPixels(NULL, ct);
78 bm->installPixels(fInfo, fTarget, fRowBytes, ct, NULL, NULL);
183 SkBitmap bm; local
185 bool copySuccess = bitmap.copyTo(&bm, info.colorType(), &allocator);
191 SkASSERT(check_alpha(info.alphaType(), bm.alphaType()));

Completed in 4490 milliseconds

1 2 3 4 56 7 8 91011>>