]> granicus.if.org Git - handbrake/commit
libhb: Output result of nlmeans prefilter when passthru enabled.
authorChris Darroch <chrisd@apache.org>
Sat, 30 Dec 2017 08:12:57 +0000 (00:12 -0800)
committerBradley Sepos <bradley@bradleysepos.com>
Sat, 30 Dec 2017 11:26:16 +0000 (06:26 -0500)
commit0067b00e9cd251c776ec3d0b02f4e95ef0382601
tree83e0ff354e0e4496563322a6daf1879a6dd0d892
parent7a9f97278418e3ed59c23a8d291e9c98b8e5c0b0
libhb: Output result of nlmeans prefilter when passthru enabled.

When the prefilter passthru flag is enabled, write the nlmeans prefilter
result into the "main" memory buffer (mem) instead of the prefilter one
(mem_pre) so that the prefilter result will be output as if it was the
result of the nlmeans filter itself.

Otherwise, when the passthru flag is enabled, the prefilter result is
lost and the filter effectively just outputs its source input without
any changes.
libhb/nlmeans.c