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(perf, 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 (VP9TileData *td) |
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, int16_t *qmul) |
static int | decode_coeffs_b_8bpp (VP9TileData *td, 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, int16_t *qmul) |
static int | decode_coeffs_b32_8bpp (VP9TileData *td, 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, int16_t *qmul) |
static int | decode_coeffs_b_16bpp (VP9TileData *td, 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, int16_t *qmul) |
static int | decode_coeffs_b32_16bpp (VP9TileData *td, 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, int16_t *qmul) |
static av_always_inline int | decode_coeffs (VP9TileData *td, int is8bitsperpixel) |
static int | decode_coeffs_8bpp (VP9TileData *td) |
static int | decode_coeffs_16bpp (VP9TileData *td) |
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 (VP9TileData *td, 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 | ( | perf, | |
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 924 of file vp9block.c.
|
static |
Definition at line 934 of file vp9block.c.
|
static |
Definition at line 944 of file vp9block.c.
|
static |
Definition at line 954 of file vp9block.c.
|
static |
Definition at line 964 of file vp9block.c.
Referenced by decode_coeffs_16bpp(), and decode_coeffs_8bpp().
|
static |
Definition at line 1131 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 1136 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 1141 of file vp9block.c.
Referenced by ff_vp9_decode_block().
void ff_vp9_decode_block | ( | VP9TileData * | td, |
int | row, | ||
int | col, | ||
VP9Filter * | lflvl, | ||
ptrdiff_t | yoff, | ||
ptrdiff_t | uvoff, | ||
enum BlockLevel | bl, | ||
enum BlockPartition | bp | ||
) |
Definition at line 1263 of file vp9block.c.
Referenced by decode_sb(), and decode_sb_mem().