Home | History | Annotate | Download | only in jpeg

Lines Matching refs:nCodes

23 	nCodes int32
109 // Read nCodes and h.vals (and derive h.nCodes).
110 // nCodes[i] is the number of codes with code length i.
111 // h.nCodes is the total number of codes.
112 h.nCodes = 0
113 var nCodes [maxCodeLength]int32
114 for i := range nCodes {
115 nCodes[i] = int32(d.tmp[i+1])
116 h.nCodes += nCodes[i]
118 if h.nCodes == 0 {
121 if h.nCodes > maxNCodes {
124 n -= int(h.nCodes) + 17
128 if err := d.readFull(h.vals[:h.nCodes]); err != nil {
139 for j := int32(0); j < nCodes[i]; j++ {
157 for i, n := range nCodes {
178 if h.nCodes == 0 {