"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/test/java/com/google/zxing/PlanarYUVLuminanceSourceTestCase.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

PlanarYUVLuminanceSourceTestCase.java  (zxing-zxing-3.4.1):PlanarYUVLuminanceSourceTestCase.java  (zxing-zxing-3.5.0)
skipping to change at line 28 skipping to change at line 28
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
/** /**
* Tests {@link PlanarYUVLuminanceSource}. * Tests {@link PlanarYUVLuminanceSource}.
*/ */
public final class PlanarYUVLuminanceSourceTestCase extends Assert { public final class PlanarYUVLuminanceSourceTestCase extends Assert {
private static final byte[] YUV = { private static final byte[] YUV = {
0, 1, 1, 2, 3, 5, 0, 1, 1, 2, 3, 5,
8, 13, 21, 34, 55, 89, 8, 13, 21, 34, 55, 89,
0, -1, -1, -2, -3, -5, 0, -1, -1, -2, -3, -5,
-8, -13, -21, -34, -55, -89, -8, -13, -21, -34, -55, -89,
127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
}; };
private static final int COLS = 6; private static final int COLS = 6;
private static final int ROWS = 4; private static final int ROWS = 4;
private static final byte[] Y = new byte[COLS * ROWS]; private static final byte[] Y = new byte[COLS * ROWS];
static { static {
System.arraycopy(YUV, 0, Y, 0, Y.length); System.arraycopy(YUV, 0, Y, 0, Y.length);
} }
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)