From: "Xiang, Haihao" <haihao.xiang-at-intel.com@ffmpeg.org>
To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v1] avfilter/tonemap_vaapi: set va parameters filters and numbers
Date: Tue, 18 Jan 2022 09:40:17 +0000
Message-ID: <ad2413605d0f6dd6993396ab927bc4bf90a733c8.camel@intel.com> (raw)
In-Reply-To: <DM8P223MB0365A6FE27CEFB295F56EDFDBA529@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM>
On Wed, 2022-01-12 at 04:29 +0000, Soft Works wrote:
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Xiang,
> > Haihao
> > Sent: Wednesday, January 12, 2022 5:16 AM
> > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
> > Cc: Wang, Fei W <fei.w.wang@intel.com>
> > Subject: Re: [FFmpeg-devel] [PATCH v1] avfilter/tonemap_vaapi: set va
> > parameters filters and numbers
> >
> >
> > > -----Original Message-----
> > > From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Fei
> > > Wang
> > > Sent: Tuesday, June 30, 2020 09:19
> > > To: ffmpeg-devel@ffmpeg.org
> > > Cc: Wang, Fei W <fei.w.wang@intel.com>
> > > Subject: [FFmpeg-devel] [PATCH v1] avfilter/tonemap_vaapi: set va
> >
> > parameters
> > > filters and numbers
> > >
> > > This can fill VAProcPipelineParameterBuffer correctly and make the
> > > pipeline works.
> > >
> > > Signed-off-by: Fei Wang <fei.w.wang@intel.com>
> > > ---
> > > libavfilter/vf_tonemap_vaapi.c | 5 +++++
> > > 1 file changed, 5 insertions(+)
> > >
> > > diff --git a/libavfilter/vf_tonemap_vaapi.c
> >
> > b/libavfilter/vf_tonemap_vaapi.c
> > > index 2f41b90424..9f52590a49 100644
> > > --- a/libavfilter/vf_tonemap_vaapi.c
> > > +++ b/libavfilter/vf_tonemap_vaapi.c
> > > @@ -296,6 +296,11 @@ static int tonemap_vaapi_filter_frame(AVFilterLink
> > > *inlink, AVFrame *input_frame
> > > if (err < 0)
> > > goto fail;
> > >
> > > + if (vpp_ctx->nb_filter_buffers) {
> > > + 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;
> >
> > This fixed the broken tonemap_vaapi filter, I'll apply it if no objection.
>
> LGTM. I have a similar patch.
>
> sw
Applied, thx
-Haihao
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2022-01-18 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200630011841.23025-1-fei.w.wang@intel.com>
2022-01-12 4:16 ` Xiang, Haihao
2022-01-12 4:29 ` Soft Works
2022-01-18 9:40 ` Xiang, Haihao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad2413605d0f6dd6993396ab927bc4bf90a733c8.camel@intel.com \
--to=haihao.xiang-at-intel.com@ffmpeg.org \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git