No need to process through the frame encoding stage when a current
frame is coded using show_existing_frame.
Change-Id: I36c6f04e344326fa6ecc95cd0a4e4fd6f467fdcb
? 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.
int qrange_adj = 1;
#endif
+ if (cm->show_existing_frame) return;
+
set_size_independent_vars(cpi);
enable_acl = cpi->sf.allow_acl