ccutil/host.h File Reference

#include "platform.h"

Go to the source code of this file.

Defines

Typedefs


Define Documentation

#define __NATIVE__   INTEL

Definition at line 155 of file host.h.

Referenced by open_tif_image(), and write_tif_image().

#define DLLEXPORT

Definition at line 123 of file host.h.

#define DLLIMPORT

IMPORTANT!!!

Defines either __MSW__, __MSW32__, __MAC__, __UNIX__, __OS2__, __PM__ to use the specified definitions indicated below in the preprocessor settings.

Also define either __FarProc__ or __FarData__ and __MOTO__ to use the specified definitions indicated below in the preprocessor settings.

If a preprocessor settings is not allow in the compiler that is being use, then it is recommended that a "platform.h" is created with the definition of the computer and/or operating system.

Definition at line 122 of file host.h.

#define FALSE   0

Definition at line 235 of file host.h.

Referenced by acceptable_number_string(), AcceptableChoice(), AcceptableResult(), LMS::add(), ELIST2_ITERATOR::add_after_stay_put(), ELIST_ITERATOR::add_after_stay_put(), CLIST_ITERATOR::add_after_stay_put(), add_document_word(), ELIST2_ITERATOR::add_list_after(), ELIST_ITERATOR::add_list_after(), CLIST_ITERATOR::add_list_after(), ELIST2_ITERATOR::add_list_before(), ELIST_ITERATOR::add_list_before(), CLIST_ITERATOR::add_list_before(), CHAR_SAMPLES::add_sample_to_prototype(), add_word(), add_word_to_dawg(), AddFeature(), AddNewChunk(), adjust_row_limits(), AlternativeChoicesWorseThan(), AmbigsFound(), any_shared_split_points(), append_number_choices(), WERD::baseline_denormalise(), bin_to_pieces(), bln_word_window_handle(), BLOCK_RES::BLOCK_RES(), BOOL_VAR_MENU_LEAF::BOOL_VAR_MENU_LEAF(), BOOL_VARIABLE::BOOL_VARIABLE(), break_noisiest_blob_word(), IMAGE::bufread(), build_image_window(), build_menu(), c_create_window(), capture_children(), case_ok(), char_clip_word(), check_debug_pt(), check_pitch_sync(), check_pitch_sync2(), check_pitch_sync3(), check_seam_order(), check_wait_list(), classify_word_pass1(), classify_word_pass2(), clean_noise_from_row(), cleanup_rows(), LMS::clear(), STATS::cluster(), collect_characters_for_adaption(), collect_ems_for_adaption(), COMMAND_WINDOW::COMMAND_WINDOW(), compute_row_xheight(), compute_rows_pitch(), ComputeIntCharNormArray(), constrained_split(), STRING::contains(), POLY_BLOCK::contains(), ConvertOutline(), correct_row_xheight(), OL_BUCKETS::count_children(), count_pitch_stats(), IMAGE::create(), create_edges_window(), create_fx_win(), create_to_win(), crosses_outline(), crude_match_blobs(), dawg_permute(), DBL_VAR_MENU_LEAF::DBL_VAR_MENU_LEAF(), DEBUG_WIN::DEBUG_WIN(), DebugAdaptiveClassifier(), def_show_sub_image(), WINFD::Destroy_window(), determine_newline_type(), display_clip_image(), display_cluster_prototypes(), display_image(), display_images(), DistributionOK(), do_new_source(), do_write_file(), doc_and_block_rejection(), dodgy_blob(), DoError(), DummyFastMatch(), ELISTIZE(), Equal(), eval_word_spacing(), evaluate_state(), RADIO_MENU::event(), expand_rows(), PIXROW::extend(), ELIST2_ITERATOR::extract(), ELIST_ITERATOR::extract(), CLIST_ITERATOR::extract(), ELIST2_ITERATOR::extract_sublist(), ELIST_ITERATOR::extract_sublist(), CLIST_ITERATOR::extract_sublist(), ExtractIntFeat(), FillerDone(), find_best_dropout_row(), find_containing_maximal_band(), find_repeated_chars(), find_row_pitch(), find_split_in_blob(), fix_fuzzy_space_list(), fix_noisy_space_list(), fix_row_pitch(), fix_sp_fp_word(), fixspace_dbg(), fixspace_thinks_word_done(), PAGE_RES_IT::forward(), PAGE_RES_IT::forward_block(), FPSEGPT::FPSEGPT(), FreePrototype(), GAPMAP::GAPMAP(), good_choice(), hash_add(), hash_lookup(), ignore_big_gap(), Independent(), init_permute(), init_tesseract(), initialise_search(), INT_VAR_MENU_LEAF::INT_VAR_MENU_LEAF(), PAGE_RES_IT::internal_forward(), COMMAND_WINDOW::internal_prompt(), is_little_chunk(), isolated_row_stats(), kick_daemon(), LargeSpeckle(), letter_is_okay(), LMS::LMS(), STATS::local_min(), make_a_word_break(), make_epaper_choice(), make_illegal_segment(), make_prop_words(), make_real_words(), MakeDegenerateProto(), MakeNewCluster(), MakeSample(), MakeTempProtoPerm(), ELIST2_ITERATOR::mark_cycle_pt(), ELIST_ITERATOR::mark_cycle_pt(), CLIST_ITERATOR::mark_cycle_pt(), mark_gap(), WINFD::Marker_size(), CHAR_PROTO::match(), CHAR_SAMPLES::match_score(), match_word_pass2(), merge_oldbl_parts(), MultipleCharSamples(), new_dawg_node(), CHAR_SAMPLES::nn_match_score(), NoDangerousAmbig(), ocr_error(), ocr_open_shm(), ocr_setup_monitor(), open_tif_image(), output_pass(), QSPLINE::overlap(), POLY_BLOCK::overlap(), ParseArguments(), permute_subword(), permute_top_choice(), permute_words(), pgeditor_main(), pick_close_point(), pick_good_seam(), pick_x_height(), POLY_BLOCK::plot(), COMMAND_WINDOW::plot_msg_area(), COMMAND_WINDOW::plot_prompt_area(), plot_word_decisions(), NON_LEAF_MENU_NODE::plotx(), LEAF_MENU_NODE::plotx(), point_in_split(), PointInside(), RADIO_MENU::press_radio_button(), print_choices(), process_cmd_win_event(), pure_number(), REJMAP::quality_recoverable_rejects(), QueryInSearch(), QueryIntersectsSearch(), re_estimate_x_ht(), re_segment_word(), IMAGE::read(), read_eol(), read_hpd_file(), read_next_box(), read_pd_file(), read_unlv_file(), read_variables_file(), read_vec_file(), ReadAdaptedTemplates(), ReadParamDesc(), ReadPrototype(), ROW::recalc_bounding_box(), recog_all_words(), recog_word_recursive(), REJMAP::recoverable_rejects(), REJ::rejected(), release_ocr(), remote_display(), PAGE_RES_IT::restart_page(), restore_underlined_blobs(), room_in_node(), row_pitch_stats(), ROW_RES::ROW_RES(), row_words(), row_words2(), same_var_name(), SaveFeature(), scale_image_cop_out(), search_single_queue(), segment_baseline(), set_pass1(), set_pass2(), ELIST2_ITERATOR::set_to_list(), ELIST_ITERATOR::set_to_list(), CLIST_ITERATOR::set_to_list(), SettupPass2(), shared_split_points(), ELIST2::singleton(), ELIST::singleton(), CLIST::singleton(), smd_cmd(), split_stepped_spline(), STR_VAR_MENU_LEAF::STR_VAR_MENU_LEAF(), StringSameAs(), GAPMAP::table_gap(), terrible_word_crunch(), tess_bn_matcher(), tess_cn_matcher(), tess_default_matcher(), tess_segment_pass1(), tess_segment_pass2(), tess_training_tester(), test_underline(), tidy_up(), tilde_crunch(), tilde_delete(), transform_to_next_perm(), try_block_fixed(), try_doc_fixed(), try_rows_fixed(), UniformCertainties(), unlock_events(), unrej_good_chs(), COMMAND_WINDOW::update_menu_tree(), VARIABLES_WINDOW::v_event(), valid_number(), valid_word(), verify_trailing_punct(), WERD_RES::WERD_RES(), WINFD::WINFD(), word_adaptable(), word_blank_and_set_display(), word_blob_quality(), word_change_text(), word_char_quality(), word_delete(), word_display(), word_dumper(), word_in_dawg(), and write_results().

