/third_party/zlib/contrib/blast/ |
H A D | blast.c | 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) in decode() 191 local int construct(struct huffman *h, const unsigned char *rep, int n) in construct() 295 static struct huffman litcode = {litcnt, litsym}; /* length code */ in decomp() 296 static struct huffman lencode = {lencnt, lensym}; /* length code */ in decomp() 297 static struct huffman distcode = {distcnt, distsym};/* distance code */ in decomp()
|
/third_party/zlib/contrib/puff/ |
H A D | puff.c | 38 * - Remove longest from struct huffman -- not needed 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) in decode() 263 local int decode(struct state *s, const struct huffman *h) in decode() 340 local int construct(struct huffman *h, const short *length, int n) in construct() 437 const struct huffman *lencode, in codes() 438 const struct huffman *distcode) in codes() 541 static struct huffman lencode, distcode; in fixed() 543 /* build fixed huffman table in fixed() [all...] |
/third_party/ffmpeg/tests/fate/ |
H A D | libavcodec.mak | 87 FATE_LIBAVCODEC-yes += fate-libavcodec-huffman 88 fate-libavcodec-huffman: libavcodec/tests/mjpegenc_huffman$(EXESUF) 89 fate-libavcodec-huffman: CMD = run libavcodec/tests/mjpegenc_huffman$(EXESUF) 90 fate-libavcodec-huffman: CMP = null
|
H A D | vcodec.mak | 229 FATE_VCODEC_SCALE-$(call ENCDEC, MJPEG, AVI) += mjpeg mjpeg-422 mjpeg-444 mjpeg-trell mjpeg-huffman mjpeg-trell-huffman 234 fate-vsynth%-mjpeg-huffman: ENCOPTS = -qscale 9 -pix_fmt yuvj420p -huffman optimal 235 fate-vsynth%-mjpeg-trell-huffman: ENCOPTS = -qscale 9 -pix_fmt yuvj420p -trellis 1 -huffman optimal
|
/third_party/ffmpeg/libavcodec/ |
H A D | mjpegenc.c | 7 * Support for external huffman table, various fixes (AVID workaround), 97 /* s->huffman == HUFFMAN_TABLE_OPTIMAL can only be true for MJPEG. */ in ff_mjpeg_amv_encode_picture_header() 98 if (!CONFIG_MJPEG_ENCODER || m->mjpeg.huffman != HUFFMAN_TABLE_OPTIMAL) in ff_mjpeg_amv_encode_picture_header() 212 * Writes the complete JPEG frame when optimal huffman tables are enabled, 228 if (m->huffman == HUFFMAN_TABLE_OPTIMAL) { in ff_mjpeg_encode_stuffing() 305 m->huffman = HUFFMAN_TABLE_DEFAULT; in ff_mjpeg_encode_init() 358 if (m->huffman == HUFFMAN_TABLE_OPTIMAL) in ff_mjpeg_encode_init() 526 if (s->mjpeg_ctx->huffman == HUFFMAN_TABLE_OPTIMAL) { in ff_mjpeg_encode_mb() 630 { "huffman", "Huffman table strategy", OFFSET(huffman), AV_OPT_TYPE_IN [all...] |
H A D | vaapi_encode_mjpeg.c | 66 int huffman; member 112 if (priv->huffman) { in vaapi_encode_mjpeg_write_image_header() 183 // Write huffman tables. in vaapi_encode_mjpeg_write_extra_buffer() 389 .huffman = 1, in vaapi_encode_mjpeg_init_picture_params() 548 { "huffman", "Include huffman tables", 549 OFFSET(huffman), AV_OPT_TYPE_BOOL,
|
H A D | mjpegenc.h | 7 * Support for external huffman table, various fixes (AVID workaround), 60 int huffman; member
|
H A D | mjpegenc_common.c | 101 /* huffman table */ in jpeg_table_header() 110 if (m && m->huffman == HUFFMAN_TABLE_OPTIMAL) { in jpeg_table_header() 355 put_bits(pb, 4, 0); /* DC huffman table index */ in ff_mjpeg_encode_picture_header() 356 put_bits(pb, 4, 0); /* AC huffman table index */ in ff_mjpeg_encode_picture_header() 360 put_bits(pb, 4, 1); /* DC huffman table index */ in ff_mjpeg_encode_picture_header() 361 put_bits(pb, 4, lossless ? 0 : 1); /* AC huffman table index */ in ff_mjpeg_encode_picture_header() 365 put_bits(pb, 4, 1); /* DC huffman table index */ in ff_mjpeg_encode_picture_header() 366 put_bits(pb, 4, lossless ? 0 : 1); /* AC huffman table index */ in ff_mjpeg_encode_picture_header() 371 put_bits(pb, 4, 0); /* DC huffman table index */ in ff_mjpeg_encode_picture_header() 372 put_bits(pb, 4, 0); /* AC huffman tabl in ff_mjpeg_encode_picture_header() [all...] |
H A D | Makefile | 106 OBJS-$(CONFIG_HUFFMAN) += huffman.o
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 977 int huffman = 0; in emit_string() local 982 huffman = 1; in emit_string() 989 DEBUGF("deflatehd: emit string str=%.*s, length=%zu, huffman=%d, " in emit_string() 991 (int)len, (const char *)str, len, huffman, enclen); in emit_string() 998 *bufp = huffman ? 1 << 7 : 0; in emit_string() 1006 if (huffman) { in emit_string() 1569 non-huffman and huffman, so using literal byte count is in nghttp2_hd_deflate_bound() 1676 * huffman decoding against them and pushes the result into the 1700 DEBUGF("inflatehd: huffman decodin in hd_inflate_read_huff() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 977 int huffman = 0; in emit_string() local 982 huffman = 1; in emit_string() 989 DEBUGF("deflatehd: emit string str=%.*s, length=%zu, huffman=%d, " in emit_string() 991 (int)len, (const char *)str, len, huffman, enclen); in emit_string() 998 *bufp = huffman ? 1 << 7 : 0; in emit_string() 1006 if (huffman) { in emit_string() 1569 non-huffman and huffman, so using literal byte count is in nghttp2_hd_deflate_bound() 1676 * huffman decoding against them and pushes the result into the 1700 DEBUGF("inflatehd: huffman decodin in hd_inflate_read_huff() [all...] |