|
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 |
| #define TOP 0x01000000 |
Definition at line 33 of file scpr.c.
Referenced by alf_fill_border_v(), alf_get_edges(), alf_get_subblock(), alf_prepare_buffer(), cclm_get_select_pos(), cclm_select_chroma(), cclm_select_luma(), cclm_select_samples(), config_output(), decode(), decode0(), decode_pixel_in_context(), get_cubemap32_map(), get_cubemap_face_map(), get_rotated_cubemap_map(), mss4_decode_dct(), mss4_decode_dct_block(), mss4_update_dc_cache(), sao_extends_edges(), and sao_get_edges().
| #define BOT 0x010000 |
Definition at line 34 of file scpr.c.
Referenced by decode_unit(), and decode_value().
|
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 |
|
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 |