Searched refs:gBuf (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 606 void hwcTestSetPixel(GraphicBuffer *gBuf, unsigned char *buf, in hwcTestSetPixel() argument 621 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) { in hwcTestSetPixel() 623 uint32_t yPlaneStride = gBuf->getStride(); in hwcTestSetPixel() 624 uint32_t uPlaneStride = ((gBuf->getStride() / 2) + 0xf) & ~0xf; in hwcTestSetPixel() 627 vPlaneOffset = yPlaneOffset + yPlaneStride * gBuf->getHeight(); in hwcTestSetPixel() 629 + vPlaneStride * (gBuf->getHeight() / 2); in hwcTestSetPixel() 642 if (attrib->format == gBuf->getPixelFormat()) { break; } in hwcTestSetPixel() 646 gBuf->getPixelFormat()); in hwcTestSetPixel() 650 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) in hwcTestSetPixel() 655 void hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) in hwcTestFillColor() argument [all …]
|
D | hwcStress.cpp | 429 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() local 431 layer->handle = gBuf->handle; in main() 440 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); in main() 441 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); in main() 443 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1; in main() 445 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; in main() 500 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; in main() local 502 layer->handle = (native_handle_t *) gBuf->handle; in main()
|
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,
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
D | launchtest.rs | 21 rs_allocation gBuf; 25 rsSetElementAt_uchar(gBuf, 1, i, x);
|