Commit 77728115 authored by cuda-geek's avatar cuda-geek Committed by OpenCV Buildbot

Merge pull request #659 from Nerei:master

parents 92ba74a3 fe10c74f
...@@ -63,6 +63,9 @@ __host__ __device__ __forceinline__ int divUp(int total, int grain) ...@@ -63,6 +63,9 @@ __host__ __device__ __forceinline__ int divUp(int total, int grain)
namespace cv { namespace softcascade { namespace device namespace cv { namespace softcascade { namespace device
{ {
typedef unsigned int uint;
typedef unsigned short ushort;
// Utility function to extract unsigned chars from an unsigned integer // Utility function to extract unsigned chars from an unsigned integer
__device__ uchar4 int_to_uchar4(unsigned int in) __device__ uchar4 int_to_uchar4(unsigned int in)
{ {
......
...@@ -58,6 +58,8 @@ ...@@ -58,6 +58,8 @@
namespace cv { namespace softcascade { namespace device { namespace cv { namespace softcascade { namespace device {
typedef unsigned char uchar; typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned short ushort;
struct Octave struct Octave
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment