Searched defs:img (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO_test.cpp43 uint8_t* img = NULL; local
44 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
45 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255,
68 (void**)(&img)));
69 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
H A DSurfaceTextureGL_test.cpp44 uint8_t* img = NULL; local
45 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
46 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
90 uint8_t* img = NULL; local
91 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
92 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
150 uint8_t* img = NULL; local
151 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
152 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop);
236 uint8_t* img local
[all...]
H A DCpuConsumer_test.cpp498 uint8_t* img = NULL; local
501 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
506 fillYV12Buffer(img, params.width, params.height, *stride);
509 fillBayerRawBuffer(img, params.width, params.height, buf->getStride());
512 fillGreyscaleBuffer<uint8_t>(img, params.width, params.height,
516 fillGreyscaleBuffer<uint16_t>((uint16_t*)img, params.width,
521 fillRgba8888Buffer(img, params.width, params.height, buf->getStride());
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp38 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); local
41 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x));
69 const uint8_t* img = reinterpret_cast<const uint8_t*>(mHeap->base()); local
70 const uint8_t* pixel = img + (4 * (y*mWidth + x));
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java125 Element img = (Element)nl.item(i);
126 convertImage(img);
474 private void convertImage(Element img) { argument
475 String name = img.getAttribute("name");
476 String id = img.getAttribute("id");
477 String file = getString(img, "init_from");
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp131 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/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp236 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 DSurfaceMediaSource_test.cpp516 uint8_t* img = NULL; local
518 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
519 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
/frameworks/base/core/java/android/text/
H A DHtml.java60 * Retrieves images for HTML &lt;img&gt; tags.
65 * &lt;img&gt; tag. The <code>source</code> argument is the
92 * Any &lt;img&gt; tags in the HTML will display as a generic
113 * Any &lt;img&gt; tags in the HTML will use the specified ImageGetter
298 out.append("<img src=\"");
519 } else if (tag.equalsIgnoreCase("img")) {
629 Attributes attributes, Html.ImageGetter img) {
633 if (img != null) {
634 d = img.getDrawable(src);
628 startImg(SpannableStringBuilder text, Attributes attributes, Html.ImageGetter img) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp243 uint8_t* img = NULL; local
245 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
248 uint8_t* yPlane = img;
249 uint8_t* uPlane = img + height * width;
271 uint8_t* img = NULL; local
273 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
287 uint8_t* yPlane = img;
288 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride;
316 int8_t* img = NULL; local
331 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1400 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
1410 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
/frameworks/native/opengl/libagl/
H A Degl.cpp2063 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
2069 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2125 uint32_t* img = NULL; local
2126 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
2133 *img = 0;
H A DACodec.cpp3419 const MediaImage &img = describeParams.sMediaImage; local
3420 if (img.mType == MediaImage::MEDIA_IMAGE_TYPE_YUV) {
3421 if (img.mNumPlanes != 3 ||
3422 img.mPlane[img.Y].mHorizSubsampling != 1 ||
3423 img.mPlane[img.Y].mVertSubsampling != 1) {
3428 if (img.mPlane[img.U].mHorizSubsampling == 2
3429 && img
3486 MediaImage *img = &describeParams.sMediaImage; local
3977 uint32_t* img = NULL; local
[all...]

Completed in 236 milliseconds