FFmpeg
|
#include "libavutil/intmath.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "dsputil.h"
#include "snow_dwt.h"
#include "internal.h"
#include "snow.h"
#include "rangecoder.h"
#include "mathops.h"
#include "mpegvideo.h"
#include "h263.h"
#include <assert.h>
Include dependency graph for snowdec.c:
Go to the source code of this file.
Macros | |
#define | GET_S(dst, check) |
Functions | |
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) |
Variables | |
AVCodec | ff_snow_decoder |
Macro Definition Documentation
Value:
return -1;\
}\
dst= tmp;
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
static av_noinline int get_symbol(RangeCoder *c, uint8_t *state, int is_signed)
Definition: ffv1dec.c:63
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame This method is called when a frame is wanted on an output For an it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return it should return
Definition: filter_design.txt:216
Definition at line 262 of file snowdec.c.
Referenced by decode_header().
Function Documentation
|
static |
Definition at line 216 of file snowdec.c.
Referenced by decode_frame().
|
static |
Definition at line 379 of file snowdec.c.
Referenced by decode_frame().
|
static |
|
static |
|
static |
Definition at line 270 of file snowdec.c.
Referenced by decode_frame().
|
static |
|
static |
Definition at line 137 of file snowdec.c.
Referenced by decode_blocks().
|
static |
Definition at line 246 of file snowdec.c.
Referenced by decode_header().
|
inlinestatic |
Definition at line 96 of file snowdec.c.
Referenced by decode_frame().
|
static |
Definition at line 193 of file snowdec.c.
Referenced by decode_frame().
|
static |
Definition at line 39 of file snowdec.c.
Referenced by decode_frame().
Variable Documentation
AVCodec ff_snow_decoder |
Initial value:
= {
.name = "snow",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_SNOW,
.priv_data_size = sizeof(SnowContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1 ,
.long_name = NULL_IF_CONFIG_SMALL("Snow"),
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: snowdec.c:394
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct SnowContext SnowContext
Definition: libavcodec/avcodec.h:294
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11