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

/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp37 uint8_t* img = reinterpret_cast<uint8_t*>(info.bits); local
40 uint8_t* pixel = img + (4 * (y*info.s + x));
67 const uint8_t* img = reinterpret_cast<const uint8_t*>(mHeap->base()); local
68 const uint8_t* pixel = img + (4 * (y*mWidth + x));
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp264 vpx_image_t *img = vpx_codec_get_frame((vpx_codec_ctx_t *)mCtx, &iter); local
266 if (img != NULL) {
267 CHECK_EQ(img->fmt, IMG_FMT_I420);
269 int32_t width = img->d_w;
270 int32_t height = img->d_h;
288 const uint8_t *srcLine = (const uint8_t *)img->planes[PLANE_Y];
290 for (size_t i = 0; i < img->d_h; ++i) {
291 memcpy(dst, srcLine, img->d_w);
293 srcLine += img->stride[PLANE_Y];
294 dst += img
[all...]
/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/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp409 uint8_t* img = NULL; local
410 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
411 copyI420Buffer(buffer, img, width, height, buf->getStride());
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp519 uint8_t* img = NULL; local
520 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
521 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
/frameworks/base/core/java/android/text/
H A DHtml.java62 * Retrieves images for HTML &lt;img&gt; tags.
67 * &lt;img&gt; tag. The <code>source</code> argument is the
94 * Any &lt;img&gt; tags in the HTML will display as a generic
115 * Any &lt;img&gt; tags in the HTML will use the specified ImageGetter
300 out.append("<img src=\"");
512 } else if (tag.equalsIgnoreCase("img")) {
624 Attributes attributes, Html.ImageGetter img) {
628 if (img != null) {
629 d = img.getDrawable(src);
623 startImg(SpannableStringBuilder text, Attributes attributes, Html.ImageGetter img) argument
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp374 EGLImageKHR img = mEGLSlots[i].mEglImage; local
375 if (img != EGL_NO_IMAGE_KHR) {
376 eglDestroyImageKHR(mEglDisplay, img);
719 EGLImageKHR img = mEGLSlots[slotIndex].mEglImage; local
720 if (img != EGL_NO_IMAGE_KHR) {
721 ST_LOGV("destroying EGLImage dpy=%p img=%p", mEglDisplay, img);
722 eglDestroyImageKHR(mEglDisplay, img);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1106 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
1115 cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
/frameworks/av/media/libstagefright/
H A DACodec.cpp2208 uint32_t* img = NULL; local
2209 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
2216 *img = 0;
H A DOMXCodec.cpp1970 uint32_t* img = NULL; local
1971 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
1978 *img = 0;
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp681 uint8_t* img = NULL;
683 (void**)(&img)));
684 fillRGBA8Buffer(img, buf->getWidth(), buf->getHeight(), buf->getStride());
706 uint8_t* img = NULL;
707 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
708 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
751 uint8_t* img = NULL; local
752 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
753 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
811 uint8_t* img local
901 uint8_t* img = NULL; local
2144 uint8_t* img = NULL; local
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp2049 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
2055 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;

Completed in 346 milliseconds