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

Michael Niedermayer michael at niedermayer.cc
Thu Oct 12 01:42:28 EEST 2017


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'
...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20171012/e6df64a9/attachment.sig>


More information about the ffmpeg-devel mailing list