[FFmpeg-devel] lavfi: add ProcAmp(color balance) vaapi video filter

Jun Zhao mypopydev at gmail.com
Thu Oct 12 03:36:16 EEST 2017



On 2017/10/12 6:42, Michael Niedermayer wrote:
> On Wed, Oct 11, 2017 at 02:58:22PM +0800, Jun Zhao wrote:
>>  Makefile           |    1 
>>  allfilters.c       |    1 
>>  vf_procamp_vaapi.c |  543 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 545 insertions(+)
>> 4664c5a9c7bc6e6fb86b920c6dcf1cae02d8a92f  0001-lavfi-add-ProcAmp-color-balance-vaapi-video-filter.patch
>> From 2c16e1170cb51a1b76dbb758d9b22d734878257b Mon Sep 17 00:00:00 2001
>> From: Jun Zhao <jun.zhao at intel.com>
>> Date: Tue, 10 Oct 2017 03:25:33 -0400
>> Subject: [PATCH] lavfi: add ProcAmp(color balance) vaapi video filter.
>>
>> add ProcAmp(color balance) vaapi video filter, use the option
>> like -vf "procamp_vaapi=b=10:h=120:c=2.8:s=3.7" to set
>> brightness/hue/contrast/saturation.
>>
>> Signed-off-by: Yun Zhou <yunx.z.zhou at intel.com>
>> Signed-off-by: Jun Zhao <jun.zhao at intel.com>
>> ---
>>  libavfilter/Makefile           |   1 +
>>  libavfilter/allfilters.c       |   1 +
>>  libavfilter/vf_procamp_vaapi.c | 543 +++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 545 insertions(+)
>>  create mode 100644 libavfilter/vf_procamp_vaapi.c
> this breaks build on x86-32 linux here
> libavfilter/libavfilter.a(vf_procamp_vaapi.o): In function `procamp_vaapi_filter_frame':
> linux32/src/libavfilter/vf_procamp_vaapi.c:397: undefined reference to `vaBeginPicture'
> linux32/src/libavfilter/vf_procamp_vaapi.c:406: undefined reference to `vaCreateBuffer'
> linux32/src/libavfilter/vf_procamp_vaapi.c:410: undefined reference to `vaErrorStr'
> linux32/src/libavfilter/vf_procamp_vaapi.c:457: undefined reference to `vaRenderPicture'
> linux32/src/libavfilter/vf_procamp_vaapi.c:459: undefined reference to `vaEndPicture'
> linux32/src/libavfilter/vf_procamp_vaapi.c:400: undefined reference to `vaErrorStr'
> linux32/src/libavfilter/vf_procamp_vaapi.c:418: undefined reference to `vaRenderPicture'
> linux32/src/libavfilter/vf_procamp_vaapi.c:427: undefined reference to `vaEndPicture'
> linux32/src/libavfilter/vf_procamp_vaapi.c:421: undefined reference to `vaErrorStr'
> linux32/src/libavfilter/vf_procamp_vaapi.c:429: undefined reference to `vaErrorStr'
> linux32/src/libavfilter/vf_procamp_vaapi.c:437: undefined reference to `vaDestroyBuffer'
> linux32/src/libavfilter/vf_procamp_vaapi.c:439: undefined reference to `vaErrorStr'
> ...
>
> [...]
I think I miss the other part for configure file, will fix the build fail.
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list