Searched refs:gBuf (Results 1 - 4 of 4) sorted by relevance
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | launchtest.rs | 21 rs_allocation gBuf; 25 rsSetElementAt_uchar(gBuf, 1, i, x);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 604 void hwcTestSetPixel(GraphicBuffer *gBuf, unsigned char *buf, argument 619 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) { 621 uint32_t yPlaneStride = gBuf->getStride(); 622 uint32_t uPlaneStride = ((gBuf->getStride() / 2) + 0xf) & ~0xf; 625 vPlaneOffset = yPlaneOffset + yPlaneStride * gBuf->getHeight(); 627 + vPlaneStride * (gBuf->getHeight() / 2); 640 if (attrib->format == gBuf->getPixelFormat()) { break; } 644 gBuf->getPixelFormat()); 648 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 653 void hwcTestFillColor(GraphicBuffer *gBuf, ColorFrac argument 689 hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, ColorFract startColor, ColorFract endColor) argument [all...] |
H A D | hwcTestLib.h | 122 void hwcTestSetPixel(android::GraphicBuffer *gBuf, unsigned char *buf, 124 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color, 126 void hwcTestFillColorHBlend(android::GraphicBuffer *gBuf,
|
H A D | hwcStress.cpp | 430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; local 432 layer->handle = gBuf->handle; 441 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); 442 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); 444 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1; 446 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; 501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; local 503 layer->handle = (native_handle_t *) gBuf->handle;
|
Completed in 3728 milliseconds