FFmpeg
|
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "videodsp.h"
#include "vp56.h"
#include "vp9.h"
#include "vp9data.h"
#include "vp9dec.h"
Go to the source code of this file.
Macros | |
#define | SPLAT_CTX(var, val, n) |
#define | SET_CTXS(dir, off, n) |
#define | STORE_COEF(c, i, v) |
#define | MERGE(la, end, step, rd) |
#define | MERGE_CTX(step, rd) |
#define | DECODE_Y_COEF_LOOP(step, mode_index, v) |
#define | SPLAT(la, end, step, cond) |
#define | SPLAT_CTX(step) |
#define | DECODE_UV_COEF_LOOP(step, v) |
#define | SPLAT_ZERO_CTX(v, n) |
#define | SPLAT_ZERO_YUV(dir, var, off, n, dir2) |
Functions | |
static av_always_inline void | setctx_2d (uint8_t *ptr, int w, int h, ptrdiff_t stride, int v) |
static void | decode_mode (AVCodecContext *avctx) |
static av_always_inline int | decode_coeffs_b_generic (VP56RangeCoder *c, int16_t *coef, int n_coeffs, int is_tx32x32, int is8bitsperpixel, int bpp, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], uint8_t(*p)[6][11], int nnz, const int16_t *scan, const int16_t(*nb)[2], const int16_t *band_counts, const int16_t *qmul) |
static int | decode_coeffs_b_8bpp (VP9Context *s, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], uint8_t(*p)[6][11], int nnz, const int16_t *scan, const int16_t(*nb)[2], const int16_t *band_counts, const int16_t *qmul) |
static int | decode_coeffs_b32_8bpp (VP9Context *s, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], uint8_t(*p)[6][11], int nnz, const int16_t *scan, const int16_t(*nb)[2], const int16_t *band_counts, const int16_t *qmul) |
static int | decode_coeffs_b_16bpp (VP9Context *s, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], uint8_t(*p)[6][11], int nnz, const int16_t *scan, const int16_t(*nb)[2], const int16_t *band_counts, const int16_t *qmul) |
static int | decode_coeffs_b32_16bpp (VP9Context *s, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], uint8_t(*p)[6][11], int nnz, const int16_t *scan, const int16_t(*nb)[2], const int16_t *band_counts, const int16_t *qmul) |
static av_always_inline int | decode_coeffs (AVCodecContext *avctx, int is8bitsperpixel) |
static int | decode_coeffs_8bpp (AVCodecContext *avctx) |
static int | decode_coeffs_16bpp (AVCodecContext *avctx) |
static av_always_inline void | mask_edges (uint8_t(*mask)[8][4], int ss_h, int ss_v, int row_and_7, int col_and_7, int w, int h, int col_end, int row_end, enum TxfmMode tx, int skip_inter) |
void | ff_vp9_decode_block (AVCodecContext *avctx, int row, int col, VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff, enum BlockLevel bl, enum BlockPartition bp) |
Referenced by decode_coeffs().
#define SET_CTXS | ( | dir, | |
off, | |||
n | |||
) |
Referenced by decode_mode().
#define STORE_COEF | ( | c, | |
i, | |||
v | |||
) |
Referenced by decode_coeffs_b_generic().
#define MERGE | ( | la, | |
end, | |||
step, | |||
rd | |||
) |
#define MERGE_CTX | ( | step, | |
rd | |||
) |
Referenced by decode_coeffs().
#define DECODE_Y_COEF_LOOP | ( | step, | |
mode_index, | |||
v | |||
) |
Referenced by decode_coeffs().
#define SPLAT_CTX | ( | step | ) |
#define DECODE_UV_COEF_LOOP | ( | step, | |
v | |||
) |
Referenced by decode_coeffs().
#define SPLAT_ZERO_CTX | ( | v, | |
n | |||
) |
#define SPLAT_ZERO_YUV | ( | dir, | |
var, | |||
off, | |||
n, | |||
dir2 | |||
) |
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 34 of file vp9block.c.
Referenced by decode_mode(), and ff_vp9_decode_block().
|
static |
Definition at line 80 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 805 of file vp9block.c.
Referenced by decode_coeffs_b32_16bpp(), decode_coeffs_b32_8bpp(), decode_coeffs_b_16bpp(), and decode_coeffs_b_8bpp().
|
static |
Definition at line 928 of file vp9block.c.
|
static |
Definition at line 938 of file vp9block.c.
|
static |
Definition at line 948 of file vp9block.c.
|
static |
Definition at line 958 of file vp9block.c.
|
static |
Definition at line 968 of file vp9block.c.
Referenced by decode_coeffs_16bpp(), and decode_coeffs_8bpp().
|
static |
Definition at line 1135 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 1140 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 1145 of file vp9block.c.
Referenced by ff_vp9_decode_block().
void ff_vp9_decode_block | ( | AVCodecContext * | avctx, |
int | row, | ||
int | col, | ||
VP9Filter * | lflvl, | ||
ptrdiff_t | yoff, | ||
ptrdiff_t | uvoff, | ||
enum BlockLevel | bl, | ||
enum BlockPartition | bp | ||
) |
Definition at line 1267 of file vp9block.c.
Referenced by decode_sb(), and decode_sb_mem().