opencv/modules/superres/src
Vicente Olivert Riera 23bf3e337a superres: Fix return value VideoFrameSource_GPU
superres module fails to compile with the following error messages:

[100%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o
/opencv-2.4.10/modules/superres/src/frame_source.cpp: In function 'cv::Ptr<cv::superres::FrameSource> cv::superres::createFrameSource_Video_GPU(const string&)':
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected type-specifier before 'VideoFrameSource'
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: could not convert '(int*)operator new(4ul)' from 'int*' to 'cv::Ptr<cv::superres::FrameSource>'
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected ';' before 'VideoFrameSource'
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:41: error: 'VideoFrameSource' was not declared in this scope
/opencv-2.4.10/modules/superres/src/frame_source.cpp:264:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make[3]: *** [modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....

This is caused because the return value of the createFrameSource_Video_GPU function should be a VideoFrameSource_GPU object.
(cherry picked from commit 2e393ab833)
2015-04-19 13:25:16 +03:00
..
cuda Implicit CUDA and OpenCL control for module definition added. 2014-03-06 10:31:33 +04:00
opencl Merge pull request #1655 from pengx17:2.4_opt_superres_ocl 2013-10-25 19:47:38 +04:00
btv_l1_gpu.cpp Superres module enabled for Android. GPU samples build fixed for Android. 2014-03-18 17:07:19 +04:00
btv_l1_ocl.cpp deleted extra semicolons 2014-01-07 02:52:30 +04:00
btv_l1.cpp deleted extra semicolons 2014-01-07 02:52:30 +04:00
frame_source.cpp superres: Fix return value VideoFrameSource_GPU 2015-04-19 13:25:16 +03:00
input_array_utility.cpp Superres module enabled for Android. GPU samples build fixed for Android. 2014-03-18 17:07:19 +04:00
input_array_utility.hpp Add super resolution's OpenCL implementation. 2013-06-26 08:43:23 +08:00
optical_flow.cpp Fixed warning during cross compile for ARM 2014-09-25 12:27:48 +04:00
precomp.hpp Superres module enabled for Android. GPU samples build fixed for Android. 2014-03-18 17:07:19 +04:00
ring_buffer.hpp updated license header in whole gpu module 2013-03-22 14:03:15 +04:00
super_resolution.cpp updated license header in whole gpu module 2013-03-22 14:03:15 +04:00