/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelFormatTest.java | 44 assertEquals(4, mPixelFormat.bytesPerPixel); 48 assertEquals(4, mPixelFormat.bytesPerPixel); 52 assertEquals(3, mPixelFormat.bytesPerPixel); 56 assertEquals(2, mPixelFormat.bytesPerPixel); 60 assertEquals(2, mPixelFormat.bytesPerPixel); 64 assertEquals(2, mPixelFormat.bytesPerPixel); 68 assertEquals(1, mPixelFormat.bytesPerPixel); 72 assertEquals(1, mPixelFormat.bytesPerPixel); 76 assertEquals(2, mPixelFormat.bytesPerPixel); 80 assertEquals(1, mPixelFormat.bytesPerPixel); [all...] |
/external/chromium_org/skia/ext/ |
bitmap_platform_device.h | 30 int bytesPerPixel = 4; 31 int64_t bytes = (int64_t)width * height * bytesPerPixel;
|
/frameworks/base/graphics/java/android/graphics/ |
PixelFormat.java | 89 info.bytesPerPixel = 4; 93 info.bytesPerPixel = 3; 100 info.bytesPerPixel = 2; 106 info.bytesPerPixel = 1; 111 info.bytesPerPixel = 1; 115 info.bytesPerPixel = 1; 136 public int bytesPerPixel;
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_flate.cpp | 234 int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8;
263 if (byte >= BytesPerPixel) {
264 left = pSrcData[byte - BytesPerPixel];
281 if (byte >= BytesPerPixel) {
282 left = pSrcData[byte - BytesPerPixel];
294 if (byte >= BytesPerPixel) {
295 left = pSrcData[byte - BytesPerPixel];
302 if (byte >= BytesPerPixel && row) {
303 upper_left = pSrcData[byte - row_size - BytesPerPixel];
326 int BytesPerPixel = (bpc * nColors + 7) / 8; [all...] |
/external/chromium_org/content/common/gpu/client/ |
gpu_memory_buffer_impl_shared_memory.cc | 41 BytesPerPixel(internalformat))) { 60 BytesPerPixel(internalformat))) { 96 buffer_size *= BytesPerPixel(internalformat); 120 if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_))) 133 return size_.width() * BytesPerPixel(internalformat_);
|
gpu_memory_buffer_impl.cc | 49 size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) {
|
/external/chromium_org/chrome/browser/thumbnails/ |
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(), false) [all...] |
/hardware/ti/omap4-aah/camera/ |
CameraHalCommon.cpp | 124 unsigned int bytesPerPixel; 128 bytesPerPixel = 2; 131 bytesPerPixel = 2; 133 bytesPerPixel = 1; 135 bytesPerPixel = 1; 138 return bytesPerPixel;
|
/external/chromium_org/third_party/skia/include/core/ |
SkImageInfo.h | 228 int bytesPerPixel() const { 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());
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_PixelFormat.3 | 10 Uint8 BytesPerPixel;
|
/external/skia/include/core/ |
SkImageInfo.h | 207 int bytesPerPixel() const { 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());
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_blit.c | 80 (Uint16)srcrect->x*src->format->BytesPerPixel; 83 info.s_skip=src->pitch-info.s_width*src->format->BytesPerPixel; 86 (Uint16)dstrect->x*dst->format->BytesPerPixel; 89 info.d_skip=dst->pitch-info.d_width*dst->format->BytesPerPixel; 161 w = info->d_width*info->dst->BytesPerPixel; 209 w = info->d_width*info->dst->BytesPerPixel; 316 switch ( surface->format->BytesPerPixel ) {
|
/frameworks/base/libs/hwui/ |
TextureCache.cpp | 305 uploadToTexture(resize, GL_ALPHA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), 310 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 311 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), 316 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 317 uploadToTexture(resize, GL_RGBA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), 325 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 356 uploadToTexture(resize, GL_RGBA, rgbaBitmap.rowBytesAsPixels(), rgbaBitmap.bytesPerPixel(),
|
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 { 243 const GLsizei rowBytes = width * bytesPerPixel();
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscossprite.c | 50 int bytesPerPixel; 56 case 32: bytesPerPixel = 4; break; 57 case 16: bytesPerPixel = 2; break; 59 bytesPerPixel = 1; 67 bytesPerRow = bytesPerPixel * width;
|
/external/chromium_org/components/user_manager/user_image/ |
user_image.cc | 31 bitmap.width() * bitmap.bytesPerPixel(),
|
/frameworks/native/services/surfaceflinger/tests/resize/ |
resize.cpp | 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cl.py | 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cl.py | 30 'BUFFER_NOT_CREATED', 'BUF_DATA', 'BUF_FRAME', 'BytesPerPixel',
|
/external/chromium_org/third_party/skia/src/core/ |
SkConfig8888.cpp | 151 if (4 == srcInfo.bytesPerPixel() && 4 == dstInfo.bytesPerPixel()) { 183 rect_memcpy(dstPixels, dstRB, srcPixels, srcRB, width * srcInfo.bytesPerPixel(), height);
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbmatrox.c | 80 switch (dst->format->BytesPerPixel) { 156 pitch = dst->pitch/dst->format->BytesPerPixel; 191 switch (dst->format->BytesPerPixel) {
|
/external/qemu/distrib/sdl-1.2.15/test/ |
graywin.c | 38 if (screen->format->BytesPerPixel==1) 75 if (screen->format->BytesPerPixel!=2) { 77 memset(buffer,(i*(NUM_COLORS-1))/screen->h, screen->w * screen->format->BytesPerPixel);
|
testoverlay.c | 113 p+=s->format->BytesPerPixel; 153 p+=s->format->BytesPerPixel; 186 p+=s->format->BytesPerPixel; 222 p+=s->format->BytesPerPixel; 258 p+=s->format->BytesPerPixel; 498 format.BytesPerPixel=4;
|
testoverlay2.c | 118 p+=s->format->BytesPerPixel; 151 p+=s->format->BytesPerPixel; 184 p+=s->format->BytesPerPixel; 220 p+=s->format->BytesPerPixel; 256 p+=s->format->BytesPerPixel; 443 format.BytesPerPixel=4;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsUtils.java | 156 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; 164 if (pixelStride == bytesPerPixel) { 166 int length = w * bytesPerPixel;
|