#define HPERR   -1

Definition at line 227 of file host.h.

Referenced by ocr_open_shm(), ocr_send_text(), release_mutex(), release_ocr(), wait_for_hp(), and wait_for_mutex().

#define INT32FORMAT   "%d"

Definition at line 202 of file host.h.

Referenced by compute_line_occupation(), de_serialise_INT32(), DEBUG_WIN::DEBUG_WIN(), TessBaseAPI::DumpPGM(), INT_VAR_MENU_LEAF::event(), extend_moded_commands(), extend_unmoded_commands(), improve_by_chopping(), POLY_BLOCK::plot(), INT_VARIABLE::print(), CHAR_SAMPLES::print(), CHAR_SAMPLE::print(), print_ratings_info(), process_cmd_win_event(), read_next_box(), read_variables_file(), save_summary(), serialise_INT32(), start_sbdaemon(), VARIABLES_WINDOW::v_event(), and write_cooked_text().

#define MAX_FLOAT32   ((float)3.40282347e+38)

Definition at line 210 of file host.h.

Referenced by AdaptiveClassifier(), AdaptToPunc(), check_pitch_sync(), check_pitch_sync2(), check_pitch_sync3(), compare_tess_blobs(), ComputeDirection(), ComputeNormMatch(), CurrentBestChoiceAdjustFactor(), FPSEGPT::FPSEGPT(), improve_one_blob(), make_illegal_segment(), permute_compound_words(), permute_subword(), permute_words(), QueryIntersectsSearch(), select_blob_to_split(), Solve(), and UniformCertainties().

