attribution
This commit is contained in:
parent
8bbcaf1921
commit
fe22571b74
|
@ -2,6 +2,11 @@ package com.wix.RNCameraKit.camera.barcode;
|
|||
|
||||
import com.google.zxing.LuminanceSource;
|
||||
|
||||
/**
|
||||
* This class is mostly copy of {@link com.google.zxing.PlanarYUVLuminanceSource} class.
|
||||
* The only difference is adding {@code rotateCounterClockwise()} method
|
||||
* It was copied due to PlanarYUVLuminanceSource being final, so it can not be extended
|
||||
*/
|
||||
public class RotateLuminanceSource extends LuminanceSource {
|
||||
|
||||
private static final int THUMBNAIL_SCALE_FACTOR = 2;
|
||||
|
|
Loading…
Reference in New Issue