Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for emitHuffRLE (0.09 sec)

  1. src/image/jpeg/writer.go

    func (e *encoder) emitHuff(h huffIndex, value int32) {
    	x := theHuffmanLUT[h][value]
    	e.emit(x&(1<<24-1), x>>24)
    }
    
    // emitHuffRLE emits a run of runLength copies of value encoded with the given
    // Huffman encoder.
    func (e *encoder) emitHuffRLE(h huffIndex, runLength, value int32) {
    	a, b := value, value
    	if a < 0 {
    		a, b = -value, value-1
    	}
    	var nBits uint32
    	if a < 0x100 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top