#include "libavutil/intmath.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "snow_dwt.h"
#include "internal.h"
#include "snow.h"
#include "rangecoder.h"
#include "mathops.h"
#include "mpegvideo.h"
#include "h263.h"
Go to the source code of this file.
|
static av_always_inline void | predict_slice_buffered (SnowContext *s, slice_buffer *sb, IDWTELEM *old_buffer, int plane_index, int add, int mb_y) |
|
static void | decode_subband_slice_buffered (SnowContext *s, SubBand *b, slice_buffer *sb, int start_y, int h, int save_state[1]) |
|
static int | decode_q_branch (SnowContext *s, int level, int x, int y) |
|
static void | dequantize_slice_buffered (SnowContext *s, slice_buffer *sb, SubBand *b, IDWTELEM *src, int stride, int start_y, int end_y) |
|
static void | correlate_slice_buffered (SnowContext *s, slice_buffer *sb, SubBand *b, IDWTELEM *src, int stride, int inverse, int use_median, int start_y, int end_y) |
|
static void | decode_qlogs (SnowContext *s) |
|
static int | decode_header (SnowContext *s) |
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
static int | decode_blocks (SnowContext *s) |
|
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | decode_end (AVCodecContext *avctx) |
|
#define GET_S |
( |
|
dst, |
|
|
|
check |
|
) |
| |
Value:
}\
dst= tmp;
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static av_noinline int get_symbol(RangeCoder *c, uint8_t *state, int is_signed)
#define check(x, y, S, v)
Definition at line 285 of file snowdec.c.
Referenced by decode_header().
static int decode_q_branch |
( |
SnowContext * |
s, |
|
|
int |
level, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
Initial value:= {
.name = "snow",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static av_cold int init(AVCodecContext *avctx)
static av_cold int decode_end(AVCodecContext *avctx)
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int decode_init(AVCodecContext *avctx)
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 639 of file snowdec.c.