const image/jpeg.blockSize
17 uses
image/jpeg (current package)
idct.go#L40: const blockSize = 64 // A DCT block is 8x8.
idct.go#L42: type block [blockSize]int32
reader.go#L81: var unzig = [blockSize]int{
reader.go#L150: tmp [2 * blockSize]byte
reader.go#L447: if n < blockSize {
reader.go#L450: n -= blockSize
reader.go#L451: if err := d.readFull(d.tmp[:blockSize]); err != nil {
reader.go#L458: if n < 2*blockSize {
reader.go#L461: n -= 2 * blockSize
reader.go#L462: if err := d.readFull(d.tmp[:2*blockSize]); err != nil {
scan.go#L128: zigStart, zigEnd, ah, al := int32(0), int32(blockSize-1), uint32(0), uint32(0)
scan.go#L134: if (zigStart == 0 && zigEnd != 0) || zigStart > zigEnd || blockSize <= zigEnd {
scan.go#L485: for zig := 0; zig < blockSize; zig++ {
writer.go#L63: var unscaledQuant = [nQuantIndex][blockSize]byte{
writer.go#L228: quant [nQuantIndex][blockSize]byte
writer.go#L306: const markerlen = 2 + int(nQuantIndex)*(1+blockSize)
writer.go#L369: for zig := 1; zig < blockSize; zig++ {
![]() |
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. |