Re: [FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m_dec: export v4l2 buffer dma-buf

2022-03-24 Thread Dave Stevenson
Hi Ming Thanks for working on V4L2 M2M - it's nice to see people using it. On Thu, 24 Mar 2022 at 06:13, Ming Qian wrote: > > if the v4l2 buffer is supported to export dma-buf, > then we can report it to AV_PIX_FMT_DRM_PRIME, > so the caller can pass it to other hardware device, > such as displa

[FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m_dec: export v4l2 buffer dma-buf

2022-03-23 Thread Ming Qian
if the v4l2 buffer is supported to export dma-buf, then we can report it to AV_PIX_FMT_DRM_PRIME, so the caller can pass it to other hardware device, such as display it directly without copy frame data. Signed-off-by: Ming Qian --- libavcodec/v4l2_buffers.c | 115

[FFmpeg-devel] [PATCH v2] avcodec/v4l2_m2m_dec: export v4l2 buffer dma-buf

2021-11-19 Thread Ming Qian
if the v4l2 buffer is supported to export dma-buf, then we can report it to AV_PIX_FMT_DRM_PRIME, so the caller can pass it to other hardware device, such as display it directly without copy frame data. Signed-off-by: Ming Qian --- libavcodec/v4l2_buffers.c | 115