Lines Matching defs:Y0
65 bool flipY = destRect.y0 > destRect.y1;
74 swap(dRect.y0, dRect.y1);
75 swap(sRect.y0, sRect.y1);
78 source->lockInternal(sRect.x0, sRect.y0, sRect.slice, sw::LOCK_READONLY, sw::PUBLIC);
79 dest->lockInternal(dRect.x0, dRect.y0, dRect.slice, sw::LOCK_WRITEONLY, sw::PUBLIC);
82 float h = static_cast<float>(sRect.y1 - sRect.y0) / static_cast<float>(dRect.y1 - dRect.y0);
85 float y = (float)sRect.y0 + 0.5f * h;
87 for(int j = dRect.y0; j < dRect.y1; j++)
1069 Float y0 = *Pointer<Float>(blit + OFFSET(BlitData,y0));
1114 Float y = y0;
1171 Float y0 = y - 0.5f;
1174 Int Y0 = Max(Int(y0), 0);
1177 Int Y1 = IfThenElse(Y0 + 1 >= sHeight, Y0, Y0 + 1);
1179 Pointer<Byte> s00 = source + Y0 * sPitchB + X0 * Surface::bytes(state.sourceFormat);
1180 Pointer<Byte> s01 = source + Y0 * sPitchB + X1 * Surface::bytes(state.sourceFormat);
1190 Float4 fy = Float4(y0 - Float(Y0));
1225 if(destRect.y0 > destRect.y1)
1227 swap(dRect.y0, dRect.y1);
1228 swap(sRect.y0, sRect.y1);
1271 data.h = 1.0f / (dRect.y1 - dRect.y0) * (sRect.y1 - sRect.y0);
1273 data.y0 = (float)sRect.y0 + 0.5f * data.h;
1277 data.y0d = dRect.y0;