[FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter
Sun, Xinpeng
xinpeng.sun at intel.com
Tue Dec 31 09:48:19 EET 2019
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Sun,
> Xinpeng
> Sent: Tuesday, December 24, 2019 6:18 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Zhou, Zachary <zachary.zhou at intel.com>
> Subject: Re: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter
>
>
> > -----Original Message-----
> > From: Sun, Xinpeng <xinpeng.sun at intel.com>
> > Sent: Friday, December 20, 2019 10:56 AM
> > To: ffmpeg-devel at ffmpeg.org
> > Cc: Sun, Xinpeng <xinpeng.sun at intel.com>; Zhou, Zachary
> > <zachary.zhou at intel.com>
> > Subject: [PATCH v1] avfilter: add overlay vaapi filter
> >
> > Overlay one video on the top of another.
> >
> > It takes two inputs and has one output. The first input is the "main"
> > video on which the second input is overlaid. This filter requires same
> > memory layout for all the inputs.
> >
> > An example command to use this filter to overlay an image LOGO at the
> > top-left corner of the INPUT video and both inputs are yuv420p format:
> > FFMPEG -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -
> > hwaccel_output_format vaapi \ -i INPUT -i LOGO -filter_complex \
> > "[0:v]hwupload[a], [1:v]format=yuv420p, hwupload[b],
> > [a][b]overlay_vaapi, hwdownload" \ OUTPUT
> >
> > Signed-off-by: Xinpeng Sun <xinpeng.sun at intel.com>
> > Signed-off-by: Zachary Zhou <zachary.zhou at intel.com>
> > ---
> > configure | 3 +
> > doc/filters.texi | 51 ++++
> > libavfilter/Makefile | 1 +
> > libavfilter/allfilters.c | 1 +
> > libavfilter/vf_overlay_vaapi.c | 432
> > +++++++++++++++++++++++++++++++++
> > 5 files changed, 488 insertions(+)
> > create mode 100644 libavfilter/vf_overlay_vaapi.c
> >
> Ping for review.
>
> Thanks,
> Xinpeng
>
> [...]
Ping.
Thanks,
Xinpeng
More information about the ffmpeg-devel
mailing list