/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to dict_hw/src/normxcorr_hw.h

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-15 13:54:56 UTC
  • Revision ID: csa@dside.dyndns.org-20091215135456-0q8p63jwg4dzbf6p
Collection of timing information and fix for a crash in non-matlab mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#define SIDE_BLOCK_SIZE BLOCK_SIZE_2D
19
19
 
20
20
#define USE_UNDOCUMENTED
 
21
#define USE_SSE
21
22
 
22
23
struct STProcessingState {
23
24
    int stored;                         // flag indicating if we already have coordinates in coords stored
102
103
    DICTImageType image_type;
103
104
    void *image_buf;            // Temporary buffer for images (specific-format)
104
105
    unsigned char *image;       // Reduced format
 
106
 
 
107
#ifdef DICT_HW_MEASURE_TIMINGS
 
108
    int time[24];               // Timing counters: 
 
109
                                //  0- 3: hardware, init, set_base_points, set_cur_points
 
110
                                //  4-11: comp_base, comp_image, (copy_fragment, load_fragment, preprocess, process, postprocess, reserve)
 
111
                                // 12-15: load_base_tiff, base_image_reduction, load_tiff, image_reduction
 
112
                                // 16   :get_results
 
113
#endif /* DICT_HW_MEASURE_TIMINGS */
105
114
};
106
115
 
107
116
typedef struct STProcessingState TProcessingState;