#define MAX_INT16   0x7fff

Definition at line 205 of file host.h.

Referenced by apply_boxes(), block_spacing_stats(), PIXROW::bounding_box(), check_pitch_sync2(), check_pitch_sync3(), PIXROW::contract(), cutline(), dodgy_blob(), ELISTIZE(), find_repeated_chars(), FPSEGPT::FPSEGPT(), GAPMAP::GAPMAP(), BOX::intersection(), make_a_word_break(), make_prop_words(), make_tess_edgepts(), operator-=(), peek_at_next_gap(), permute_subword(), plot_word_decisions(), reduced_box_for_blob(), row_words2(), MEM_ALLOCATOR::set_owner(), transform_to_next_perm(), try_doc_fixed(), and uniformly_spaced().

#define MAX_INT32   0x7fffffff

Definition at line 206 of file host.h.

Referenced by adapt_to_good_ems(), adapt_to_good_samples(), WERD::baseline_normalise_x(), check_pitch_sync2(), check_pitch_sync3(), STATS::cluster(), cluster_sample(), compute_height_modes(), compute_row_xheight(), CHAR_SAMPLES::find_best_sample(), find_blob_limits(), find_cblob_hlimits(), find_cblob_limits(), find_cblob_vlimits(), find_top_modes(), get_ydiffs(), make_prop_words(), most_overlapping_row(), CHAR_SAMPLES::nn_match_score(), reduced_box_for_blob(), row_words(), split_and_recog_word(), and DENORM::yshift_at_x().

#define MAX_INT8   0x7f

Definition at line 204 of file host.h.

Referenced by find_modal_font().

#define MAX_UINT16   0xffff

Definition at line 208 of file host.h.

#define MAX_UINT32   0xffffffff

Definition at line 209 of file host.h.

#define MAX_UINT8   0xff

Definition at line 207 of file host.h.

#define MIN_FLOAT32   ((float)1.17549435e-38)

Definition at line 218 of file host.h.

#define MIN_INT16   0x8000

Definition at line 213 of file host.h.

#define MIN_INT32   0x80000000

Definition at line 214 of file host.h.

#define MIN_INT8   0x80

Definition at line 212 of file host.h.

#define MIN_UINT16   0x0000

Definition at line 216 of file host.h.

#define MIN_UINT32   0x00000000

Definition at line 217 of file host.h.

#define MIN_UINT8   0x00

Definition at line 215 of file host.h.

#define NULL   0L

Definition at line 239 of file host.h.

