Home | History | Annotate | Download | only in testlibs

Lines Matching refs:dim

35     size_t dim = nInDims - 1;
37 while (dim-- > 0) {
38 mInDimOffsets[dim] = mInDimOffsets[dim + 1] * mInDims[dim + 1];
45 size_t dim = mNumInDims;
46 while (dim-- > 0) {
47 if (CC_UNLIKELY(intCoord[dim] < 0)) {
48 fracCoord[dim] = 0;
49 } else if (CC_UNLIKELY(intCoord[dim] >= (int)mInDims[dim] - 1)) {
50 fracCoord[dim] = 0;
51 index += mInDimOffsets[dim] * (mInDims[dim] - 1);
53 index += mInDimOffsets[dim] * intCoord[dim];
61 audio_coef_t out[], size_t dim) {
62 if (dim == mNumInDims) {
65 getCoefRecurse(index, fracCoord, out, dim + 1);
68 getCoefRecurse(index + mInDimOffsets[dim], fracCoord, tempCoef,
69 dim + 1);
72 out[d] = interp(out[d], tempCoef[d], fracCoord[dim]);