Searched refs:bpr (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/services/surfaceflinger/tests/resize/
H A Dresize.cpp52 ssize_t bpr = info.s * bytesPerPixel(info.format); local
53 android_memset16((uint16_t*)info.bits, 0xF800, bpr*info.h);
57 android_memset16((uint16_t*)info.bits, 0x07E0, bpr*info.h);
/frameworks/base/opengl/libagl/
H A DTextureObjectManager.h56 int format, int compressedFormat, int bpr);
H A DTextureObjectManager.cpp164 int format, int compressedFormat, int bpr)
166 const size_t size = h * bpr;
162 reallocate( GLint level, int w, int h, int s, int format, int compressedFormat, int bpr) argument
H A Dmipmap.cpp46 const int bpr = w * pixelFormat.size; local
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
H A Dtexture.cpp380 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; local
381 const size_t size = bpr * height;
382 const int32_t stride = bpr / pixelFormat.size;
388 width, height, stride, formatIdx, compressedFormat, bpr);
399 width, height, stride, formatIdx, compressedFormat, bpr);
1202 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
1203 const size_t size = bpr * height;
1204 const int32_t stride = bpr / pixelFormat.size;
1286 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
1287 const size_t size = bpr * heigh
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp364 ssize_t bpr = info.s * bytesPerPixel(info.format); local
365 bitmap.setConfig(convertPixelFormat(info.format), info.w, info.h, bpr); local
549 ssize_t bpr = s * android::bytesPerPixel(f); local
552 bitmap->setConfig(convertPixelFormat(f), w, h, bpr); local
/frameworks/base/services/input/
H A DSpriteController.cpp206 ssize_t bpr = surfaceInfo.s * bytesPerPixel(surfaceInfo.format); local
208 surfaceInfo.w, surfaceInfo.h, bpr);

Completed in 945 milliseconds