#include <stdint.h>
#include <assert.h>
#include "libavutil/common.h"
Go to the source code of this file.
Data Structures | |
struct | 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) |
static void | renorm_encoder (RangeCoder *c) |
static int | get_rac_count (RangeCoder *c) |
static void | put_rac (RangeCoder *c, uint8_t *const state, int bit) |
static void | refill (RangeCoder *c) |
static int | get_rac (RangeCoder *c, uint8_t *const state) |
Definition in file rangecoder.h.
void ff_build_rac_states | ( | RangeCoder * | c, | |
int | factor, | |||
int | max_p | |||
) |
void ff_init_range_decoder | ( | RangeCoder * | c, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) |
void ff_init_range_encoder | ( | RangeCoder * | c, | |
uint8_t * | buf, | |||
int | buf_size | |||
) |
int ff_rac_terminate | ( | RangeCoder * | c | ) |
static int get_rac | ( | RangeCoder * | c, | |
uint8_t *const | state | |||
) | [inline, static] |
Definition at line 110 of file rangecoder.h.
Referenced by decode_frame(), decode_header(), decode_q_branch(), get_symbol(), get_symbol2(), get_symbol_inline(), read_extra_header(), read_header(), and unpack_coeffs().
static int get_rac_count | ( | RangeCoder * | c | ) | [inline, static] |
Definition at line 75 of file rangecoder.h.
static void put_rac | ( | RangeCoder * | c, | |
uint8_t *const | state, | |||
int | bit | |||
) | [inline, static] |
Definition at line 82 of file rangecoder.h.
static void refill | ( | RangeCoder * | c | ) | [inline, static] |
Definition at line 100 of file rangecoder.h.
static void renorm_encoder | ( | RangeCoder * | c | ) | [inline, static] |