[FFmpeg-devel] [PATCH v5 1/2] configure, lavu, lavc, lavfi: Remove libva 1.x support

Wang, Fei W fei.w.wang at intel.com
Wed Oct 9 04:00:49 EEST 2024


On Wed, 2024-06-12 at 02:55 +0000, Xiang, Haihao wrote:
> On Wo, 2024-06-05 at 21:13 +0100, Mark Thompson wrote:
> > libva 2.0 was released in 2017 and the 2.x versions are included in
> > all
> > supported distributions nowadays.  Various features no longer need
> > any
> > configure check after this change, including all codecs except AV1.
> > Note that the libva version is the API version plus one, so this is
> > removing support for VAAPI 0.x and requiring VAAPI 1.x.
> > ---
> > Now squashed.
> > 
> > 
> >  configure                      | 25 +++--------
> >  libavcodec/vaapi_decode.c      | 39 ++---------------
> >  libavcodec/vaapi_encode.c      | 78 ++++++------------------------
> > ----
> >  libavcodec/vaapi_encode.h      |  9 ----
> >  libavcodec/vaapi_encode_h264.c | 18 --------
> >  libavcodec/vaapi_encode_h265.c |  2 -
> >  libavfilter/vaapi_vpp.c        | 22 ++++------
> >  libavutil/hwcontext_vaapi.c    | 22 ----------
> >  8 files changed, 29 insertions(+), 186 deletions(-)
> > 
> > diff --git a/configure b/configure
> > index 6c5b8aab9a..06e6fa22f2 100755
> > --- a/configure
> > +++ b/configure
> > @@ -2630,7 +2630,6 @@ CONFIG_EXTRA="
> >      texturedsp
> >      texturedspenc
> >      tpeldsp
> > -    vaapi_1
> 
> There still are vaapi_1 in configure
> 
> configure:pad_vaapi_filter_deps="vaapi_1"
> configure:drawbox_vaapi_filter_deps="vaapi_1"
> 
> Thanks
> Haihao

Hi Mark,

Free to fix this? If not, I will help on this. VAAPI 1.0 released more
than 7 years ago, it's time to remove support for 0.x.

Thanks
Fei


> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list