Searched refs:dataWidth (Results 1 - 2 of 2) sorted by relevance

/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DPlanarYUVLuminanceSource.java36 private final int dataWidth; field in class:PlanarYUVLuminanceSource
41 public PlanarYUVLuminanceSource(byte[] yuvData, int dataWidth, int dataHeight, int left, int top, argument
45 if (left + width > dataWidth || top + height > dataHeight) {
50 this.dataWidth = dataWidth;
68 int offset = (y + top) * dataWidth + left;
80 if (width == dataWidth && height == dataHeight) {
86 int inputOffset = top * dataWidth + left;
89 if (width == dataWidth) {
99 inputOffset += dataWidth;
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macwm.c91 short tableSize, dataWidth; local
95 dataWidth = (pTableGammaIn->gDataWidth + 7) / 8; /* number of bytes per entry */
97 (pTableGammaIn->gChanCnt * pTableGammaIn->gDataCnt * dataWidth);
288 short tableSize, dataWidth; local
290 dataWidth = (bits + 7) / 8; /* number of bytes per entry */
291 tableSize = sizeof (GammaTbl) + (channels * entries * dataWidth);

Completed in 86 milliseconds