vp9-real-time mode: Fix condition for allowing reference masking.
Add frame-level condition for reference masking: under external or internal dynamic resize, allow for reference masking if none of the references have been scaled. Peviously, reference masking was turned off for the stream if dynamic resize feature was enabled or an external resize event occurred. reference_masking gives speed up with little/no loss in compression. For speed 7 on rtc set: encoding time decreases by about 5-7%, avgPSNR/SSIM goes down ~0.2%. Change-Id: Ie4444577451ef954414d8fb4b2c99d65cadf1746
Showing with 20 additions and 8 deletions