Re: [FFmpeg-devel] [PATCH 6/6] hwcontext_vaapi: Add support for mapping to DRM objects

2017-10-09 Thread wm4
On Sun, 8 Oct 2017 17:13:24 +0100 Derek Buitenhuis wrote: > On 10/8/2017 5:11 PM, Mark Thompson wrote: > > This is just how hardware surfaces are stored in AVFrames - they have their > > own API-specific handles in the data[] pointers because that's the only > > place to put them. > > > > See

Re: [FFmpeg-devel] [PATCH 6/6] hwcontext_vaapi: Add support for mapping to DRM objects

2017-10-08 Thread Derek Buitenhuis
On 10/8/2017 5:11 PM, Mark Thompson wrote: > This is just how hardware surfaces are stored in AVFrames - they have their > own API-specific handles in the data[] pointers because that's the only place > to put them. > > See >

Re: [FFmpeg-devel] [PATCH 6/6] hwcontext_vaapi: Add support for mapping to DRM objects

2017-10-08 Thread Mark Thompson
On 08/10/17 17:03, Derek Buitenhuis wrote: > On 10/8/2017 4:11 PM, Mark Thompson wrote: >> Uses vaExportSurfaceHandle() from libva2. >> --- >> libavutil/hwcontext_vaapi.c | 106 >> +++- >> 1 file changed, 104 insertions(+), 2 deletions(-) > > [...] > >> +

Re: [FFmpeg-devel] [PATCH 6/6] hwcontext_vaapi: Add support for mapping to DRM objects

2017-10-08 Thread Derek Buitenhuis
On 10/8/2017 4:11 PM, Mark Thompson wrote: > Uses vaExportSurfaceHandle() from libva2. > --- > libavutil/hwcontext_vaapi.c | 106 > +++- > 1 file changed, 104 insertions(+), 2 deletions(-) [...] > +for (i = 0; i < drm_desc->nb_objects; i++) > +

[FFmpeg-devel] [PATCH 6/6] hwcontext_vaapi: Add support for mapping to DRM objects

2017-10-08 Thread Mark Thompson
Uses vaExportSurfaceHandle() from libva2. --- libavutil/hwcontext_vaapi.c | 106 +++- 1 file changed, 104 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index b2f2e376d8..3b4ca57d6f 100644 --- a/libavuti