/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/dict_image.cpp

  • Committer: Suren A. Chilingaryan
  • Date: 2010-04-17 07:43:38 UTC
  • Revision ID: csa@dside.dyndns.org-20100417074338-l45lxndn5tv72bpx
Patches for windows port

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        break;
21
21
#endif /* DICT_TIFF_SUPPORT */
22
22
    }
 
23
    
 
24
    return 0;
23
25
}
24
26
 
25
27
int dictImageFree(DICTContext ps) {
26
28
    if (ps->image_buf) dictImageFreeBuffer(ps, ps->image_type, ps->image_buf);
27
29
    if (ps->image) free(ps->image);
 
30
    
 
31
    return 0;
28
32
}
29
33
 
30
34
#ifdef USE_SSE
233
237
        break;
234
238
#endif /* DICT_TIFF_SUPPORT */
235
239
    }
 
240
    
 
241
    return 0;
236
242
}
237
243
 
238
244
int dictImageLoadTemplateImage(DICTContext ps, const char *name) {