HomeSort by relevance Sort by last modified time
    Searched refs:bm (Results 176 - 200 of 258) sorted by null

1 2 3 4 5 6 78 91011

  /external/chromium_org/third_party/skia/tests/
ImageNewShaderTest.cpp 65 SkBitmap bm; local
66 destinationCanvas->readPixels(rect, &bm);
68 testBitmapEquality(reporter, bmOrig, bm);
LayerDrawLooperTest.cpp 23 SkBitmap bm; local
24 bm.allocN32Pixels(w, h);
25 return bm;
WritePixelsTest.cpp 286 static bool allocRowBytes(SkBitmap* bm, const SkImageInfo& info, size_t rowBytes) {
287 if (!bm->setInfo(info, rowBytes)) {
291 bm->setPixelRef(pr)->unref();
330 static bool setup_bitmap(SkBitmap* bm, SkColorType ct, SkAlphaType at, int w, int h, int tightRB) {
333 if (!allocRowBytes(bm, info, rowBytes)) {
336 SkAutoLockPixels alp(*bm);
339 *bm->getAddr32(x, y) = getBitmapColor(x, y, w, ct, at);
TileGridTest.cpp 24 MockCanvas(const SkBitmap& bm) : SkCanvas(bm) {}
CanvasTest.cpp 103 SkBitmap bm; local
104 bm.setInfo(SkImageInfo::MakeN32Premul(size.width(), size.height()));
105 SkCanvas c(bm);
155 static void createBitmap(SkBitmap* bm, SkColor color) {
156 bm->allocN32Pixels(kWidth, kHeight);
157 bm->eraseColor(color);
    [all...]
DeferredCanvasTest.cpp 29 static void create(SkBitmap* bm, SkColor color) {
30 bm->allocN32Pixels(gWidth, gHeight);
31 bm->eraseColor(color);
419 MockDevice(const SkBitmap& bm) : SkBitmapDevice(bm) {
    [all...]
  /external/chromium_org/third_party/skia/tools/
render_pdfs_main.cpp 92 SkBitmap bm = bitmap; local
98 bm = copy;
102 bm, SkImageEncoder::kJPEG_Type, FLAGS_jpegQuality);
skimage_main.cpp 162 const SkBitmap& bm = bitmapAndDigest.fBitmap; local
163 if (SkImageEncoder::EncodeFile(filename.c_str(), bm, SkImageEncoder::kPNG_Type, 100)) {
167 if (bm.colorType() == kN32_SkColorType) {
175 if (!bm.copyTo(&bm8888, kN32_SkColorType)) {
447 SkBitmap bm; local
448 if (!codec->decode(&stream, &bm, gPrefColorType, SkImageDecoder::kDecodePixels_Mode)) {
453 skiagm::GmResultDigest lengthLessDigest(bm);
    [all...]
  /external/chromium_org/third_party/skia/src/pipe/
SkGPipeWrite.cpp 359 bool commonDrawBitmap(const SkBitmap& bm, DrawOps op, unsigned flags,
388 bool SkGPipeCanvas::shuttleBitmap(const SkBitmap& bm, int32_t slot) {
392 buffer.writeBitmap(bm);
775 bool SkGPipeCanvas::commonDrawBitmap(const SkBitmap& bm, DrawOps op,
790 int32_t bitmapIndex = fBitmapHeap->insert(bm);
802 void SkGPipeCanvas::drawBitmap(const SkBitmap& bm, SkScalar left, SkScalar top,
807 if (this->commonDrawBitmap(bm, kDrawBitmap_DrawOp, 0, opBytesNeeded, paint)) {
813 void SkGPipeCanvas::drawBitmapRectToRect(const SkBitmap& bm, const SkRect* src,
830 if (this->commonDrawBitmap(bm, kDrawBitmapRectToRect_DrawOp, flags, opBytesNeeded, paint)) {
838 void SkGPipeCanvas::drawBitmapMatrix(const SkBitmap& bm, const SkMatrix& matrix
    [all...]
SkGPipeRead.cpp 150 SkBitmap* bm;
152 bm = SkNEW(SkBitmap);
153 *fBitmaps.append() = bm;
155 bm = fBitmaps[index];
157 fReader->readBitmap(bm);
  /external/chromium_org/third_party/skia/samplecode/
SamplePatch.cpp 31 SkBitmap bm; local
33 // SkImageDecoder::DecodeFile("/skimages/progressivejpg.jpg", &bm);
34 SkImageDecoder::DecodeFile("/skimages/logo.png", &bm);
35 size->set(bm.width(), bm.height());
36 return SkShader::CreateBitmapShader(bm, SkShader::kClamp_TileMode,
SampleWarp.cpp 133 static void test_patch(SkCanvas* canvas, const SkBitmap& bm, SkScalar scale) {
157 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
160 static void test_drag(SkCanvas* canvas, const SkBitmap& bm,
204 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
336 SkBitmap bm; local
337 // SkImageDecoder::DecodeFile("/skimages/marker.png", &bm);
338 SkImageDecoder::DecodeFile("/skimages/logo.gif", &bm);
339 // SkImageDecoder::DecodeFile("/beach_shot.JPG", &bm);
340 fBitmap = bm;
SampleSlides.cpp 318 SkBitmap bm; local
320 SkImageDecoder::DecodeFile("/skimages/logo.gif", &bm);
321 size->set(bm.width(), bm.height());
322 return SkShader::CreateBitmapShader(bm, SkShader::kClamp_TileMode,
681 SkBitmap bm; local
682 bm.allocN32Pixels(1024, 768);
683 SkCanvas canvas(bm);
693 SkImageEncoder::EncodeFile(str.c_str(), bm, SkImageEncoder::kPNG_Type, 100);
  /external/openssl/crypto/rand/
rand_win.c 745 BITMAP bm; /* bitmap properties */ local
771 GetObject(hBitmap, sizeof(BITMAP), (LPSTR)&bm);
772 size = (unsigned int)bm.bmWidthBytes * bm.bmHeight * bm.bmPlanes;
  /external/chromium_org/third_party/skia/src/core/
SkBitmap.cpp 27 static bool reset_return_false(SkBitmap* bm) {
28 bm->reset();
565 bool SkBitmap::ComputeIsOpaque(const SkBitmap& bm) {
566 SkAutoLockPixels alp(bm);
567 if (!bm.getPixels()) {
571 const int height = bm.height();
572 const int width = bm.width();
574 switch (bm.colorType()) {
578 const uint8_t* row = bm.getAddr8(0, y);
589 SkAutoLockColors alc(bm);
    [all...]
SkBitmapDevice.cpp 107 void SkBitmapDevice::replaceBitmapBackendForRasterSurface(const SkBitmap& bm) {
108 SkASSERT(bm.width() == fBitmap.width());
109 SkASSERT(bm.height() == fBitmap.height());
110 fBitmap = bm; // intent is to use bm's pixelRef (and rowbytes/config)
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFImage.cpp 679 static inline SkData* ref_encoded_data(const SkBitmap& bm) {
680 if ((NULL == bm.pixelRef())
681 || !bm.pixelRefOrigin().isZero()
682 || (bm.info().dimensions() != bm.pixelRef()->info().dimensions())) {
685 return bm.pixelRef()->refEncodedData();
  /external/chromium_org/third_party/skia/src/views/mac/
SkOSWindow_Mac.cpp 166 const SkBitmap& bm = this->getBitmap();
167 CGImageRef img = SkCreateCGImageRef(bm);
170 CGRect r = CGRectMake(0, 0, bm.width(), bm.height());
216 const SkBitmap& bm = this->getBitmap(); local
218 CGImageRef img = SkCreateCGImageRef(bm);
  /external/chromium_org/third_party/skia/src/gpu/
GrLayerHoister.cpp 137 SkBitmap bm; local
143 &bm);
144 layerInfo->fImage = SkImage::NewTexture(bm);
  /external/chromium_org/third_party/skia/src/images/
SkImageEncoder_argb.cpp 16 virtual bool onEncode(SkWStream* stream, const SkBitmap& bm, int quality) SK_OVERRIDE;
SkImageDecoder_wbmp.cpp 25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE;
  /external/chromium_org/v8/src/
jsregexp.cc 3058 BoyerMooreLookahead* bm = local
4082 BoyerMooreLookahead* bm = bm_info(false); local
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkPicture.h 157 typedef SkData* (*EncodeBitmap)(size_t* pixelRefOffset, const SkBitmap& bm);
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
code.c 116 static void doGen(Go *g, State *s, unsigned char *bm, unsigned char m){
121 for(; lb < b->ub; ++lb) bm[lb] |= m;
203 unsigned char *bm = malloc(sizeof(unsigned char)*n); local
208 memset(bm, 0, n);
211 doGen(b->go, b->on, bm-lb, m);
215 fprintf(o, "%3u, ", (unsigned int) bm[j]);
219 free(bm);
  /external/chromium_org/v8/tools/profviz/
gnuplot-4.6.3-emscripten.js     [all...]

Completed in 6865 milliseconds

1 2 3 4 5 6 78 91011