Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-07-02 Thread Michael Niedermayer
On Tue, Jun 30, 2015 at 08:20:21PM +0300, Ivan Uskov wrote: > Hello Michael, > > Thank you very much, there is fixed patch attached, please look. > > Tuesday, June 30, 2015, 7:21:53 PM, you wrote: > > MN> On Tue, Jun 30, 2015 at 06:28:08PM +0300, Ivan Uskov wrote: > >> Hello Michael, > >> > >>

Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread Michael Niedermayer
On Tue, Jun 30, 2015 at 10:51:00PM +0200, wm4 wrote: > On Tue, 30 Jun 2015 16:42:56 +0200 > Michael Niedermayer wrote: > > > > > +#ifdef AVCODEC_QSV_LINUX_SESSION_HANDLE > > > +#include > > > +#include > > > > > +#include > > > > needs HAVE_UNISTD_H check if its needed > > There are Linux

Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread wm4
On Tue, 30 Jun 2015 16:42:56 +0200 Michael Niedermayer wrote: > > +#ifdef AVCODEC_QSV_LINUX_SESSION_HANDLE > > +#include > > +#include > > > +#include > > needs HAVE_UNISTD_H check if its needed There are Linux systems without unistd.h? ___ ffmpe

Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread Ivan Uskov
Hello Michael, Thank you very much, there is fixed patch attached, please look. Tuesday, June 30, 2015, 7:21:53 PM, you wrote: MN> On Tue, Jun 30, 2015 at 06:28:08PM +0300, Ivan Uskov wrote: >> Hello Michael, >> >> I'm sorry, what exactly documentation should be added regarding this >> patch? A

Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread Michael Niedermayer
On Tue, Jun 30, 2015 at 06:28:08PM +0300, Ivan Uskov wrote: > Hello Michael, > > I'm sorry, what exactly documentation should be added regarding this > patch? As I can see there is no any standalone topic about QSV into > current /doc. Can modifications of Changelog be enough? your patch adds com

Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread Ivan Uskov
Hello Michael, I'm sorry, what exactly documentation should be added regarding this patch? As I can see there is no any standalone topic about QSV into current /doc. Can modifications of Changelog be enough? Tuesday, June 30, 2015, 5:42:56 PM, you wrote: MN> On Tue, Jun 30, 2015 at 05:24:54PM +0

Re: [FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread Michael Niedermayer
On Tue, Jun 30, 2015 at 05:24:54PM +0300, Ivan Uskov wrote: > Hello All, > > Unlike Windows, under linux a valid display handle should be specified > to open a QSV/MFX session. > The attached patch does find appropriate display handle and transfers > it to Intel's MFX library. > > > > > --

[FFmpeg-devel] Patch to enable QSV acceleration under linux platform

2015-06-30 Thread Ivan Uskov
Hello All, Unlike Windows, under linux a valid display handle should be specified to open a QSV/MFX session. The attached patch does find appropriate display handle and transfers it to Intel's MFX library. -- Best regards, Ivan mailto:ivan.us...@nablet.com 0001-Ad