On Tue, Mar 15, 2016 at 11:00:39PM +0000, Mark Thompson wrote:
> --- a/configure
> +++ b/configure
> @@ -1874,6 +1875,7 @@ nvenc_deps_any="dlopen LoadLibrary"
>  nvenc_extralibs='$ldl'
>  qsvdec_select="qsv"
>  qsvenc_select="qsv"
> +vaapi_encode_deps="vaapi"
>  vc1dsp_select="h264chroma qpeldsp startcode"

A better place for this would be right next to the vaapi decoding entry.

> --- a/libavcodec/Makefile
> +++ b/libavcodec/Makefile
> @@ -105,6 +105,7 @@ OBJS-$(CONFIG_STARTCODE)               += startcode.o
>  OBJS-$(CONFIG_TEXTUREDSP)              += texturedsp.o
>  OBJS-$(CONFIG_TEXTUREDSPENC)           += texturedspenc.o
>  OBJS-$(CONFIG_TPELDSP)                 += tpeldsp.o
> +OBJS-$(CONFIG_VAAPI_ENCODE)            += vaapi_encode.o
>  OBJS-$(CONFIG_VC1DSP)                  += vc1dsp.o
>  OBJS-$(CONFIG_VIDEODSP)                += videodsp.o
>  OBJS-$(CONFIG_VP3DSP)                  += vp3dsp.o

same

> --- /dev/null
> +++ b/libavcodec/vaapi_encode.h
> @@ -0,0 +1,203 @@
> +
> +#include <va/va.h>
> +
> +#include "libavutil/hwcontext.h"
> +#include "libavutil/hwcontext_vaapi.h"
> +
> +#include "avcodec.h"
> +#include "put_bits.h"

The last two headers seem unused, but you need at least stdint.h and
frame.h.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to