Searched defs:bytesPerPixel (Results 1 - 25 of 25) 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/WebKit/Source/platform/image-decoders/bmp/
H A DBMPImageReader.cpp709 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/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DPixelTransfer11.cpp124 unsigned int bytesPerPixel = gl::GetInternalFormatInfo(internalFormat).pixelBytes; local
126 unsigned int alignmentPixels = (alignmentBytes <= bytesPerPixel ? 1 : alignmentBytes / bytesPerPixel);
/external/chromium_org/third_party/skia/include/core/
H A DSkImageInfo.h228 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 DSkBitmap.h90 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/chromium_org/third_party/skia/src/gpu/
H A DGrTextStrike.cpp319 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); local
321 size_t size = glyph->fBounds.area() * bytesPerPixel;
333 glyph->width() * bytesPerPixel,
/external/skia/include/core/
H A DSkImageInfo.h207 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 DSkBitmap.h116 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/skia/src/gpu/
H A DGrTextStrike.cpp298 int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); local
300 size_t size = glyph->fBounds.area() * bytesPerPixel;
311 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/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/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DWebGLImageConversion.cpp1725 unsigned bytesPerPixel = componentsPerPixel * bytesPerComponent; local
1726 data.resize(width * height * bytesPerPixel);
/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 ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 3709 milliseconds