fd = gst_dmabuf_memory_get_fd (gst_buffer_peek_memory (inbuf,0));if(fd <0)returnFALSE;if(!plugin_update_sinkpad_info_from_buffer (plugin, inbuf))gotoerror_update_sinkpad_info; meta = gst_buffer_get_vaapi_video_meta (outbuf); g_return_val_if_fail (meta !=NULL, FALSE); surface ...
gst_vaapi_surface_proxy_unref (vaapi_params.proxy);if(ret != GST_FLOW_OK)gotoerror_create_buffer;/* if not dmabuf is negotiated set the vaapi video meta in the * proxy */if(!params) { meta = gst_buffer_get_vaapi_video_meta (out_frame->output_buffer);if(!meta)gotoerror_get_meta...
memory:DMABuf caps feature is also negotiated when the dmabuf-based buffer cannot be mapped onto user-space. - VA initialization was fixed when it is used in headless systems. - VA display sharing, through GstContext, among the pipeline, has been improved, adding the possibility to the...
My guess is has something to do with the memory type used for the buffer. I420 is only supported in SHM (share memory). All the other formats are using (DMABuf). gst_wayland_sink_get_caps:<sink> [00m display caps: video/x-raw, format=(string){ BGRA, BG...
I am trying to use waylandsink as a video overlay attached to my wayland surface with gst_video_overlay_set_window_handle() on an iMX8M EVK. The video fails to render when using NV12 format with the following gstreamer launch string unless I make the video surface big ...
req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; req.memory = V4L2_MEMORY_MMAP;if(ioctl(GST_IMX_FD_OBJECT_GET_FD(pool->fd_obj_v4l), VIDIOC_REQBUFS, &req) <0) { GST_ERROR_OBJECT(pool,"VIDIOC_REQBUFS failed: %s", g_strerror(errno));returnFALSE; ...
ipu_blitter->priv->fill_task.input.format = gst_imx_ipu_blitter_get_v4l_format(format);returnTRUE; } 开发者ID:FrankBau,项目名称:gstreamer-imx,代码行数:32,代码来源:blitter.c 示例2: gst_mpeg2dec_alloc_sized_buf ▲ staticGstFlowReturngst_mpeg2dec_alloc_sized_buf(GstMpeg2dec * mpeg2dec...
can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (allocator, USERPTR);break;caseV4L2_MEMORY_DMABUF: can_allocate = GST_V4L2_ALLOCATOR_CAN_ALLOCATE (allocator, DMABUF);break;default: can_allocate = FALSE;break; } GST_DEBUG_OBJECT (allocator,"allocated %u %s buffers out of %u requested", ...