FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vlc.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  VLC
 
struct  RL_VLC_ELEM
 

Macros

#define VLC_TYPE   int16_t
 
#define init_vlc(vlc, nb_bits, nb_codes,bits, bits_wrap, bits_size,codes, codes_wrap, codes_size,flags)
 
#define INIT_VLC_LE   2
 
#define INIT_VLC_USE_NEW_STATIC   4
 
#define INIT_VLC_STATIC(vlc, bits, a, b, c, d, e, f, g, static_size)
 

Functions

int ff_init_vlc_sparse (VLC *vlc, int nb_bits, int nb_codes, const void *bits, int bits_wrap, int bits_size, const void *codes, int codes_wrap, int codes_size, const void *symbols, int symbols_wrap, int symbols_size, int flags)
 
void ff_free_vlc (VLC *vlc)
 

Macro Definition Documentation

#define VLC_TYPE   int16_t
#define init_vlc (   vlc,
  nb_bits,
  nb_codes,
  bits,
  bits_wrap,
  bits_size,
  codes,
  codes_wrap,
  codes_size,
  flags 
)
#define INIT_VLC_LE   2
#define INIT_VLC_USE_NEW_STATIC   4
#define INIT_VLC_STATIC (   vlc,
  bits,
  a,
  b,
  c,
  d,
  e,
  f,
  g,
  static_size 
)
Value:
do { \
static VLC_TYPE table[static_size][2]; \
(vlc)->table = table; \
(vlc)->table_allocated = static_size; \
init_vlc(vlc, bits, a, b, c, d, e, f, g, INIT_VLC_USE_NEW_STATIC); \
} while (0)
const char * g
Definition: vf_curves.c:108
const char * b
Definition: vf_curves.c:109
uint8_t bits
Definition: crc.c:296
#define init_vlc(vlc, nb_bits, nb_codes,bits, bits_wrap, bits_size,codes, codes_wrap, codes_size,flags)
Definition: vlc.h:38
static const struct endianess table[]
static double c[64]
#define INIT_VLC_USE_NEW_STATIC
Definition: vlc.h:55
#define VLC_TYPE
Definition: vlc.h:24

Definition at line 57 of file vlc.h.

Referenced by aac_static_table_init(), decode_init(), ff_ccitt_unpack_init(), ff_h263_decode_init_vlc(), ff_mpeg12_init_vlcs(), ff_mpeg4videodec_static_init(), ff_msmpeg4_decode_init(), ff_vc1_init_common(), h261_decode_init_vlc(), init_static(), init_vlcs(), rv10_decode_init(), svq1_decode_init(), and wmavoice_init_static_data().

Function Documentation

int ff_init_vlc_sparse ( VLC vlc,
int  nb_bits,
int  nb_codes,
const void bits,
int  bits_wrap,
int  bits_size,
const void codes,
int  codes_wrap,
int  codes_size,
const void symbols,
int  symbols_wrap,
int  symbols_size,
int  flags 
)
void ff_free_vlc ( VLC vlc)