Fix a bug of gfft.
authorpeng xiao <hisenxpress@gmail.com>
Tue, 4 Jun 2013 07:55:33 +0000 (15:55 +0800)
committerpeng xiao <hisenxpress@gmail.com>
Tue, 4 Jun 2013 07:55:33 +0000 (15:55 +0800)
commita7a94de74ae46f99b8ab7606dab1faef93c6e7fa
tree5cb5099aaffea63378cf91162eb6a768f30bc079
parentb1c248fcc9eaa24baabf55fde7fcff096d62dcb2
Fix a bug of gfft.
When user provided corners buffer is big enough to be copied to from
tmpCorners_, we allow the buffer to be reused other than allocate a new
cl_mem object.
modules/ocl/src/gfft.cpp
modules/ocl/test/test_optflow.cpp