Home
last modified time | relevance | path

Searched refs:one_sixteenth (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/translators/gif/
H A DGIFSave.cpp34 const int32 one_sixteenth = (int32)((1.0 / 16.0) * 32768); variable
623 red_error[x + 1] = (red_total_error * one_sixteenth); in NextPixel()
624 green_error[x + 1] = (green_total_error * one_sixteenth); in NextPixel()
625 blue_error[x + 1] = (blue_total_error * one_sixteenth); in NextPixel()
666 red_error[x + 1] = (red_total_error * one_sixteenth); in NextPixel()
667 green_error[x + 1] = (green_total_error * one_sixteenth); in NextPixel()
668 blue_error[x + 1] = (blue_total_error * one_sixteenth); in NextPixel()