Home
last modified time | relevance | path

Searched refs:dataWidth (Results 1 – 3 of 3) sorted by relevance

/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DPlanarYUVLuminanceSource.java36 private final int dataWidth; field in PlanarYUVLuminanceSource
41 public PlanarYUVLuminanceSource(byte[] yuvData, int dataWidth, int dataHeight, int left, int top, in PlanarYUVLuminanceSource() argument
45 if (left + width > dataWidth || top + height > dataHeight) { in PlanarYUVLuminanceSource()
50 this.dataWidth = dataWidth; in PlanarYUVLuminanceSource()
68 int offset = (y + top) * dataWidth + left; in getRow()
80 if (width == dataWidth && height == dataHeight) { in getMatrix()
86 int inputOffset = top * dataWidth + left; in getMatrix()
89 if (width == dataWidth) { in getMatrix()
99 inputOffset += dataWidth; in getMatrix()
114 int inputOffset = top * dataWidth + left; in renderCroppedGreyscaleBitmap()
[all …]
/external/skia/src/core/
DSkDistanceFieldGen.cpp67 int dataWidth, int dataHeight, in init_glyph_data() argument
70 data += pad*dataWidth; in init_glyph_data()
72 edges += (pad*dataWidth + pad); in init_glyph_data()
349 int dataWidth = width + 2*pad; in generate_distance_field_from_image() local
353 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
355 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
359 dataWidth, dataHeight, in generate_distance_field_from_image()
363 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
368 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image()
369 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image()
[all …]
/external/opencv3/modules/cudalegacy/test/
DNCVTestSourceProvider.hpp74 this->dataWidth = maxWidth; in NCVTestSourceProvider()
109 this->dataWidth = image.cols; in NCVTestSourceProvider()
132 Ncv32u srcFullChunks = dst.width() / this->dataWidth; in fill()
135 memcpy(dst.ptr() + i * dst.stride() + j * this->dataWidth, in fill()
137 this->dataWidth * sizeof(T)); in fill()
140 Ncv32u srcLastChunk = dst.width() % this->dataWidth; in fill()
141 memcpy(dst.ptr() + i * dst.stride() + srcFullChunks * this->dataWidth, in fill()
159 Ncv32u srcLen = this->dataWidth * this->dataHeight; in fill()
189 Ncv32u dataWidth; member in NCVTestSourceProvider