mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
fixed compilation for vs2008
This commit is contained in:
parent
ea79357fd3
commit
fe10c74faa
@ -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)
|
||||
{
|
||||
|
@ -58,6 +58,8 @@
|
||||
namespace cv { namespace softcascade { namespace device {
|
||||
|
||||
typedef unsigned char uchar;
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned short ushort;
|
||||
|
||||
struct Octave
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user