Home
last modified time | relevance | path

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

/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DPlanarYUVLuminanceSource.java37 private final int dataHeight; 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()
51 this.dataHeight = dataHeight; in PlanarYUVLuminanceSource()
80 if (width == dataWidth && height == dataHeight) { in getMatrix()
/external/chromium_org/third_party/skia/src/core/
DSkDistanceFieldGen.cpp67 int dataWidth, int dataHeight, in init_glyph_data() argument
344 int dataHeight = height + 2*pad; in generate_distance_field_from_image() local
347 size_t dataSize = dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
352 SkAutoSMalloc<1024> edgeStorage(dataWidth*dataHeight*sizeof(char)); in generate_distance_field_from_image()
354 sk_bzero(edgePtr, dataWidth*dataHeight*sizeof(char)); in generate_distance_field_from_image()
358 dataWidth, dataHeight, in generate_distance_field_from_image()
362 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
369 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image()
397 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
398 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
[all …]
/external/skia/src/core/
DSkDistanceFieldGen.cpp67 int dataWidth, int dataHeight, in init_glyph_data() argument
344 int dataHeight = height + 2*pad; in generate_distance_field_from_image() local
347 size_t dataSize = dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
352 SkAutoSMalloc<1024> edgeStorage(dataWidth*dataHeight*sizeof(char)); in generate_distance_field_from_image()
354 sk_bzero(edgePtr, dataWidth*dataHeight*sizeof(char)); in generate_distance_field_from_image()
358 dataWidth, dataHeight, in generate_distance_field_from_image()
362 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
369 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image()
397 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image()
398 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image()
[all …]