HomeSort by relevance Sort by last modified time
    Searched refs:huffman (Results 1 - 25 of 32) sorted by null

1 2

  /external/puffin/src/
huffman_table.h 21 // Maximum Huffman code length based on RFC1951.
24 // Permutations of input Huffman code lengths (used only to read
29 // bits that comes after the Huffman code in the input to create the given
33 // Number of extra bits that comes after the associating Huffman code.
48 // Checks the lengths of Huffman length arrays for correctness
52 // |num_codes| IN The number of code lengths for reading Huffman table.
57 LOG(ERROR) << "The lengths of the dynamic Huffman table are invalid: "
67 // Huffman codes.
70 // Returns the maximum number of bits used in the current distance Huffman
77 // |bits| IN The input Huffman bits read from the deflate stream
    [all...]
  /hardware/intel/common/libva/va/
va_enc_jpeg.h 79 * \brief huffman:
80 * 0 - arithmetic, 1 - huffman
82 unsigned int huffman : 1; member in struct:_VAEncPictureParameterBufferJPEG::__anon47571::__anon47572
  /external/zlib/src/contrib/puff/
puff.c 38 * - Remove longest from struct huffman -- not needed
200 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
206 struct huffman { struct
212 * Decode a code from the stream s using huffman table h. Return the symbol or
235 local int decode(struct state *s, const struct huffman *h)
263 local int decode(struct state *s, const struct huffman *h)
310 * Huffman code for n symbols, construct the tables required to decode those
340 local int construct(struct huffman *h, const short *length, int n)
388 * pairs terminated by and end-of-block code. Literals are simply Huffman
437 const struct huffman *lencode
    [all...]
  /toolchain/binutils/binutils-2.27/zlib/contrib/puff/
puff.c 38 * - Remove longest from struct huffman -- not needed
200 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
206 struct huffman { struct
212 * Decode a code from the stream s using huffman table h. Return the symbol or
235 local int decode(struct state *s, const struct huffman *h)
263 local int decode(struct state *s, const struct huffman *h)
310 * Huffman code for n symbols, construct the tables required to decode those
340 local int construct(struct huffman *h, const short *length, int n)
388 * pairs terminated by and end-of-block code. Literals are simply Huffman
437 const struct huffman *lencode
    [all...]
  /toolchain/binutils/binutils-2.27/zlib/contrib/blast/
blast.c 93 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
99 struct huffman { struct
105 * Decode a code from the stream s using huffman table h. Return the symbol or
125 local int decode(struct state *s, struct huffman *h)
175 * Huffman code for n symbols, construct the tables required to decode those
187 local int construct(struct huffman *h, const unsigned char *rep, int n)
250 * terminated by an end code. Literals are either Huffman coded or
291 static struct huffman litcode = {litcnt, litsym}; /* length code */
292 static struct huffman lencode = {lencnt, lensym}; /* length code */
293 static struct huffman distcode = {distcnt, distsym};/* distance code *
    [all...]
  /external/zlib/src/contrib/blast/
blast.c 97 * Huffman code decoding tables. count[1..MAXBITS] is the number of symbols of
103 struct huffman { struct
109 * Decode a code from the stream s using huffman table h. Return the symbol or
129 local int decode(struct state *s, struct huffman *h)
179 * Huffman code for n symbols, construct the tables required to decode those
191 local int construct(struct huffman *h, const unsigned char *rep, int n)
254 * terminated by an end code. Literals are either Huffman coded or
295 static struct huffman litcode = {litcnt, litsym}; /* length code */
296 static struct huffman lencode = {lencnt, lensym}; /* length code */
297 static struct huffman distcode = {distcnt, distsym};/* distance code *
    [all...]
  /external/bzip2/
Makefile 31 huffman.o \
119 huffman.o: huffman.c
120 $(CC) $(CFLAGS) -c huffman.c
146 $(DISTNAME)/huffman.c \
  /prebuilts/go/darwin-x86/src/image/jpeg/
huffman.go 11 // maxCodeLength is the maximum (inclusive) number of bits in a Huffman code.
14 // maxNCodes is the maximum (inclusive) number of codes in a Huffman tree.
17 // lutSize is the log-2 size of the Huffman decoder's look-up table.
20 // huffman is a Huffman decoder, specified in section C.
21 type huffman struct { type
42 // Huffman data.
43 var errShortHuffmanData = FormatError("short Huffman data")
89 // processDHT processes a Define Huffman Table marker, and initializes a huffman
    [all...]
scan.go 320 // Reset the Huffman decoder.
335 func (d *decoder) refine(b *block, h *huffman, zigStart, zigEnd, delta int32) error {
387 return FormatError("unexpected Huffman code")
  /prebuilts/go/linux-x86/src/image/jpeg/
huffman.go 11 // maxCodeLength is the maximum (inclusive) number of bits in a Huffman code.
14 // maxNCodes is the maximum (inclusive) number of codes in a Huffman tree.
17 // lutSize is the log-2 size of the Huffman decoder's look-up table.
20 // huffman is a Huffman decoder, specified in section C.
21 type huffman struct { type
42 // Huffman data.
43 var errShortHuffmanData = FormatError("short Huffman data")
89 // processDHT processes a Define Huffman Table marker, and initializes a huffman
    [all...]
scan.go 320 // Reset the Huffman decoder.
335 func (d *decoder) refine(b *block, h *huffman, zigStart, zigEnd, delta int32) error {
387 return FormatError("unexpected Huffman code")
  /prebuilts/go/darwin-x86/src/compress/flate/
huffman_bit_writer_test.go 20 // TestBlockHuff tests huffman encoding against reference files
26 match, err := filepath.Glob("testdata/huffman-*.in")
108 input: "testdata/huffman-null-max.in",
109 want: "testdata/huffman-null-max.%s.expect",
110 wantNoInput: "testdata/huffman-null-max.%s.expect-noinput",
114 input: "testdata/huffman-pi.in",
115 want: "testdata/huffman-pi.%s.expect",
116 wantNoInput: "testdata/huffman-pi.%s.expect-noinput",
120 input: "testdata/huffman-rand-1k.in",
121 want: "testdata/huffman-rand-1k.%s.expect"
    [all...]
huffman_bit_writer.go 354 // Write the header of a dynamic Huffman block to the output stream.
421 // Indicate that we are a fixed Huffman block
430 // The original input can be supplied, and if the huffman encoded data
433 // If the input is nil, the tokens will always be Huffman encoded.
460 // Fixed Huffman baseline.
465 // Dynamic Huffman?
487 // Huffman.
498 // writeBlockDynamic encodes a block using a dynamic Huffman table.
524 // Write Huffman table.
566 // we should count at least one offset to be sure that the offset huffman tree could be encoded
    [all...]
huffman_code.go 13 // hcode is a huffman code with a bit code and bit length.
121 // Return the number of literals assigned to each bit size in the Huffman encoding
270 // Update this Huffman Code object to be the minimum code for the specified frequency count.
  /prebuilts/go/linux-x86/src/compress/flate/
huffman_bit_writer_test.go 20 // TestBlockHuff tests huffman encoding against reference files
26 match, err := filepath.Glob("testdata/huffman-*.in")
108 input: "testdata/huffman-null-max.in",
109 want: "testdata/huffman-null-max.%s.expect",
110 wantNoInput: "testdata/huffman-null-max.%s.expect-noinput",
114 input: "testdata/huffman-pi.in",
115 want: "testdata/huffman-pi.%s.expect",
116 wantNoInput: "testdata/huffman-pi.%s.expect-noinput",
120 input: "testdata/huffman-rand-1k.in",
121 want: "testdata/huffman-rand-1k.%s.expect"
    [all...]
huffman_bit_writer.go 354 // Write the header of a dynamic Huffman block to the output stream.
421 // Indicate that we are a fixed Huffman block
430 // The original input can be supplied, and if the huffman encoded data
433 // If the input is nil, the tokens will always be Huffman encoded.
460 // Fixed Huffman baseline.
465 // Dynamic Huffman?
487 // Huffman.
498 // writeBlockDynamic encodes a block using a dynamic Huffman table.
524 // Write Huffman table.
566 // we should count at least one offset to be sure that the offset huffman tree could be encoded
    [all...]
huffman_code.go 13 // hcode is a huffman code with a bit code and bit length.
121 // Return the number of literals assigned to each bit size in the Huffman encoding
270 // Update this Huffman Code object to be the minimum code for the specified frequency count.
  /prebuilts/go/darwin-x86/src/compress/gzip/
gunzip_test.go 27 { // has 1 empty fixed-huffman block
50 { // has 1 non-empty fixed huffman block
85 { // has a fixed huffman block with some length-distance pairs
101 { // has dynamic huffman blocks
239 { // has 1 non-empty fixed huffman block then garbage
253 { // has 1 non-empty fixed huffman block not enough header
267 { // has 1 non-empty fixed huffman block but corrupt checksum
281 { // has 1 non-empty fixed huffman block but corrupt size
  /prebuilts/go/linux-x86/src/compress/gzip/
gunzip_test.go 27 { // has 1 empty fixed-huffman block
50 { // has 1 non-empty fixed huffman block
85 { // has a fixed huffman block with some length-distance pairs
101 { // has dynamic huffman blocks
239 { // has 1 non-empty fixed huffman block then garbage
253 { // has 1 non-empty fixed huffman block not enough header
267 { // has 1 non-empty fixed huffman block but corrupt checksum
281 { // has 1 non-empty fixed huffman block but corrupt size
  /prebuilts/go/darwin-x86/src/compress/bzip2/
bzip2_test.go 126 desc: "bad huffman delta",
  /prebuilts/go/linux-x86/src/compress/bzip2/
bzip2_test.go 126 desc: "bad huffman delta",
  /hardware/intel/img/psb_video/src/
pnw_jpeg.c 341 ((pBuffer->pic_flags).bits.huffman != 1) || /* Only "1 - huffman" is supported */
  /prebuilts/go/darwin-x86/src/syscall/
unzip_nacl.go 13 maxCodeLen = 16 // max length of Huffman code
17 numCodes = 19 // number of codes in Huffman meta-code
29 bits [maxLit + maxDist]int // lengths defining Huffman codes
48 // compressed, fixed Huffman tables
51 // compressed, dynamic Huffman tables
63 // Compression with dynamic Huffman codes
102 // using the code length Huffman code.
163 // Decode a single Huffman block from f.
164 // hl and hd are the Huffman states for the lit/length values
166 // fixed distance encoding associated with fixed Huffman blocks
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/
hpack.go 68 // value without any Huffman encoding applied."
452 // anyway. This does mean that huffman decoding errors for non-indexed
  /prebuilts/go/linux-x86/src/syscall/
unzip_nacl.go 13 maxCodeLen = 16 // max length of Huffman code
17 numCodes = 19 // number of codes in Huffman meta-code
29 bits [maxLit + maxDist]int // lengths defining Huffman codes
48 // compressed, fixed Huffman tables
51 // compressed, dynamic Huffman tables
63 // Compression with dynamic Huffman codes
102 // using the code length Huffman code.
163 // Decode a single Huffman block from f.
164 // hl and hd are the Huffman states for the lit/length values
166 // fixed distance encoding associated with fixed Huffman blocks
    [all...]

Completed in 783 milliseconds

1 2