Skip to content
  • Cheng Chen's avatar
    JNT_COMP: clamp distance · 1ee07323
    Cheng Chen authored
    Let maximum distance be INT16_MAX - 1.
    
    To decide distance weights, use multiplication
    instead of a division.
    
    Google test shows +0.05% on lowres.
    
    Change-Id: I2be25aec3c921773b0d776cf5ae00e3cd4cc27cd
    1ee07323