[FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure check for tonemap_vaapi

Sun, Xinpeng xinpeng.sun at intel.com
Mon Jan 6 10:01:39 EET 2020


> -----Original Message-----
> From: Sun, Xinpeng <xinpeng.sun at intel.com>
> Sent: Monday, December 30, 2019 3:33 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Sun, Xinpeng <xinpeng.sun at intel.com>
> Subject: [PATCH v2 1/2] configure: Change the configure check for
> tonemap_vaapi
> 
> "VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2.4.1,
> which will lead to build failure for the filter tonemap_vaapi for libva 2.3.0 with
> current check. This patch is to fix this build error.
> 
> Signed-off-by: Xinpeng Sun <xinpeng.sun at intel.com>
> ---
>  configure | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index 43dc409fe6..01b4acd77e 100755
> --- a/configure
> +++ b/configure
> @@ -3579,7 +3579,7 @@ tinterlace_filter_deps="gpl"
>  tinterlace_merge_test_deps="tinterlace_filter"
>  tinterlace_pad_test_deps="tinterlace_filter"
>  tonemap_filter_deps="const_nan"
> -tonemap_vaapi_filter_deps="vaapi
> VAProcPipelineParameterBuffer_output_hdr_metadata"
> +tonemap_vaapi_filter_deps="vaapi
> VAProcFilterParameterBufferHDRToneMapping"
>  tonemap_opencl_filter_deps="opencl const_nan"
>  transpose_opencl_filter_deps="opencl"
>  transpose_vaapi_filter_deps="vaapi VAProcPipelineCaps_rotation_flags"
> @@ -6584,7 +6584,7 @@ if enabled vaapi; then
> 
>      check_type "va/va.h va/va_dec_hevc.h" "VAPictureParameterBufferHEVC"
>      check_struct "va/va.h" "VADecPictureParameterBufferVP9" bit_depth
> -    check_struct "va/va.h va/va_vpp.h" "VAProcPipelineParameterBuffer"
> output_hdr_metadata
> +    check_type   "va/va.h va/va_vpp.h"
> "VAProcFilterParameterBufferHDRToneMapping"
>      check_struct "va/va.h va/va_vpp.h" "VAProcPipelineCaps" rotation_flags
>      check_type "va/va.h va/va_enc_hevc.h"
> "VAEncPictureParameterBufferHEVC"
>      check_type "va/va.h va/va_enc_jpeg.h" "VAEncPictureParameterBufferJPEG"
> --
> 2.17.1

Ping.

Thanks,
Xinpeng




More information about the ffmpeg-devel mailing list