Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Gallery2/jni/filters/
Dkmeans.h26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { in sum() argument
32 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() argument
91 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() argument
127 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() argument
144 pop_size = k * stride; in calculateNewCentroids()
[all …]
Dkmeans.cc51 int stride = 4; in JNIFUNCF() local
55 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()
/packages/services/Car/evs/app/
DRenderPixelCopy.cpp68 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()
DTexWrapper.cpp138 int stride = png_get_rowbytes(pngControl, pngInfo); in createTextureFromPng() local
139 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()
DVideoTex.cpp92 mImageBuffer.stride); in refresh()
DRenderBase.cpp154 tgtBuffer.stride); in attachRenderTarget()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_camera.h212 inline void db_JacobianOfRotatedPointStride(double J[9],const double x[3],int stride) in db_JacobianOfRotatedPointStride() argument
220 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()
/packages/apps/Camera2/jni/
Djpegutil.h234 int stride = dx * plane_.pixel_stride + dy * plane_.row_stride; in LoadAt() local
238 if (stride == 0) { in LoadAt()
239 stride = 1; in LoadAt()
245 idx += stride) { in LoadAt()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterFx.java90 int stride = w * 4; in apply() local
91 int max = stride * h; in apply()
92 int increment = stride * 256; // 256 lines in apply()
/packages/services/Car/evs/sampleDriver/
DbufferCopy.cpp152 unsigned dstStridePixels = tgtBuff.stride; in fillRGBAFromYUYV()
186 unsigned dstStrideBytes = tgtBuff.stride * 2; in fillYUYVFromYUYV()
201 unsigned dstStridePixels = tgtBuff.stride; in fillYUYVFromUYVY()
DEvsGlDisplay.cpp194 &mBuffer.stride, in getTargetBuffer()
214 mBuffer.memHandle.getNativeHandle(), mBuffer.stride); in getTargetBuffer()
DGlWrapper.cpp374 buffer.stride, in updateImageTexture()
DEvsV4lCamera.cpp467 buff.stride = mStride; in forwardFrame()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...