HomeSort by relevance Sort by last modified time
    Searched refs:bytesPerPixel (Results 26 - 50 of 107) sorted by null

12 3 4 5

  /external/skia/src/images/
SkImageRefPool.cpp 35 ref->fBitmap.bytesPerPixel(),
71 ref->fBitmap.bytesPerPixel(),
  /frameworks/base/cmds/screencap/
screencap.cpp 178 b.setConfig(flinger2skia(f), w, h, s*bytesPerPixel(f));
190 size_t Bpp = bytesPerPixel(f);
  /frameworks/base/libs/hwui/
GradientCache.cpp 120 const uint32_t size = texture->width * texture->height * bytesPerPixel();
183 const uint32_t size = texture->width * texture->height * bytesPerPixel();
196 size_t GradientCache::bytesPerPixel() const {
244 const GLsizei rowBytes = width * bytesPerPixel();
TextureCache.cpp 248 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
254 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
263 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel());
GradientCache.h 163 size_t bytesPerPixel() const;
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java 200 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;
201 if (pixelStride == bytesPerPixel) {
203 int length = w * bytesPerPixel;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
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/ui/gfx/android/
java_bitmap.cc 52 DCHECK_EQ(skbitmap->bytesPerPixel(), 4);
  /external/chromium_org/ui/gfx/ozone/dri/
hardware_display_controller.cc 70 surface->bitmaps_[i]->bytesPerPixel() << 3,
dri_skbitmap.cc 126 request.bpp = bitmap->bytesPerPixel() << 3;
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_wimpvideo.c 89 int bytesPerPixel = 1;
107 bytesPerPixel = 2;
114 bytesPerPixel = 4;
152 current->pitch = width * bytesPerPixel;
459 SDL_memcpy(data, this->hidden->bank[0], width * height * this->screen->format->BytesPerPixel);
  /hardware/ti/omap4xxx/camera/
ANativeWindowDisplayAdapter.cpp 1067 uint8_t bytesPerPixel;
1071 bytesPerPixel = 2;
1075 bytesPerPixel = 2;
1079 bytesPerPixel = 1;
1083 bytesPerPixel = 1;
1087 xOff/bytesPerPixel, yOff , (xOff/bytesPerPixel)+mPreviewWidth, yOff+mPreviewHeight);
1090 mANativeWindow->set_crop(mANativeWindow, xOff/bytesPerPixel, yOff,
1091 (xOff/bytesPerPixel)+mPreviewWidth, yOff+mPreviewHeight);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
image.c 295 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type);
296 if (bytesPerPixel <= 0)
299 bytesPerRow = bytesPerPixel * width;
302 bytesPerRow = bytesPerPixel * packing->RowLength;
342 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type);
344 if (bytesPerPixel <= 0)
347 bytesPerRow = bytesPerPixel * width;
350 bytesPerRow = bytesPerPixel * packing->RowLength;
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
TextureGeneratorBlend.java 126 int bytesPerPixel = colorBand != null ? 4 : 1;
129 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorVoronoi.java 80 int bytesPerPixel = voronoiColorType != 0 || colorBand != null ? 4 : 1;
93 byte[] data = new byte[width * height * depth * bytesPerPixel];
TextureGeneratorWood.java 83 int bytesPerPixel = colorBand != null ? 4 : 1;
88 byte[] data = new byte[width * height * depth * bytesPerPixel];
  /external/mesa3d/src/mesa/main/
image.c 295 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type);
296 if (bytesPerPixel <= 0)
299 bytesPerRow = bytesPerPixel * width;
302 bytesPerRow = bytesPerPixel * packing->RowLength;
342 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type);
344 if (bytesPerPixel <= 0)
347 bytesPerRow = bytesPerPixel * width;
350 bytesPerRow = bytesPerPixel * packing->RowLength;
  /frameworks/base/media/jni/
android_media_ImageReader.cpp 328 int bytesPerPixel = 0;
412 bytesPerPixel = 4;
415 dataSize = buffer->stride * buffer->height * bytesPerPixel;
419 bytesPerPixel = 2;
422 dataSize = buffer->stride * buffer->height * bytesPerPixel;
426 bytesPerPixel = 3;
429 dataSize = buffer->stride * buffer->height * bytesPerPixel;
  /frameworks/native/libs/gui/tests/
CpuConsumer_test.cpp 204 const int bytesPerPixel = 4;
206 bPtr += (y * buf.stride + x) * bytesPerPixel;
258 const int bytesPerPixel = 4;
270 buf[(y*stride + x)*bytesPerPixel + 0] = r;
271 buf[(y*stride + x)*bytesPerPixel + 1] = g;
272 buf[(y*stride + x)*bytesPerPixel + 2] = b;
273 buf[(y*stride + x)*bytesPerPixel + 3] = 255;
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/
BMPImageReader.cpp 647 const size_t bytesPerPixel = m_infoHeader.biBitCount / 8;
648 const size_t unpaddedNumBytes = (m_infoHeader.biBitCount < 16) ? ((numPixels + pixelsPerByte - 1) / pixelsPerByte) : (numPixels * bytesPerPixel);
692 const uint32_t pixel = readCurrentPixel(bytesPerPixel);
  /external/qemu/distrib/sdl-1.2.15/src/video/wscons/
SDL_wsconsvideo.c 324 vformat->BytesPerPixel = private->info.depth / 8;
464 int bytesPerPixel = (private->info.depth + 7) / 8;
558 src_start = private->shadowmem + (sha_y1 * width + sha_x1) * bytesPerPixel;
560 scr_x1 * bytesPerPixel;
  /external/skia/tests/
ReadPixelsTest.cpp 116 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
138 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
192 uint32_t pixel = *reinterpret_cast<SkPMColor*>(pixels + by * bitmap.rowBytes() + bx * bitmap.bytesPerPixel());
  /frameworks/native/libs/ui/
GraphicBufferAllocator.cpp 113 int bpp = bytesPerPixel(format);
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
HDRLoader.java 301 int bytesPerPixel = pixelFormat.getBitsPerPixel() / 8;
302 int scanLineBytes = bytesPerPixel * width;
  /external/chromium_org/ui/gfx/
skbitmap_operations.cc 53 DCHECK(first.bytesPerPixel() == second.bytesPerPixel());
86 DCHECK(first.bytesPerPixel() == second.bytesPerPixel());
138 DCHECK(rgb.bytesPerPixel() == alpha.bytesPerPixel());

Completed in 376 milliseconds

12 3 4 5