FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/frame.h"
#include "progressframe.h"
#include "vp89_rac.h"
#include "vp9.h"
#include "vp9data.h"
#include "vp9dec.h"
#include "vpx_rac.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 (VPXRangeCoder *c, int16_t *coef, int n_coeffs, int is_tx32x32, int is8bitsperpixel, int bpp, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], const 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 (VP9TileData *td, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], const 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 (VP9TileData *td, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], const 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 (VP9TileData *td, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], const 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 (VP9TileData *td, int16_t *coef, int n_coeffs, unsigned(*cnt)[6][3], unsigned(*eob)[6][2], const 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 (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) |
#define SPLAT_CTX | ( | var, | |
val, | |||
n | |||
) |
#define SET_CTXS | ( | perf, | |
dir, | |||
off, | |||
n | |||
) |
#define MERGE_CTX | ( | step, | |
rd | |||
) |
#define DECODE_Y_COEF_LOOP | ( | step, | |
mode_index, | |||
v | |||
) |
#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 | |||
) |
|
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 806 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 925 of file vp9block.c.
|
static |
Definition at line 935 of file vp9block.c.
|
static |
Definition at line 945 of file vp9block.c.
|
static |
Definition at line 955 of file vp9block.c.
|
static |
Definition at line 965 of file vp9block.c.
Referenced by decode_coeffs_16bpp(), and decode_coeffs_8bpp().
|
static |
Definition at line 1132 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 1137 of file vp9block.c.
Referenced by ff_vp9_decode_block().
|
static |
Definition at line 1142 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 1264 of file vp9block.c.
Referenced by decode_sb(), and decode_sb_mem().