From: "Xiang, Haihao" <haihao.xiang-at-intel.com@ffmpeg.org>
To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>,
"softworkz@hotmail.com" <softworkz@hotmail.com>
Subject: Re: [FFmpeg-devel] [PATCH 4/4] lavf/vf_vpp_qsv: scale_mode can be applied to color conversion
Date: Fri, 25 Nov 2022 01:39:55 +0000
Message-ID: <8db22f4f8d3303fcab9b141e5d90e978fef8327c.camel@intel.com> (raw)
In-Reply-To: <DM8P223MB0365EB26F91C2F3B7650986EBA0F9@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM>
On Thu, 2022-11-24 at 18:47 +0000, Soft Works wrote:
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> > Xiang, Haihao
> > Sent: Thursday, November 24, 2022 10:20 AM
> > To: ffmpeg-devel@ffmpeg.org
> > Cc: Haihao Xiang <haihao.xiang@intel.com>
> > Subject: [FFmpeg-devel] [PATCH 4/4] lavf/vf_vpp_qsv: scale_mode can
> > be applied to color conversion
> >
> > From: Haihao Xiang <haihao.xiang@intel.com>
> >
> > Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
> > ---
> > libavfilter/vf_vpp_qsv.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
> > index 4a053f9145..17f2989245 100644
> > --- a/libavfilter/vf_vpp_qsv.c
> > +++ b/libavfilter/vf_vpp_qsv.c
> > @@ -492,7 +492,7 @@ static int config_output(AVFilterLink *outlink)
> > }
> > }
> >
> > - if (inlink->w != outlink->w || inlink->h != outlink->h) {
> > + if (inlink->w != outlink->w || inlink->h != outlink->h ||
> > in_format != vpp->out_format) {
> > if (QSV_RUNTIME_VERSION_ATLEAST(mfx_version, 1, 19)) {
> > memset(&vpp->scale_conf, 0, sizeof(mfxExtVPPScaling));
> > vpp->scale_conf.Header.BufferId =
> > MFX_EXTBUFF_VPP_SCALING;
> > --
>
> LGTM. But maybe the warning below should be adjusted, as it would
> be confusing when it says scaling even though no scaling is
> configured.
>
Thanks, I'll update the comment.
-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".
next prev parent reply other threads:[~2022-11-25 1:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-24 9:19 [FFmpeg-devel] [PATCH 1/4] lavfi/qsvvpp: change the output frame's width and height Xiang, Haihao
2022-11-24 9:19 ` [FFmpeg-devel] [PATCH 2/4] lavfi/qsvvpp: avoid overriding the returned value Xiang, Haihao
2022-11-24 9:19 ` [FFmpeg-devel] [PATCH 3/4] lavfi/qsvvpp: provide a default framerate if needed Xiang, Haihao
2022-11-24 19:04 ` Soft Works
2022-11-24 9:19 ` [FFmpeg-devel] [PATCH 4/4] lavf/vf_vpp_qsv: scale_mode can be applied to color conversion Xiang, Haihao
2022-11-24 18:47 ` Soft Works
2022-11-25 1:39 ` Xiang, Haihao [this message]
2022-11-24 18:57 ` [FFmpeg-devel] [PATCH 1/4] lavfi/qsvvpp: change the output frame's width and height Soft Works
2022-11-25 1:52 ` Xiang, Haihao
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=8db22f4f8d3303fcab9b141e5d90e978fef8327c.camel@intel.com \
--to=haihao.xiang-at-intel.com@ffmpeg.org \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=softworkz@hotmail.com \
/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