Lines Matching defs:rd
62 SDL_Rect rd; /* destination rectangle */
131 op.rd.x = (int)(sx * scaler->scale + scaler->xdisp);
132 op.rd.y = (int)(sy * scaler->scale + scaler->ydisp);
133 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x;
134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y;
138 op.sx = (int)((op.rd.x - scaler->xdisp) * scaler->invscale * 65536);
139 op.sy = (int)((op.rd.y - scaler->ydisp) * scaler->invscale * 65536);
144 op.dst_line += op.rd.x*4 + op.rd.y*op.dst_pitch;
167 for (y = 0; y < op.rd.h; y++)
170 for (x = 0; x < op.rd.w; x++) {
184 SDL_UpdateRects( dst_surface, 1, &op.rd );