vp9-svc: Fix to some frame metrics for real-time mode.
authorMarco Paniconi <marpan@google.com>
Thu, 31 May 2018 16:59:15 +0000 (09:59 -0700)
committerMarco Paniconi <marpan@google.com>
Thu, 31 May 2018 18:34:51 +0000 (11:34 -0700)
commitbfe85191dda47ce90f655864bf848c71ff6eed22
treebac9b976ec5ce3d94c408f1b0616da8d6cd7ee32
parent4caabd362d8811e14ba23d903c4ad60df730c6db
vp9-svc: Fix to some frame metrics for real-time mode.

Add condition of LAST frame to the consec_zeromv and
avg_frame_low_motion metrics. This is needed for SVC as
the golden reference is a spatial reference and should
not be included in the metric computation.

Small/negligible change in metrics on RTC set.

Change-Id: I6ea16298fae566bb288c34cf50d120b509146eee
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_ratectrl.c