]> granicus.if.org Git - libvpx/commitdiff
vp9-rtc: Reduce thresholds for skip golden
authorMarco Paniconi <marpan@google.com>
Fri, 1 Mar 2019 01:53:18 +0000 (17:53 -0800)
committerMarco Paniconi <marpan@google.com>
Fri, 1 Mar 2019 01:57:08 +0000 (17:57 -0800)
For nonrd-pickmode CBR mode: reduce the skip
golden ref thresholds, to reduce some psnr
regression in some clips, while still effectively
reducing flashing block artifact occurrence.

Change-Id: I468dcf5354411aeb54ac3ef56c6fb73267d93fde

vp9/encoder/vp9_pickmode.c

index f720590832ffb7291948d5de4ba94b0b010b0853..0de3c9a4ce8a2a2120742354b24f9bb82002a10e 100644 (file)
@@ -1699,7 +1699,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, TileDataEnc *tile_data,
   int svc_mv_row = 0;
   int no_scaling = 0;
   unsigned int thresh_svc_skip_golden = 500;
-  unsigned int thresh_skip_golden = (bsize >= BLOCK_32X32) ? 5000 : 1000;
+  unsigned int thresh_skip_golden = (bsize >= BLOCK_32X32) ? 2500 : 500;
   int scene_change_detected =
       cpi->rc.high_source_sad ||
       (cpi->use_svc && cpi->svc.high_source_sad_superframe);