Re: [libav-devel] [PATCH] [RFC] hwcontext API for native surface type <-> AV_PIX_FMT_ conversion

2017-05-08 Thread Luca Barbato
On 5/8/17 8:44 AM, wm4 wrote: > This is mostly for convenience, so that API users (including possibly > libavcodec) don't have to duplicate native format mapping tables. > > Not sure if these should really have a device_ctx as argument. hw_format > is probably enough, but I wasn't sure whether

[libav-devel] [PATCH] [RFC] hwcontext API for native surface type <-> AV_PIX_FMT_ conversion

2017-05-08 Thread wm4
This is mostly for convenience, so that API users (including possibly libavcodec) don't have to duplicate native format mapping tables. Not sure if these should really have a device_ctx as argument. hw_format is probably enough, but I wasn't sure whether future implementations might possibly