Fix segmentation updates with vp8_set_roimap()
authorPaul Wilkins <paulwilkins@google.com>
Thu, 14 Jun 2012 15:26:07 +0000 (16:26 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Wed, 20 Jun 2012 11:49:29 +0000 (12:49 +0100)
commit7c32cb52b583f3634af7cb8fd79cf0385f09a901
tree544a5a820e2976e3b5eb4dadc99d0d418ac9966d
parentb178fe7bfb96379d6dda6351b5739378d5c9f4d2
Fix segmentation updates with vp8_set_roimap()

Changes relating to Issue 411

Removed code that was clearing down the segmentation data each
frame.

Added range/parameter checking in vp8_set_roimap(); Return error
if called when cyclic_refresh is enabled.

Correct setup_features() so that it sets or clears the segment update
flags as appropriate.

Change-Id: Ib31ac53006640ddf1ba7b9ec8f8b952e3eff860a
vp8/encoder/encodeframe.c
vp8/encoder/onyx_if.c