Rebase and resend this patch. Fix some typo and indentation errors, and change some ambiguous statements in the document to make it more clear.
-Xinpeng > -----Original Message----- > From: Sun, Xinpeng <xinpeng....@intel.com> > Sent: Wednesday, February 26, 2020 1:54 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Sun, Xinpeng <xinpeng....@intel.com>; Zhou, Zachary > <zachary.z...@intel.com> > Subject: [PATCH v3] 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....@intel.com> > Signed-off-by: Zachary Zhou <zachary.z...@intel.com> > --- > configure | 3 + > doc/filters.texi | 51 ++++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_overlay_vaapi.c | 426 +++++++++++++++++++++++++++++++++ > 5 files changed, 482 insertions(+) > create mode 100644 libavfilter/vf_overlay_vaapi.c > [...] > -- > 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".