Libav
|
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "videodsp.h"
#include "vp56.h"
#include "vp9.h"
#include "vp9data.h"
Go to the source code of this file.
Macros | |
#define | VP9_SYNCCODE 0x498342 |
#define | MAX_PROB 255 |
#define | assign(var, type, n) var = (type)p; p += s->sb_cols * n * sizeof(*var) |
Functions | |
static void | vp9_frame_unref (AVCodecContext *avctx, VP9Frame *f) |
static int | vp9_frame_alloc (AVCodecContext *avctx, VP9Frame *f) |
static int | vp9_frame_ref (VP9Frame *dst, VP9Frame *src) |
static void | vp9_decode_flush (AVCodecContext *avctx) |
static int | update_size (AVCodecContext *avctx, int w, int h) |
static av_always_inline int | get_bits_with_sign (GetBitContext *gb, int n) |
static av_always_inline int | inv_recenter_nonneg (int v, int m) |
static int | update_prob (VP56RangeCoder *c, int p) |
static int | decode_frame_header (AVCodecContext *avctx, const uint8_t *data, int size, int *ref) |
static int | decode_subblock (AVCodecContext *avctx, int row, int col, VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff, enum BlockLevel bl) |
static int | decode_superblock_mem (AVCodecContext *avctx, int row, int col, struct VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff, enum BlockLevel bl) |
static void | loopfilter_subblock (AVCodecContext *avctx, VP9Filter *lflvl, int row, int col, ptrdiff_t yoff, ptrdiff_t uvoff) |
static void | set_tile_offset (int *start, int *end, int idx, int log2_n, int n) |
static int | update_refs (AVCodecContext *avctx) |
static int | vp9_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, const uint8_t *data, int size, int can_finish_setup) |
static int | vp9_decode_packet (AVCodecContext *avctx, void *frame, int *got_frame, AVPacket *avpkt) |
static av_cold int | vp9_decode_free (AVCodecContext *avctx) |
static av_cold int | vp9_decode_init (AVCodecContext *avctx) |
static int | vp9_decode_update_thread_context (AVCodecContext *dst, const AVCodecContext *src) |
Variables | |
AVCodec | ff_vp9_decoder |
#define VP9_SYNCCODE 0x498342 |
Definition at line 34 of file vp9.c.
Referenced by decode_frame_header().
#define MAX_PROB 255 |
Definition at line 35 of file vp9.c.
Referenced by update_prob().
#define assign | ( | var, | |
type, | |||
n | |||
) | var = (type)p; p += s->sb_cols * n * sizeof(*var) |
Referenced by update_size().
|
static |
Definition at line 37 of file vp9.c.
Referenced by vp9_decode_flush(), vp9_decode_frame(), vp9_decode_free(), vp9_decode_update_thread_context(), and vp9_frame_alloc().
|
static |
Definition at line 46 of file vp9.c.
Referenced by vp9_decode_frame().
Definition at line 73 of file vp9.c.
Referenced by vp9_decode_frame(), and vp9_decode_update_thread_context().
|
static |
Definition at line 98 of file vp9.c.
Referenced by update_size().
|
static |
Definition at line 115 of file vp9.c.
Referenced by decode_frame_header(), and vp9_decode_update_thread_context().
|
static |
Definition at line 188 of file vp9.c.
Referenced by decode_frame_header().
|
static |
Definition at line 194 of file vp9.c.
Referenced by update_prob().
|
static |
Definition at line 204 of file vp9.c.
Referenced by decode_frame_header().
|
static |
Definition at line 264 of file vp9.c.
Referenced by vp9_decode_frame().
|
static |
Definition at line 765 of file vp9.c.
Referenced by vp9_decode_frame().
|
static |
Definition at line 869 of file vp9.c.
Referenced by vp9_decode_frame().
|
static |
Definition at line 924 of file vp9.c.
Referenced by vp9_decode_frame().
|
static |
Definition at line 1167 of file vp9.c.
Referenced by vp9_decode_frame().
|
static |
Definition at line 1175 of file vp9.c.
Referenced by vp9_decode_frame(), and vp9_decode_update_thread_context().
|
static |
Definition at line 1191 of file vp9.c.
Referenced by vp9_decode_packet().
|
static |
|
static |
Definition at line 1487 of file vp9.c.
Referenced by vp9_decode_init().
|
static |
|
static |
AVCodec ff_vp9_decoder |