#include "avcodec.h"
#include "get_bits.h"
#include "hwaccel.h"
#include "internal.h"
#include "profiles.h"
#include "thread.h"
#include "videodsp.h"
#include "vp56.h"
#include "vp9.h"
#include "vp9data.h"
#include "vp9dec.h"
#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
|
static void | vp9_free_entries (AVCodecContext *avctx) |
|
static int | vp9_alloc_entries (AVCodecContext *avctx, int n) |
|
static void | vp9_frame_unref (AVCodecContext *avctx, VP9Frame *f) |
|
static int | vp9_frame_alloc (AVCodecContext *avctx, VP9Frame *f) |
|
static int | vp9_frame_ref (AVCodecContext *avctx, VP9Frame *dst, VP9Frame *src) |
|
static int | update_size (AVCodecContext *avctx, int w, int h) |
|
static int | update_block_buffers (AVCodecContext *avctx) |
|
static av_always_inline int | get_sbits_inv (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 | read_colorspace_details (AVCodecContext *avctx) |
|
static int | decode_frame_header (AVCodecContext *avctx, const uint8_t *data, int size, int *ref) |
|
static void | decode_sb (VP9TileData *td, int row, int col, VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff, enum BlockLevel bl) |
|
static void | decode_sb_mem (VP9TileData *td, int row, int col, VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff, enum BlockLevel bl) |
|
static void | set_tile_offset (int *start, int *end, int idx, int log2_n, int n) |
|
static void | free_buffers (VP9Context *s) |
|
static av_cold int | vp9_decode_free (AVCodecContext *avctx) |
|
static int | decode_tiles (AVCodecContext *avctx, const uint8_t *data, int size) |
|
static int | vp9_decode_frame (AVCodecContext *avctx, void *frame, int *got_frame, AVPacket *pkt) |
|
static void | vp9_decode_flush (AVCodecContext *avctx) |
|
static int | init_frames (AVCodecContext *avctx) |
|
static av_cold int | vp9_decode_init (AVCodecContext *avctx) |
|
◆ VP9_SYNCCODE
#define VP9_SYNCCODE 0x498342 |
Definition at line 38 of file vp9.c.
◆ HWACCEL_MAX
Value: (CONFIG_VP9_DXVA2_HWACCEL + \
CONFIG_VP9_D3D11VA_HWACCEL * 2 + \
CONFIG_VP9_NVDEC_HWACCEL + \
CONFIG_VP9_VAAPI_HWACCEL)
◆ assign
#define assign |
( |
|
var, |
|
|
|
type, |
|
|
|
n |
|
) |
| var = (type) p; p += s->sb_cols * (n) * sizeof(*var) |
◆ vp9_free_entries()
◆ vp9_alloc_entries()
◆ vp9_frame_unref()
◆ vp9_frame_alloc()
◆ vp9_frame_ref()
◆ update_size()
◆ update_block_buffers()
◆ get_sbits_inv()
◆ inv_recenter_nonneg()
◆ update_prob()
◆ read_colorspace_details()
◆ decode_frame_header()
◆ decode_sb()
◆ decode_sb_mem()
◆ set_tile_offset()
static void set_tile_offset |
( |
int * |
start, |
|
|
int * |
end, |
|
|
int |
idx, |
|
|
int |
log2_n, |
|
|
int |
n |
|
) |
| |
|
static |
◆ free_buffers()
◆ vp9_decode_free()
◆ decode_tiles()
◆ vp9_decode_frame()
◆ vp9_decode_flush()
◆ init_frames()
◆ vp9_decode_init()
◆ ff_vp9_decoder