[FFmpeg-devel] [PATCH v1 3/3] lavfi/{denoise, procamp, scale, sharpness}_vaapi: Add passthrough mode
Wang, Fei W
fei.w.wang at intel.com
Wed Jun 14 05:59:05 EEST 2023
On Tue, 2023-06-13 at 16:17 +0000, Eoff, Ullysses A wrote:
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > Fei Wang
> > Sent: Monday, May 29, 2023 8:30 PM
> > To: ffmpeg-devel at ffmpeg.org
> > Subject: [FFmpeg-devel] [PATCH v1 3/3] lavfi/{denoise, procamp,
> > scale, sharpness}_vaapi: Add passthrough mode
> > @@ -188,11 +194,14 @@ static av_cold int
> > denoise_vaapi_init(AVFilterContext *avctx)
> > static av_cold int sharpness_vaapi_init(AVFilterContext *avctx)
> > {
> > VAAPIVPPContext *vpp_ctx = avctx->priv;
> > + SharpnessVAAPIContext *ctx = avctx->priv;
> >
> > ff_vaapi_vpp_ctx_init(avctx);
> > vpp_ctx->pipeline_uninit = ff_vaapi_vpp_pipeline_uninit;
> > vpp_ctx->build_filter_params =
> > sharpness_vaapi_build_filter_params;
> > vpp_ctx->output_format = AV_PIX_FMT_NONE;
> > + if (!ctx->sharpness)
> > + vpp_ctx->passthrough = 1;
>
> [UAE] It should be passthrough for the default
> value. SHARPNESS_DEFAULT = 44
Will fix in V2.
Thanks
Fei
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list