Apply singlecolorpatch.diff from Amir Ebrahimi.
Add single color compressor to CUDA implementation.
This commit is contained in:
@ -48,7 +48,12 @@ void initTables()
|
||||
};
|
||||
*/
|
||||
|
||||
const static uint8 OMatch5[256][2] =
|
||||
#if __CUDACC__
|
||||
__constant__ unsigned short
|
||||
#else
|
||||
const static uint8
|
||||
#endif
|
||||
OMatch5[256][2] =
|
||||
{
|
||||
{0x00, 0x00},
|
||||
{0x00, 0x00},
|
||||
@ -308,7 +313,12 @@ const static uint8 OMatch5[256][2] =
|
||||
{0x1F, 0x1F},
|
||||
};
|
||||
|
||||
const static uint8 OMatch6[256][2] =
|
||||
#if __CUDACC__
|
||||
__constant__ unsigned short
|
||||
#else
|
||||
const static uint8
|
||||
#endif
|
||||
OMatch6[256][2] =
|
||||
{
|
||||
{0x00, 0x00},
|
||||
{0x00, 0x01},
|
||||
|
Reference in New Issue
Block a user