bgmc.h File Reference

Block Gilbert-Moore decoder header. More...

#include "avcodec.h"
#include "get_bits.h"
Include dependency graph for bgmc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ff_bgmc_init (AVCodecContext *avctx, uint8_t **cf_lut, int **cf_lut_status)
 Initialize the lookup table arrays. More...
 
void ff_bgmc_end (uint8_t **cf_lut, int **cf_lut_status)
 Release the lookup table arrays. More...
 
void ff_bgmc_decode_init (GetBitContext *gb, unsigned int *h, unsigned int *l, unsigned int *v)
 Initialize decoding and reads the first value. More...
 
void ff_bgmc_decode_end (GetBitContext *gb)
 Finish decoding. More...
 
void ff_bgmc_decode (GetBitContext *gb, unsigned int num, int32_t *dst, int delta, unsigned int sx, unsigned int *h, unsigned int *l, unsigned int *v, uint8_t *cf_lut, int *cf_lut_status)
 Read and decode a block Gilbert-Moore coded symbol. More...
 

Detailed Description

Block Gilbert-Moore decoder header.

Author
Thilo Borgmann <thilo.borgmann at googlemail.com>

Definition in file bgmc.h.

Function Documentation

void ff_bgmc_decode ( GetBitContext gb,
unsigned int  num,
int32_t dst,
int  delta,
unsigned int  sx,
unsigned int *  h,
unsigned int *  l,
unsigned int *  v,
uint8_t cf_lut,
int *  cf_lut_status 
)

Read and decode a block Gilbert-Moore coded symbol.

Definition at line 503 of file bgmc.c.

Referenced by read_var_block_data().

void ff_bgmc_decode_end ( GetBitContext gb)

Finish decoding.

Definition at line 496 of file bgmc.c.

Referenced by read_var_block_data().

void ff_bgmc_decode_init ( GetBitContext gb,
unsigned int *  h,
unsigned int *  l,
unsigned int *  v 
)

Initialize decoding and reads the first value.

Definition at line 486 of file bgmc.c.

Referenced by read_var_block_data().

void ff_bgmc_end ( uint8_t **  cf_lut,
int **  cf_lut_status 
)

Release the lookup table arrays.

Definition at line 478 of file bgmc.c.

Referenced by decode_end(), and ff_bgmc_init().

int ff_bgmc_init ( AVCodecContext avctx,
uint8_t **  cf_lut,
int **  cf_lut_status 
)

Initialize the lookup table arrays.

Definition at line 459 of file bgmc.c.

Referenced by decode_init().