Initial NRV2E support. Pretty much untested.
committer: mfx <mfx> 1031841557 +0000
This commit is contained in:
+1
-10
@@ -68,16 +68,7 @@ static const
|
||||
|
||||
const int *PackWcle::getCompressionMethods(int method, int level) const
|
||||
{
|
||||
static const int m_nrv2b[] = { M_NRV2B_LE32, M_NRV2D_LE32, -1 };
|
||||
static const int m_nrv2d[] = { M_NRV2D_LE32, M_NRV2B_LE32, -1 };
|
||||
|
||||
if (M_IS_NRV2B(method))
|
||||
return m_nrv2b;
|
||||
if (M_IS_NRV2D(method))
|
||||
return m_nrv2d;
|
||||
if (level == 1 || file_size <= 512*1024)
|
||||
return m_nrv2b;
|
||||
return m_nrv2d;
|
||||
return Packer::getDefaultCompressionMethods_LE32(method, level);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user