Lines Matching refs:idx
1023 icvShuffle1D( const uchar* src, const int* idx, uchar* dst, int d, int n, int elemSize )
1030 dst[i*d] = src[idx[i]];
1034 ((ushort*)dst)[i*d] = ((ushort*)src)[idx[i]];
1038 ((int*)dst)[i*d] = ((int*)src)[idx[i]];
1042 ((int64*)dst)[i*d] = ((int64*)src)[idx[i]];
1062 CvMat istub, *idx = _idx ? cvGetMat(_idx, &istub) : 0;
1065 int istep = idx ? idx->step/sizeof(int) : 0;
1072 if( idx )
1074 if( CV_MAT_TYPE( idx->type ) != CV_32SC1)
1077 if( !CV_ARE_SIZES_EQ( idx, src ))
1090 if( !idx && !dst )
1110 // single-column case, where all of src, idx & dst arrays are continuous, is
1114 (dst ? dst->type : -1) & (idx ? idx->type : -1))) )
1117 int* idxptr = idx ? idx->data.i : 0;
1121 if( idx )
1162 if( (flags & CV_SORT_DESCENDING) || (idx && dst && dst->data.ptr == src->data.ptr) )
1167 if( !idx )
1180 int* idx_ = idx->data.i + istep*i;