lagarithrac.h File Reference

Lagarith range decoder. More...

#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "get_bits.h"
Include dependency graph for lagarithrac.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lag_rac
 

Typedefs

typedef struct lag_rac lag_rac
 

Functions

void ff_lag_rac_init (lag_rac *l, GetBitContext *gb, int length)
 
static void lag_rac_refill (lag_rac *l)
 
static uint8_t lag_get_rac (lag_rac *l)
 Decode a single byte from the compressed plane described by *l. More...
 

Detailed Description

Lagarith range decoder.

Author
Nathan Caldwell
David Conrad

Definition in file lagarithrac.h.

Typedef Documentation

typedef struct lag_rac lag_rac

Function Documentation

void ff_lag_rac_init ( lag_rac l,
GetBitContext gb,
int  length 
)

Definition at line 33 of file lagarithrac.c.

Referenced by lag_decode_arith_plane().

static uint8_t lag_get_rac ( lag_rac l)
inlinestatic

Decode a single byte from the compressed plane described by *l.

Parameters
lpointer to lag_rac for the current plane
Returns
next byte of decoded data

Definition at line 73 of file lagarithrac.h.

Referenced by lag_decode_line().

static void lag_rac_refill ( lag_rac l)
inlinestatic

Definition at line 57 of file lagarithrac.h.

Referenced by lag_get_rac().