/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO_test.cpp | 47 uint8_t* img = NULL; local 48 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 49 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255, 72 (void**)(&img))); 73 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
|
H A D | SurfaceTextureGL_test.cpp | 48 uint8_t* img = NULL; local 49 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); 98 uint8_t* img = NULL; local 99 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); 162 uint8_t* img = NULL; local 163 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 164 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); 251 uint8_t* img local [all...] |
H A D | CpuConsumer_test.cpp | 497 uint8_t* img = NULL; local 500 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 505 fillYV12Buffer(img, params.width, params.height, *stride); 508 fillBayerRawBuffer(img, params.width, params.height, buf->getStride()); 511 fillGreyscaleBuffer<uint8_t>(img, params.width, params.height, 515 fillGreyscaleBuffer<uint16_t>((uint16_t*)img, params.width, 520 fillRgba8888Buffer(img, params.width, params.height, buf->getStride());
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | BufferQueueScheduler.cpp | 93 auto img = reinterpret_cast<uint8_t*>(outBuffer.bits); local 96 uint8_t* pixel = img + (4 * (y * outBuffer.stride + x));
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 192 uint32_t *img = NULL; local 193 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 199 *img = 0;
|
H A D | ACodec.cpp | 4815 MediaImage2 &img = describeParams.sMediaImage; local 4816 MediaImage2::PlaneInfo *plane = img.mPlane; 4818 mComponentName.c_str(), img.mWidth, img.mHeight,
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 39 public FindRegion(float[] xy, Bitmap img) { argument 41 int imgWidth = img.getWidth(); 42 int imgHeight = img.getHeight();
|
H A D | DrawView.java | 96 public Region getRegion(Bitmap img) { argument 97 Region ret = new Region(Arrays.copyOf(path, len), img);
|
H A D | Region.java | 47 * @param img The original polygon
49 public Region(float[] xy, Bitmap img) {
argument 51 mFindRegion = new FindRegion(mPointsXY, img);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 357 const MediaImage2 &img = describeParams.sMediaImage; local 358 if (img.mType == MediaImage2::MEDIA_IMAGE_TYPE_YUV) { 359 if (img.mNumPlanes != 3 360 || img.mPlane[img.Y].mHorizSubsampling != 1 361 || img.mPlane[img.Y].mVertSubsampling != 1) { 366 if (img.mPlane[img.U].mHorizSubsampling == 2 367 && img [all...] |
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | DrawView.java | 98 public Region getRegion(Bitmap img) { argument 105 ret = new Region(Arrays.copyOf(defaultPath, defaultPath.length), img); 107 ret = new Region(Arrays.copyOf(path, len), img);
|
H A D | FindRegion.java | 47 public FindRegion(float[] xy, Bitmap img) { argument 50 int imgWidth = img.getWidth(); 51 int imgHeight = img.getHeight(); 65 img.getPixels(mPaste, 0, mRoiBounds.width(),
|
H A D | Region.java | 56 * @param img The original polygon
58 public Region(float[] xy, Bitmap img) {
argument 60 mFindRegion = new FindRegion(mPointsXY, img);
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
H A D | gl_yuvtex.cpp | 131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, local 134 if (img == EGL_NO_IMAGE_KHR) { 142 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, (GLeglImageOES)img);
|
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 41 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); local 44 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x)); 77 const uint8_t* img = static_cast<const uint8_t*>(mBuf.data); local 78 const uint8_t* pixel = img + (4 * (y * mBuf.stride + x));
|
H A D | SurfaceInterceptor_test.cpp | 58 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); local 61 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x));
|
/frameworks/rs/ |
H A D | rsGrallocConsumer.cpp | 104 ALOGE("%s: acquire image from reader %p failed! ret: %d, img %p", 109 AImage *img = mAcquiredBuffer[idx].mImg; local 111 ret = AImage_getFormat(img, &format); 114 __FUNCTION__, img, ret, format); 125 ret = AImage_getPlaneData(img, 0, &data, &dataLength); 128 __FUNCTION__, img, ret, data, dataLength); 133 ret = AImage_getTimestamp(img, ×tamp); 136 __FUNCTION__, img, ret); 141 ret = AImage_getPlaneRowStride(img, 0, &rowstride); 144 __FUNCTION__, img, re [all...] |
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 236 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, local 239 if (img == EGL_NO_IMAGE_KHR) { 247 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, (GLeglImageOES)img);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 512 uint8_t* img = NULL; local 514 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 515 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 232 uint8_t* img = NULL; local 234 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 237 uint8_t* yPlane = img; 238 uint8_t* uPlane = img + height * width; 260 uint8_t* img = NULL; local 262 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 276 uint8_t* yPlane = img; 277 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride; 305 int8_t* img = NULL; local 320 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 335 android_pixel_format_t format, uint32_t stride, uint8_t* img, uint8_t r, 340 img[(y * stride + x) * 4 + 0] = r; 341 img[(y * stride + x) * 4 + 1] = g; 342 img[(y * stride + x) * 4 + 2] = b; 343 img[(y * stride + x) * 4 + 3] = a; 410 uint8_t* img; local 411 mGraphicBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 435 setColor(x, y, mFormat, stride, img, max, min, min, 255); 439 setColor(x, y, mFormat, stride, img, min, max, min, 255); 443 setColor(x, y, mFormat, stride, img, mi 334 setColor(int32_t x, int32_t y, android_pixel_format_t format, uint32_t stride, uint8_t* img, uint8_t r, uint8_t g, uint8_t b, uint8_t a) argument 482 uint8_t* img; local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 66 * Retrieves images for HTML <img> tags. 71 * <img> tag. The <code>source</code> argument is the 189 * Returns displayable styled text from the provided HTML string. Any <img> tags in the 220 * Returns displayable styled text from the provided HTML string. Any <img> tags in the 547 out.append("<img src=\""); 834 } else if (tag.equalsIgnoreCase("img")) { 1117 private static void startImg(Editable text, Attributes attributes, Html.ImageGetter img) { argument 1121 if (img != null) { 1122 d = img.getDrawable(src);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 1721 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument 1731 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
|
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 1075 Swapchain::Image& img = swapchain->images[i]; local 1079 &img.dequeue_fence); 1087 img.buffer = buffer; 1088 img.dequeued = true; 1091 VkExtent3D{static_cast<uint32_t>(img.buffer->width), 1092 static_cast<uint32_t>(img.buffer->height), 1094 image_native_buffer.handle = img.buffer->handle; 1095 image_native_buffer.stride = img.buffer->stride; 1096 image_native_buffer.format = img.buffer->format; 1097 image_native_buffer.usage = int(img 1118 Swapchain::Image& img = swapchain->images[i]; local 1347 Swapchain::Image& img = swapchain.images[image_idx]; local [all...] |
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 2122 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument 2128 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
|