Merge pull request #659 from Nerei:master

This commit is contained in:
cuda-geek 2013-03-18 00:46:40 +04:00 committed by OpenCV Buildbot
commit 7772811585
2 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,9 @@ __host__ __device__ __forceinline__ int divUp(int total, int grain)
namespace cv { namespace softcascade { namespace device
{
typedef unsigned int uint;
typedef unsigned short ushort;
// Utility function to extract unsigned chars from an unsigned integer
__device__ uchar4 int_to_uchar4(unsigned int in)
{

View File

@ -58,6 +58,8 @@
namespace cv { namespace softcascade { namespace device {
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned short ushort;
struct Octave
{