mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-09 00:09:58 +00:00
Added zstd frame compression option (about 25% less frame size for compression level = 2).
This commit is contained in:
@@ -35,6 +35,7 @@ namespace KinectServer
|
||||
|
||||
public bool bStreamOnlyBodies = false;
|
||||
public bool bShowSkeletons = true;
|
||||
public int iCompressionLevel = 2; // 0 for no compression, 2 is recommended
|
||||
|
||||
public int nNumICPIterations = 10;
|
||||
public int nNumRefineIters = 2;
|
||||
@@ -96,6 +97,9 @@ namespace KinectServer
|
||||
else
|
||||
lData.Add(0);
|
||||
|
||||
bTemp = BitConverter.GetBytes(iCompressionLevel);
|
||||
lData.AddRange(bTemp);
|
||||
|
||||
return lData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user