On Sun, Jul 31, 2016 at 11:22:46PM +0100, Mark Thompson wrote:
> 
> --- /dev/null
> +++ b/libavcodec/vaapi_decode.h
> @@ -0,0 +1,95 @@
> +
> +#ifndef AVCODEC_VAAPI_DECODE_H
> +#define AVCODEC_VAAPI_DECODE_H
> +
> +#include <va/va.h>
> +
> +#include "libavutil/hwcontext.h"
> +#include "libavutil/hwcontext_vaapi.h"
> +
> +#include "avcodec.h"

You are missing frame.h and version.h.

> +typedef struct VAAPIDecodePicture {
> +    VASurfaceID  output_surface;
> +
> +    int       nb_param_buffers;
> +    VABufferID   param_buffers[MAX_PARAM_BUFFERS];
> +
> +    int       nb_slices;
> +    VAAPIDecodeSlice *slices;
> +    int          slices_allocated;
> +} VAAPIDecodePicture;

nit: Vertical alignment seems a bit random here.

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

Reply via email to