Fix entropy range encoding in octree pointcloud compression
Size of frequency table elements was wrongly computed when frequency was a power of 2. This led to faulty frequency table encoding with 1 missing byte. During decoding, the frequency was decoded to 0 as 1 byte is missing, leading to division by 0 and thus error. The frequencyTableByteSize is now correctly computed.
Showing
想要评论请 注册 或 登录