Home | History | Annotate | Download | only in jpeg

Lines Matching refs:Of

2 // Use of this source code is governed by a BSD-style
15 // min returns the minimum of two integers.
23 // div returns a/b rounded to the nearest integer, instead of rounded to zero.
31 // bitCount counts the number of bits needed to hold an integer.
100 // count[i] is the number of codes of length i bits.
102 // value[i] is the decoded value of the i'th codeword.
175 // huffmanLUT is a compiled look-up table representation of a huffmanSpec.
176 // Each value maps to a uint32 of which the 8 most significant bits hold the
201 // theHuffmanLUT are compiled representations of theHuffmanSpec.
252 // emit emits the least significant nBits bits of bits to the bit-stream.
276 // emitHuffRLE emits a run of runLength copies of value encoded with the given
314 // writeSOF0 writes the Start Of Frame (Baseline) marker.
359 // writeBlock writes a block of pixel data using the given quantization table,
360 // returning the post-quantized DC value of the DCT-transformed block. b is in
388 // toYCbCr converts the 8x8 region of m whose top-left corner is p to its
405 // grayToY stores the 8x8 region of m whose top-left corner is p in yBlock.
419 // rgbaToYCbCr is a specialized version of toYCbCr for image.RGBA images.
461 // - the number of components "\x01",
463 // - the bytes "\x00\x3f\x00". Section B.2.3 of the spec says that for
472 // - the number of components "\x03",
476 // - the bytes "\x00\x3f\x00". Section B.2.3 of the spec says that for
502 // TODO(wathiede): switch on m.ColorModel() instead of type.
589 // Compute number of components based on input image type.
592 of type.
596 // Write the Start Of Image marker.
608 // Write the End Of Image marker.