FFmpeg
Classes | Macros | Typedefs | Functions
rangecoder.h File Reference

Range coder. More...

#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/avassert.h"

Go to the source code of this file.

Classes

struct  RangeCoder
 

Macros

#define MAX_OVERREAD   2
 

Typedefs

typedef struct RangeCoder RangeCoder
 

Functions

void ff_init_range_encoder (RangeCoder *c, uint8_t *buf, int buf_size)
 
void ff_init_range_decoder (RangeCoder *c, const uint8_t *buf, int buf_size)
 
int ff_rac_terminate (RangeCoder *c)
 
void ff_build_rac_states (RangeCoder *c, int factor, int max_p)
 

Detailed Description

Range coder.