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

/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp38 uint8_t* img = reinterpret_cast<uint8_t*>(info.bits); local
41 uint8_t* pixel = img + (4 * (y*info.s + 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/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/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp781 uint8_t *img; local
784 rect, (void**)&img);
792 return img;
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp312 uint8_t* img = NULL; local
315 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
320 fillYV12Buffer(img, params.width, params.height, *stride);
323 fillBayerRawBuffer(img, params.width, params.height, buf->getStride());
H A DSurfaceTexture_test.cpp681 uint8_t* img = NULL;
683 (void**)(&img)));
684 fillRGBA8Buffer(img, buf->getWidth(), buf->getHeight(), buf->getStride());
707 uint8_t* img = NULL;
708 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
709 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
753 uint8_t* img = NULL;
754 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
755 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
813 uint8_t* img local
900 uint8_t* img = NULL; local
2219 uint8_t* img = NULL; local
[all...]
/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.cpp406 uint8_t* img = NULL; local
408 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
409 copyI420Buffer(buffer, img, width, height, buf->getStride());
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp974 uint8_t *img; local
977 rect, (void**)&img);
985 return img;
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp517 uint8_t* img = NULL; local
519 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
520 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.cpp379 EGLImageKHR img = mEglSlots[i].mEglImage; local
380 if (img != EGL_NO_IMAGE_KHR) {
381 eglDestroyImageKHR(mEglDisplay, img);
827 EGLImageKHR img = mEglSlots[slotIndex].mEglImage; local
828 if (img != EGL_NO_IMAGE_KHR) {
829 ST_LOGV("destroying EGLImage dpy=%p img=%p", mEglDisplay, img);
830 eglDestroyImageKHR(mEglDisplay, img);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1167 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
1176 cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
/frameworks/av/media/libstagefright/
H A DACodec.cpp2269 uint32_t* img = NULL; local
2270 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
2277 *img = 0;
H A DOMXCodec.cpp1992 uint32_t* img = NULL; local
1993 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
2000 *img = 0;
/frameworks/native/opengl/libagl/
H A Degl.cpp2059 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
2065 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;

Completed in 2826 milliseconds