Marco f288c943c4 vp9-dynamic resize: Fix bug on releasing scaled reference.
When the codec frame size is the same as the reference frame size,
release the scaled reference before assigning it a new buf_idx.
Only affects 1 pass non-svc mode, where the scaled references are
release only under certain conditions (to prevent un-needed scaling
of the references every frame).

Modified a unittest that can trigger this bug without this change.

https://code.google.com/p/chromium/issues/detail?id=582598

Change-Id: I9a884e36ebd7608b1641ec2a469e20a4f829cf43
2016-02-09 11:10:28 -08:00
..
2014-07-01 18:22:30 -07:00
2015-12-14 14:42:12 -08:00
2015-08-11 17:05:28 -07:00
2015-08-11 17:05:28 -07:00
2015-01-06 11:12:44 -08:00
2015-09-01 17:05:05 -07:00
2015-12-17 17:43:46 -08:00
2015-04-28 20:00:59 -07:00
2016-01-28 14:36:19 -08:00
2016-01-28 14:36:19 -08:00
2016-01-28 14:36:19 -08:00
2016-01-28 12:53:41 -08:00
2015-09-02 18:44:28 -07:00
2015-09-25 18:18:27 -07:00