FFmpeg
|
#include <math.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.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)) |
Definition at line 247 of file elsdec.c.
Referenced by epic_jb_decode_tile().
void ff_els_decoder_uninit | ( | ElsUnsignedRung * | rung | ) |
Definition at line 272 of file elsdec.c.
Referenced by epic_jb_decode_tile().
Definition at line 277 of file elsdec.c.
Referenced by ff_els_decode_bit().
Definition at line 291 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 350 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 225 of file elsdec.c.
Referenced by ff_els_decode_bit(), and ff_els_decoder_init().