/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-13 02:20:05 UTC
  • Revision ID: csa@dside.dyndns.org-20091213022005-m932to8hhihwuw5r
Support for TIFF images in C code and stand-alone console application

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
#include <cudpp.h>
10
10
 
 
11
#include "dict_image.h"
 
12
 
11
13
#define BLOCK_SIZE_1D           64
12
14
#define BLOCK_SIZE_2D           16
13
15
 
63
65
    
64
66
    int cudpp_initialized;              // Flag indicating if CUDPP plan is initialized
65
67
    CUDPPHandle cudpp_plan;
66
 
    
 
68
 
 
69
    int matlab_mode;            // 2D stored transposed (i.e. by columns)
 
70
        
67
71
    int mode;                   // 1 - image mode, 0 - fragment mode
68
72
    int base_mode;              // 1 - image mode, 0 - fragment mode
69
73
    
93
97
 
94
98
    int side_blocks_power;      // Indicates if amount of side blocks is power of 2
95
99
    int base_blocks_power;      // Indicates if amount of base blocks is power of 2
 
100
 
 
101
 
 
102
    DICTImageType image_type;
 
103
    void *image_buf;            // Temporary buffer for images (specific-format)
 
104
    unsigned char *image;       // Reduced format
96
105
};
97
106
 
98
107
typedef struct STProcessingState TProcessingState;