gpu module fixes
nonfree module fixes
photo module fixes
superres module fixes
stitching module fixes
videostab module fixes
fixed gpu tutorial
softcascade module fixes
removed const qualifier (it produces warnings)
gpulegacy module fixes
disabled gpucodec module on MacOS
fixed samples compilation