| commit | a1f15814be0eb9921a6b5bb102354df7eeb936b2 | [log] [tgz] |
|---|---|---|
| author | John Koleszar <jkoleszar@google.com> | Tue Nov 27 11:16:15 2012 -0800 |
| committer | John Koleszar <jkoleszar@google.com> | Tue Nov 27 16:38:31 2012 -0800 |
| tree | e854df01ab8110d6bf52370fae3caa9444386d1f | |
| parent | 1760c39bcee3a6fc8e5998619bc7970755b528f6 [diff] |
Clamp decoded feature data Not all segment feature data elements are full-range powers of two, so there are values that can be encoded that are invalid. Add a new function to clamp values to the maximum allowed. Change-Id: Ie47cb80ef2d54292e6b8db9f699c57214a915bc4