> -----Original Message----- > From: Sun, Xinpeng <[email protected]> > Sent: Friday, January 17, 2020 11:57 AM > To: [email protected] > Cc: Sun, Xinpeng <[email protected]> > Subject: [PATCH] avfilter/tonemap_vaapi: pass filter parameters to VA > parameter buffer > > Signed-off-by: Xinpeng Sun <[email protected]> > --- > libavfilter/vf_tonemap_vaapi.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavfilter/vf_tonemap_vaapi.c b/libavfilter/vf_tonemap_vaapi.c > index 2f41b90424..540d656dca 100644 > --- a/libavfilter/vf_tonemap_vaapi.c > +++ b/libavfilter/vf_tonemap_vaapi.c > @@ -296,6 +296,9 @@ static int tonemap_vaapi_filter_frame(AVFilterLink > *inlink, AVFrame *input_frame > if (err < 0) > goto fail; > > + params.filters = &vpp_ctx->filter_buffers[0]; > + params.num_filters = vpp_ctx->nb_filter_buffers; > + > err = ff_vaapi_vpp_render_picture(avctx, ¶ms, output_frame); > if (err < 0) > goto fail; > -- > 2.17.1
Kindly Ping. Thx. _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
