Skip to content

Commit

Permalink
Swap masking order
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 committed Sep 5, 2024
1 parent d8ed444 commit 7288c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsaa/funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def based_aa(
aa = downscaler.scale(aa_x, func.work_clip.width, func.work_clip.height)
no_aa = downscaler.scale(ss_y.std.Transpose(), func.work_clip.width, func.work_clip.height)

aa_merge = func.work_clip.std.MaskedMerge(aa, lpmask)
aa_merge = norm_expr([func.work_clip, aa_merge, no_aa], "y z = x y ?")
aa_merge = norm_expr([func.work_clip, aa, no_aa], "y z = x y ?")
aa_merge = func.work_clip.std.MaskedMerge(aa_merge, lpmask)

return func.return_clip(aa_merge)

0 comments on commit 7288c7f

Please sign in to comment.