HomeSort by relevance Sort by last modified time
    Searched defs:bytesPerPixel (Results 1 - 25 of 160) sorted by null

1 2 3 4 5 6 7

  /frameworks/native/libs/ui/
PixelFormat.cpp 23 uint32_t bytesPerPixel(PixelFormat format) {
  /external/libvncserver/libvncclient/
cursor.c 48 int bytesPerPixel;
56 bytesPerPixel = client->format.bitsPerPixel / 8;
67 client->rcSource = malloc(width * height * bytesPerPixel);
105 ptr += bytesPerPixel;
110 ptr += bytesPerPixel;
115 switch (bytesPerPixel) {
132 if (!ReadFromRFBServer(client, (char *)client->rcSource, width * height * bytesPerPixel)) {
171 client->GotCursorShape(client, xhot, yhot, width, height, bytesPerPixel);
  /external/libvncserver/examples/
pnmshow.c 23 int bytesPerPixel,bitsPerPixelInFile;
36 bytesPerPixel=4; bitsPerPixelInFile=3*8;
39 bytesPerPixel=1; bitsPerPixelInFile=1*8;
42 bytesPerPixel=1; bitsPerPixelInFile=1;
67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel);
81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height);
  /hardware/qcom/display/msm8909/gralloc/
gr_adreno_info.cpp 146 int bytesPerPixel = 0;
153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel);
  /hardware/qcom/display/msm8909w_3100/libgralloc1/
gr_adreno_info.cpp 146 int bytesPerPixel = 0;
153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel);
  /hardware/qcom/display/msm8996/libgralloc1/
gr_adreno_info.cpp 137 int bytesPerPixel = 0;
144 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel);
  /hardware/qcom/display/msm8998/libgralloc1/
gr_adreno_info.cpp 136 int bytesPerPixel = 0;
143 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel);
  /external/glide/library/src/main/java/com/bumptech/glide/util/
Util.java 94 int bytesPerPixel;
97 bytesPerPixel = 1;
101 bytesPerPixel = 2;
105 bytesPerPixel = 4;
107 return bytesPerPixel;
  /device/generic/goldfish/gralloc/
gralloc.cpp 210 int bytesPerPixel = 0;
213 bytesPerPixel = 8;
218 bytesPerPixel = 4;
221 bytesPerPixel = 3;
225 bytesPerPixel = 2;
235 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4;
  /external/mesa3d/src/gallium/targets/haiku-softpipe/
SoftwareRenderer.cpp 177 uint8 bytesPerPixel = bytesPerRow / fBitmap->Bounds().IntegerWidth();
183 = (clip->right - clip->left + 1) * bytesPerPixel;
184 bytesWidth -= bytesPerPixel;
186 * fInfo->bytes_per_row + clip->left * bytesPerPixel;
189 + (clip->left - fInfo->window_bounds.left) * bytesPerPixel;
  /external/skia/src/codec/
