Home
last modified time | relevance | path

Searched refs:dataWidth (Results 1 – 4 of 4) 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.cpp78 int dataWidth, int dataHeight, in init_glyph_data() argument
81 data += pad*dataWidth; in init_glyph_data()
83 edges += (pad*dataWidth + pad); in init_glyph_data()
360 int dataWidth = width + 2*pad; in generate_distance_field_from_image() local
364 UniqueVoidPtr storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
366 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image()
370 dataWidth, dataHeight, in generate_distance_field_from_image()
374 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image()
379 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image()
380 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp1102 int dataWidth, dataHeight; in Run() local
1103 getDataSize(dataWidth, dataHeight); in Run()
1105 CDataArray dataTest(dataWidth * dataHeight, 0); in Run()
1109 DataGen<unsigned int>(dataRef1, dataWidth, dataHeight, 0, 50); in Run()
1118 result.sub_result(DataCompare(dataRef1, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run()
1121 DataGen<unsigned int>(dataRef2, dataWidth, dataHeight, 10, 70); in Run()
1130 result.sub_result(DataCompare(dataRef2, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run()
1141 DataGen<unsigned int>(dataRef5, dataWidth, dataHeight, 0, 50); in Run()
1150 result.sub_result(DataCompare(dataRef5, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run()
1153 DataGen<unsigned int>(dataRef6, dataWidth, dataHeight, 10, 40); in Run()
[all …]
/external/arm-trusted-firmware/include/drivers/brcm/emmc/
Demmc_csl_sd.h59 uint32_t dataWidth; /* data width for the controller */ member