Searched refs:dataWidth (Results 1 – 4 of 4) sorted by relevance
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | PlanarYUVLuminanceSource.java | 36 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/ |
D | SkDistanceFieldGen.cpp | 73 int dataWidth, int dataHeight, in init_glyph_data() argument 76 data += pad*dataWidth; in init_glyph_data() 78 edges += (pad*dataWidth + pad); in init_glyph_data() 355 int dataWidth = width + 2*pad; in generate_distance_field_from_image() local 359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image() 361 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image() 365 dataWidth, dataHeight, in generate_distance_field_from_image() 369 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image() 374 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image() 375 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image() [all …]
|
/external/skqp/src/core/ |
D | SkDistanceFieldGen.cpp | 73 int dataWidth, int dataHeight, in init_glyph_data() argument 76 data += pad*dataWidth; in init_glyph_data() 78 edges += (pad*dataWidth + pad); in init_glyph_data() 355 int dataWidth = width + 2*pad; in generate_distance_field_from_image() local 359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image() 361 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image() 365 dataWidth, dataHeight, in generate_distance_field_from_image() 369 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image() 374 DFData* currData = dataPtr+dataWidth+1; // skip outer buffer in generate_distance_field_from_image() 375 unsigned char* currEdge = edgePtr+dataWidth+1; in generate_distance_field_from_image() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cDrawIndirectTests.cpp | 1098 int dataWidth, dataHeight; in Run() local 1099 getDataSize(dataWidth, dataHeight); in Run() 1101 CDataArray dataTest(dataWidth * dataHeight, 0); in Run() 1105 DataGen<unsigned int>(dataRef1, dataWidth, dataHeight, 0, 50); in Run() 1114 result.sub_result(DataCompare(dataRef1, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run() 1117 DataGen<unsigned int>(dataRef2, dataWidth, dataHeight, 10, 70); in Run() 1126 result.sub_result(DataCompare(dataRef2, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run() 1137 DataGen<unsigned int>(dataRef5, dataWidth, dataHeight, 0, 50); in Run() 1146 result.sub_result(DataCompare(dataRef5, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run() 1149 DataGen<unsigned int>(dataRef6, dataWidth, dataHeight, 10, 40); in Run() [all …]
|