FFmpeg
|
huffman.h File Reference
huffman tree builder and VLC generator More...
Include dependency graph for huffman.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | Node |
Macros | |
#define | FF_HUFFMAN_FLAG_HNODE_FIRST 0x01 |
#define | FF_HUFFMAN_FLAG_ZERO_COUNT 0x02 |
Typedefs | |
typedef struct Node | Node |
typedef int(* | HuffCmp) (const void *va, const void *vb) |
Functions | |
int | ff_huff_build_tree (AVCodecContext *avctx, VLC *vlc, int nb_codes, Node *nodes, HuffCmp cmp, int flags) |
nodes size must be 2*nb_codes first nb_codes nodes.count must be set More... | |
void | ff_huff_gen_len_table (uint8_t *dst, const uint64_t *stats) |
Detailed Description
Macro Definition Documentation
#define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01 |
Definition at line 38 of file huffman.h.
Referenced by ff_huff_build_tree(), and vp6_build_huff_tree().
#define FF_HUFFMAN_FLAG_ZERO_COUNT 0x02 |
Definition at line 39 of file huffman.h.
Referenced by build_huff_tree(), and fraps2_decode_plane().
Typedef Documentation
Function Documentation
int ff_huff_build_tree | ( | AVCodecContext * | avctx, |
VLC * | vlc, | ||
int | nb_codes, | ||
Node * | nodes, | ||
HuffCmp | cmp, | ||
int | flags | ||
) |
nodes size must be 2*nb_codes first nb_codes nodes.count must be set
Definition at line 133 of file huffman.c.
Referenced by fraps2_decode_plane(), and vp6_build_huff_tree().
Definition at line 53 of file huffman.c.
Referenced by encode_frame(), encode_init(), and encode_plane().
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11