summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_aq_cyclicrefresh.h
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2015-12-21 10:35:05 -0800
committerMarco <marpan@google.com>2015-12-22 10:23:44 -0800
commitb121a3e7b8be493c1fa91a740300e1880339fb93 (patch)
treeb1663886e896b4cd31d7ac5097ac1c6b44961b01 /vp9/encoder/vp9_aq_cyclicrefresh.h
parent52e7f4153bbd06ec4fd0942c554544c7ede5911e (diff)
downloadlibvpx-b121a3e7b8be493c1fa91a740300e1880339fb93.tar
libvpx-b121a3e7b8be493c1fa91a740300e1880339fb93.tar.gz
libvpx-b121a3e7b8be493c1fa91a740300e1880339fb93.tar.bz2
libvpx-b121a3e7b8be493c1fa91a740300e1880339fb93.zip
aq-mode=3: Don't reset segment if block is determined to be skin.
For coding block sizes <=16X16, if the block is determined to be skin, then always allow for that block to be candidate for refresh. So if that block happens to be on the boost segment(s), segment won't get reset to 0 and delta-q will be applied. PSNR/SSIM metrics neutral (little/no change) on RTC clips. Speed increase small/negligible (< 1%). Some visual improvement on faces in a few RTC clips. Change-Id: I6bf0fce6f39d820b491ce05d7c017ad168fce7d6
Diffstat (limited to 'vp9/encoder/vp9_aq_cyclicrefresh.h')
-rw-r--r--vp9/encoder/vp9_aq_cyclicrefresh.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.h b/vp9/encoder/vp9_aq_cyclicrefresh.h
index a5b38138b..edf0a973e 100644
--- a/vp9/encoder/vp9_aq_cyclicrefresh.h
+++ b/vp9/encoder/vp9_aq_cyclicrefresh.h
@@ -14,6 +14,8 @@
#include "vpx/vpx_integer.h"
#include "vp9/common/vp9_blockd.h"
+#include "vp9/encoder/vp9_block.h"
+#include "vp9/encoder/vp9_skin_detection.h"
#ifdef __cplusplus
extern "C" {
@@ -93,7 +95,8 @@ int vp9_cyclic_refresh_rc_bits_per_mb(const struct VP9_COMP *cpi, int i,
void vp9_cyclic_refresh_update_segment(struct VP9_COMP *const cpi,
MB_MODE_INFO *const mbmi,
int mi_row, int mi_col, BLOCK_SIZE bsize,
- int64_t rate, int64_t dist, int skip);
+ int64_t rate, int64_t dist, int skip,
+ struct macroblock_plane *const p);
void vp9_cyclic_refresh_update_sb_postencode(struct VP9_COMP *const cpi,
const MB_MODE_INFO *const mbmi,