Home | History | Annotate | Download | only in android

Lines Matching refs:abuf

177               ANativeWindowBuffer *abuf)
199 handle.handle = get_handle_name(abuf->handle);
201 LOGE("unable to import invalid buffer %p", abuf);
206 abuf->stride * util_format_get_blocksize(templ->format);
214 handle.handle = abuf->handle;
216 abuf->stride * util_format_get_blocksize(templ->format);
223 LOGE("failed to import buffer %p", abuf);
244 ANativeWindowBuffer *abuf)
250 /* how about abuf->usage? */
251 if (asurf->cache_key.width != abuf->width ||
252 asurf->cache_key.height != abuf->height ||
253 asurf->cache_key.format != abuf->format)
257 handle = (void *) get_handle_name(abuf->handle);
259 handle = (void *) abuf->handle;
262 LOGE("invalid buffer native buffer %p", abuf);
273 abuf, abuf->width, abuf->height, abuf->format, abuf->usage);
279 asurf->cache_key.width = abuf->width;
280 asurf->cache_key.height = abuf->height;
281 asurf->cache_key.format = abuf->format;
728 ANativeWindowBuffer *abuf;
735 abuf = nbuf->u.android;
737 if (!abuf || abuf->common.magic != ANDROID_NATIVE_BUFFER_MAGIC ||
738 abuf->common.version != sizeof(*abuf)) {
743 format = get_pipe_format(abuf->format);
752 templ.width0 = abuf->width;
753 templ.height0 = abuf->height;
757 return import_buffer(adpy, &templ, abuf);