qr: add support for selecting the mask.
The QR standard says that the mask should be auto-selected, not fixed to three, and specifies a fitness function for choosing the best mask for each QR code. This change adds support for that and lets the caller specify a mask if it really wants … say if it wanted to cycle through a series of QR codes for the same data with a dancing dinosaur on top. Change-Id: Ief4dedce236aa2ae13cc94b2248a17a0488f88ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2365222 Commit-Queue: Adam Langley <agl@chromium.org> Auto-Submit: Adam Langley <agl@chromium.org> Reviewed-by:Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/master@{#800326}
Showing
Please register or sign in to comment