mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
docs: fix spelling errors in code and comments
- Fixed 'suported' -> 'supported' in imgproc.hpp - Fixed 'constane/constans' -> 'constant/constants' in onevpl utils - Fixed 'pushconstance' -> 'pushconstant' in op_matmul.cpp - Fixed 'bufer' -> 'buffer' in test_imgwarp.cpp - Fixed 'Framebuffrer' -> 'Framebuffer' in window_framebuffer - Fixed 'readComplexPropery' -> 'readComplexProperty' in cap_msmf.cpp - Fixed 'behavoir' -> 'behavior' in test_exr.impl.hpp - Fixed 'previos' -> 'previous' in qrcode_encoder.cpp
This commit is contained in:
@@ -1576,7 +1576,7 @@ bool QRCodeDecoderImpl::errorCorrectionBlock(std::vector<uint8_t>& codewords) {
|
||||
uint8_t b = 1; // discrepancy from last L update
|
||||
|
||||
std::vector<uint8_t> C(numSyndromes, 0); // Error locator polynomial
|
||||
std::vector<uint8_t> B(numSyndromes, 0); // A copy of error locator from previos L update
|
||||
std::vector<uint8_t> B(numSyndromes, 0); // A copy of error locator from previous L update
|
||||
C[0] = B[0] = 1;
|
||||
for (size_t i = 0; i < numSyndromes; ++i) {
|
||||
CV_Assert(m + L - 1 < C.size()); // m >= 1 on any iteration
|
||||
|
||||
Reference in New Issue
Block a user