FFmpeg
|
#include <string.h>
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "scpr.h"
#include "scpr3.h"
#include "scpr3.c"
Go to the source code of this file.
Macros | |
#define | TOP 0x01000000 |
#define | BOT 0x010000 |
Functions | |
static void | init_rangecoder (RangeCoder *rc, GetByteContext *gb) |
static void | reinit_tables (SCPRContext *s) |
static int | decode (GetByteContext *gb, RangeCoder *rc, uint32_t cumFreq, uint32_t freq, uint32_t total_freq) |
static int | get_freq (RangeCoder *rc, uint32_t total_freq, uint32_t *freq) |
static int | decode0 (GetByteContext *gb, RangeCoder *rc, uint32_t cumFreq, uint32_t freq, uint32_t total_freq) |
static int | get_freq0 (RangeCoder *rc, uint32_t total_freq, uint32_t *freq) |
static int | decode_value (SCPRContext *s, uint32_t *cnt, uint32_t maxc, uint32_t step, uint32_t *rval) |
static int | decode_unit (SCPRContext *s, PixelModel *pixel, uint32_t step, uint32_t *rval) |
static int | decode_units (SCPRContext *s, uint32_t *r, uint32_t *g, uint32_t *b, int *cx, int *cx1) |
static int | decompress_i (AVCodecContext *avctx, uint32_t *dst, int linesize) |
static int | decompress_p (AVCodecContext *avctx, uint32_t *dst, int linesize, uint32_t *prev, int plinesize) |
static int | decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_close (AVCodecContext *avctx) |
Variables | |
const FFCodec | ff_scpr_decoder |
|
static |
Definition at line 38 of file scpr.c.
Referenced by decompress_i(), and decompress_p().
|
static |
Definition at line 45 of file scpr.c.
Referenced by decompress_i().
|
static |
Definition at line 102 of file scpr.c.
Referenced by decode_frame().
|
static |
Definition at line 116 of file scpr.c.
Referenced by decode_frame().
|
static |
Definition at line 131 of file scpr.c.
Referenced by decode_frame(), and decode_init().
|
static |
Definition at line 153 of file scpr.c.
Referenced by decode_frame(), and decode_init().
|
static |
Definition at line 163 of file scpr.c.
Referenced by decompress_i(), and decompress_p().
|
static |
Definition at line 207 of file scpr.c.
Referenced by decode_units().
|
static |
Definition at line 269 of file scpr.c.
Referenced by decompress_i(), and decompress_p().
|
static |
Definition at line 297 of file scpr.c.
Referenced by decode_frame().
|
static |
Definition at line 369 of file scpr.c.
Referenced by decode_frame().
|
static |
|
static |
|
static |
const FFCodec ff_scpr_decoder |