Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Rostislav Pehlivanov
On 22 April 2018 at 17:59, Rostislav Pehlivanov wrote: > > > On 22 April 2018 at 17:51, Mark Thompson wrote: > >> On 22/04/18 17:36, Mark Thompson wrote: >> > On 22/04/18 17:28, Rostislav Pehlivanov wrote: >> >> On 22 April 2018 at 17:21, Rostislav Pehlivanov >> wrote: >> >>> On 22 April 2018 a

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Rostislav Pehlivanov
On 22 April 2018 at 17:51, Mark Thompson wrote: > On 22/04/18 17:36, Mark Thompson wrote: > > On 22/04/18 17:28, Rostislav Pehlivanov wrote: > >> On 22 April 2018 at 17:21, Rostislav Pehlivanov > wrote: > >>> On 22 April 2018 at 12:46, Mark Thompson wrote: > On 21/04/18 23:29, Carl Eugen H

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Mark Thompson
On 22/04/18 17:36, Mark Thompson wrote: > On 22/04/18 17:28, Rostislav Pehlivanov wrote: >> On 22 April 2018 at 17:21, Rostislav Pehlivanov wrote: >>> On 22 April 2018 at 12:46, Mark Thompson wrote: On 21/04/18 23:29, Carl Eugen Hoyos wrote: > 2018-04-21 23:33 GMT+02:00, Rostislav Pehliv

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Mark Thompson
On 22/04/18 17:28, Rostislav Pehlivanov wrote: > On 22 April 2018 at 17:21, Rostislav Pehlivanov wrote: >> On 22 April 2018 at 12:46, Mark Thompson wrote: >>> On 21/04/18 23:29, Carl Eugen Hoyos wrote: 2018-04-21 23:33 GMT+02:00, Rostislav Pehlivanov : > On 21 April 2018 at 21:24, Carl E

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Rostislav Pehlivanov
On 22 April 2018 at 17:21, Rostislav Pehlivanov wrote: > > > On 22 April 2018 at 12:46, Mark Thompson wrote: > >> On 21/04/18 23:29, Carl Eugen Hoyos wrote: >> > 2018-04-21 23:33 GMT+02:00, Rostislav Pehlivanov : >> >> On 21 April 2018 at 21:24, Carl Eugen Hoyos >> wrote: >> >> >> >>> 2018-04-2

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Rostislav Pehlivanov
On 22 April 2018 at 12:46, Mark Thompson wrote: > On 21/04/18 23:29, Carl Eugen Hoyos wrote: > > 2018-04-21 23:33 GMT+02:00, Rostislav Pehlivanov : > >> On 21 April 2018 at 21:24, Carl Eugen Hoyos wrote: > >> > >>> 2018-04-20 6:30 GMT+02:00, Rostislav Pehlivanov : > >>> > +[AV_PIX_FMT_P

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-22 Thread Mark Thompson
On 21/04/18 23:29, Carl Eugen Hoyos wrote: > 2018-04-21 23:33 GMT+02:00, Rostislav Pehlivanov : >> On 21 April 2018 at 21:24, Carl Eugen Hoyos wrote: >> >>> 2018-04-20 6:30 GMT+02:00, Rostislav Pehlivanov : >>> +[AV_PIX_FMT_P010] = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PA

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-21 Thread Carl Eugen Hoyos
2018-04-21 23:33 GMT+02:00, Rostislav Pehlivanov : > On 21 April 2018 at 21:24, Carl Eugen Hoyos wrote: > >> 2018-04-20 6:30 GMT+02:00, Rostislav Pehlivanov : >> >> > +[AV_PIX_FMT_P010] = >> > VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, >> >> > +[AV_PIX_FMT_YUV420P10] = >> >

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-21 Thread Rostislav Pehlivanov
On 21 April 2018 at 21:24, Carl Eugen Hoyos wrote: > 2018-04-20 6:30 GMT+02:00, Rostislav Pehlivanov : > > > +[AV_PIX_FMT_P010] = > > VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, > > > +[AV_PIX_FMT_YUV420P10] = > > VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16, > > I d

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-21 Thread Carl Eugen Hoyos
2018-04-20 6:30 GMT+02:00, Rostislav Pehlivanov : > +[AV_PIX_FMT_P010] = > VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, > +[AV_PIX_FMT_YUV420P10] = > VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16, I don't think both can be correct (unless "PACK16" has no meaning). Ca

Re: [FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-20 Thread Rostislav Pehlivanov
On 20 April 2018 at 05:30, Rostislav Pehlivanov wrote: > This commit adds a Vulkan hwcontext, currently capable of mapping DRM and > VAAPI frames but additional functionality can be added later to support > importing of D3D11 surfaces as well as exporting to various other APIs. > > This context r

[FFmpeg-devel] [PATCH 3/8] lavu: add a Vulkan hwcontext

2018-04-19 Thread Rostislav Pehlivanov
This commit adds a Vulkan hwcontext, currently capable of mapping DRM and VAAPI frames but additional functionality can be added later to support importing of D3D11 surfaces as well as exporting to various other APIs. This context requires the newest stable version of the Vulkan API, and once the