Home
last modified time | relevance | path

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

/haiku/src/add-ons/screen_savers/nebula/
H A DDraw.c22 void memshset(char* dstParam, int center_shade, int fixed_shade, int half_length) in memshset() argument
28 if (half_length == 0) in memshset()
33 dst -= half_length; // Left segment in memshset()
34 source += half_length; // Right segment in memshset()
37 offset = half_length; in memshset()
47 tmp = dst[half_length] + (center_shade >> 8); // Increment left pixel. in memshset()
50 dst[half_length] = 255; in memshset()
52 dst[half_length] = tmp; in memshset()
59 } while (--half_length != 0); in memshset()
H A DDraw.h12 void memshset(char* dstParam, int center_shade, int fixed_shade, int half_length);