[FFmpeg-devel] [PATCH 2/3] lavc/vaapi: Add support for remaining 10/12bit profiles

Philip Langdale philipl at overt.org
Tue Aug 16 22:55:38 EEST 2022


On Tue, 16 Aug 2022 12:52:52 -0700
Philip Langdale <philipl at overt.org> wrote:

> On Tue, 16 Aug 2022 19:29:24 +0200
> Michael Niedermayer <michael at niedermayer.cc> wrote:
> 
> > > > CC	libavutil/hwcontext_vaapi.o
> > > > libavutil/hwcontext_vaapi.c:103:9: error:
> > > > ‘VA_RT_FORMAT_YUV420_12’ undeclared here (not in a function);
> > > > did you mean ‘VA_RT_FORMAT_YUV420’? VA_RT_FORMAT_ ## rt, \ ^
> > > > libavutil/hwcontext_vaapi.c:137:5: note: in expansion of macro
> > > > ‘MAP’ MAP(P016, YUV420_12, P016, 0),
> > > >      ^~~
> > > > ffbuild/common.mak:81: recipe for target
> > > > 'libavutil/hwcontext_vaapi.o' failed make: ***
> > > > [libavutil/hwcontext_vaapi.o] Error 1
> > > >     
> > > 
> > > I guess there's probably a libva version dependency I need to
> > > guard for. What version do you have installed?    
> > 
> > ii  libva-dev:amd64
> >        2.1.0-3                                   amd64  
> 
> That's older than what I have, although I'd have thought it would be
> new enough. Regardless, I've included the appropriate #ifdef guard in
> the latest version of the patchset.
> 
> Thanks,

Ooops. I thought that said 2.10.0, not 2.1.0. 2.1.0 is ancient (2018)
but it turns out even 2.10.0 is too old. For the record it requires
2.13.0.

--phil


More information about the ffmpeg-devel mailing list