Home
last modified time | relevance | path

Searched refs:last_word_idx (Results 1 – 8 of 8) sorted by relevance

/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/
H A DBinaryImage.cpp384 if (first_word_idx == last_word_idx) { in countBlackPixels()
426 const int last_word_idx = (w - 1) >> 5; in contentBoundingBox() local
543 if (i == last_word_idx) { in rectangularizeAreas()
565 uint32_t v = line[last_word_idx]; in rectangularizeAreas()
812 if (first_word_idx == last_word_idx) { in fillRectImpl()
908 for (; j < last_word_idx; ++j) { in fromMono()
987 dst_line[last_word_idx] = word; in fromIndexed8()
1040 dst_line[last_word_idx] = word; in fromRgb32()
1101 dst_line[last_word_idx] = word; in fromArgb32Premultiplied()
1169 dst_line[last_word_idx] = word; in fromRgb16()
[all …]
H A DSeedFill.cpp44 const int last_word_idx = (w - 1) >> 5; in seedFill4Iteration() local
56 seed_line[last_word_idx] &= last_word_mask; in seedFill4Iteration()
58 for (int i = 0; i <= last_word_idx; ++i) { in seedFill4Iteration()
71 seed_line[last_word_idx] &= last_word_mask; in seedFill4Iteration()
87 seed_line[last_word_idx] &= last_word_mask; in seedFill4Iteration()
89 for (int i = last_word_idx; i >= 0; --i) { in seedFill4Iteration()
103 seed_line[last_word_idx] &= last_word_mask; in seedFill4Iteration()
117 const int last_word_idx = (w - 1) >> 5; in seedFill8Iteration() local
129 for (int i = 0; i <= last_word_idx; ++i) { in seedFill8Iteration()
141 for (; i < last_word_idx; ++i) { in seedFill8Iteration()
[all …]
H A DSlicedHistogram.cpp59 const int last_word_idx = area.right() >> 5; // area.right() is within area in processHorizontalLines() local
61 const int last_word_unused_bits = (last_word_idx << 5) + 31 - area.right(); in processHorizontalLines()
65 if (first_word_idx == last_word_idx) { in processHorizontalLines()
75 for (++idx; idx != last_word_idx; ++idx) { in processHorizontalLines()
H A DSkewFinder.cpp192 const int last_word_idx = (width - 1) >> 5; in calcScore() local
200 for (; i != last_word_idx; ++i) { in calcScore()
H A DGrayscale.cpp381 const int last_word_idx = (w - 1) >> 5; in fromMonoMSBImage() local
382 const int last_word_unused_bits = (((last_word_idx + 1) << 5) - w); in fromMonoMSBImage()
392 for (; i < last_word_idx; ++i) { in fromMonoMSBImage()
H A DPolygonRasterizer.cpp459 const int last_word_idx = (x_to - 1) >> 5; // x_to is exclusive in fillBinarySegment() local
460 if (first_word_idx == last_word_idx) { in fillBinarySegment()
475 for (++i; i < last_word_idx; ++i) { in fillBinarySegment()
H A DBinaryImage.h277 …static bool isLineMonotone(const uint32_t* line, int last_word_idx, uint32_t last_word_mask, uint3…
/dports/graphics/scantailor/scantailor-advanced-1.0.16/
H A DEstimateBackground.cpp254 const int last_word_idx = (width - 1) >> 5; in estimateBackground() local
255 const uint32_t last_word_mask = ~uint32_t(0) << (32 - width - (last_word_idx << 5)); in estimateBackground()
262 for (; i < last_word_idx; ++i) { in estimateBackground()
270 memset(mask_line, 0, (last_word_idx + 1) * sizeof(*mask_line)); in estimateBackground()