Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/resize/
Dresize.cpp52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in main() local
53 android_memset16((uint16_t*)outBuffer.bits, 0xF800, bpr*outBuffer.height); in main()
57 android_memset16((uint16_t*)outBuffer.bits, 0x07E0, bpr*outBuffer.height); in main()
/frameworks/native/opengl/libagl/
Dtexture.cpp379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in createTextureSurface() local
380 const size_t size = bpr * height; in createTextureSurface()
381 const int32_t stride = bpr / pixelFormat.size; in createTextureSurface()
387 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
398 width, height, stride, formatIdx, compressedFormat, bpr); in createTextureSurface()
1201 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexImage2D() local
1202 const size_t size = bpr * height; in glTexImage2D()
1203 const int32_t stride = bpr / pixelFormat.size; in glTexImage2D()
1285 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; in glTexSubImage2D() local
1286 const size_t size = bpr * height; in glTexSubImage2D()
[all …]
DTextureObjectManager.h56 int format, int compressedFormat, int bpr);
DTextureObjectManager.cpp162 int format, int compressedFormat, int bpr) in reallocate() argument
164 const size_t size = h * bpr; in reallocate()
Dmipmap.cpp46 const int bpr = w * pixelFormat.size; in buildAPyramid() local
48 base->format, base->compressedFormat, bpr) != NO_ERROR) { in buildAPyramid()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp324 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in nativeLockCanvas() local
325 bitmap.setInfo(info, bpr); in nativeLockCanvas()
/frameworks/base/libs/input/
DSpriteController.cpp212 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in doUpdateSprites() local
214 outBuffer.bits, bpr); in doUpdateSprites()