/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_yuv.c | 48 ((SDL_VideoSurface->format->BytesPerPixel == 2) || 49 (SDL_VideoSurface->format->BytesPerPixel == 4)) ) {
|
SDL_blit_N.c | 309 assert(srcfmt->BytesPerPixel == 2); 310 assert(dstfmt->BytesPerPixel == 4); 454 assert(srcfmt->BytesPerPixel == 2); 455 assert(dstfmt->BytesPerPixel == 4); 550 int srcbpp = srcfmt->BytesPerPixel; 552 int dstbpp = dstfmt->BytesPerPixel; 675 assert(srcfmt->BytesPerPixel == 4); 676 assert(dstfmt->BytesPerPixel == 4); 753 assert(srcfmt->BytesPerPixel == 4); 754 assert(dstfmt->BytesPerPixel == 4) [all...] |
SDL_cursor.c | 305 x += this->screen->offset / this->screen->format->BytesPerPixel; 309 this->screen->format->BytesPerPixel; 380 switch (screen->format->BytesPerPixel) { 509 dstbpp = screen->format->BytesPerPixel; 517 if ( screen->format->BytesPerPixel == 1 ) { 610 screenbpp = screen->format->BytesPerPixel; 688 screenbpp = screen->format->BytesPerPixel;
|
SDL_yuv_sw.c | 942 if ( (display->format->BytesPerPixel != 2) && 943 (display->format->BytesPerPixel != 3) && 944 (display->format->BytesPerPixel != 4) ) { [all...] |
SDL_RLEaccel.c | 626 switch(fmt->BytesPerPixel) { \ 633 switch(fmt->BytesPerPixel) { \ 712 switch(fmt->BytesPerPixel) { \ 719 switch(fmt->BytesPerPixel) { \ 860 + y * dst->pitch + x * src->format->BytesPerPixel; 887 switch(src->format->BytesPerPixel) { 1000 Uint8 BytesPerPixel; 1092 switch(df->BytesPerPixel) { [all...] |
SDL_blit_A.c | 77 int srcbpp = srcfmt->BytesPerPixel; 130 int srcbpp = srcfmt->BytesPerPixel; 183 int srcbpp = srcfmt->BytesPerPixel; [all...] |
SDL_blit_0.c | 358 dstbpp = dstfmt->BytesPerPixel; 405 dstbpp = dstfmt->BytesPerPixel; 454 which = surface->map->dst->format->BytesPerPixel;
|
SDL_blit_1.c | 420 dstbpp = dstfmt->BytesPerPixel; 460 dstbpp = dstfmt->BytesPerPixel; 503 which = dstfmt->BytesPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nximage.c | 40 xinc = this -> screen -> format -> BytesPerPixel ; 202 xinc = this -> screen -> format -> BytesPerPixel ;
|
/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);
|
/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/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);
|
/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;
|
/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/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
SDL_ps3yuv.c | 84 if ((display->format->BytesPerPixel != 2) && 85 (display->format->BytesPerPixel != 3) && 86 (display->format->BytesPerPixel != 4))
|
/external/chromium_org/ui/gfx/ozone/dri/ |
dri_skbitmap.cc | 126 request.bpp = bitmap->bytesPerPixel() << 3;
|
/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;
|
/frameworks/native/libs/ui/ |
PixelFormat.cpp | 24 ssize_t bytesPerPixel(PixelFormat format) {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
LayerDetailsView.js | 131 const bytesPerPixel = 4; 132 this._memoryEstimateCell.textContent = Number.bytesToString(this._layer.invisible() ? 0 : this._layer.width() * this._layer.height() * bytesPerPixel);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
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/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
BMPImageReader.h | 197 inline uint32_t readCurrentPixel(int bytesPerPixel) const 199 const int offset = m_coord.x() * bytesPerPixel; 200 switch (bytesPerPixel) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
SDL_ndsvideo.c | 100 if (src->format->BytesPerPixel != dst->format->BytesPerPixel) return false; 171 vformat->BytesPerPixel = 2;
|