Referenced by AcceptableChoice(), AcceptableResult(), account_splits_left(), account_splits_right(), adapt_to_good_ems(), adapt_to_good_samples(), AdaptableWord(), AdaptiveClassifier(), AdaptToWord(), STATS::add(), ELIST2_ITERATOR::add_after_stay_put(), ELIST_ITERATOR::add_after_stay_put(), CLIST_ITERATOR::add_after_stay_put(), ELIST2_ITERATOR::add_after_then_move(), ELIST_ITERATOR::add_after_then_move(), CLIST_ITERATOR::add_after_then_move(), ELIST2_ITERATOR::add_before_stay_put(), ELIST_ITERATOR::add_before_stay_put(), CLIST_ITERATOR::add_before_stay_put(), ELIST2_ITERATOR::add_before_then_move(), ELIST_ITERATOR::add_before_then_move(), CLIST_ITERATOR::add_before_then_move(), add_event(), ELIST2_ITERATOR::add_list_after(), ELIST_ITERATOR::add_list_after(), CLIST_ITERATOR::add_list_after(), ELIST2_ITERATOR::add_list_before(), ELIST_ITERATOR::add_list_before(), CLIST_ITERATOR::add_list_before(), ELIST2_ITERATOR::add_to_end(), ELIST_ITERATOR::add_to_end(), CLIST_ITERATOR::add_to_end(), add_word(), AddAdaptedClass(), AddNewResult(), MEM_ALLOCATOR::alloc(), alloc_big_mem(), alloc_big_zeros(), alloc_mem(), alloc_mem_p(), MEM_ALLOCATOR::alloc_p(), alloc_string(), alloc_struct(), AmbigsFound(), WINFD::Append_text(), apply_box_training(), apply_boxes(), apply_seam(), WINFD::Arc(), array_insert(), assign_blobs_to_rows(), ELIST2::assign_to_sublist(), ELIST::assign_to_sublist(), CLIST::assign_to_sublist(), ELIST2_ITERATOR::at_first(), ELIST_ITERATOR::at_first(), CLIST_ITERATOR::at_first(), ELIST2_ITERATOR::at_last(), ELIST_ITERATOR::at_last(), CLIST_ITERATOR::at_last(), attempt_blob_chop(), await_click(), await_key(), await_selection(), ELIST2_ITERATOR::backward(), WERD::baseline_normalise_x(), BaselineClassifier(), blob_bounding_box(), WERD::blob_list(), BlobMicroFeatures(), block_edges(), block_space_stat(), box_next(), break_noisiest_blob_word(), break_pieces(), IMAGE::bufread(), build_main_var_menu(), C_OUTLINE_FRAG::C_OUTLINE_FRAG(), call_matcher(), call_tester(), call_train_tester(), WERD::cblob_list(), cc_recog(), PIXROW::char_clip_image(), char_clip_word(), CHAR_PROTO::CHAR_PROTO(), CHAR_SAMPLE::CHAR_SAMPLE(), CHAR_SAMPLES::CHAR_SAMPLES(), WINFD::Character_height(), CharToName(), MEM_ALLOCATOR::check(), check_blob(), check_pitch_sync(), check_pitch_sync2(), check_pitch_sync3(), check_seam_order(), check_struct(), VAR_SUB_MENU::child_closed(), choice_dump_tester(), choose_best_seam(), chop_word_main(), classify_piece(), classify_word_pass1(), classify_word_pass2(), cleanup_sbdaemon(), CleanUpUnusedData(), STATS::clear(), clear_blobnboxes(), WINFD::Clear_event_queue(), WINFD::Clear_view_surface(), clip_sample(), CLIST::CLIST(), CLIST_ITERATOR::CLIST_ITERATOR(), CLIST_LINK::CLIST_LINK(), CLISTIZE(), STATS::cluster(), cluster_sample(), ClusterSamples(), collect_characters_for_adaption(), collect_ems_for_adaption(), combine_seam(), compare_blob_pairs(), compress_region_list(), compute_fixed_pitch(), compute_page_skew(), compute_row_stats(), TO_ROW::compute_vertical_projection(), ComputeChiSquared(), ComputePrototypes(), ComputeStatistics(), STRING::contains(), convert_choice_list(), convert_choice_lists(), ConvertBlob(), ConvertOutline(), ConvertOutlines(), ConvertProto(), ConvertToMicroFeatures(), correct_segment_pass2(), MALLOC_CALL::count_freeer(), count_pitch_stats(), WINFD::create(), IMAGE::create(), CreateClusterTree(), ELIST2_ITERATOR::cycled_list(), ELIST_ITERATOR::cycled_list(), CLIST_ITERATOR::cycled_list(), ELIST2_ITERATOR::data(), ELIST_ITERATOR::data(), CLIST_ITERATOR::data(), ELIST2_ITERATOR::data_relative(), ELIST_ITERATOR::data_relative(), CLIST_ITERATOR::data_relative(), dawg_permute(), STRING::de_dump(), de_serialise_bytes(), de_serialise_FLOAT64(), de_serialise_INT32(), MEM_ALLOCATOR::dealloc(), def_await_event(), def_overlap_picture_ops(), def_show_sub_image(), delete_d(), delete_edgepts(), delete_non_dropout_rows(), delete_word(), DENORM::DENORM(), IMAGE::destroy(), destroy_nodes(), WINFD::Destroy_window(), determine_newline_type(), display_blob(), display_cluster_prototypes(), MEM_ALLOCATOR::display_counts(), display_edgepts(), display_segmentation(), divide_blobs(), do_write_file(), doc_and_block_rejection(), DoError(), WINFD::Draw2d(), draw_blob_edges(), dyn_prog(), edges_and_textord(), Efopen(), Efree(), ELIST::ELIST(), ELIST2::ELIST2(), ELIST2_ITERATOR::ELIST2_ITERATOR(), ELIST2_LINK::ELIST2_LINK(), ELIST_ITERATOR::ELIST_ITERATOR(), ELIST_LINK::ELIST_LINK(), ELISTIZE(), ELISTIZE_S(), WINFD::Ellipse(), Emalloc(), ELIST2_ITERATOR::empty(), ELIST_ITERATOR::empty(), CLIST_ITERATOR::empty(), end_match_table(), end_metrics(), end_permdawg(), end_permute(), EndAdaptiveClassifier(), EndDangerousAmbigs(), Erealloc(), ERRCODE::error(), evaluate_chunks(), evaluate_state(), VAR_SUB_MENU::event(), event_reader(), ELIST2_ITERATOR::exchange(), ELIST_ITERATOR::exchange(), CLIST_ITERATOR::exchange(), PIXROW::extend(), ELIST2_ITERATOR::extract(), ELIST_ITERATOR::extract(), CLIST_ITERATOR::extract(), ELIST2_ITERATOR::extract_sublist(), ELIST_ITERATOR::extract_sublist(), CLIST_ITERATOR::extract_sublist(), ExtractFlexFeatures(), ExtractIntFeat(), ExtractOutlineFeatures(), WINFD::Fill_color(), WINFD::Fill_color_index(), FillBuckets(), find_event(), find_repeated_chars(), find_row_of_box(), find_row_pitch(), find_split_in_blob(), find_underlined_blobs(), FindClass(), FindClassifierErrors(), FindList(), FindNearestNeighbor(), ELIST2::First(), ELIST::First(), CLIST::First(), fix_fuzzy_spaces(), fix_row_pitch(), fixspace_thinks_word_done(), font_recognition_pass(), ELIST2_ITERATOR::forward(), ELIST_ITERATOR::forward(), CLIST_ITERATOR::forward(), WERDIT::forward(), PAGE_RES_IT::forward_block(), FPSEGPT::FPSEGPT(), free_adapted_class(), free_adapted_templates(), free_big_mem(), free_blob(), FREE_CALL::FREE_CALL(), free_crackedges(), free_loop(), free_mem(), free_outline(), free_struct(), free_tree(), FreeBuckets(), FreeCluster(), FreeClusterer(), FreeMFOutline(), FreeNormProtos(), FreePrototype(), FreeSubTree(), FreeTempConfig(), GAPMAP::GAPMAP(), garbage_word(), GetAdaptThresholds(), GetBuckets(), GetNextFilename(), getopt(), getpath(), getshm(), good_choice(), h_edge(), MEM_ALLOCATOR::hash_caller(), hide_seam(), STATS::ile(), IMAGE::IMAGE(), IMAGELINE::IMAGELINE(), IMDisplayProtoDebugInfo(), improve_by_chopping(), improve_one_blob(), IMAGELINE::init(), MEM_ALLOCATOR::init(), init_match_table(), init_tesseract(), InitAdaptiveClassifier(), InitChoiceAccum(), REJMAP::initialise(), WINFD::Interior_style(), ELIST2::internal_clear(), ELIST::internal_clear(), ELIST2::internal_de_dump(), ELIST::internal_de_dump(), CLIST::internal_de_dump(), CLIST::internal_deep_clear(), ELIST2::internal_deep_copy(), ELIST::internal_deep_copy(), CLIST::internal_deep_copy(), ELIST2::internal_dump(), ELIST::internal_dump(), CLIST::internal_dump(), PAGE_RES_IT::internal_forward(), join_two_seams(), KDDelete(), KDNearestNeighborSearch(), KDStore(), KDWalk(), kick_daemon(), LearnBlob(), STRING::length(), ELIST2_ITERATOR::length(), ELIST2::length(), ELIST_ITERATOR::length(), ELIST::length(), CLIST_ITERATOR::length(), CLIST::length(), WINFD::Line_color_index(), line_edges(), WINFD::Line_type(), STATS::local_min(), LogNewWordChoice(), main(), main_setup(), MainSignalHandler(), make_ed_blob(), make_ed_outline(), make_ed_word(), make_first_baseline(), make_holed_baseline(), make_illegal_segment(), make_initial_textrows(), make_margins(), make_old_baselines(), WINFD::Make_picture_current(), make_prop_words(), make_pseudo_word(), make_real_word(), make_real_words(), make_rep_words(), make_single_split(), make_tess_blob(), make_tess_blobs(), make_tess_edgepts(), make_tess_outlines(), make_tess_word(), make_words(), MakeClusterer(), MakeDegenerateProto(), MakeEllipticalProto(), MakeKDNode(), MakeKDTree(), MakeMixedProto(), MakePotentialClusters(), MakePrototype(), MakeSample(), MakeSphericalProto(), MALLOC_CALL::MALLOC_CALL(), ELIST2_ITERATOR::mark_cycle_pt(), ELIST_ITERATOR::mark_cycle_pt(), CLIST_ITERATOR::mark_cycle_pt(), WINFD::Marker_color_index(), WINFD::Marker_size(), WINFD::Marker_type(), match_current_words(), CHAR_PROTO::match_sample(), CHAR_SAMPLE::match_sample(), CHAR_SAMPLES::match_score(), match_word_pass2(), STATS::max_bucket(), STATS::mean(), STATS::median(), median_block_xheight(), STATS::min_bucket(), STATS::mode(), most_overlapping_row(), WINFD::Move2d(), ELIST2_ITERATOR::move_to_first(), ELIST_ITERATOR::move_to_first(), CLIST_ITERATOR::move_to_first(), ELIST2_ITERATOR::move_to_last(), ELIST_ITERATOR::move_to_last(), CLIST_ITERATOR::move_to_last(), MultipleCharSamples(), name_to_image_type(), NameToChar(), MEM_ALLOCATOR::new_block(), new_hash_table(), new_struct_block(), NewAdaptedClass(), NewAdaptedTemplates(), NewCharDescription(), NewSimpleProto(), NextSample(), NoDangerousAmbig(), number_character_type(), number_permute_and_select(), number_state_change(), NumBlobsIn(), NumOutlinesInBlob(), ocr_append_fontinfo(), ocr_error(), ocr_get_first_image_strip(), ocr_get_next_image_strip(), ocr_internal_shutdown(), ocr_open_shm(), ocr_setup_monitor(), old_struct_block(), R_BITSTREAM::open(), open_file(), STRING::operator!=(), STRING::operator+(), STRING::operator+=(), STRING::operator=(), ELIST2_LINK::operator=(), ELIST_LINK::operator=(), CLIST_LINK::operator=(), WERD_RES::operator=(), DENORM::operator=(), STRING::operator==(), TessBaseAPI::OtsuStats(), output_pass(), pause_continue(), WINFD::Perimeter_color_index(), permute_all(), permute_compound_words(), permute_subword(), permute_top_choice(), permute_words(), pgeditor_read_file(), pgeditor_write_file(), pick_close_point(), pick_good_seam(), PIXROW::PIXROW(), STATS::plot(), plot_word_decisions(), STATS::plotline(), poly2(), WINFD::Polygon2d(), WINFD::Polyline2d(), WINFD::Polymarker2d(), pop_queue(), ELIST2::prep_serialise(), ELIST::prep_serialise(), CLIST::prep_serialise(), preserve_outline(), preserve_outline_tree(), RADIO_MENU::press_radio_button(), STATS::print(), print_block_counts(), PrintBadWords(), prioritize_points(), process_all_blobs(), process_selected_blobs(), program_editdown(), program_editup(), program_editup2(), QSPLINE::QSPLINE(), quality_based_rejection(), WINFD::Re_compute_colourmap(), re_segment_word(), IMAGE::read(), read_and_textord(), R_BITSTREAM::read_code(), IMAGE::read_header(), read_hpd_file(), read_list(), read_pd_file(), read_poly_blocks(), read_unlv_file(), read_variables(), read_variables_file(), read_vec_file(), read_word_list(), ReadClassFile(), ReadPrototype(), ReadTrainingSamples(), rebuild_current_state(), MENU_NODE::recalc_bounding_box(), recog_all_words(), recog_pseudo_word(), recog_word(), recog_word_recursive(), TessBaseAPI::RecognizeToString(), WINFD::Rectangle(), reduced_box_for_blob(), reduced_box_next(), register_outline(), WERD::rej_blob_list(), WERD::rej_cblob_list(), reject_whole_page(), REJMAP::REJMAP(), release_ocr(), remote_display(), QLSQ::remove(), LLSQ::remove(), REJMAP::remove_pos(), RemoveBadMatches(), RemoveExtraPuncs(), RemoveInsignificantProtos(), RenderIntFeature(), RenderIntProto(), resegment_box(), ResetAdaptiveClassifier(), PAGE_RES_IT::restart_page(), restore_outline(), restore_outline_tree(), restore_underlined_blobs(), reveal_seam(), WERDIT::row(), ROW_RES::ROW_RES(), row_space_stat(), s_adjoin(), SaveBadWord(), WERD::scale(), scale_image(), scan_hpd_blocks(), STATS::sd(), seam_priority(), search(), Search(), search_event_queue(), search_single_queue(), separate_underlines(), serialise_bytes(), serialise_FLOAT64(), serialise_INT32(), WINFD::Set_echo(), set_float_value(), set_int_value(), STATS::set_range(), ELIST2_ITERATOR::set_to_list(), ELIST_ITERATOR::set_to_list(), CLIST_ITERATOR::set_to_list(), SetUpForClustering(), CLIST::shallow_clear(), shared_split_points(), STATS::short_print(), ShowMatchDisplay(), CLIST::singleton(), STATS::smooth(), ELIST2_ITERATOR::sort(), ELIST2::sort(), ELIST_ITERATOR::sort(), ELIST::sort(), CLIST_ITERATOR::sort(), CLIST::sort(), split_and_recog_word(), start_sbdaemon(), start_seam_list(), start_variables_editor(), STATS::STATS(), STRING::STRING(), WINFD::Synchronize_windows(), tess_adaptable_word(), tess_bn_matcher(), tess_cn_matcher(), tess_default_matcher(), tess_segment_pass1(), tess_segment_pass2(), TessBaseAPI::TesseractRect(), TessBaseAPI::TesseractToText(), tesspoly_outline(), test_segment_pass2(), TestEllipticalProto(), WINFD::Text2d(), WINFD::Text_alignment(), WINFD::Text_color_index(), WINFD::Text_font_index(), textord_page(), tidy_up(), tilde_crunch(), tilde_delete(), to_spacing(), tprintf(), trace_caller(), transform_to_next_perm(), try_doc_fixed(), try_vertical_splits(), tune_row_pitch2(), undo_seam(), undo_single_split(), unlock_events(), unrej_good_chs(), unrej_good_quality_words(), UpdateMatchDisplay(), v_edge(), VAR_SUB_MENU::VAR_SUB_MENU(), WINFD::Vdc_extent(), vertical_projection_point(), vfscanf(), vigorous_noise_removal(), Walk(), WERD_RES::WERD_RES(), WINFD::WINFD(), word_adaptable(), word_blob_quality(), word_char_quality(), word_dumper(), IMAGE::write(), W_BITSTREAM::write_code(), VARIABLES_WINDOW::write_vars(), WriteClusteredTrainingSamples(), WriteMergedTrainingSamples(), WriteMicrofeat(), WriteNormProtos(), WritePermConfig(), WriteTempConfig(), WriteTrainingSamples(), C_OUTLINE_FRAG::~C_OUTLINE_FRAG(), CHAR_PROTO::~CHAR_PROTO(), CHAR_SAMPLE::~CHAR_SAMPLE(), GAPMAP::~GAPMAP(), IMAGELINE::~IMAGELINE(), PIXROW::~PIXROW(), QSPLINE::~QSPLINE(), REJMAP::~REJMAP(), STATS::~STATS(), STRING::~STRING(), and WERD_RES::~WERD_RES().

