/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | ImageFrameGenerator.cpp | 44 ExternalMemoryAllocator(const SkImageInfo& info, void* pixels, size_t rowBytes) argument 47 , m_rowBytes(rowBytes) 57 if (info != m_info || m_rowBytes != dst->rowBytes()) 115 bool ImageFrameGenerator::decodeAndScale(const SkImageInfo& info, size_t index, void* pixels, size_t rowBytes) argument 131 m_externalAllocator = adoptPtr(new ExternalMemoryAllocator(info, pixels, rowBytes)); 148 result = bitmap.copyPixelsTo(pixels, rowBytes * info.fHeight, rowBytes); 152 bool ImageFrameGenerator::decodeToYUV(SkISize componentSizes[3], void* planes[3], size_t rowBytes[3]) argument 165 || !rowBytes || !rowBytes[ [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkImageInfo.h | 250 int64_t getSafeSize64(size_t rowBytes) const { 254 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); 257 size_t getSafeSize(size_t rowBytes) const { 258 return (size_t)this->getSafeSize64(rowBytes); 261 bool validRowBytes(size_t rowBytes) const { 263 return rowBytes >= rb;
|
H A D | SkPixelRef.h | 71 size_t rowBytes() const { return fRec.fRowBytes; } function in class:SkPixelRef 224 * If any planes or rowBytes is NULL, this should output the sizes and return true 227 * If all planes and rowBytes are not NULL, then it should copy the associated Y,U,V data 234 bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], argument 236 return this->onGetYUV8Planes(sizes, planes, rowBytes, colorSpace); 326 virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 347 void setPreLocked(void*, size_t rowBytes, SkColorTable*); 392 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
|
H A D | SkBlitRow.h | 78 size_t rowBytes, SkPMColor color); 82 size_t rowBytes, SkPMColor color);
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawBitmap.cpp | 51 SK_MEMBER(rowBytes, Int), 60 rowBytes(0), width(-1), fColor(0), fColorSet(false) { 73 if (rowBytes > 0) 74 SkDebugf("rowBytes=\"%d\" ", rowBytes); 90 SkASSERT(rowBytes >= 0); 93 rowBytes); local
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 99 int rowBytes = mask->fRowBytes; local 105 int next_row = neq_to_mask(y, maxy) & rowBytes; 158 alpha += rowBytes; 159 multiply += rowBytes; 160 additive += rowBytes; 161 prev_row = rowBytes;
|
/external/skia/include/core/ |
H A D | SkImageInfo.h | 229 int64_t getSafeSize64(size_t rowBytes) const { 233 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); 236 size_t getSafeSize(size_t rowBytes) const { 237 return (size_t)this->getSafeSize64(rowBytes); 240 bool validRowBytes(size_t rowBytes) const { 242 return rowBytes >= rb;
|
H A D | SkBlitRow.h | 78 size_t rowBytes, SkPMColor color); 82 size_t rowBytes, SkPMColor color);
|
H A D | SkSurface.h | 38 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes); 178 * the ImageInfo and rowBytes. The returned address is only valid while 182 * On failure, returns NULL and the info and rowBytes parameters are 185 const void* peekPixels(SkImageInfo* info, size_t* rowBytes);
|
/external/skia/src/animator/ |
H A D | SkDrawBitmap.cpp | 51 SK_MEMBER(rowBytes, Int), 60 rowBytes(0), width(-1), fColor(0), fColorSet(false) { 73 if (rowBytes > 0) 74 SkDebugf("rowBytes=\"%d\" ", rowBytes); 90 SkASSERT(rowBytes >= 0); 92 fBitmap.setInfo(SkImageInfo::Make(width, height, colorType, kPremul_SkAlphaType), rowBytes); local
|
/external/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 99 int rowBytes = mask->fRowBytes; local 105 int next_row = neq_to_mask(y, maxy) & rowBytes; 158 alpha += rowBytes; 159 multiply += rowBytes; 160 additive += rowBytes; 161 prev_row = rowBytes;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkProcSpriteBlitter.cpp | 21 size_t dstRB = fDevice.rowBytes(); 22 size_t srcRB = fSource.rowBytes();
|
H A D | SkMipMap.cpp | 28 p += src.rowBytes() >> 2; 66 p += src.rowBytes() >> 1; 101 p += src.rowBytes() >> 1; 177 uint32_t rowBytes; local 183 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width)); 188 levels[i].fRowBytes = rowBytes; 192 dstBM.installPixels(SkImageInfo::Make(width, height, ct, at), addr, rowBytes); local 203 addr += height * rowBytes;
|
/external/chromium_org/third_party/skia/src/lazy/ |
H A D | SkCachingPixelRef.h | 60 SkCachingPixelRef(const SkImageInfo&, SkImageGenerator*, size_t rowBytes);
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkTextureCompressor_LATC.cpp | 87 int width, int height, int rowBytes, 103 memcpy(block + k*4, src + k*rowBytes + 4*x, 4); 110 src += 4 * rowBytes; 352 typedef uint64_t (*PackIndicesProc)(const uint8_t* alpha, int rowBytes); 354 static void compress_a8_latc_block(uint8_t** dstPtr, const uint8_t* src, int rowBytes) { argument 356 SkEndian_SwapLE64(0xFF | (packIndicesProc(src, rowBytes) << 16)); 360 inline uint64_t PackRowMajor(const uint8_t *indices, int rowBytes) { argument 363 const uint32_t idx = *(reinterpret_cast<const uint32_t*>(indices + i*rowBytes)); 369 inline uint64_t PackColumnMajor(const uint8_t *indices, int rowBytes) { argument 375 transposed[j*4+i] = indices[i*rowBytes 86 compress_4x4_a8_to_64bit(uint8_t* dst, const uint8_t* src, int width, int height, int rowBytes, A84x4To64BitProc proc) argument 382 compress_4x4_a8_latc(uint8_t* dst, const uint8_t* src, int width, int height, int rowBytes) argument 474 CompressA8ToLATC(uint8_t* dst, const uint8_t* src, int width, int height, int rowBytes) argument [all...] |
H A D | SkTextureCompressor.h | 67 int width, int height, int rowBytes, Format format, 88 int width, int height, int rowBytes);
|
/external/skia/include/gpu/ |
H A D | GrFontScaler.h | 31 int rowBytes, void* image) = 0;
|
/external/skia/src/core/ |
H A D | SkProcSpriteBlitter.cpp | 21 size_t dstRB = fDevice.rowBytes(); 22 size_t srcRB = fSource.rowBytes();
|
H A D | SkMipMap.cpp | 28 p += src.rowBytes() >> 2; 66 p += src.rowBytes() >> 1; 101 p += src.rowBytes() >> 1; 177 uint32_t rowBytes; local 183 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width)); 188 levels[i].fRowBytes = rowBytes; 192 dstBM.installPixels(SkImageInfo::Make(width, height, ct, at), addr, rowBytes); local 203 addr += height * rowBytes;
|
/external/skia/src/image/ |
H A D | SkImage.cpp | 42 const void* SkImage::peekPixels(SkImageInfo* info, size_t* rowBytes) const { 48 if (NULL == rowBytes) { 49 rowBytes = &rowBytesStorage; 51 return as_IB(this)->onPeekPixels(info, rowBytes);
|
/external/skia/src/lazy/ |
H A D | SkCachingPixelRef.h | 64 SkCachingPixelRef(const SkImageInfo&, SkImageGenerator*, size_t rowBytes);
|
/external/skia/tools/ |
H A D | sk_tool_utils.cpp | 29 canvas->writePixels(info, tmp.getPixels(), tmp.rowBytes(), x, y);
|
/external/chromium_org/third_party/skia/bench/ |
H A D | PremulAndUnpremulAlphaOpsBench.cpp | 51 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0); 53 canvas->readPixels(fBmp2.info(), fBmp2.getPixels(), fBmp2.rowBytes(), 0, 0);
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkTextureCompression_opts_neon.cpp | 150 static void compress_r11eac_blocks(uint64_t* dst, const uint8_t* src, int rowBytes) { argument 154 const uint8_t *const src2 = src + rowBytes; 155 const uint8_t *const src3 = src + 2*rowBytes; 156 const uint8_t *const src4 = src + 3*rowBytes; 211 int width, int height, int rowBytes) { 220 width, height, rowBytes, 233 compress_r11eac_blocks(encPtr, src + 4*x, rowBytes); 236 src += 4 * rowBytes; 210 CompressA8toR11EAC_NEON(uint8_t* dst, const uint8_t* src, int width, int height, int rowBytes) argument
|
/external/skia/bench/ |
H A D | PremulAndUnpremulAlphaOpsBench.cpp | 51 canvas->writePixels(fBmp1.info(), fBmp1.getPixels(), fBmp1.rowBytes(), 0, 0); 53 canvas->readPixels(fBmp2.info(), fBmp2.getPixels(), fBmp2.rowBytes(), 0, 0);
|