Skip to content
Snippets Groups Projects
Commit af5419f9 authored by Yuuki Galaxy's avatar Yuuki Galaxy Committed by Michael Niedermayer
Browse files

libavfilter/vf_owdenoise.c: skip processing when strength is 0


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: default avatarYuuki Galaxy <galaxy001@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent ac07e57c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment