/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 cuda/normxcorr_hw.h

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-10 16:04:14 UTC
  • Revision ID: csa@dside.dyndns.org-20091210160414-jxqhujlctfp0k8dv
Precompute if side and base blocks amount is power of 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    int lsum_aligned_size;      // CUDA optimized lsum_temp_size
129
129
    int lsum_short_aligned_size;// CUDA optimized lsum_temp_size - lsum_size - 1
130
130
 
 
131
    int side_blocks_power;      // Indicates if amount of side blocks is power of 2
 
132
    int base_blocks_power;      // Indicates if amount of base blocks is power of 2
131
133
};
132
134
 
133
135
typedef struct STProcessingState TProcessingState;