[FFmpeg-devel] [Patch]libavfilter/vf_owdenoise.c: skip processing when strength is 0

Michael Niedermayer michael at niedermayer.cc
Tue Apr 12 22:56:08 CEST 2016


On Tue, Apr 12, 2016 at 10:53:58PM +0800, Yuuki Galaxy wrote:
> It is practical to de-noise only on luma while keeping chroma unchanged.
> 
> However, libavfilter/vf_owdenoise.c always do the Wavelet transform/retransform on all 3 channels without check whether chroma_strength is 0.
> 
> Thus I make this patch. De-noise on Y only for yuv420 is now 1.5 times faster.
> 
> Signed-off-by: Yuuki Galaxy <galaxy001 at gmail.com>
> ---
>  libavfilter/vf_owdenoise.c | 26 +++++++++++++++++++-------
>  1 file changed, 19 insertions(+), 7 deletions(-)

tested, applied

thanks


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160412/e2104ba1/attachment.sig>


More information about the ffmpeg-devel mailing list