Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for zigEnd (0.14 sec)

  1. src/image/jpeg/scan.go

    	// per table B.3.
    	zigStart, zigEnd, ah, al := int32(0), int32(blockSize-1), uint32(0), uint32(0)
    	if d.progressive {
    		zigStart = int32(d.tmp[1+2*nComp])
    		zigEnd = int32(d.tmp[2+2*nComp])
    		ah = uint32(d.tmp[3+2*nComp] >> 4)
    		al = uint32(d.tmp[3+2*nComp] & 0x0f)
    		if (zigStart == 0 && zigEnd != 0) || zigStart > zigEnd || blockSize <= zigEnd {
    			return FormatError("bad spectral selection bounds")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top