From 7e394bbf243653754f8f76c4d4021a5e284f722e Mon Sep 17 00:00:00 2001 From: Yuriy Budiyev Date: Tue, 5 Jun 2018 13:20:48 +0300 Subject: [PATCH] Dev --- .../com/budiyev/android/codescanner/BarcodeUtils.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/budiyev/android/codescanner/BarcodeUtils.java b/src/main/java/com/budiyev/android/codescanner/BarcodeUtils.java index 3483ada..1389886 100644 --- a/src/main/java/com/budiyev/android/codescanner/BarcodeUtils.java +++ b/src/main/java/com/budiyev/android/codescanner/BarcodeUtils.java @@ -144,10 +144,12 @@ public static Result decodeYuv(@NonNull final byte[] pixels, final int width, fi /** * Decode barcode from YUV pixels array * - * @param pixels YUV image data - * @param width Image width - * @param height Image height - * @param hints Decoder hints + * @param pixels YUV image data + * @param width Image width + * @param height Image height + * @param rotation Degrees to rotate image before decoding (only 0, 90, 180 or 270 are allowed) + * @param reverseHorizontal Reverse image horizontally before decoding + * @param hints Decoder hints * @return Decode result, if barcode was decoded successfully, {@code null} otherwise * @see DecodeHintType */