/external/chromium_org/skia/ext/ |
H A D | bitmap_platform_device.h | 30 int bytesPerPixel = 4; local 31 int64_t bytes = (int64_t)width * height * bytesPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | SDL_riscossprite.c | 50 int bytesPerPixel; local 56 case 32: bytesPerPixel = 4; break; 57 case 16: bytesPerPixel = 2; break; 59 bytesPerPixel = 1; 67 bytesPerRow = bytesPerPixel * width;
|
H A D | SDL_wimpvideo.c | 89 int bytesPerPixel = 1; local 107 bytesPerPixel = 2; 114 bytesPerPixel = 4; 152 current->pitch = width * bytesPerPixel;
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkImageInfo.h | 228 int bytesPerPixel() const { function in struct:SkImageInfo 233 return sk_64_mul(fWidth, this->bytesPerPixel()); 254 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); 262 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
|
H A D | SkBitmap.h | 90 int bytesPerPixel() const { return fInfo.bytesPerPixel(); } function in class:SkBitmap 104 int shiftPerPixel() const { return this->bytesPerPixel() >> 1; } 856 SkASSERT(4 == this->bytesPerPixel()); 863 SkASSERT(2 == this->bytesPerPixel()); 870 SkASSERT(1 == this->bytesPerPixel());
|
/external/skia/include/core/ |
H A D | SkImageInfo.h | 207 int bytesPerPixel() const { function in struct:SkImageInfo 212 return sk_64_mul(fWidth, this->bytesPerPixel()); 233 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); 241 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel());
|
H A D | SkBitmap.h | 116 int bytesPerPixel() const { return fInfo.bytesPerPixel(); } function in class:SkBitmap 130 int shiftPerPixel() const { return this->bytesPerPixel() >> 1; } 873 SkASSERT(4 == this->bytesPerPixel()); 880 SkASSERT(2 == this->bytesPerPixel()); 887 SkASSERT(1 == this->bytesPerPixel());
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | content_analysis.cc | 258 0, input_bitmap->bytesPerPixel(), 263 0, intermediate.bytesPerPixel(), false); 267 0, intermediate.bytesPerPixel(), 272 0, input_bitmap->bytesPerPixel(), false); 279 0, input_bitmap->bytesPerPixel(), 284 0, intermediate.bytesPerPixel(), true); 288 0, input_bitmap->bytesPerPixel(), 293 0, intermediate2.bytesPerPixel(), true); 301 0, input_bitmap->bytesPerPixel(), 306 0, intermediate.bytesPerPixel(), fals [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
H A D | BMPImageReader.h | 192 inline uint32_t readCurrentPixel(int bytesPerPixel) const 194 const int offset = m_coord.x() * bytesPerPixel; 195 switch (bytesPerPixel) {
|
H A D | BMPImageReader.cpp | 709 const size_t bytesPerPixel = m_infoHeader.biBitCount / 8; local 710 const size_t unpaddedNumBytes = (m_infoHeader.biBitCount < 16) ? ((numPixels + pixelsPerByte - 1) / pixelsPerByte) : (numPixels * bytesPerPixel); 756 const uint32_t pixel = readCurrentPixel(bytesPerPixel);
|
/external/chromium_org/components/user_manager/user_image/ |
H A D | user_image.cc | 31 bitmap.width() * bitmap.bytesPerPixel(),
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmap_scroll.cpp | 26 int shift = this->bytesPerPixel() >> 1;
|
H A D | SkConfig8888.cpp | 151 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { 183 rect_memcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height);
|
/external/skia/src/core/ |
H A D | SkBitmap_scroll.cpp | 26 int shift = this->bytesPerPixel() >> 1;
|
H A D | SkBitmapDevice.cpp | 176 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { 205 srcInfo.width() * srcInfo.bytesPerPixel(), srcInfo.height()); 242 if (4 != dstInfo.bytesPerPixel()) { 245 if (4 != srcInfo.bytesPerPixel()) {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/layers/ |
H A D | LayerDetailsView.js | 145 const bytesPerPixel = 4; 146 this._memoryEstimateCell.textContent = Number.bytesToString(this._layer.invisible() ? 0 : this._layer.width() * this._layer.height() * bytesPerPixel);
|
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | dri_buffer.cc | 65 info.bytesPerPixel() << 3,
|
/external/skia/src/gpu/ |
H A D | GrTextStrike.cpp | 298 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); local 300 size_t size = glyph->fBounds.area() * bytesPerPixel; 311 glyph->width() * bytesPerPixel,
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
H A D | DrawUtils.java | 309 int bytesPerPixel = Math.max(1, srcData.depth / 8); 311 ((srcData.height * bytesPerPixel - 1) / srcData.scanlinePad + 1) * srcData.scanlinePad; 317 int destIndex = destY * destBytesPerLine + destX * bytesPerPixel; 318 int srcIndex = srcY * srcData.bytesPerLine + srcX * bytesPerPixel; 319 System.arraycopy(srcData.data, srcIndex, newData, destIndex, bytesPerPixel);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
H A D | PixelTransfer11.cpp | 124 unsigned int bytesPerPixel = gl::GetInternalFormatInfo(internalFormat).pixelBytes; local 126 unsigned int alignmentPixels = (alignmentBytes <= bytesPerPixel ? 1 : alignmentBytes / bytesPerPixel);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrTextStrike.cpp | 319 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); local 321 size_t size = glyph->fBounds.area() * bytesPerPixel; 333 glyph->width() * bytesPerPixel,
|
/external/chromium_org/ui/ozone/platform/caca/ |
H A D | caca_window_manager.cc | 73 dither_.reset(caca_create_dither(info.bytesPerPixel() * 8,
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | image.c | 295 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); local 296 if (bytesPerPixel <= 0) 299 bytesPerRow = bytesPerPixel * width; 302 bytesPerRow = bytesPerPixel * packing->RowLength; 342 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); local 344 if (bytesPerPixel <= 0) 347 bytesPerRow = bytesPerPixel * width; 350 bytesPerRow = bytesPerPixel * packing->RowLength;
|
/external/mesa3d/src/mesa/main/ |
H A D | image.c | 295 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); local 296 if (bytesPerPixel <= 0) 299 bytesPerRow = bytesPerPixel * width; 302 bytesPerRow = bytesPerPixel * packing->RowLength; 342 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); local 344 if (bytesPerPixel <= 0) 347 bytesPerRow = bytesPerPixel * width; 350 bytesPerRow = bytesPerPixel * packing->RowLength;
|
/external/chromium_org/third_party/skia/tests/ |
H A D | ReadPixelsTest.cpp | 103 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 125 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 159 SkASSERT(4 == bitmap.bytesPerPixel());
|