Lines Matching full:penalty
621 int32_t penalty = CalculateMaskPenalty(matrix);
622 if (penalty < minPenalty) {
623 minPenalty = penalty;
630 int32_t penalty = 0;
631 penalty += CBC_QRCoderMaskUtil::ApplyMaskPenaltyRule1(matrix);
632 penalty += CBC_QRCoderMaskUtil::ApplyMaskPenaltyRule2(matrix);
633 penalty += CBC_QRCoderMaskUtil::ApplyMaskPenaltyRule3(matrix);
634 penalty += CBC_QRCoderMaskUtil::ApplyMaskPenaltyRule4(matrix);
635 return penalty;