de.uniks.networkparser.bytes.qr.MatrixUtil.class Maven / Gradle / Ivy
???? 4 ?
9 ?
? ?
+ ?
+ ?
+ ?
+ ?
+ ?
+ ?
+ ?
+ ?
+ ? ?
?
+ ?
?
? + ?
? ?
? ?
? ?
? ?
+ ?
? ?
+ ?
? ? ? ?
? ?
?
?
?
?
? ? ?
# ?
+ ?
? ? ?
? ?
? ?
+ ?
? ?
? ?
? + ? + ?
+ ?
+ ?
+ ? + ?
+ ? ? ? POSITION_DETECTION_PATTERN [[I POSITION_ADJUSTMENT_PATTERN ,POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE TYPE_INFO_COORDINATES VERSION_INFO_POLY I
ConstantValue % TYPE_INFO_POLY 7 TYPE_INFO_MASK_PATTERN T ()V Code LineNumberTable LocalVariableTable this ,Lde/uniks/networkparser/bytes/qr/MatrixUtil; clearMatrix /(Lde/uniks/networkparser/bytes/qr/ByteMatrix;)V matrix ,Lde/uniks/networkparser/bytes/qr/ByteMatrix; buildMatrix ?(Lde/uniks/networkparser/bytes/qr/BitArray;Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;Lde/uniks/networkparser/bytes/qr/Version;ILde/uniks/networkparser/bytes/qr/ByteMatrix;)V dataBits *Lde/uniks/networkparser/bytes/qr/BitArray; ecLevel 6Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel; version )Lde/uniks/networkparser/bytes/qr/Version; maskPattern
Exceptions embedBasicPatterns X(Lde/uniks/networkparser/bytes/qr/Version;Lde/uniks/networkparser/bytes/qr/ByteMatrix;)V
embedTypeInfo f(Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;ILde/uniks/networkparser/bytes/qr/ByteMatrix;)V x2 y2 bit Z x1 y1 i typeInfoBits
StackMapTable ? maybeEmbedVersionInfo j versionInfoBits bitIndex
embedDataBits Z(Lde/uniks/networkparser/bytes/qr/BitArray;ILde/uniks/networkparser/bytes/qr/ByteMatrix;)V xx direction x y ?
findMSBSet (I)I value numDigits calculateBCHCode (II)I poly msbSetInPoly makeTypeInfoBits d(Lde/uniks/networkparser/bytes/qr/ErrorCorrectionLevel;ILde/uniks/networkparser/bytes/qr/BitArray;)V bits typeInfo bchCode maskBits makeVersionInfoBits V(Lde/uniks/networkparser/bytes/qr/Version;Lde/uniks/networkparser/bytes/qr/BitArray;)V isEmpty (I)Z embedTimingPatterns embedDarkDotAtLeftBottomCorner embedHorizontalSeparationPattern 1(IILde/uniks/networkparser/bytes/qr/ByteMatrix;)V xStart yStart embedVerticalSeparationPattern embedPositionAdjustmentPattern embedPositionDetectionPattern +embedPositionDetectionPatternsAndSeparators pdpWidth hspWidth vspSize $maybeEmbedPositionAdjustmentPatterns index coordinates [I numCoordinates ?
SourceFile MatrixUtil.java G H ? ? ? N O \ ] ^ _ j ] n o ? O ? O ? ] ? O (de/uniks/networkparser/bytes/qr/BitArray } ~ ? ? ? ? > ; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/RuntimeException java/lang/StringBuilder Not all bits consumed: ? ? ? ? ? ? ? ? G ? "java/lang/IllegalArgumentException 0 polynomial u v ? ? ? Invalid mask pattern ? ? ? ? ? *de/uniks/networkparser/bytes/qr/MatrixUtil y z ? ? should not happen but we got: ? ? <