vp9: Fix denoising condition when pickmode partition is used.
authorMarco <marpan@google.com>
Sat, 29 Jul 2017 02:11:53 +0000 (19:11 -0700)
committerMarco <marpan@google.com>
Mon, 31 Jul 2017 06:16:38 +0000 (23:16 -0700)
commit999bd6ea84ca0249190dea97d5290fea5ed5c520
treefb8bf121f9cde889ffd117ec22d4bb5290e4a04e
parentfacb124941b0a88c7591d09fefe6a7736afea04a
vp9: Fix denoising condition when pickmode partition is used.

When the superblock partition is based on the nonrd-pickmode,
we need to avoid the denoising. Current condition was based on
the speed level. This change is to make the condition at the
superblock level, as the switch in partitioning may be done at
sb level based on source_sad (e.g., in speed 6).

Change-Id: I12ece4f60b93ed34ee65ff2d6cdce1213c36de04
vp9/encoder/vp9_block.h
vp9/encoder/vp9_context_tree.h
vp9/encoder/vp9_denoiser.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_pickmode.c