feat(图像处理): 接入J2KGo,精简规范代码
build.yaml / build (push) Successful in 48s

This commit is contained in:
xiaoqidun committed 2026-10-09 10:39:51 +08:00
1 parent 28175723e6
commit 32585c6343
46 files changed
+84 -168

No files matched your search

+1 -6
View File
@@ -19,6 +19,7 @@ import (
"io"
)
// U3D线集增量编码的算术编码上下文
const (
u3dLinePositionSign = iota
u3dLinePositionX
@@ -176,12 +177,6 @@ func (s *u3dLineState) average(position uint32) (values [11][4]float64) {
return values
}
// accumulate 累计线段端点的独立属性,重复使用的属性按端点分别计数
// 入参: mesh 共享属性数组, line 已完成的线段
func (s *u3dLineState) accumulate(mesh *U3DMesh, line U3DLine) {
s.accumulateCorners(mesh, line.Shading, line.Corners[:])
}
// accumulateCorners 累计点或线端的属性,用于后续位置预测
// 入参: mesh 属性数组, shadingIndex 着色索引, corners 新增角点
func (s *u3dLineState) accumulateCorners(mesh *U3DMesh, shadingIndex uint32, corners []U3DCorner) {