Searched refs:stride (Results 1 – 21 of 21) sorted by relevance
26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum() argument32 for (x = 0; x < len; x+= stride) { in sum()88 void initialPickHeuristicRandom(int k, T values[], int len, int dimension, int stride, T dst[], in initialPickHeuristicRandom() argument91 num_vals = len / stride; in initialPickHeuristicRandom()111 r *= stride; in initialPickHeuristicRandom()115 cntr += stride; in initialPickHeuristicRandom()123 inline int findClosest(T values[], T oldCenters[], int dimension, int stride, int pop_size) { in findClosest() argument127 for (y = stride; y < pop_size; y+=stride) { in findClosest()141 int calculateNewCentroids(int k, T values[], int len, int dimension, int stride, T oldCenters[], in calculateNewCentroids() argument144 pop_size = k * stride; in calculateNewCentroids()[all …]
51 int stride = 4; in JNIFUNCF() local55 unsigned char finalCentroids[k * stride]; in JNIFUNCF()59 stride, iterations, s); in JNIFUNCF()64 unsigned char nextCentroids[k * stride]; in JNIFUNCF()68 dimension, stride, iterations, finalCentroids); in JNIFUNCF()73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride); in JNIFUNCF()
68 tgtBuffer.stride); in drawFrame()88 srcBuffer.stride); in drawFrame()104 tgtPixels, tgtBuffer.stride); in drawFrame()108 tgtPixels, tgtBuffer.stride); in drawFrame()111 srcPixels, srcBuffer.stride, in drawFrame()112 tgtPixels, tgtBuffer.stride); in drawFrame()115 srcPixels, srcBuffer.stride, in drawFrame()116 tgtPixels, tgtBuffer.stride, in drawFrame()
138 int stride = png_get_rowbytes(pngControl, pngInfo); in createTextureFromPng() local139 stride += 3 - ((stride-1) % 4); // glTexImage2d requires rows to be 4-byte aligned in createTextureFromPng()142 png_byte * buffer = (png_byte*)malloc(stride * height); in createTextureFromPng()163 rowPointers[r] = buffer + r*stride; in createTextureFromPng()
92 mImageBuffer.stride); in refresh()
154 tgtBuffer.stride); in attachRenderTarget()
212 inline void db_JacobianOfRotatedPointStride(double J[9],const double x[3],int stride) in db_JacobianOfRotatedPointStride() argument220 J[0]= -x[stride<<1]; in db_JacobianOfRotatedPointStride()222 J[2]= x[stride]; in db_JacobianOfRotatedPointStride()224 J[4]= x[stride<<1]; in db_JacobianOfRotatedPointStride()227 J[7]= -x[stride]; in db_JacobianOfRotatedPointStride()
234 int stride = dx * plane_.pixel_stride + dy * plane_.row_stride; in LoadAt() local238 if (stride == 0) { in LoadAt()239 stride = 1; in LoadAt()245 idx += stride) { in LoadAt()
90 int stride = w * 4; in apply() local91 int max = stride * h; in apply()92 int increment = stride * 256; // 256 lines in apply()
152 unsigned dstStridePixels = tgtBuff.stride; in fillRGBAFromYUYV()186 unsigned dstStrideBytes = tgtBuff.stride * 2; in fillYUYVFromYUYV()201 unsigned dstStridePixels = tgtBuff.stride; in fillYUYVFromUYVY()
194 &mBuffer.stride, in getTargetBuffer()214 mBuffer.memHandle.getNativeHandle(), mBuffer.stride); in getTargetBuffer()
374 buffer.stride, in updateImageTexture()
467 buff.stride = mStride; in forwardFrame()
1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...