Home
last modified time | relevance | path

Searched refs:codewords (Results 1 – 24 of 24) sorted by relevance

/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417DecodedBitStreamParser.cpp63 CFX_Int32Array& codewords, in decode() argument
68 int32_t code = codewords.GetAt(codeIndex); in decode()
71 while (codeIndex < codewords[0]) { in decode()
74 codeIndex = textCompaction(codewords, codeIndex, result); in decode()
77 codeIndex = byteCompaction(code, codewords, codeIndex, result); in decode()
80 codeIndex = numericCompaction(codewords, codeIndex, result, e); in decode()
84 codeIndex = byteCompaction(code, codewords, codeIndex, result); in decode()
87 codeIndex = byteCompaction(code, codewords, codeIndex, result); in decode()
90 codeIndex = decodeMacroBlock(codewords, codeIndex, resultMetadata, e); in decode()
98 codeIndex = textCompaction(codewords, codeIndex, result); in decode()
[all …]
DBC_PDF417DetectionResultRowIndicatorColumn.cpp51 CFX_PtrArray* codewords = getCodewords(); in adjustCompleteIndicatorColumnRowNumbers() local
53 removeIncorrectCodewords(codewords, barcodeMetadata); in adjustCompleteIndicatorColumnRowNumbers()
68 if (codewords->GetAt(codewordsRow) == NULL) { in adjustCompleteIndicatorColumnRowNumbers()
71 CBC_Codeword* codeword = (CBC_Codeword*)codewords->GetAt(codewordsRow); in adjustCompleteIndicatorColumnRowNumbers()
81 codewords->SetAt(codewordsRow, NULL); in adjustCompleteIndicatorColumnRowNumbers()
83 codewords->SetAt(codewordsRow, NULL); in adjustCompleteIndicatorColumnRowNumbers()
85 codewords->SetAt(codewordsRow, NULL); in adjustCompleteIndicatorColumnRowNumbers()
96 closePreviousCodewordFound = codewords->GetAt(codewordsRow - i) != NULL; in adjustCompleteIndicatorColumnRowNumbers()
99 codewords->SetAt(codewordsRow, NULL); in adjustCompleteIndicatorColumnRowNumbers()
139 CFX_PtrArray* codewords = getCodewords(); in adjustIncompleteIndicatorColumnRowNumbers() local
[all …]
DBC_PDF417DetectionResult.cpp124 CFX_PtrArray* codewords = in adjustRowNumbers() local
127 for (int32_t codewordsRow = 0; codewordsRow < codewords->GetSize(); in adjustRowNumbers()
129 if (codewords->GetAt(codewordsRow) == NULL) { in adjustRowNumbers()
132 if (!((CBC_Codeword*)codewords->GetAt(codewordsRow)) in adjustRowNumbers()
134 adjustRowNumbers(barcodeColumn, codewordsRow, codewords); in adjustRowNumbers()
190 CFX_PtrArray* codewords = in adjustRowNumbersFromRRI() local
194 for (int32_t codewordsRow = 0; codewordsRow < codewords->GetSize(); in adjustRowNumbersFromRRI()
196 if (codewords->GetAt(codewordsRow) == NULL) { in adjustRowNumbersFromRRI()
200 ((CBC_Codeword*)codewords->GetAt(codewordsRow))->getRowNumber(); in adjustRowNumbersFromRRI()
226 CFX_PtrArray* codewords = in adjustRowNumbersFromLRI() local
[all …]
DBC_PDF417DecodedBitStreamParser.h22 static CBC_CommonDecoderResult* decode(CFX_Int32Array& codewords,
39 static int32_t decodeMacroBlock(CFX_Int32Array& codewords,
43 static int32_t textCompaction(CFX_Int32Array& codewords,
51 CFX_Int32Array& codewords,
54 static int32_t numericCompaction(CFX_Int32Array& codewords,
58 static CFX_ByteString decodeBase900toBase10(CFX_Int32Array& codewords,
DBC_PDF417ScanningDecoder.cpp230 CFX_PtrArray* codewords = rowIndicatorColumn->getCodewords(); in adjustBoundingBox() local
231 for (int32_t row = 0; missingStartRows > 0 && codewords->GetAt(row) == NULL; in adjustBoundingBox()
242 for (int32_t row2 = codewords->GetSize() - 1; in adjustBoundingBox()
243 missingEndRows > 0 && codewords->GetAt(row2) == NULL; row2--) { in adjustBoundingBox()
369 CFX_Int32Array codewords; in createDecoderResult() local
370 codewords.SetSize(detectionResult->getBarcodeRowCount() * in createDecoderResult()
385 codewords[codewordIndex] = values->GetAt(0); in createDecoderResult()
409 detectionResult->getBarcodeECLevel(), codewords, erasures, in createDecoderResult()
417 CFX_Int32Array& codewords, in createDecoderResultFromAmbiguousValues() argument
427 codewords[ambiguousIndexes[l]] = in createDecoderResultFromAmbiguousValues()
[all …]
DBC_PDF417ScanningDecoder.h67 CFX_Int32Array& codewords,
104 static CBC_CommonDecoderResult* decodeCodewords(CFX_Int32Array& codewords,
108 static int32_t correctErrors(CFX_Int32Array& codewords,
112 static void verifyCodewordCount(CFX_Int32Array& codewords,
DBC_PDF417DetectionResultRowIndicatorColumn.h29 void removeIncorrectCodewords(CFX_PtrArray* codewords,
DBC_PDF417DetectionResult.h51 CFX_PtrArray* codewords);
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_ErrorCorrection.cpp84 CFX_WideString CBC_ErrorCorrection::encodeECC200(CFX_WideString codewords, in encodeECC200() argument
87 if (codewords.GetLength() != symbolInfo->m_dataCapacity) { in encodeECC200()
92 sb += codewords; in encodeECC200()
96 createECCBlock(codewords, symbolInfo->m_errorCodewords, e); in encodeECC200()
117 temp += (FX_WCHAR)codewords.GetAt(d); in encodeECC200()
130 CFX_WideString CBC_ErrorCorrection::createECCBlock(CFX_WideString codewords, in createECCBlock() argument
133 return createECCBlock(codewords, 0, codewords.GetLength(), numECWords, e); in createECCBlock()
135 CFX_WideString CBC_ErrorCorrection::createECCBlock(CFX_WideString codewords, in createECCBlock() argument
154 FX_WORD m = ecc[numECWords - 1] ^ codewords.GetAt(l); in createECCBlock()
DBC_DataMatrixDataBlock.cpp28 CFX_ByteArray* codewords) { in CBC_DataMatrixDataBlock() argument
29 m_codewords.Copy(*codewords); in CBC_DataMatrixDataBlock()
51 CFX_ByteArray codewords; in GetDataBlocks() local
52 codewords.SetSize(numBlockCodewords); in GetDataBlocks()
54 new CBC_DataMatrixDataBlock(numDataCodewords, &codewords); in GetDataBlocks()
55 codewords.SetSize(0); in GetDataBlocks()
DBC_ErrorCorrection.h16 static CFX_WideString encodeECC200(CFX_WideString codewords,
28 static CFX_WideString createECCBlock(CFX_WideString codewords,
31 static CFX_WideString createECCBlock(CFX_WideString codewords,
DBC_HighLevelEncoder.cpp127 CFX_WideString codewords = context.m_codewords; in encodeHighLevel() local
128 if (codewords.GetLength() < capacity) { in encodeHighLevel()
129 codewords += PAD; in encodeHighLevel()
131 while (codewords.GetLength() < capacity) { in encodeHighLevel()
132 codewords += (randomize253State(PAD, codewords.GetLength() + 1)); in encodeHighLevel()
138 return codewords; in encodeHighLevel()
DBC_EncoderContext.cpp75 void CBC_EncoderContext::writeCodewords(CFX_WideString codewords) { in writeCodewords() argument
76 m_codewords += codewords; in writeCodewords()
DBC_DataMatrixDecoder.cpp54 CBC_AutoPtr<CFX_ByteArray> codewords(byteTemp); in Decode() local
56 CBC_DataMatrixDataBlock::GetDataBlocks(codewords.get(), version, e); in Decode()
DBC_DataMatrixWriter.cpp71 CFX_WideString codewords = in Encode() local
75 new CBC_DefaultPlacement(codewords, symbolInfo->getSymbolDataWidth(e), in Encode()
DBC_DataMatrixDataBlock.h25 CBC_DataMatrixDataBlock(int32_t numDataCodewords, CFX_ByteArray* codewords);
DBC_DefaultPlacement.cpp26 CBC_DefaultPlacement::CBC_DefaultPlacement(CFX_WideString codewords, in CBC_DefaultPlacement() argument
29 m_codewords = codewords; in CBC_DefaultPlacement()
DBC_DefaultPlacement.h11 CBC_DefaultPlacement(CFX_WideString codewords,
DBC_EncoderContext.h25 void writeCodewords(CFX_WideString codewords);
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRDataBlock.cpp29 CFX_ByteArray* codewords) in CBC_QRDataBlock() argument
30 : m_numDataCodewords(numDataCodewords), m_codewords(codewords) {} in CBC_QRDataBlock()
DBC_QRCoderDecoder.cpp77 CBC_AutoPtr<CFX_ByteArray> codewords(ba); in Decode() local
79 CBC_QRDataBlock::GetDataBlocks(codewords.get(), version, ecLevel, e); in Decode()
DBC_QRDataBlock.h17 CBC_QRDataBlock(int32_t numDataCodewords, CFX_ByteArray* codewords);
/external/libvorbis/doc/
D03-codebook.tex13 Huffman-equivalent representation for decoding compressed codewords as
20 the codebooks themselves and the codewords they decode are unrolled
118 codewords per length. That is, beginning at entry zero:
220 Assigning codewords in order (lowest possible value of the appropriate
237 intend the above codewords to be read and used bit by bit from left to
253 As we assign codewords in order, we see that each choice constructs a
D08-residue.tex179 code classification codewords. The number of dimensions in book
185 possible number of classification codewords.