/external/tesseract/ccmain/ |
D | pagewalk.cpp | 153 ROW_IT row_it; in process_all_blobs() local 165 row_it.set_to_list (block->row_list ()); in process_all_blobs() 166 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in process_all_blobs() 167 row = row_it.data (); in process_all_blobs() 226 ROW_IT row_it; in process_selected_blobs() local 239 row_it.set_to_list (block->row_list ()); in process_selected_blobs() 240 for (row_it.mark_cycle_pt (); in process_selected_blobs() 241 !row_it.cycled_list (); row_it.forward ()) { in process_selected_blobs() 242 row = row_it.data (); in process_selected_blobs() 306 ROW_IT row_it; in process_all_words() local [all …]
|
D | werdit.cpp | 44 row_it.set_to_list (block_it.data ()->row_list ()); in start_page() 45 row_it.mark_cycle_pt (); in start_page() 46 while (row_it.data ()->word_list ()->empty () in start_page() 47 && !row_it.cycled_list ()) { in start_page() 48 row_it.forward (); in start_page() 50 if (!row_it.data ()->word_list ()->empty ()) { in start_page() 51 word_it.set_to_list (row_it.data ()->word_list ()); in start_page() 56 while (!block_it.cycled_list () && row_it.data ()->word_list ()->empty ()); in start_page() 80 row = row_it.data (); in forward() 83 row_it.forward (); //finished row in forward() [all …]
|
D | applybox.cpp | 292 ROW_IT row_it; in clear_any_old_text() local 297 row_it.set_to_list (block_it.data ()->row_list ()); in clear_any_old_text() 298 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in clear_any_old_text() 299 word_it.set_to_list (row_it.data ()->word_list ()); in clear_any_old_text() 347 ROW_IT row_it; in find_row_of_box() local 372 row_it.set_to_list (block->row_list ()); in find_row_of_box() 373 for (row_it.mark_cycle_pt (); in find_row_of_box() 374 !row_it.cycled_list (); row_it.forward ()) { in find_row_of_box() 376 row = row_it.data (); in find_row_of_box() 717 ROW_IT row_it; in tidy_up() local [all …]
|
D | pgedit.cpp | 180 ROW_IT row_it; in add_word() local 194 row_it.set_to_list(block->row_list()); in add_word() 195 row_it.mark_cycle_pt(); in add_word() 196 while((!row_it.cycled_list()) &&(dest_row == NULL)) { in add_word() 197 row = row_it.data(); in add_word() 201 row_it.forward(); in add_word() 240 row_it.set_to_list(dest_block->row_list()); in add_word() 241 for (row_it.mark_cycle_pt(); !row_it.cycled_list(); row_it.forward()) { in add_word() 242 if (row_it.data()->bounding_box().top() < in add_word() 247 if (row_it.cycled_list()) in add_word() [all …]
|
D | werdit.h | 45 return word_it.cycled_list ()? NULL : row_it.data (); in row() 48 return row_it.data_relative (1); in next_row() 56 ROW_IT row_it; variable
|
D | pgedit.h | 146 ROW_IT &row_it, //row list iterator
|
/external/tesseract/textord/ |
D | makerow.cpp | 112 TO_ROW_IT row_it = block->get_rows(); in make_single_row() local 128 row_it.add_before_then_move(row); in make_single_row() 134 for (row_it.mark_cycle_pt(); !row_it.cycled_list(); row_it.forward()) in make_single_row() 135 fit_lms_line(row_it.data()); in make_single_row() 213 TO_ROW_IT row_it = block->get_rows (); in make_initial_textrows() local 225 row_it.move_to_first (); in make_initial_textrows() 226 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) in make_initial_textrows() 227 fit_lms_line (row_it.data ()); in make_initial_textrows() 231 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in make_initial_textrows() 232 plot_to_row (row_it.data (), colour, rotation); in make_initial_textrows() [all …]
|
D | gap_map.cpp | 30 TO_ROW_IT row_it; //row iterator in GAPMAP() local 43 row_it.set_to_list (block->get_rows ()); in GAPMAP() 52 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in GAPMAP() 53 row = row_it.data (); in GAPMAP() 77 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in GAPMAP() 78 row = row_it.data (); in GAPMAP()
|
D | topitch.cpp | 82 TO_ROW_IT row_it; //row iterator in compute_fixed_pitch() local 118 row_it.set_to_list (block->get_rows ()); in compute_fixed_pitch() 120 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in compute_fixed_pitch() 121 row = row_it.data (); in compute_fixed_pitch() 155 TO_ROW_IT row_it; in fix_row_pitch() local 173 row_it.set_to_list (block->get_rows ()); in fix_row_pitch() 174 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); in fix_row_pitch() 175 row_it.forward ()) { in fix_row_pitch() 176 row = row_it.data (); in fix_row_pitch() 363 TO_ROW_IT row_it = block->get_rows (); in compute_rows_pitch() local [all …]
|
D | underlin.cpp | 151 TO_ROW_IT row_it = rows; //row iterator in most_overlapping_row() local 159 if (row_it.empty ()) in most_overlapping_row() 161 row = row_it.data (); in most_overlapping_row() 162 row_it.mark_cycle_pt (); in most_overlapping_row() 164 && !row_it.cycled_list ()) { in most_overlapping_row() 168 row_it.forward (); in most_overlapping_row() 169 row = row_it.data (); in most_overlapping_row() 172 >= blob->bounding_box ().bottom () && !row_it.cycled_list ()) { in most_overlapping_row() 185 row_it.forward (); in most_overlapping_row() 186 row = row_it.data (); in most_overlapping_row()
|
D | wordseg.cpp | 89 ROW_IT row_it(real_rows); in make_single_word() local 90 row_it.add_after_then_move(real_row); in make_single_word() 142 TO_ROW_IT row_it = block->get_rows (); in set_row_spaces() local 144 if (row_it.empty ()) in set_row_spaces() 147 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in set_row_spaces() 148 row = row_it.data (); in set_row_spaces() 521 TO_ROW_IT row_it = block->get_rows (); in make_real_words() local 525 if (row_it.empty ()) in make_real_words() 527 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in make_real_words() 528 row = row_it.data (); in make_real_words()
|
D | tordmain.cpp | 579 ROW_IT row_it; //row iterator in cleanup_blocks() local 583 row_it.set_to_list (block_it.data ()->row_list ()); in cleanup_blocks() 584 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in cleanup_blocks() 585 clean_small_noise_from_words(row_it.data()); in cleanup_blocks() 587 && !row_it.data ()->word_list ()->empty () in cleanup_blocks() 588 && clean_noise_from_row (row_it.data ())) in cleanup_blocks() 589 || row_it.data ()->word_list ()->empty ()) in cleanup_blocks() 590 delete row_it.extract ();//lose empty row in cleanup_blocks() 593 clean_noise_from_words (row_it.data ()); in cleanup_blocks() 595 tweak_row_baseline (row_it.data ()); in cleanup_blocks()
|
D | tospace.cpp | 120 TO_ROW_IT row_it; //row iterator in to_spacing() local 142 row_it.set_to_list (block->get_rows ()); in to_spacing() 144 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in to_spacing() 145 row = row_it.data (); in to_spacing() 188 TO_ROW_IT row_it; //row iterator in block_spacing_stats() local 207 row_it.set_to_list (block->get_rows ()); in block_spacing_stats() 208 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in block_spacing_stats() 209 row = row_it.data (); in block_spacing_stats() 281 row_it.set_to_list (block->get_rows ()); in block_spacing_stats() 282 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in block_spacing_stats() [all …]
|
D | drawtord.cpp | 239 TO_ROW_IT row_it = block->get_rows (); in draw_meanlines() local 244 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in draw_meanlines() 245 row = row_it.data (); in draw_meanlines()
|
D | oldbasel.cpp | 84 TO_ROW_IT row_it = block->get_rows (); in make_old_baselines() local 88 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in make_old_baselines() 89 row = row_it.data (); in make_old_baselines() 125 TO_ROW_IT row_it = block->get_rows (); in correlate_lines() local 127 rowcount = row_it.length (); in correlate_lines() 135 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) in correlate_lines() 137 rows[rowindex++] = row_it.data (); in correlate_lines()
|
D | makerow.h | 183 TO_ROW_IT *row_it, //current position 319 OVERLAP_STATE most_overlapping_row(TO_ROW_IT *row_it, //iterator
|
/external/tesseract/ccstruct/ |
D | ocrblock.cpp | 95 ROW_IT row_it(&rows); in sort_rows() local 97 row_it.sort (decreasing_top_order); in sort_rows() 111 ROW_IT row_it(&rows); in compress() local 121 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in compress() 122 row = row_it.data (); in compress()
|
D | pageres.cpp | 60 ROW_IT row_it (the_block->row_list ()); in BLOCK_RES() local 74 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); row_it.forward ()) { in BLOCK_RES() 75 row_res_it.add_to_end (new ROW_RES (row_it.data ())); in BLOCK_RES()
|
D | blobbox.h | 446 TO_ROW_IT row_it = &row_list; in ELIST2IZEH() local 449 for (row_it.mark_cycle_pt (); !row_it.cycled_list (); in ELIST2IZEH() 450 row_it.forward ()) { in ELIST2IZEH() 451 row = row_it.data (); in ELIST2IZEH()
|
/external/tesseract/api/ |
D | baseapi.cpp | 1033 ROW_IT row_it(rows); in GetTextDirection() local 1034 row_it.move_to_first(); in GetTextDirection() 1035 ROW* row = row_it.data(); in GetTextDirection()
|