Lines Matching defs:mask
284 * version. The mask number is either between 0 to 7 (inclusive) to force that
285 * mask, or -1 to automatically choose an appropriate mask (which may be slow).
291 int minVersion=1, int maxVersion=40, int mask=-1, bool boostEcl=true); // All optional parameters
310 /* The index of the mask pattern used in this QR Code, which is between 0 and 7 (inclusive).
311 * Even if a QR Code is created with automatic masking requested (mask = -1),
312 * the resulting object still has a mask value between 0 and 7. */
313 private: int mask;
330 * error correction level, data codeword bytes, and mask number.
359 * Returns this QR Code's mask, in the range [0, 7].
380 // based on the given mask and this object's error correction level field.
420 // XORs the codeword modules in this QR Code with the given mask pattern.
423 // the same mask value a second time will undo the mask. A final well-formed
424 // QR Code needs exactly one (not zero, two, etc.) mask applied.
429 // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
494 // For use in getPenaltyScore(), when evaluating which mask is best.