优化细节

This commit is contained in:
Jenly
2020-12-28 15:45:25 +08:00
parent aa47b2a7f9
commit 704d21e6c9
4 changed files with 6 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ public class MultiFormatAnalyzer extends AreaRectAnalyzer {
rawResult = decodeInternal(new PlanarYUVLuminanceSource(rotatedData,dataHeight,dataWidth,top,left,height,width,false),mDecodeConfig.isSupportVerticalCodeMultiDecode());
}
if(mDecodeConfig.isSupportLuminanceInvert()){
if(rawResult == null && mDecodeConfig.isSupportLuminanceInvert()){
rawResult = decodeInternal(source.invert(),mDecodeConfig.isSupportLuminanceInvertMultiDecode());
}
}