ref: 503cbe35ed4ecae404410432dc21c4fef1392790
parent: 0b5acf0f66045c6f0ad1519e6a80d792b46cc06e
parent: 3b0d06b5992b0a2be6aae195ad45064332759ff2
author: Jingning Han <[email protected]>
date: Tue Aug 21 19:43:37 EDT 2018
Merge "Skip frame encoding when show_existing_frame is on"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3816,6 +3816,8 @@
? cpi->svc.downsample_filter_phase[cpi->svc.spatial_layer_id]
: 0;
+ if (cm->show_existing_frame) return 1;
+
// Flag to check if its valid to compute the source sad (used for
// scene detection and for superblock content state in CBR mode).
// The flag may get reset below based on SVC or resizing state.
@@ -4092,6 +4094,8 @@
#ifdef AGGRESSIVE_VBR
int qrange_adj = 1;
#endif
+
+ if (cm->show_existing_frame) return;
set_size_independent_vars(cpi);