Lines Matching refs:indx
42 int i, j, k, indx; in update_rgba8_image() local
48 indx = (k * img_slice + j * img_width + x) * 4; in update_rgba8_image()
49 for (i=x; i<x+w; i++,indx+=4) in update_rgba8_image()
51 p[indx+0] = (unsigned char)genrand_int32(mtData); in update_rgba8_image()
52 p[indx+1] = (unsigned char)genrand_int32(mtData); in update_rgba8_image()
53 p[indx+2] = (unsigned char)genrand_int32(mtData); in update_rgba8_image()
54 p[indx+3] = (unsigned char)genrand_int32(mtData); in update_rgba8_image()
114 int i, j, k, indx; in update_rgba16_image() local
120 indx = (k * img_slice + j * img_width + x) * 4; in update_rgba16_image()
121 for (i=x; i<x+w; i++,indx+=4) in update_rgba16_image()
123 p[indx+0] = (unsigned short)genrand_int32(mtData); in update_rgba16_image()
124 p[indx+1] = (unsigned short)genrand_int32(mtData); in update_rgba16_image()
125 p[indx+2] = (unsigned short)genrand_int32(mtData); in update_rgba16_image()
126 p[indx+3] = (unsigned short)genrand_int32(mtData); in update_rgba16_image()
164 int i, j, k, indx; in update_rgbafp_image() local
170 indx = (k * img_slice + j * img_width + x) * 4; in update_rgbafp_image()
171 for (i=x; i<x+w; i++,indx+=4) in update_rgbafp_image()
173 p[indx+0] = get_random_float(-0x40000000, 0x40000000, mtData); in update_rgbafp_image()
174 p[indx+1] = get_random_float(-0x40000000, 0x40000000, mtData); in update_rgbafp_image()
175 p[indx+2] = get_random_float(-0x40000000, 0x40000000, mtData); in update_rgbafp_image()
176 p[indx+3] = get_random_float(-0x40000000, 0x40000000, mtData); in update_rgbafp_image()