Lines Matching refs:tilesX
58 const int2 tileSize, const int tilesX, in calcLutKernel() argument
121 lut(ty * tilesX + tx, tid) = saturate_cast<uchar>(__float2int_rn(lutScale * lutVal)); in calcLutKernel()
124 …void calcLut(PtrStepSzb src, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, int clipLimit, f… in calcLut() argument
127 const dim3 grid(tilesX, tilesY); in calcLut()
129 calcLutKernel<<<grid, block, 0, stream>>>(src, lut, tileSize, tilesX, clipLimit, lutScale); in calcLut()
137 …Szb src, PtrStepb dst, const PtrStepb lut, const int2 tileSize, const int tilesX, const int tilesY) in tranformKernel() argument
157 tx2 = ::min(tx2, tilesX - 1); in tranformKernel()
163 res += lut(ty1 * tilesX + tx1, srcVal) * ((1.0f - xa) * (1.0f - ya)); in tranformKernel()
164 res += lut(ty1 * tilesX + tx2, srcVal) * ((xa) * (1.0f - ya)); in tranformKernel()
165 res += lut(ty2 * tilesX + tx1, srcVal) * ((1.0f - xa) * (ya)); in tranformKernel()
166 res += lut(ty2 * tilesX + tx2, srcVal) * ((xa) * (ya)); in tranformKernel()
171 …void transform(PtrStepSzb src, PtrStepSzb dst, PtrStepb lut, int tilesX, int tilesY, int2 tileSize… in transform() argument
178 tranformKernel<<<grid, block, 0, stream>>>(src, dst, lut, tileSize, tilesX, tilesY); in transform()