image/jpeg.decoder.comp (field)
45 uses
image/jpeg (current package)
reader.go#L146: comp [maxComponents]component
reader.go#L335: d.comp[i].c = d.tmp[6+3*i]
reader.go#L339: if d.comp[i].c == d.comp[j].c {
reader.go#L344: d.comp[i].tq = d.tmp[8+3*i]
reader.go#L345: if d.comp[i].tq > maxTq {
reader.go#L389: if d.comp[0].h%h != 0 || d.comp[0].v%v != 0 {
reader.go#L393: if d.comp[1].h != h || d.comp[1].v != v {
reader.go#L418: if d.comp[0].h != h || d.comp[0].v != v {
reader.go#L424: d.comp[i].h = h
reader.go#L425: d.comp[i].v = v
reader.go#L728: subsample := d.comp[t].h != d.comp[0].h || d.comp[t].v != d.comp[0].v
reader.go#L755: return d.comp[0].c == 'R' && d.comp[1].c == 'G' && d.comp[2].c == 'B'
reader.go#L759: cScale := d.comp[0].h / d.comp[1].h
scan.go#L19: h0 := d.comp[0].h
scan.go#L20: v0 := d.comp[0].v
scan.go#L21: hRatio := h0 / d.comp[1].h
scan.go#L22: vRatio := v0 / d.comp[1].v
scan.go#L44: h3, v3 := d.comp[3].h, d.comp[3].v
scan.go#L74: for j, comp := range d.comp[:d.nComp] {
scan.go#L93: totalHV += d.comp[compIndex].h * d.comp[compIndex].v
scan.go#L146: h0, v0 := d.comp[0].h, d.comp[0].v // The h and v values from the Y components.
scan.go#L156: d.progCoeffs[compIndex] = make([]block, mxx*myy*d.comp[compIndex].h*d.comp[compIndex].v)
scan.go#L176: hi := d.comp[compIndex].h
scan.go#L177: vi := d.comp[compIndex].v
scan.go#L461: h0 := d.comp[0].h
scan.go#L467: v := 8 * d.comp[0].v / d.comp[i].v
scan.go#L468: h := 8 * d.comp[0].h / d.comp[i].h
scan.go#L469: stride := mxx * d.comp[i].h
scan.go#L484: qt := &d.quant[d.comp[compIndex].tq]
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |