Searched defs:bytesPerPixel (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/skia/ext/
H A Dbitmap_platform_device.h30 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 DSDL_riscossprite.c50 int bytesPerPixel; local
56 case 32: bytesPerPixel = 4; break;
57 case 16: bytesPerPixel = 2; break;
59 bytesPerPixel = 1;
67 bytesPerRow = bytesPerPixel * width;
H A DSDL_wimpvideo.c89 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 DSkImageInfo.h116 int bytesPerPixel() const { function in struct:SkImageInfo
121 return fWidth * this->bytesPerPixel();
138 return (fHeight - 1) * rowBytes + fWidth * this->bytesPerPixel();
H A DSkBitmap.h118 int bytesPerPixel() const { return fBytesPerPixel; } function in class:SkBitmap
/external/skia/include/core/
H A DSkImageInfo.h116 int bytesPerPixel() const { function in struct:SkImageInfo
121 return fWidth * this->bytesPerPixel();
138 return (fHeight - 1) * rowBytes + fWidth * this->bytesPerPixel();
H A DSkBitmap.h118 int bytesPerPixel() const { return fBytesPerPixel; } function in class:SkBitmap
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/
H A DBMPImageReader.cpp647 const size_t bytesPerPixel = m_infoHeader.biBitCount / 8; local
648 const size_t unpaddedNumBytes = (m_infoHeader.biBitCount < 16) ? ((numPixels + pixelsPerByte - 1) / pixelsPerByte) : (numPixels * bytesPerPixel);
692 const uint32_t pixel = readCurrentPixel(bytesPerPixel);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrTextStrike.cpp300 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); local
305 SkASSERT(1 == bytesPerPixel);
313 size_t stride = width*bytesPerPixel;
315 size_t size = width * height * bytesPerPixel;
322 size_t dfSize = dfWidth * dfHeight * bytesPerPixel;
330 size_t dfStride = dfWidth*bytesPerPixel;
332 dfPtr += DISTANCE_FIELD_PAD*bytesPerPixel;
397 size_t size = glyph->fBounds.area() * bytesPerPixel;
401 glyph->width() * bytesPerPixel,
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsvideo.c464 int bytesPerPixel = (private->info.depth + 7) / 8; local
558 src_start = private->shadowmem + (sha_y1 * width + sha_x1) * bytesPerPixel;
560 scr_x1 * bytesPerPixel;
/external/skia/src/gpu/
H A DGrTextStrike.cpp300 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); local
305 SkASSERT(1 == bytesPerPixel);
313 size_t stride = width*bytesPerPixel;
315 size_t size = width * height * bytesPerPixel;
322 size_t dfSize = dfWidth * dfHeight * bytesPerPixel;
330 size_t dfStride = dfWidth*bytesPerPixel;
332 dfPtr += DISTANCE_FIELD_PAD*bytesPerPixel;
397 size_t size = glyph->fBounds.area() * bytesPerPixel;
401 glyph->width() * bytesPerPixel,
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext3DImagePacking.cpp1533 unsigned bytesPerPixel = componentsPerPixel * bytesPerComponent; local
1534 data.resize(width * height * bytesPerPixel);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
H A Dwmesa.c289 UINT bytesPerPixel = pwfb->cColorBits / 8; local
303 switch (bytesPerPixel) {
346 bytesPerPixel * x;
347 switch (bytesPerPixel) {
388 rowSize = width * bytesPerPixel;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimage.c295 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;
H A Dpack.c5860 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); local
5867 if (bytesPerPixel <= 0 || components <= 0)
5869 bytesPerRow = bytesPerPixel * width;
5870 bytesPerComp = bytesPerPixel / components;
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwmesa.c289 UINT bytesPerPixel = pwfb->cColorBits / 8; local
303 switch (bytesPerPixel) {
346 bytesPerPixel * x;
347 switch (bytesPerPixel) {
388 rowSize = width * bytesPerPixel;
/external/mesa3d/src/mesa/main/
H A Dimage.c295 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;
H A Dpack.c5860 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type); local
5867 if (bytesPerPixel <= 0 || components <= 0)
5869 bytesPerRow = bytesPerPixel * width;
5870 bytesPerComp = bytesPerPixel / components;
/external/qemu/distrib/sdl-1.2.15/src/video/gapi/
H A DSDL_gapivideo.c1117 int bytesPerPixel = (gapi->gxProperties.cBPP + 1) / 8; local
1121 unsigned char *srcPointer = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSurface->pitch + rects[i].x * bytesPerPixel;
1129 switch(bytesPerPixel)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1707 milliseconds