Lines Matching defs:srcInfo
61 SurfaceDataRasInfo srcInfo;
99 srcInfo.bounds.x1 = srcx;
100 srcInfo.bounds.y1 = srcy;
101 srcInfo.bounds.x2 = srcx + width;
102 srcInfo.bounds.y2 = srcy + height;
104 if (srcOps->Lock(env, srcOps, &srcInfo, SD_LOCK_READ) != SD_SUCCESS) {
110 if (srcInfo.bounds.x2 > srcInfo.bounds.x1 &&
111 srcInfo.bounds.y2 > srcInfo.bounds.y1)
113 srcOps->GetRasInfo(env, srcOps, &srcInfo);
114 if (srcInfo.rasBase) {
116 jint srcScanStride = srcInfo.scanStride;
117 jint srcPixelStride = srcInfo.pixelStride;
119 PtrCoord(srcInfo.rasBase,
120 srcInfo.bounds.x1, srcInfo.pixelStride,
121 srcInfo.bounds.y1, srcInfo.scanStride);
128 SurfaceData_InvokeRelease(env, srcOps, &srcInfo);
129 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
133 width = srcInfo.bounds.x2 - srcInfo.bounds.x1;
134 height = srcInfo.bounds.y2 - srcInfo.bounds.y1;
135 maskoff += ((srcInfo.bounds.y1 - srcy) * maskscan +
136 (srcInfo.bounds.x1 - srcx));
144 srcInfo.bounds.x1, srcInfo.bounds.y1, width, height);
280 SurfaceData_InvokeRelease(env, srcOps, &srcInfo);
282 SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);