Lines Matching refs:samples
159 Vec4<int> samples[4] = {0};
160 PointSample<format>((unsigned *)(samples + 0), data, y0 * width + x0);
161 ToIntVec(samples + 0);
162 PointSample<format>((unsigned *)(samples + 1), data, y0 * width + x1);
163 ToIntVec(samples + 1);
164 PointSample<format>((unsigned *)(samples + 2), data, y1 * width + x1);
165 ToIntVec(samples + 2);
166 PointSample<format>((unsigned *)(samples + 3), data, y1 * width + x0);
167 ToIntVec(samples + 3);
169 Lerp(samples + 0, samples + 1, xLerp, samples + 0);
170 Lerp(samples + 3, samples + 2, xLerp, samples + 3);
171 Lerp(samples + 0, samples + 3, yLerp, (Vec4<int> *)sample);
268 Vec4<int> samples[4] = {0};
269 PointSample<format>((unsigned *)(samples + 0), data, face * width * height + y0 * width + x0);
270 ToIntVec(samples + 0);
271 PointSample<format>((unsigned *)(samples + 1), data, face * width * height + y0 * width + x1);
272 ToIntVec(samples + 1);
273 PointSample<format>((unsigned *)(samples + 2), data, face * width * height + y1 * width + x1);
274 ToIntVec(samples + 2);
275 PointSample<format>((unsigned *)(samples + 3), data, face * width * height + y1 * width + x0);
276 ToIntVec(samples + 3);
278 Lerp(samples + 0, samples + 1, xLerp, samples + 0);
279 Lerp(samples + 3, samples + 2, xLerp, samples + 3);
280 Lerp(samples + 0, samples + 3, yLerp, (Vec4<int> *)sample);