Lines Matching refs:zig
19 // zigzag maps from the natural ordering to the zig-zag ordering. For example,
20 // zigzag[0*8 + 3] is the zig-zag sequence number of the element in the fourth
45 // natural (not zig-zag) order, as specified in section K.1.
74 for zig := 0; zig < blockSize; zig++ {
75 got := unscaledQuant[i][zig]
76 want := unscaledQuantInNaturalOrder[i][unzig[zig]]
78 t.Errorf("i=%d, zig=%d: got %d, want %d", i, zig, got, want)
88 for zig := 0; zig < blockSize; zig++ {
89 fmt.Fprintf(buf, "%d, ", unscaledQuantInNaturalOrder[i][unzig[zig]])
90 if zig%8 == 7 {