In IM7 enhance.c, ScaleQuantumToMap is generally (but not always: I would guess that exceptions have to do with values known to be in range ahead of time) used with ClampToQuantum (meaning that values are first clamped, then scaled), but never in IM6 enhance.c (no clamping ever precedes the scaling).
Just making sure that this is the way it's supposed to be.
ScaleQuantumToMap used with ClampToQuantum in IM7 not IM6
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada