Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for codeLength (0.16 sec)

  1. src/image/jpeg/huffman.go

    			code <<= 1
    			for j := int32(0); j < nCodes[i]; j++ {
    				// The codeLength is 1+i, so shift code by 8-(1+i) to
    				// calculate the high bits for every 8-bit sequence
    				// whose codeLength's high bits matches code.
    				// The high 8 bits of lutValue are the encoded value.
    				// The low 8 bits are 1 plus the codeLength.
    				base := uint8(code << (7 - i))
    				lutValue := uint16(h.vals[x])<<8 | uint16(2+i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/static/trace_viewer_full.html

    var dctCos6=1567
    var dctSin6=3784
    var dctSqrt2=5793
    var dctSqrt1d2=2896
    function constructor(){}
    function buildHuffmanTable(codeLengths,values){var k=0,code=[],i,j,length=16;while(length>0&&!codeLengths[length-1])
    length--;code.push({children:[],index:0});var p=code[0],q;for(i=0;i<length;i++){for(j=0;j<codeLengths[i];j++){p=code.pop();p.children[p.index]=values[k];while(p.index>0){p=code.pop();}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top