[FFmpeg-devel] [PATCH V2] examples/vaapi_dec_scaling: add a vaapi decoding/scaling sample
mypopy at gmail.com
mypopy at gmail.com
Fri Oct 12 08:26:50 EEST 2018
On Tue, Aug 28, 2018 at 10:12 AM mypopy at gmail.com <mypopy at gmail.com> wrote:
>
> On Tue, Aug 28, 2018 at 2:14 AM Mark Thompson <sw at jkqxz.net> wrote:
> >
> > On 23/08/18 14:08, Jun Zhao wrote:
> > > add a vaapi decoding/scaling sample.
> > >
> > > Signed-off-by: Jun Zhao <mypopydev at gmail.com>
> > > ---
> > > configure | 2 +
> > > doc/examples/Makefile | 1 +
> > > doc/examples/vaapi_dec_scaling.c | 377 ++++++++++++++++++++++++++++++++++++++
> > > 3 files changed, 380 insertions(+), 0 deletions(-)
> > > create mode 100644 doc/examples/vaapi_dec_scaling.c
> >
> > Looking at this, it seems like it copies a lot of code from hw_decode.c and filtering_video.c and combines it in a reasonably straightforward (?) way, but doesn't really any anything on top of that. I'm not convinced that adding an extra example like this for a specific combination of things already covered is necessarily helpful, though I could certainly be convinced if you have some reason for it.
> >
> > So, would you care to argue for why this example in particular is useful?
> >
> > Thanks,
> >
> > - Mark
> > _______________________________________________
> >
> Hi, Mark:
>
> 1. Because we want to build a pipe for Media Analytic with HWaccel
> decoder + scaling/csc(color space conversion) + clDNN
> (https://github.com/intel/clDNN) or OpenVINO
> (https://software.intel.com/en-us/openvino-toolkit) based on GPU with
> FFmpeg (with buffer sharing), and If we consider the whole pipeline of
> the media analytic as described above, we need to use the HW media
> decoder/scaling/color space conversion and inference engine (clDNN or
> OpenVINO)
> 2. The other thing is we don't have an example to demo how to enable
> HWaccel in AVFilter in API level (we have hw_decode for HWAccel
> decoding, vaapi_encode for HWAccel encoding, vaapi_transcode for
> HWaccel transcoding, but miss a HWAccel AVFilter example)
Any other comments? Mark
More information about the ffmpeg-devel
mailing list