HomeSort by relevance Sort by last modified time
    Searched refs:rowBytes (Results 1 - 25 of 205) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/third_party/skia/include/utils/
SkPathUtils.h 28 int w, int h, int rowBytes);
36 int w, int h, int rowBytes);
  /external/chromium_org/third_party/skia/tests/
ImageGeneratorTest.cpp 18 size_t rowBytes[3] = { 0 };
25 ig.getYUV8Planes(sizes, NULL, rowBytes, NULL);
26 ig.getYUV8Planes(sizes, planes, rowBytes, NULL);
27 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
31 rowBytes[0] = rowBytes[1] = rowBytes[2] = 250;
33 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace);
MallocPixelRefTest.cpp 29 // rowbytes too small.
33 size_t rowBytes = info.minRowBytes() - 1;
34 size_t size = info.getSafeSize(rowBytes);
37 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data));
38 // rowbytes too small.
42 size_t rowBytes = info.minRowBytes() + 2;
43 size_t size = info.getSafeSize(rowBytes) - 1;
46 SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data));
50 size_t rowBytes = info.minRowBytes() + 7;
51 size_t size = info.getSafeSize(rowBytes) + 9
    [all...]
PathUtilsTest.cpp 61 int w, int h, int rowBytes){
67 const char* curLine = &bin_bmp[y * rowBytes];
110 const char* bin_bmp, int w, int h, int rowBytes){
113 SkPathUtils::BitsToPath_Path(&path, bin_bmp, w, h, rowBytes);
120 const char* bin_bmp, int w, int h, int rowBytes){
123 SkPathUtils::BitsToPath_Region(&path, bin_bmp, w, h, rowBytes);
131 const int h = 8, rowBytes = 4;
133 char bits[ h * rowBytes ];
140 fill_random_bits( h * rowBytes, binBmp); // generate random bitmap
146 binary_to_skbitmap(binBmp, &bmpTruth, w[i], h, rowBytes);
    [all...]
BitmapTest.cpp 20 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
22 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
25 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
28 REPORTER_ASSERT(reporter, explicitRowBytes == bm.rowBytes());
30 REPORTER_ASSERT(reporter, explicitRowBytes == bm.rowBytes());
33 REPORTER_ASSERT(reporter, explicitRowBytes == bm.rowBytes());
37 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
40 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes());
56 // for a 4-byte config, this width will compute a rowbytes of 0x80000000,
59 // TODO: perhaps skia can relax this, and only require that rowBytes fi
    [all...]
  /external/chromium_org/third_party/skia/src/opts/
SkTextureCompression_opts_neon.h 12 int width, int height, int rowBytes);
SkBlitRect_opts_SSE2.h 18 size_t rowBytes, uint32_t color);
SkBlitRect_opts_SSE2.cpp 18 size_t rowBytes, uint32_t color) {
40 destination = (uint32_t*)((char*)destination + rowBytes);
52 size_t rowBytes, uint32_t color) {
109 destination = (uint32_t*)((char*)destination + rowBytes);
115 size_t rowBytes, uint32_t color) {
124 rowBytes, color);
127 rowBytes, color);
130 SkBlitRow::ColorRect32(destination, width, height, rowBytes, color);
  /external/chromium_org/third_party/skia/src/core/
SkImageGenerator.cpp 19 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
27 if (rowBytes < info.minRowBytes()) {
43 bool success = this->onGetPixels(info, pixels, rowBytes, ctable, ctableCount);
51 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) {
56 return this->getPixels(info, pixels, rowBytes, NULL, NULL);
60 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3],
66 bool isValidWithPlanes = (planes) && (rowBytes) &&
68 (0 != rowBytes[0]) && (0 != rowBytes[1]) && (0 != rowBytes[2]))
    [all...]
SkBitmap_scroll.cpp 67 int rowBytes = (int)this->rowBytes(); // need rowBytes to be signed
70 src -= dy * rowBytes;
73 dst += dy * rowBytes;
76 src += (height - 1) * rowBytes;
77 dst += (height - 1) * rowBytes;
78 // now invert rowbytes so we copy backwards in the loop
79 rowBytes = -rowBytes;
    [all...]
