Lines Matching defs:pitch
25 // cleanup easier than fragmented stuff. In addition, we added a "pitch"
45 curr->pitch = (real) (width + border2);
49 for (int j = height + border2; j--; y++, position += curr->pitch) {
75 img->pitch = (real) (width + border2);
80 for (int j = height + border2; j--; y++, position += img->pitch) {
126 for (h = height; h--; base += pyr->pitch) {
137 for (h = top; h--; base -= pyr->pitch) {
138 memcpy(base - pyr->pitch, base, pyr->pitch * sizeof(short));
142 for (h = bot; h--; base += pyr->pitch) {
143 memcpy(base, base - pyr->pitch, pyr->pitch * sizeof(short));
213 ns = s + scr->pitch;
214 ls = scr->ptr[scr->height + scr->border - 1] + scr->pitch - (off >> 1);
217 np = p + in->pitch;
220 for (; s < ls; s = ns, ns += scr->pitch, p = np, np += in->pitch) {
231 ns = s + out->pitch;
232 ls = s + out->pitch * (out->height + off);
234 int pitch = scr->pitch;
235 int pitch2 = pitch << 1;
237 for (; s < ls; s = ns, ns += out->pitch, p = np, np += pitch2) {
238 for (int w = out->pitch; w--; s++, p++) {
240 ((((int) p[-pitch]) + ((int) p[pitch])) << 2) + // 4