#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.
|
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 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 | vp9_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, const uint8_t *data, int size) |
|
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) |
|
#define VP9_SYNCCODE 0x498342 |
#define assign |
( |
|
var, |
|
|
|
type, |
|
|
|
n |
|
) |
| var = (type)p; p += s->sb_cols * n * sizeof(*var) |
static void set_tile_offset |
( |
int * |
start, |
|
|
int * |
end, |
|
|
int |
idx, |
|
|
int |
log2_n, |
|
|
int |
n |
|
) |
| |
|
static |
Initial value:= {
.name = "vp9",
}
static void vp9_decode_flush(AVCodecContext *avctx)
static int vp9_decode_packet(AVCodecContext *avctx, void *frame, int *got_frame, AVPacket *avpkt)
static av_cold int vp9_decode_init(AVCodecContext *avctx)
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
static av_cold int vp9_decode_free(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void close(AVCodecParserContext *s)
static av_cold void flush(AVCodecContext *avctx)
Flush (reset) the frame ID after seeking.
static av_cold int init(AVCodecParserContext *s)
Definition at line 1268 of file vp9.c.