FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
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"

Go to the source code of this file.

Data Structures

struct  lag_rac
 

Macros

#define MAX_OVERREAD   4
 

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.

Macro Definition Documentation

#define MAX_OVERREAD   4

Definition at line 51 of file lagarithrac.h.

Referenced by is_input_end(), and lag_decode_arith_plane().

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 void lag_rac_refill ( lag_rac l)
inlinestatic

Definition at line 60 of file lagarithrac.h.

Referenced by lag_get_rac().

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 78 of file lagarithrac.h.

Referenced by lag_decode_line().