Home
last modified time | relevance | path

Searched refs:dmabuf (Results 1 – 25 of 41) sorted by relevance

12

/third_party/weston/libweston/backend-drm/
Dfb.c230 drm_fb_get_from_dmabuf(struct linux_dmabuf_buffer *dmabuf, in drm_fb_get_from_dmabuf() argument
235 .width = dmabuf->attributes.width, in drm_fb_get_from_dmabuf()
236 .height = dmabuf->attributes.height, in drm_fb_get_from_dmabuf()
237 .format = dmabuf->attributes.format, in drm_fb_get_from_dmabuf()
238 .stride = dmabuf->attributes.stride[0], in drm_fb_get_from_dmabuf()
239 .fd = dmabuf->attributes.fd[0], in drm_fb_get_from_dmabuf()
243 .width = dmabuf->attributes.width, in drm_fb_get_from_dmabuf()
244 .height = dmabuf->attributes.height, in drm_fb_get_from_dmabuf()
245 .format = dmabuf->attributes.format, in drm_fb_get_from_dmabuf()
246 .num_fds = dmabuf->attributes.n_planes, in drm_fb_get_from_dmabuf()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglupload.c511 struct DmabufUpload *dmabuf = g_new0 (struct DmabufUpload, 1); in _dma_buf_upload_new() local
512 dmabuf->upload = upload; in _dma_buf_upload_new()
513 return dmabuf; in _dma_buf_upload_new()
520 struct DmabufUpload *dmabuf = impl; in _dma_buf_upload_transform_caps() local
569 GST_DEBUG_OBJECT (dmabuf->upload, "transformed %" GST_PTR_FORMAT " into %" in _dma_buf_upload_transform_caps()
611 struct DmabufUpload *dmabuf = impl; in _dma_buf_upload_accept() local
612 GstVideoInfo *in_info = &dmabuf->upload->priv->in_info; in _dma_buf_upload_accept()
613 GstVideoInfo *out_info = &dmabuf->out_info; in _dma_buf_upload_accept()
626 if (gst_gl_context_get_gl_platform (dmabuf->upload->context) != in _dma_buf_upload_accept()
630 if (!gst_gl_context_check_feature (dmabuf->upload->context, in _dma_buf_upload_accept()
[all …]
/third_party/weston/libweston/
Dweston-direct-display.c43 struct linux_dmabuf_buffer *dmabuf; in direct_display_enable() local
45 dmabuf = wl_resource_get_user_data(dmabuf_res); in direct_display_enable()
46 assert(dmabuf); in direct_display_enable()
47 dmabuf->direct_display = true; in direct_display_enable()
Dtde-render-part.cpp415 struct linux_dmabuf_buffer *dmabuf) in import_dmabuf() argument
581 struct linux_dmabuf_buffer *dmabuf = linux_dmabuf_buffer_get(buffer->resource); in tde_render_attach_hook() local
582 if (dmabuf == NULL) { in tde_render_attach_hook()
592 void *ptr = ps->tde->renderer->display_gralloc->Mmap(*dmabuf->attributes.buffer_handle); in tde_render_attach_hook()
615 buffer->width = dmabuf->attributes.width; in tde_render_attach_hook()
616 buffer->height = dmabuf->attributes.height; in tde_render_attach_hook()
618 ps->tde->image.width = dmabuf->attributes.width; in tde_render_attach_hook()
619 ps->tde->image.height = dmabuf->attributes.height; in tde_render_attach_hook()
620 ps->tde->image.stride[0] = dmabuf->attributes.stride[0]; in tde_render_attach_hook()
621 ps->tde->image.format = dmabuf->attributes.format; in tde_render_attach_hook()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dmeson.build18 ['/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml',
19 'linux-dmabuf-unstable-v1-protocol.c', 'linux-dmabuf-unstable-v1-client-protocol.h'],
DMakefile.am6 linux-dmabuf-unstable-v1-protocol.c \
7 linux-dmabuf-unstable-v1-client-protocol.h \
24 linux-dmabuf-unstable-v1-protocol.c \
Dwldisplay.c87 if (self->dmabuf) in gst_wl_display_finalize()
88 zwp_linux_dmabuf_v1_destroy (self->dmabuf); in gst_wl_display_finalize()
176 if (!display->dmabuf) in gst_wl_display_check_format_for_dmabuf()
231 self->dmabuf = in registry_handle_global()
233 zwp_linux_dmabuf_v1_add_listener (self->dmabuf, &dmabuf_listener, self); in registry_handle_global()
348 if (!self->dmabuf) { in gst_wl_display_new_existing()
DMakefile.in177 libgstwaylandsink_la-linux-dmabuf-unstable-v1-protocol.lo \
207 ./$(DEPDIR)/libgstwaylandsink_la-linux-dmabuf-unstable-v1-protocol.Plo \
767 linux-dmabuf-unstable-v1-protocol.c \
768 linux-dmabuf-unstable-v1-client-protocol.h \
785 linux-dmabuf-unstable-v1-protocol.c \
894 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgstwaylandsink_la-linux-dmabuf-unstable-v1-prot…
990 libgstwaylandsink_la-linux-dmabuf-unstable-v1-protocol.lo: linux-dmabuf-unstable-v1-protocol.c
991dmabuf-unstable-v1-protocol.lo -MD -MP -MF $(DEPDIR)/libgstwaylandsink_la-linux-dmabuf-unstable-v1…
992 …) $(DEPDIR)/libgstwaylandsink_la-linux-dmabuf-unstable-v1-protocol.Tpo $(DEPDIR)/libgstwaylandsink…
995 …waylandsink_la-linux-dmabuf-unstable-v1-protocol.lo `test -f 'linux-dmabuf-unstable-v1-protocol.c'…
[all …]
Dwldisplay.h62 struct zwp_linux_dmabuf_v1 *dmabuf; member
/third_party/weston/clients/
Dweston-info.c113 struct zwp_linux_dmabuf_v1 *dmabuf; member
423 struct linux_dmabuf_info *dmabuf = data; in print_linux_dmabuf_info() local
430 wl_list_for_each(modifier, &dmabuf->modifiers, link) { in print_linux_dmabuf_info()
1551 struct linux_dmabuf_info *dmabuf = data; in linux_dmabuf_handle_modifier() local
1554 wl_list_insert(&dmabuf->modifiers, &linux_dmabuf_modifier->link); in linux_dmabuf_handle_modifier()
1567 struct linux_dmabuf_info *dmabuf = data; in destroy_linux_dmabuf_info() local
1570 wl_list_for_each_safe(modifier, tmp, &dmabuf->modifiers, link) { in destroy_linux_dmabuf_info()
1575 zwp_linux_dmabuf_v1_destroy(dmabuf->dmabuf); in destroy_linux_dmabuf_info()
1581 struct linux_dmabuf_info *dmabuf = xzalloc(sizeof *dmabuf); in add_linux_dmabuf_info() local
1583 init_global_info(info, &dmabuf->global, id, "zwp_linux_dmabuf_v1", version); in add_linux_dmabuf_info()
[all …]
Dmeson.build54 'name': 'dmabuf-egl',
56 'simple-dmabuf-egl.c',
77 'name': 'dmabuf-v4l',
79 'simple-dmabuf-v4l.c',
Dsimple-dmabuf-v4l.c111 struct zwp_linux_dmabuf_v1 *dmabuf; member
391 params = zwp_linux_dmabuf_v1_create_params(display->dmabuf); in create_dmabuf_buffer()
854 d->dmabuf = wl_registry_bind(registry, in registry_handle_global()
856 zwp_linux_dmabuf_v1_add_listener(d->dmabuf, &dmabuf_listener, in registry_handle_global()
894 if (display->dmabuf == NULL) { in create_display()
915 if (display->dmabuf) in destroy_display()
916 zwp_linux_dmabuf_v1_destroy(display->dmabuf); in destroy_display()
Dsimple-dmabuf-egl.c81 struct zwp_linux_dmabuf_v1 *dmabuf; member
404 params = zwp_linux_dmabuf_v1_create_params(display->dmabuf); in create_dmabuf_buffer()
1058 d->dmabuf = wl_registry_bind(registry, in registry_handle_global()
1060 zwp_linux_dmabuf_v1_add_listener(d->dmabuf, &dmabuf_listener, d); in registry_handle_global()
1099 if (display->dmabuf) in destroy_display()
1100 zwp_linux_dmabuf_v1_destroy(display->dmabuf); in destroy_display()
1382 if (display->dmabuf == NULL) { in create_display()
Dsimple-dmabuf-egl-hos.c82 struct zwp_linux_dmabuf_v1 *dmabuf; member
405 params = zwp_linux_dmabuf_v1_create_params(display->dmabuf); in create_dmabuf_buffer()
1113 d->dmabuf = wl_registry_bind(registry, in registry_handle_global()
1115 zwp_linux_dmabuf_v1_add_listener(d->dmabuf, &dmabuf_listener, d); in registry_handle_global()
1154 if (display->dmabuf) in destroy_display()
1155 zwp_linux_dmabuf_v1_destroy(display->dmabuf); in destroy_display()
1434 if (display->dmabuf == NULL) { in create_display()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkbufferpool.c81 gboolean video, dmabuf; in _msdk_get_memory_type() local
85 dmabuf = gst_buffer_pool_config_has_option (config, in _msdk_get_memory_type()
88 if (video && !dmabuf) in _msdk_get_memory_type()
90 if (video && dmabuf) in _msdk_get_memory_type()
92 if (!video && dmabuf) in _msdk_get_memory_type()
/third_party/wayland-protocols_standard/
DBUILD.gn5 sources = [ "unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" ]
DMakefile.am6 unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml \
/third_party/weston/libweston/backend-hdi/
Dhdi_renderer.cpp164 struct linux_dmabuf_buffer *dmabuf = linux_dmabuf_buffer_get(buffer->resource); in hdi_renderer_surface_state_mmap() local
165 if (dmabuf == NULL) { in hdi_renderer_surface_state_mmap()
169 BufferHandle *bh = dmabuf->attributes.buffer_handle; in hdi_renderer_surface_state_mmap()
193 struct linux_dmabuf_buffer *dmabuf = linux_dmabuf_buffer_get(buffer->resource); in hdi_renderer_surface_state_unmap() local
194 if (dmabuf == NULL) { in hdi_renderer_surface_state_unmap()
198 BufferHandle *bh = dmabuf->attributes.buffer_handle; in hdi_renderer_surface_state_unmap()
267 struct linux_dmabuf_buffer *dmabuf = linux_dmabuf_buffer_get(buffer->resource); in hdi_renderer_attach() local
268 if (dmabuf != NULL) { in hdi_renderer_attach()
272 buffer->width = dmabuf->attributes.width; in hdi_renderer_attach()
273 buffer->height = dmabuf->attributes.height; in hdi_renderer_attach()
Dhdi_output.cpp147 struct linux_dmabuf_buffer *dmabuf = linux_dmabuf_buffer_get(buffer->resource); in dump_to_file() local
148 if (dmabuf == nullptr) { in dump_to_file()
153 BufferHandle *bh = dmabuf->attributes.buffer_handle; in dump_to_file()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c136 struct linux_dmabuf_buffer *dmabuf; member
410 if (image->dmabuf) in dmabuf_image_destroy()
411 linux_dmabuf_buffer_set_user_data(image->dmabuf, NULL, NULL); in dmabuf_image_destroy()
1953 gl_renderer_destroy_dmabuf(struct linux_dmabuf_buffer *dmabuf) in gl_renderer_destroy_dmabuf() argument
1955 struct dmabuf_image *image = linux_dmabuf_buffer_get_user_data(dmabuf); in gl_renderer_destroy_dmabuf()
2202 struct dmabuf_attributes *attributes = &image->dmabuf->attributes; in import_yuv_dmabuf()
2349 struct linux_dmabuf_buffer *dmabuf) in import_dmabuf() argument
2355 image->dmabuf = dmabuf; in import_dmabuf()
2357 egl_image = import_simple_dmabuf(gr, &dmabuf->attributes); in import_dmabuf()
2362 image->target = choose_texture_target(gr, &dmabuf->attributes); in import_dmabuf()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgldownloadelement.c231 GstMemory *dmabuf; member
239 gst_memory_unref (info->dmabuf); in _free_dmabuf_info()
294 info->dmabuf = in _create_cached_dmabuf_info()
351 total_offset += gst_memory_get_sizes (info->dmabuf, NULL, NULL); in _try_export_dmabuf()
352 gst_buffer_insert_memory (buffer, -1, gst_memory_ref (info->dmabuf)); in _try_export_dmabuf()
/third_party/weston/
DBUILD.gn156 "libweston/linux-dmabuf.c",
390 # Build simple-dmabuf-egl-hos {{{
391 ohos_executable("simple-dmabuf-egl-hos") {
400 sources = [ "clients/simple-dmabuf-egl-hos.c" ]
417 # Build simple-dmabuf-egl-hos }}}
Dmeson_options.txt189 choices: [ 'all', 'damage', 'im', 'egl', 'shm', 'touch', 'dmabuf-v4l', 'dmabuf-egl' ],
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgsteglimage.h87 gint dmabuf,
/third_party/weston/protocol/
Dmeson.build21 [ 'linux-dmabuf', 'v1' ],

12