#define OKAY   0

Definition at line 223 of file host.h.

Referenced by ocr_append_char(), ocr_append_fontinfo(), ocr_get_first_image_strip(), ocr_get_next_image_strip(), ocr_internal_shutdown(), ocr_open_shm(), ocr_send_text(), ocr_setup_monitor(), ocr_setup_startinfo(), ocr_setup_startinfo_ansi(), ocr_shutdown(), release_mutex(), release_ocr(), wait_for_hp(), wait_for_mutex(), and write_shm_text().

#define TRUE   1

Definition at line 231 of file host.h.

Referenced by acceptable_number_string(), AcceptableChoice(), AcceptableResult(), ELIST2_ITERATOR::add_before_stay_put(), ELIST_ITERATOR::add_before_stay_put(), CLIST_ITERATOR::add_before_stay_put(), RADIO_MENU::add_child(), add_event(), ELIST2_ITERATOR::add_list_after(), ELIST_ITERATOR::add_list_after(), CLIST_ITERATOR::add_list_after(), CHAR_SAMPLES::add_sample(), CHAR_SAMPLES::add_sample_to_prototype(), add_word(), add_word_to_dawg(), AddFeature(), AlternativeChoicesWorseThan(), AmbigsFound(), any_shared_split_points(), append_number_choices(), apply_box_training(), ELIST2_ITERATOR::backward(), WERD::baseline_normalise_x(), bin_to_pieces(), bln_word_window_handle(), block_space_stat(), block_spacing_stats(), IMAGE::bufread(), build_image_window(), build_menu(), c_create_window(), IMAGE::capture(), capture_children(), check_debug_pt(), check_pitch_sync(), check_pitch_sync2(), check_pitch_sync3(), check_seam_order(), classify_word_pass1(), classify_word_pass2(), clean_noise_from_row(), cleanup_rows(), close_to_win(), STATS::cluster(), COMMAND_WINDOW::COMMAND_WINDOW(), compare_bln_blobs(), compare_blob_pairs(), compute_block_pitch(), compute_fixed_pitch(), compute_row_xheight(), LMS::constrained_fit(), constrained_split(), STRING::contains(), POLY_BLOCK::contains(), ConvertOutline(), correct_row_xheight(), correct_segment_pass2(), OL_BUCKETS::count_children(), WINFD::create(), create_edges_window(), create_fx_win(), create_to_win(), crosses_outline(), crude_match_blobs(), dawg_permute(), DebugAdaptiveClassifier(), DENORM::DENORM(), display_clip_image(), display_image(), display_images(), DistributionOK(), do_write_file(), doc_and_block_rejection(), DoFill(), edges_and_textord(), ELISTIZE(), Equal(), eval_word_spacing(), evaluate_state(), STR_VAR_MENU_LEAF::event(), INT_VAR_MENU_LEAF::event(), DBL_VAR_MENU_LEAF::event(), BOOL_VAR_MENU_LEAF::event(), expand_rows(), PIXROW::extend(), ELIST2_ITERATOR::extract(), ELIST_ITERATOR::extract(), CLIST_ITERATOR::extract(), ELIST2_ITERATOR::extract_sublist(), ELIST_ITERATOR::extract_sublist(), CLIST_ITERATOR::extract_sublist(), ExtractIntFeat(), FillerDone(), FillPPCircularBits(), find_best_dropout_row(), find_containing_maximal_band(), find_repeated_chars(), find_row_pitch(), find_split_in_blob(), LMS::fit(), LMS::fit_quadratic(), fix_fuzzy_space_list(), fix_fuzzy_spaces(), fix_noisy_space_list(), fix_rep_char(), fixed_pitch_row(), fixspace_thinks_word_done(), ELIST2_ITERATOR::forward(), ELIST_ITERATOR::forward(), CLIST_ITERATOR::forward(), PAGE_RES_IT::forward_block(), FreeBadChoice(), GAPMAP::GAPMAP(), get_outlines(), GetIntBaselineFeatures(), GetIntCharNormFeatures(), good_choice(), hash_add(), hash_lookup(), ignore_big_gap(), Independent(), InitAdaptiveClassifier(), insert_rej_cblobs(), PAGE_RES_IT::internal_forward(), COMMAND_WINDOW::internal_prompt(), VARIABLES_WINDOW::interrupt_handler(), is_little_chunk(), isolated_row_stats(), KDDelete(), kick_daemon(), LargeSpeckle(), letter_is_okay(), STATS::local_min(), MainSignalHandler(), make_a_word_break(), make_epaper_choice(), make_illegal_segment(), make_initial_textrows(), WINFD::Make_picture_current(), make_prop_words(), make_real_word(), make_tess_blobs(), make_words(), MakeBuckets(), MakeNewCluster(), MakeTempProtoPerm(), ELIST2_ITERATOR::mark_cycle_pt(), ELIST_ITERATOR::mark_cycle_pt(), CLIST_ITERATOR::mark_cycle_pt(), mark_gap(), CHAR_PROTO::match(), match_word_pass2(), merge_oldbl_parts(), COMMAND_WINDOW::msg(), MultipleCharSamples(), new_dawg_node(), NewSimpleProto(), NextSample(), NoDangerousAmbig(), ocr_error(), ocr_setup_monitor(), open_tif_image(), IMAGE::operator=(), QSPLINE::overlap(), POLY_BLOCK::overlap(), ParseArguments(), permute_subword(), permute_top_choice(), permute_words(), pgeditor_main(), pick_close_point(), pick_good_seam(), pick_x_height(), MENU_NODE::plot(), plot_box_list(), plot_pixrows(), point_in_split(), PointInside(), WERD::poly_copy(), pre_associate_blobs(), RADIO_MENU::press_radio_button(), print_choices(), process_cmd_win_event(), pure_number(), REJMAP::quality_recoverable_rejects(), QueryInSearch(), re_estimate_x_ht(), re_segment_word(), read_eol(), read_hpd_file(), read_next_box(), read_pd_file(), read_tif_image(), read_unlv_file(), read_variables_file(), read_vec_file(), ReadParamDesc(), ReadPrototype(), ROW::recalc_bounding_box(), recog_all_words(), recog_interactive(), recog_word_recursive(), REJMAP::recoverable_rejects(), reduced_box_next(), reject_whole_page(), remote_display(), PAGE_RES_IT::restart_page(), room_in_node(), row_pitch_stats(), ROW_RES::ROW_RES(), row_space_stat(), row_words(), row_words2(), same_var_name(), SaveFeature(), scan_hpd_blocks(), search_single_queue(), segment_baseline(), shared_split_points(), split_stepped_spline(), start_sbdaemon(), StringSameAs(), GAPMAP::table_gap(), terrible_word_crunch(), tess_bn_matcher(), tess_cn_matcher(), tess_default_matcher(), tess_training_tester(), test_segment_pass2(), test_underline(), textord_page(), tidy_up(), tilde_crunch(), tilde_delete(), transform_to_next_perm(), UniformCertainties(), COMMAND_WINDOW::update_menu_tree(), VARIABLES_WINDOW::v_event(), verify_trailing_punct(), WERD::WERD(), WERD_RES::WERD_RES(), window_wait(), word_bln_display(), word_change_text(), word_copy(), word_delete(), word_display(), word_dumper(), word_in_dawg(), word_set_display(), word_toggle_seg(), write_results(), and write_shm_text().