SkCodecPriv.h 148 static inline size_t compute_row_bytes_bpp(int width, uint32_t bytesPerPixel) {
149 return width * bytesPerPixel;
162 const uint32_t bytesPerPixel = bitsPerPixel / 8;
163 return compute_row_bytes_bpp(width, bytesPerPixel);
SkGifCodec.cpp 544 const size_t bytesPerPixel = this->dstInfo().bytesPerPixel();
545 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel;
  /external/skia/src/core/
SkImageInfo.cpp 97 int SkImageInfo::bytesPerPixel() const { return SkColorTypeBytesPerPixel(fColorType); }
113 safe.mul(fWidth, this->bytesPerPixel()));
230 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
266 fPixels = ((const char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
  /external/skqp/src/codec/
SkCodecPriv.h 148 static inline size_t compute_row_bytes_bpp(int width, uint32_t bytesPerPixel) {
149 return width * bytesPerPixel;
162 const uint32_t bytesPerPixel = bitsPerPixel / 8;
163 return compute_row_bytes_bpp(width, bytesPerPixel);
SkGifCodec.cpp 544 const size_t bytesPerPixel = SkColorTypeBytesPerPixel(this->dstInfo().colorType());
545 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel;
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 100 public int bytesPerPixel;
109 info.bytesPerPixel = 4;
113 info.bytesPerPixel = 3;
120 info.bytesPerPixel = 2;
126 info.bytesPerPixel = 1;
131 info.bytesPerPixel = 1;
135 info.bytesPerPixel = 1;
139 info.bytesPerPixel = 8;
  /frameworks/base/libs/hwui/
Texture.cpp 33 static int bytesPerPixel(GLint glFormat) {
106 notifySizeChanged(mWidth * mHeight * bytesPerPixel(internalFormat));
358 rgbaBitmap.bytesPerPixel(), rgbaBitmap.width(), rgbaBitmap.height(),
364 bitmap.info().bytesPerPixel(), bitmap.width(), bitmap.height(),
GradientCache.cpp 157 const uint32_t size = info.width * 2 * bytesPerPixel();
171 " width = %" PRIu32 " bytesPerPixel() = %zu",
172 size, texture->objectSize(), info.width, bytesPerPixel());
178 size_t GradientCache::bytesPerPixel() const {
  /hardware/libhardware/modules/gralloc/
gralloc.cpp 210 int bytesPerPixel = 0;
213 bytesPerPixel = 8;
218 bytesPerPixel = 4;
221 bytesPerPixel = 3;
225 bytesPerPixel = 2;
235 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsUtils.java 231 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;
234 "rowStride %d, pixStride %d, bytesPerPixel %d",
235 format, i, width, height, rowStride, pixelStride, bytesPerPixel));
240 if (pixelStride == bytesPerPixel) {
242 int length = w * bytesPerPixel;
  /external/libvncserver/libvncserver/
scale.c 144 int bitsPerPixel, bytesPerPixel, bytesPerLine, areaX, areaY, area2;
162 bytesPerPixel = bitsPerPixel / 8;
163 bytesPerLine = w1 * bytesPerPixel;
165 (y0 * screen->paddedWidthInBytes + x0 * bytesPerPixel));
167 ( y1 * ptr->paddedWidthInBytes + x1 * bytesPerPixel));
206 srcptr2 = &srcptr[(((x * areaX) + w) * bytesPerPixel) +
211 switch (bytesPerPixel) {
217 for (z = 0; z < bytesPerPixel; z++)
222 srcptr2 += bytesPerPixel;
238 switch (bytesPerPixel) {
    [all...]
  /external/skia/include/core/
SkBitmap.h 116 rowBytes() / info().bytesPerPixel().
172 int bytesPerPixel() const { return fPixmap.info().bytesPerPixel(); }
216 is at least as large as width() * info().bytesPerPixel().
403 - rowBytes is positive and less than imageInfo.width() times imageInfo.bytesPerPixel()
465 memory. rowBytes must equal or exceed info.width() times info.bytesPerPixel(),
483 memory. rowBytes must equal or exceed info.width() times info.bytesPerPixel(),
    [all...]
  /external/skia/src/gpu/text/
GrGlyphCache.cpp 306 int bytesPerPixel = GrMaskFormatBytesPerPixel(expectedMaskFormat);
308 size_t size = glyph->fBounds.area() * bytesPerPixel;
319 glyph->width() * bytesPerPixel, expectedMaskFormat,
  /external/skqp/include/core/
SkBitmap.h 116 rowBytes() / info().bytesPerPixel().
172 int bytesPerPixel() const { return fPixmap.info().bytesPerPixel(); }
216 is at least as large as width() * info().bytesPerPixel().
403 - rowBytes is positive and less than imageInfo.width() times imageInfo.bytesPerPixel()
465 memory. rowBytes must equal or exceed info.width() times info.bytesPerPixel(),
483 memory. rowBytes must equal or exceed info.width() times info.bytesPerPixel(),
    [all...]
  /frameworks/av/media/ndk/
NdkImage.cpp 439 int bytesPerPixel = 0;
498 bytesPerPixel = 2;
502 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel;
517 bytesPerPixel = 2;
520 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel;
571 bytesPerPixel = 4;
574 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel;
578 bytesPerPixel = 2;
581 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel;
585 bytesPerPixel = 3
    [all...]

Completed in 521 milliseconds

1 2 3 4 5 6 7