Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-15 Thread Michael Niedermayer
On Tue, May 15, 2018 at 11:36:13AM +0200, Hendrik Leppkes wrote: > On Tue, May 15, 2018 at 11:31 AM, Mark Thompson wrote: > > > > I think that means there should be something gating this test (and any > > other hardware tests) - how about a configure option > >

Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-15 Thread Hendrik Leppkes
On Tue, May 15, 2018 at 11:31 AM, Mark Thompson wrote: > > I think that means there should be something gating this test (and any other > hardware tests) - how about a configure option --(en|dis)able-hw-tests, with > default value the same as autodetect? (I think that has the

Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-15 Thread Mark Thompson
On 15/05/18 03:16, Michael Niedermayer wrote: > On Mon, May 14, 2018 at 10:58:58PM +0100, Mark Thompson wrote: >> This uses any devices it can find on the host system - on a system with no >> hardware device support or in builds with no support included it will do >> nothing and pass. >> --- >>

Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-15 Thread Mark Thompson
On 15/05/18 03:16, Xiang, Haihao wrote: > On Mon, 2018-05-14 at 22:58 +0100, Mark Thompson wrote: >> This uses any devices it can find on the host system - on a system with no >> hardware device support or in builds with no support included it will do >> nothing and pass. >> --- >>

Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-14 Thread James Almer
On 5/14/2018 6:58 PM, Mark Thompson wrote: > This uses any devices it can find on the host system - on a system with no > hardware device support or in builds with no support included it will do > nothing and pass. > --- I'd rather not have a fate test try to run anything on my GPU. It's usually

Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-14 Thread Xiang, Haihao
On Mon, 2018-05-14 at 22:58 +0100, Mark Thompson wrote: > This uses any devices it can find on the host system - on a system with no > hardware device support or in builds with no support included it will do > nothing and pass. > --- > libavutil/Makefile | 1 + >

Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-14 Thread Michael Niedermayer
On Mon, May 14, 2018 at 10:58:58PM +0100, Mark Thompson wrote: > This uses any devices it can find on the host system - on a system with no > hardware device support or in builds with no support included it will do > nothing and pass. > --- > libavutil/Makefile | 1 + >

[FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation

2018-05-14 Thread Mark Thompson
This uses any devices it can find on the host system - on a system with no hardware device support or in builds with no support included it will do nothing and pass. --- libavutil/Makefile | 1 + libavutil/tests/hwdevice.c | 234 +