SkMallocPixelRef.cpp 42 size_t rowBytes,
48 (info, addr, rowBytes, ctable, NULL, NULL));
64 return NULL; // cannot meet requested rowbytes
67 int32_t rowBytes;
69 rowBytes = SkToS32(requestedRowBytes);
71 rowBytes = minRB;
74 int64_t bigSize = (int64_t)info.height() * rowBytes;
80 SkASSERT(size >= info.getSafeSize(rowBytes));
87 (info, addr, rowBytes, ctable,
92 size_t rowBytes,
    [all...]
SkDistanceFieldGen.h 34 * @param rowBytes Size of each row in the image, in bytes
38 int w, int h, int rowBytes);
47 * @param rowBytes Size of each row in the image, in bytes
51 int w, int h, int rowBytes);
  /external/chromium_org/third_party/skia/include/core/
SkImageGenerator.h 54 virtual bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) {
55 return this->onGetPixels(info, pixels, rowBytes, NULL, NULL);
80 * least (info.fHeight - 1) * rowBytes + (info.fWidth *
104 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
110 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
114 * If planes or rowBytes is NULL or if any entry in planes is NULL or if any entry in rowBytes
117 * rowBytes are both fully defined and non NULL/non 0 or they are both NULL or have NULL or 0
118 * entries only. Having only partial planes/rowBytes information is not supported.
120 * If all planes and rowBytes entries are non NULL or non 0, then it should copy th
    [all...]
SkMallocPixelRef.h 21 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes,
31 size_t rowBytes, SkColorTable*);
35 * pixels. If rowBytes are 0, an optimal value will be chosen automatically.
36 * If rowBytes is > 0, then it will be respected, or NULL will be returned
37 * if rowBytes is invalid for the specified info.
44 size_t rowBytes, SkColorTable*);
48 * rowBytes, and optional colortable. On destruction, ReleaseProc
57 size_t rowBytes, SkColorTable*,
63 * SkData, rowBytes, and optional colortable as pixel storage.
72 size_t rowBytes,
    [all...]
  /external/chromium_org/third_party/skia/src/image/
SkImagePriv.cpp 20 image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes());
24 image = SkImage::NewRasterCopy(info, bm.getPixels(), bm.rowBytes());
SkImage_Raster.cpp 17 static bool ValidArgs(const Info& info, size_t rowBytes) {
40 if (rowBytes < SkImageMinRowBytes(info)) {
44 int64_t size = (int64_t)info.height() * rowBytes;
60 virtual const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const SK_OVERRIDE;
64 SkImage_Raster(const SkImageInfo&, SkPixelRef*, size_t rowBytes);
103 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes)
110 fBitmap.installPixels(info, addr, rowBytes, ctable, release_data, data);
115 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, size_t rowBytes)
118 fBitmap.setInfo(info, rowBytes);
157 *rowBytesPtr = fBitmap.rowBytes();
    [all...]
SkImagePriv.h 15 size_t rowBytes);
  /external/chromium_org/third_party/skia/src/lazy/
SkDiscardablePixelRef.h 48 size_t rowBytes,
53 size_t rowBytes[3],
55 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace);
SkCachingPixelRef.cpp 23 (info, generator, dst->rowBytes())));
30 size_t rowBytes)
34 , fRowBytes(rowBytes) {
71 rec->fRowBytes = fLockedBitmap.rowBytes();
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
DecodingImageGenerator.h 55 virtual bool onGetPixels(const SkImageInfo&, void* pixels, size_t rowBytes, SkPMColor ctable[], int* ctableCount) OVERRIDE;
56 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace*) OVERRIDE;
DecodingImageGenerator.cpp 70 bool DecodingImageGenerator::onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctable[], int* ctableCount)
82 bool decoded = m_frameGenerator->decodeAndScale(m_imageInfo, m_frameIndex, pixels, rowBytes);
87 bool DecodingImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace)
97 bool decoded = m_frameGenerator->decodeToYUV(sizes, planes, rowBytes);
  /external/chromium_org/content/browser/compositor/
software_layer_mac.h 16 withRowBytes:(size_t)rowBytes
  /external/chromium_org/third_party/skia/src/utils/
SkTextureCompressor_ASTC.h 18 int width, int height, int rowBytes);
SkTextureCompressor_LATC.h 18 int width, int height, int rowBytes);
SkTextureCompressor_R11EAC.h 18 int width, int height, int rowBytes);

Completed in 1633 milliseconds

1 2 3 4 5 6 7 8 9