Searched refs:dataHeight (Results 1 – 4 of 4) sorted by relevance
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | PlanarYUVLuminanceSource.java | 37 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/skia/src/core/ |
D | SkDistanceFieldGen.cpp | 74 int dataWidth, int dataHeight, in init_glyph_data() argument 357 int dataHeight = height + 2*pad; in generate_distance_field_from_image() local 360 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image() 362 unsigned char* edgePtr = (unsigned char*)storage.get() + dataWidth*dataHeight*sizeof(DFData); in generate_distance_field_from_image() 366 dataWidth, dataHeight, in generate_distance_field_from_image() 370 init_distances(dataPtr, edgePtr, dataWidth, dataHeight); in generate_distance_field_from_image() 377 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image() 405 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image() 406 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image() 407 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image() [all …]
|
/external/skqp/src/core/ |
D | SkDistanceFieldGen.cpp | 73 int dataWidth, int dataHeight, in init_glyph_data() argument 356 int dataHeight = height + 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() 376 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image() 404 currData = dataPtr+dataWidth*(dataHeight-2) - 1; // skip outer buffer in generate_distance_field_from_image() 405 currEdge = edgePtr+dataWidth*(dataHeight-2) - 1; in generate_distance_field_from_image() 406 for (int j = 1; j < dataHeight-1; ++j) { in generate_distance_field_from_image() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cDrawIndirectTests.cpp | 1108 int dataWidth, dataHeight; in Run() local 1109 getDataSize(dataWidth, dataHeight); in Run() 1111 CDataArray dataTest(dataWidth * dataHeight, 0); in Run() 1115 DataGen<unsigned int>(dataRef1, dataWidth, dataHeight, 0, 50); in Run() 1124 result.sub_result(DataCompare(dataRef1, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run() 1127 DataGen<unsigned int>(dataRef2, dataWidth, dataHeight, 10, 70); in Run() 1136 result.sub_result(DataCompare(dataRef2, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run() 1147 DataGen<unsigned int>(dataRef5, dataWidth, dataHeight, 0, 50); in Run() 1156 result.sub_result(DataCompare(dataRef5, dataWidth, dataHeight, dataTest, dataWidth, dataHeight)); in Run() 1159 DataGen<unsigned int>(dataRef6, dataWidth, dataHeight, 10, 40); in Run() [all …]
|