FFmpeg
|
#include <math.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "elsdec.h"
Go to the source code of this file.
Data Structures | |
struct | Ladder |
Macros | |
#define | ELS_JOTS_PER_BYTE 36 |
#define | ELS_MAX (1 << 24) |
#define | RUNG_SPACE (64 * sizeof(ElsRungNode)) |
Functions | |
void | ff_els_decoder_init (ElsDecCtx *ctx, const uint8_t *in, size_t data_size) |
void | ff_els_decoder_uninit (ElsUnsignedRung *rung) |
static int | els_import_byte (ElsDecCtx *ctx) |
int | ff_els_decode_bit (ElsDecCtx *ctx, uint8_t *rung) |
unsigned | ff_els_decode_unsigned (ElsDecCtx *ctx, ElsUnsignedRung *ur) |
Variables | |
static const struct Ladder | Ladder [174] |
static const uint32_t | els_exp_tab [ELS_JOTS_PER_BYTE *4+1] |
Entropy Logarithmic-Scale binary arithmetic decoder
Definition in file elsdec.c.
#define RUNG_SPACE (64 * sizeof(ElsRungNode)) |
void ff_els_decoder_init | ( | ElsDecCtx * | ctx, |
const uint8_t * | in, | ||
size_t | data_size | ||
) |
Definition at line 246 of file elsdec.c.
Referenced by epic_jb_decode_tile().
void ff_els_decoder_uninit | ( | ElsUnsignedRung * | rung | ) |
Definition at line 271 of file elsdec.c.
Referenced by epic_jb_decode_tile().
Definition at line 276 of file elsdec.c.
Referenced by ff_els_decode_bit().
Definition at line 290 of file elsdec.c.
Referenced by epic_decode_from_cache(), epic_decode_run_length(), epic_predict_pixel(), epic_predict_pixel2(), and ff_els_decode_unsigned().
unsigned ff_els_decode_unsigned | ( | ElsDecCtx * | ctx, |
ElsUnsignedRung * | ur | ||
) |
Definition at line 349 of file elsdec.c.
Referenced by epic_decode_component_pred(), epic_decode_pixel_pred(), epic_handle_edges(), and epic_jb_decode_tile().
|
static |
Definition at line 224 of file elsdec.c.
Referenced by ff_els_decode_bit(), and ff_els_decoder_init().