[FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure
Michael Niedermayer
michael at niedermayer.cc
Tue Jan 19 01:18:07 CET 2016
On Mon, Jan 18, 2016 at 10:49:51PM +0000, Mark Thompson wrote:
>
> ---
> configure | 4 +
> libavutil/Makefile | 1 +
> libavutil/vaapi.c | 497 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> libavutil/vaapi.h | 123 +++++++++++++
> 4 files changed, 625 insertions(+)
> create mode 100644 libavutil/vaapi.c
> create mode 100644 libavutil/vaapi.h
breaks build
make distclean ; ./configure && make -j12
...
CC libavutil/time.o
CC libavutil/timecode.o
CC libavutil/tree.o
CC libavutil/twofish.o
CC libavutil/utils.o
CC libavutil/vaapi.o
CC libavutil/x86/cpu.o
In file included from libavutil/vaapi.c:23:0:
libavutil/vaapi.h:63:5: error: unknown type name ‘VASurfaceAttrib’
libavutil/vaapi.c: In function ‘vaapi_create_surfaces’:
libavutil/vaapi.c:59:28: warning: passing argument 5 of ‘vaCreateSurfaces’ makes integer from pointer without a cast [enabled by default]
/usr/include/va/va.h:432:10: note: expected ‘int’ but argument is of type ‘VASurfaceID *’
libavutil/vaapi.c:59:28: warning: passing argument 6 of ‘vaCreateSurfaces’ makes pointer from integer without a cast [enabled by default]
/usr/include/va/va.h:432:10: note: expected ‘VASurfaceID *’ but argument is of type ‘unsigned int’
libavutil/vaapi.c:59:28: error: too many arguments to function ‘vaCreateSurfaces’
/usr/include/va/va.h:432:10: note: declared here
libavutil/vaapi.c: In function ‘ff_vaapi_copy_to_surface’:
libavutil/vaapi.c:447:9: error: ‘VA_FOURCC_BGRX’ undeclared (first use in this function)
libavutil/vaapi.c:447:9: note: each undeclared identifier is reported only once for each function it appears in
make: *** [libavutil/vaapi.o] Error 1
make: *** Waiting for unfinished jobs....
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160119/fd203f5a/attachment.sig>
More information about the ffmpeg-devel
mailing list