Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_vaapi: Re-enable support for libva v1

2022-04-06 Thread Xiang, Haihao
On Thu, 2022-03-31 at 15:26 +, Xiang, Haihao wrote: > On Thu, 2022-03-31 at 14:58 +, Xiang, Haihao wrote: > > On Tue, 2022-03-29 at 14:37 +, Xiang, Haihao wrote: > > > On Fri, 2022-03-11 at 13:24 +0100, Ingo Brückl wrote: > > > > Commit e050959103f375e6494937fa28ef2c4d2d15c9ef implement

Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_vaapi: Re-enable support for libva v1

2022-03-31 Thread Xiang, Haihao
On Thu, 2022-03-31 at 14:58 +, Xiang, Haihao wrote: > On Tue, 2022-03-29 at 14:37 +, Xiang, Haihao wrote: > > On Fri, 2022-03-11 at 13:24 +0100, Ingo Brückl wrote: > > > Commit e050959103f375e6494937fa28ef2c4d2d15c9ef implemented passing in > > > modifiers by using the PRIME_2 memory type,

Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_vaapi: Re-enable support for libva v1

2022-03-31 Thread Xiang, Haihao
On Tue, 2022-03-29 at 14:37 +, Xiang, Haihao wrote: > On Fri, 2022-03-11 at 13:24 +0100, Ingo Brückl wrote: > > Commit e050959103f375e6494937fa28ef2c4d2d15c9ef implemented passing in > > modifiers by using the PRIME_2 memory type, which only exists in v2 of > > the library. > > > > To still su

Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_vaapi: Re-enable support for libva v1

2022-03-29 Thread Xiang, Haihao
On Fri, 2022-03-11 at 13:24 +0100, Ingo Brückl wrote: > Commit e050959103f375e6494937fa28ef2c4d2d15c9ef implemented passing in > modifiers by using the PRIME_2 memory type, which only exists in v2 of > the library. > > To still support v1 of the library, conditionally compile using > VA_CHECK_VERS

[FFmpeg-devel] [PATCH] libavutil/hwcontext_vaapi: Re-enable support for libva v1

2022-03-11 Thread Ingo Brückl
Commit e050959103f375e6494937fa28ef2c4d2d15c9ef implemented passing in modifiers by using the PRIME_2 memory type, which only exists in v2 of the library. To still support v1 of the library, conditionally compile using VA_CHECK_VERSION() for both the new code and the old code before the commit. --