Typedef Documentation

typedef unsigned char BOOL8

Definition at line 173 of file host.h.

BOOLEAN

Holds TRUE or FALSE in an unsigned short

Definition at line 145 of file host.h.

FILE_HANDLE

Handle to file

Definition at line 133 of file host.h.

typedef float FLOAT32

Definition at line 171 of file host.h.

typedef double FLOAT64

Definition at line 172 of file host.h.

HANDLE

Pointer to handle

Definition at line 128 of file host.h.

typedef short INT16

Definition at line 165 of file host.h.

typedef int INT32

Definition at line 168 of file host.h.

typedef SIGNED char INT8

Definition at line 162 of file host.h.

MEMORY_HANDLE

Handle to memory

Definition at line 138 of file host.h.

typedef const float* PCFLOAT32

Definition at line 197 of file host.h.

typedef const double* PCFLOAT64

Definition at line 198 of file host.h.

typedef const short* PCINT16

Definition at line 193 of file host.h.

typedef const int* PCINT32

Definition at line 195 of file host.h.

typedef const SIGNED char* PCINT8

Definition at line 191 of file host.h.

typedef const unsigned short* PCUINT16

Definition at line 194 of file host.h.

typedef const unsigned int* PCUINT32

Definition at line 196 of file host.h.

typedef const unsigned char* PCUINT8

Definition at line 192 of file host.h.

typedef float* PFLOAT32

Definition at line 186 of file host.h.

typedef double* PFLOAT64

Definition at line 187 of file host.h.

typedef short* PINT16

Definition at line 180 of file host.h.

typedef int* PINT32

Definition at line 183 of file host.h.

typedef SIGNED char* PINT8

Definition at line 177 of file host.h.

typedef unsigned short* PUINT16

Definition at line 181 of file host.h.

typedef unsigned int* PUINT32

Definition at line 184 of file host.h.

typedef unsigned char* PUINT8

Definition at line 179 of file host.h.

typedef void* PVOID

Definition at line 200 of file host.h.

typedef unsigned short UINT16

Definition at line 166 of file host.h.

typedef unsigned int UINT32

Definition at line 169 of file host.h.

typedef unsigned char UINT8

Definition at line 164 of file host.h.


Generated on Wed Feb 28 19:49:17 2007 for Tesseract by  doxygen 1.5.1