FFmpeg
vp9dec.h
Go to the documentation of this file.
1 /*
2  * VP9 compatible video decoder
3  *
4  * Copyright (C) 2013 Ronald S. Bultje <rsbultje gmail com>
5  * Copyright (C) 2013 Clément Bœsch <u pkh me>
6  *
7  * This file is part of FFmpeg.
8  *
9  * FFmpeg is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * FFmpeg is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with FFmpeg; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  */
23 
24 #ifndef AVCODEC_VP9DEC_H
25 #define AVCODEC_VP9DEC_H
26 
27 #include <stddef.h>
28 #include <stdint.h>
29 #include <stdatomic.h>
30 
31 #include "libavutil/mem_internal.h"
32 #include "libavutil/thread.h"
33 #include "libavutil/internal.h"
34 
35 #include "get_bits.h"
36 #include "videodsp.h"
37 #include "vp9.h"
38 #include "vp9dsp.h"
39 #include "vp9shared.h"
40 #include "vpx_rac.h"
41 
42 #define REF_INVALID_SCALE 0xFFFF
43 
44 enum MVJoint {
49 };
50 
51 typedef struct ProbContext {
52  uint8_t y_mode[4][9];
53  uint8_t uv_mode[10][9];
54  uint8_t filter[4][2];
55  uint8_t mv_mode[7][3];
56  uint8_t intra[4];
57  uint8_t comp[5];
58  uint8_t single_ref[5][2];
59  uint8_t comp_ref[5];
60  uint8_t tx32p[2][3];
61  uint8_t tx16p[2][2];
62  uint8_t tx8p[2];
63  uint8_t skip[3];
64  uint8_t mv_joint[3];
65  struct {
66  uint8_t sign;
67  uint8_t classes[10];
68  uint8_t class0;
69  uint8_t bits[10];
70  uint8_t class0_fp[2][3];
71  uint8_t fp[3];
72  uint8_t class0_hp;
73  uint8_t hp;
74  } mv_comp[2];
75  uint8_t partition[4][4][3];
76 } ProbContext;
77 
78 typedef struct VP9Filter {
79  uint8_t level[8 * 8];
80  uint8_t /* bit=col */ mask[2 /* 0=y, 1=uv */][2 /* 0=col, 1=row */]
81  [8 /* rows */][4 /* 0=16, 1=8, 2=4, 3=inner4 */];
82 } VP9Filter;
83 
84 typedef struct VP9Block {
85  uint8_t seg_id, intra, comp, ref[2], mode[4], uvmode, skip;
87  VP9mv mv[4 /* b_idx */][2 /* ref */];
88  enum BlockSize bs;
89  enum TxfmMode tx, uvtx;
90  enum BlockLevel bl;
92 } VP9Block;
93 
94 typedef struct VP9TileData VP9TileData;
95 
96 typedef struct VP9Context {
99 
105 
106 #if HAVE_THREADS
107  pthread_mutex_t progress_mutex;
108  pthread_cond_t progress_cond;
109  atomic_int *entries;
110  unsigned pthread_init_cnt;
111 #endif
112 
113  uint8_t ss_h, ss_v;
115  uint8_t last_keyframe;
116  // sb_cols/rows, rows/cols and last_fmt are used for allocating all internal
117  // arrays, and are thus per-thread. w/h and gf_fmt are synced between threads
118  // and are therefore per-stream. pix_fmt represents the value in the header
119  // of the currently processed frame.
120  int w, h;
121  enum AVPixelFormat pix_fmt, last_fmt, gf_fmt;
122  unsigned sb_cols, sb_rows, rows, cols;
124 
125  struct {
126  uint8_t lim_lut[64];
127  uint8_t mblim_lut[64];
128  } filter_lut;
129  struct {
131  uint8_t coef[4][2][2][6][6][3];
132  } prob_ctx[4];
133  struct {
134  ProbContext p;
135  uint8_t coef[4][2][2][6][6][11];
136  } prob;
137 
138  // contextual (above) cache
140  uint8_t *above_mode_ctx;
141  // FIXME maybe merge some of the below in a flags field?
142  uint8_t *above_y_nnz_ctx;
143  uint8_t *above_uv_nnz_ctx[2];
144  uint8_t *above_skip_ctx; // 1bit
145  uint8_t *above_txfm_ctx; // 2bit
146  uint8_t *above_segpred_ctx; // 1bit
147  uint8_t *above_intra_ctx; // 1bit
148  uint8_t *above_comp_ctx; // 1bit
149  uint8_t *above_ref_ctx; // 2bit
152 
153  // whole-frame cache
154  uint8_t *intra_pred_data[3];
156 
157  // block reconstruction intermediates
159  uint16_t mvscale[3][2];
160  uint8_t mvstep[3][2];
161 
162  // frame specific buffer pools
165 } VP9Context;
166 
167 struct VP9TileData {
168  const VP9Context *s;
171  int row, row7, col, col7;
172  uint8_t *dst[3];
173  ptrdiff_t y_stride, uv_stride;
175  unsigned tile_col_start;
176 
177  struct {
178  unsigned y_mode[4][10];
179  unsigned uv_mode[10][10];
180  unsigned filter[4][3];
181  unsigned mv_mode[7][4];
182  unsigned intra[4][2];
183  unsigned comp[5][2];
184  unsigned single_ref[5][2][2];
185  unsigned comp_ref[5][2];
186  unsigned tx32p[2][4];
187  unsigned tx16p[2][3];
188  unsigned tx8p[2][2];
189  unsigned skip[3][2];
190  unsigned mv_joint[4];
191  struct {
192  unsigned sign[2];
193  unsigned classes[11];
194  unsigned class0[2];
195  unsigned bits[10][2];
196  unsigned class0_fp[2][4];
197  unsigned fp[4];
198  unsigned class0_hp[2];
199  unsigned hp[2];
200  } mv_comp[2];
201  unsigned partition[4][4][4];
202  unsigned coef[4][2][2][6][6][3];
203  unsigned eob[4][2][2][6][6][2];
204  } counts;
205 
206  // whole-frame cache
207  DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer)[135 * 144 * 2];
208 
209  // contextual (left) cache
210  DECLARE_ALIGNED(16, uint8_t, left_y_nnz_ctx)[16];
211  DECLARE_ALIGNED(16, uint8_t, left_mode_ctx)[16];
213  DECLARE_ALIGNED(16, uint8_t, left_uv_nnz_ctx)[2][16];
220  DECLARE_ALIGNED(8, uint8_t, left_ref_ctx)[8];
222  // block reconstruction intermediates
223  DECLARE_ALIGNED(32, uint8_t, tmp_y)[64 * 64 * 2];
224  DECLARE_ALIGNED(32, uint8_t, tmp_uv)[2][64 * 64 * 2];
225  struct { int x, y; } min_mv, max_mv;
226  int16_t *block_base, *block, *uvblock_base[2], *uvblock[2];
227  uint8_t *eob_base, *uveob_base[2], *eob, *uveob[2];
228 
229  // error message
231  struct {
232  unsigned int row:13;
233  unsigned int col:13;
234  unsigned int block_size_idx_x:2;
235  unsigned int block_size_idx_y:2;
236  } *block_structure;
237  unsigned int nb_block_structure;
238 };
239 
240 void ff_vp9_fill_mv(VP9TileData *td, VP9mv *mv, int mode, int sb);
241 
243 
244 void ff_vp9_decode_block(VP9TileData *td, int row, int col,
245  VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff,
246  enum BlockLevel bl, enum BlockPartition bp);
247 
248 void ff_vp9_loopfilter_sb(AVCodecContext *avctx, VP9Filter *lflvl,
249  int row, int col, ptrdiff_t yoff, ptrdiff_t uvoff);
250 
252  ptrdiff_t y_off, ptrdiff_t uv_off);
254  ptrdiff_t y_off, ptrdiff_t uv_off);
257 
258 #endif /* AVCODEC_VP9DEC_H */
VP9TileData::left_y_nnz_ctx
uint8_t left_y_nnz_ctx[16]
Definition: vp9dec.h:210
ff_vp9_inter_recon_8bpp
void ff_vp9_inter_recon_8bpp(VP9TileData *td)
Definition: vp9recon.c:646
pthread_mutex_t
_fmutex pthread_mutex_t
Definition: os2threads.h:53
td
#define td
Definition: regdef.h:70
AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:71
ProbContext::class0_fp
uint8_t class0_fp[2][3]
Definition: vp9dec.h:70
VP9Context::mblim_lut
uint8_t mblim_lut[64]
Definition: vp9dec.h:127
VP9Context::dsp
VP9DSPContext dsp
Definition: vp9dec.h:100
VP9TileData::single_ref
unsigned single_ref[5][2][2]
Definition: vp9dec.h:184
mem_internal.h
VP9Block::ref
uint8_t ref[2]
Definition: vp9dec.h:85
VP9TileData::uvblock_base
int16_t * uvblock_base[2]
Definition: vp9dec.h:226
ff_vp9_fill_mv
void ff_vp9_fill_mv(VP9TileData *td, VP9mv *mv, int mode, int sb)
Definition: vp9mvs.c:291
VP9Context::above_mode_ctx
uint8_t * above_mode_ctx
Definition: vp9dec.h:140
VP9Block::skip
uint8_t skip
Definition: vp9dec.h:85
VP9TileData::partition
unsigned partition[4][4][4]
Definition: vp9dec.h:201
thread.h
VP9Context::last_keyframe
uint8_t last_keyframe
Definition: vp9dec.h:115
ProbContext::classes
uint8_t classes[10]
Definition: vp9dec.h:67
VP9Block::mv
VP9mv mv[4][2]
Definition: vp9dec.h:87
VP9TileData::mv_comp
struct VP9TileData::@210::@213 mv_comp[2]
ff_vp9_adapt_probs
void ff_vp9_adapt_probs(VP9Context *s)
Definition: vp9prob.c:44
mv
static const int8_t mv[256][2]
Definition: 4xm.c:80
VP9TileData::left_skip_ctx
uint8_t left_skip_ctx[8]
Definition: vp9dec.h:215
VP9TileData::row
int row
Definition: vp9dec.h:171
BlockPartition
BlockPartition
Definition: vp9shared.h:35
VP9Context::vdsp
VideoDSPContext vdsp
Definition: vp9dec.h:101
MVJoint
MVJoint
Definition: vp9dec.h:44
VP9DSPContext
Definition: vp9dsp.h:40
VP9TileData::x
int x
Definition: vp9dec.h:225
atomic_int
intptr_t atomic_int
Definition: stdatomic.h:55
VP9TileData::block
int16_t * block
Definition: vp9dec.h:226
ProbContext::hp
uint8_t hp
Definition: vp9dec.h:73
ProbContext::tx32p
uint8_t tx32p[2][3]
Definition: vp9dec.h:60
VP9TileData::c_b
VPXRangeCoder * c_b
Definition: vp9dec.h:169
VP9Context::above_txfm_ctx
uint8_t * above_txfm_ctx
Definition: vp9dec.h:145
VP9TileData::left_segpred_ctx
uint8_t left_segpred_ctx[8]
Definition: vp9dec.h:217
ProbContext::comp
uint8_t comp[5]
Definition: vp9dec.h:57
VP9Block::bl
enum BlockLevel bl
Definition: vp9dec.h:90
VP9TileData::left_comp_ctx
uint8_t left_comp_ctx[8]
Definition: vp9dec.h:219
VP9Filter
Definition: vp9dec.h:78
MV_JOINT_HV
@ MV_JOINT_HV
Definition: vp9dec.h:48
VP9Context::above_skip_ctx
uint8_t * above_skip_ctx
Definition: vp9dec.h:144
VP9TileData::b
VP9Block * b
Definition: vp9dec.h:174
VPXRangeCoder
Definition: vpx_rac.h:35
VP9Block::filter
enum FilterMode filter
Definition: vp9dec.h:86
VP9Context::cols
unsigned cols
Definition: vp9dec.h:122
VP9Context::gf_fmt
enum AVPixelFormat pix_fmt last_fmt gf_fmt
Definition: vp9dec.h:121
VP9TileData::skip
unsigned skip[3][2]
Definition: vp9dec.h:189
VP9Block
Definition: vp9dec.h:84
VP9Context::above_uv_nnz_ctx
uint8_t * above_uv_nnz_ctx[2]
Definition: vp9dec.h:143
VP9Context::ss_v
uint8_t ss_v
Definition: vp9dec.h:113
ProbContext::sign
uint8_t sign
Definition: vp9dec.h:66
VP9Context::coef
uint8_t coef[4][2][2][6][6][3]
Definition: vp9dec.h:131
VP9TileData::tmp_uv
uint8_t tmp_uv[2][64 *64 *2]
Definition: vp9dec.h:224
FilterMode
FilterMode
Definition: vp9.h:64
GetBitContext
Definition: get_bits.h:108
VP9TileData::left_filter_ctx
uint8_t left_filter_ctx[8]
Definition: vp9dec.h:221
VP9Context::above_filter_ctx
uint8_t * above_filter_ctx
Definition: vp9dec.h:150
VP9Context::last_bpp
uint8_t last_bpp
Definition: vp9dec.h:114
VP9TileData::class0_hp
unsigned class0_hp[2]
Definition: vp9dec.h:198
VP9TileData::fp
unsigned fp[4]
Definition: vp9dec.h:197
ProbContext::y_mode
uint8_t y_mode[4][9]
Definition: vp9dec.h:52
VP9Context::p
ProbContext p
Definition: vp9dec.h:130
VP9Context::lim_lut
uint8_t lim_lut[64]
Definition: vp9dec.h:126
VP9TileData::col
int col
Definition: vp9dec.h:171
VP9Block::intra
uint8_t intra
Definition: vp9dec.h:85
vp9shared.h
VP9Context::sb_cols
unsigned sb_cols
Definition: vp9dec.h:122
VP9TileData::left_txfm_ctx
uint8_t left_txfm_ctx[8]
Definition: vp9dec.h:216
VP9TileData::comp_ref
unsigned comp_ref[5][2]
Definition: vp9dec.h:185
s
#define s(width, name)
Definition: cbs_vp9.c:198
VP9SharedContext
Definition: vp9shared.h:164
VP9TileData::hp
unsigned hp[2]
Definition: vp9dec.h:199
VP9TileData::mv_joint
unsigned mv_joint[4]
Definition: vp9dec.h:190
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: vp9block.c:1263
VP9Context::s
VP9SharedContext s
Definition: vp9dec.h:97
pix_fmt
static enum AVPixelFormat pix_fmt
Definition: demux_decode.c:41
VP9TileData::intra
unsigned intra[4][2]
Definition: vp9dec.h:182
VP9TileData::filter
unsigned filter[4][3]
Definition: vp9dec.h:180
VP9Context::filter_lut
struct VP9Context::@207 filter_lut
get_bits.h
VP9TileData::block_size_idx_x
unsigned int block_size_idx_x
Definition: vp9dec.h:234
FFRefStructPool
FFRefStructPool is an API for a thread-safe pool of objects managed via the RefStruct API.
Definition: refstruct.c:183
VP9Context::bytesperpixel
uint8_t bytesperpixel
Definition: vp9dec.h:114
VP9TileData::y
int y
Definition: vp9dec.h:225
VP9Block::bs
enum BlockSize bs
Definition: vp9dec.h:88
VP9Context::above_mv_ctx
VP9mv(* above_mv_ctx)[2]
Definition: vp9dec.h:151
VP9TileData::class0_fp
unsigned class0_fp[2][4]
Definition: vp9dec.h:196
VP9Context::mvstep
uint8_t mvstep[3][2]
Definition: vp9dec.h:160
VP9Context
Definition: vp9dec.h:96
VP9TileData::uv_stride
ptrdiff_t uv_stride
Definition: vp9dec.h:173
VP9Context::frame_extradata_pool
struct FFRefStructPool * frame_extradata_pool
Definition: vp9dec.h:163
VP9Context::above_segpred_ctx
uint8_t * above_segpred_ctx
Definition: vp9dec.h:146
VP9Context::block_alloc_using_2pass
int block_alloc_using_2pass
Definition: vp9dec.h:158
VP9TileData::min_mv
struct VP9TileData::@211 min_mv
VP9mv
Definition: vp9shared.h:55
VP9TileData::classes
unsigned classes[11]
Definition: vp9dec.h:193
VP9Context::rows
unsigned rows
Definition: vp9dec.h:122
MV_JOINT_V
@ MV_JOINT_V
Definition: vp9dec.h:47
VP9TileData::eob
unsigned eob[4][2][2][6][6][2]
Definition: vp9dec.h:203
ff_vp9_intra_recon_16bpp
void ff_vp9_intra_recon_16bpp(VP9TileData *td, ptrdiff_t y_off, ptrdiff_t uv_off)
Definition: vp9recon.c:293
VP9Context::h
int h
Definition: vp9dec.h:120
vp9dsp.h
ProbContext::bits
uint8_t bits[10]
Definition: vp9dec.h:69
TxfmMode
TxfmMode
Definition: vp9.h:27
vp9.h
VP9Context::next_refs
ThreadFrame next_refs[8]
Definition: vp9dec.h:123
ProbContext::skip
uint8_t skip[3]
Definition: vp9dec.h:63
ProbContext::mv_mode
uint8_t mv_mode[7][3]
Definition: vp9dec.h:55
VP9TileData::edge_emu_buffer
uint8_t edge_emu_buffer[135 *144 *2]
Definition: vp9dec.h:207
VP9TileData::col
unsigned int col
Definition: vp9dec.h:233
DECLARE_ALIGNED
#define DECLARE_ALIGNED(n, t, v)
Definition: mem_internal.h:109
VP9TileData::eob_base
uint8_t * eob_base
Definition: vp9dec.h:227
VP9Context::above_y_nnz_ctx
uint8_t * above_y_nnz_ctx
Definition: vp9dec.h:142
VP9Block::seg_id
uint8_t seg_id
Definition: vp9dec.h:85
VP9TileData::b_base
VP9Block * b_base
Definition: vp9dec.h:174
VP9TileData::row
unsigned int row
Definition: vp9dec.h:232
ProbContext::comp_ref
uint8_t comp_ref[5]
Definition: vp9dec.h:59
VP9TileData::left_intra_ctx
uint8_t left_intra_ctx[8]
Definition: vp9dec.h:218
VP9Block::bp
enum BlockPartition bp
Definition: vp9dec.h:91
VP9TileData::uv_mode
unsigned uv_mode[10][10]
Definition: vp9dec.h:179
VP9TileData::block_base
int16_t * block_base
Definition: vp9dec.h:226
ProbContext
Definition: vp9dec.h:51
VP9TileData::left_uv_nnz_ctx
uint8_t left_uv_nnz_ctx[2][16]
Definition: vp9dec.h:213
ProbContext::fp
uint8_t fp[3]
Definition: vp9dec.h:71
VP9TileData::class0
unsigned class0[2]
Definition: vp9dec.h:194
VP9TileData::tmp_y
uint8_t tmp_y[64 *64 *2]
Definition: vp9dec.h:223
VP9TileData::mv_mode
unsigned mv_mode[7][4]
Definition: vp9dec.h:181
VP9Block::uvmode
uint8_t uvmode
Definition: vp9dec.h:85
VP9TileData::y_mode
unsigned y_mode[4][10]
Definition: vp9dec.h:178
internal.h
vpx_rac.h
VP9TileData::uveob
uint8_t * uveob[2]
Definition: vp9dec.h:227
VP9TileData::block_size_idx_y
unsigned int block_size_idx_y
Definition: vp9dec.h:235
VP9TileData::left_mv_ctx
VP9mv left_mv_ctx[16][2]
Definition: vp9dec.h:212
BlockSize
BlockSize
Definition: vp9shared.h:82
VP9TileData::left_mode_ctx
uint8_t left_mode_ctx[16]
Definition: vp9dec.h:211
VP9Context::pass
int pass
Definition: vp9dec.h:104
VP9Context::w
int w
Definition: vp9dec.h:120
VP9TileData::bits
unsigned bits[10][2]
Definition: vp9dec.h:195
pthread_cond_t
Definition: os2threads.h:58
VP9TileData::coef
unsigned coef[4][2][2][6][6][3]
Definition: vp9dec.h:202
VP9TileData::c
VPXRangeCoder * c
Definition: vp9dec.h:170
ProbContext::class0_hp
uint8_t class0_hp
Definition: vp9dec.h:72
ProbContext::single_ref
uint8_t single_ref[5][2]
Definition: vp9dec.h:58
VP9TileData::max_mv
struct VP9TileData::@211 max_mv
VP9TileData::comp
unsigned comp[5][2]
Definition: vp9dec.h:183
VP9TileData::s
const VP9Context * s
Definition: vp9dec.h:168
ProbContext::tx16p
uint8_t tx16p[2][2]
Definition: vp9dec.h:61
VP9Context::prob_ctx
struct VP9Context::@208 prob_ctx[4]
VP9Context::sb_rows
unsigned sb_rows
Definition: vp9dec.h:122
VP9Context::above_intra_ctx
uint8_t * above_intra_ctx
Definition: vp9dec.h:147
VP9TileData
Definition: vp9dec.h:167
VP9TileData::uveob_base
uint8_t * uveob_base[2]
Definition: vp9dec.h:227
AVCodecContext
main external API structure.
Definition: avcodec.h:445
ThreadFrame
Definition: threadframe.h:27
VP9Filter::mask
uint8_t mask[2][2][8][4]
Definition: vp9dec.h:81
VP9Context::bpp_index
uint8_t bpp_index
Definition: vp9dec.h:114
ProbContext::partition
uint8_t partition[4][4][3]
Definition: vp9dec.h:75
ProbContext::mv_joint
uint8_t mv_joint[3]
Definition: vp9dec.h:64
mode
mode
Definition: ebur128.h:83
VP9Context::active_tile_cols
int active_tile_cols
Definition: vp9dec.h:104
VP9Context::mvscale
uint16_t mvscale[3][2]
Definition: vp9dec.h:159
BlockLevel
BlockLevel
Definition: vp9shared.h:75
VP9TileData::dst
uint8_t * dst[3]
Definition: vp9dec.h:172
ProbContext::filter
uint8_t filter[4][2]
Definition: vp9dec.h:54
VideoDSPContext
Definition: videodsp.h:40
VP9TileData::sign
unsigned sign[2]
Definition: vp9dec.h:192
ProbContext::tx8p
uint8_t tx8p[2]
Definition: vp9dec.h:62
VP9Context::td
VP9TileData * td
Definition: vp9dec.h:98
ProbContext::class0
uint8_t class0
Definition: vp9dec.h:68
MV_JOINT_ZERO
@ MV_JOINT_ZERO
Definition: vp9dec.h:45
VP9Context::gb
GetBitContext gb
Definition: vp9dec.h:102
MV_JOINT_H
@ MV_JOINT_H
Definition: vp9dec.h:46
ProbContext::uv_mode
uint8_t uv_mode[10][9]
Definition: vp9dec.h:53
VP9TileData::block_structure
struct VP9TileData::@212 * block_structure
VP9Block::comp
uint8_t comp
Definition: vp9dec.h:85
VP9TileData::row7
int row7
Definition: vp9dec.h:171
VP9Context::above_ref_ctx
uint8_t * above_ref_ctx
Definition: vp9dec.h:149
ff_vp9_loopfilter_sb
void ff_vp9_loopfilter_sb(AVCodecContext *avctx, VP9Filter *lflvl, int row, int col, ptrdiff_t yoff, ptrdiff_t uvoff)
Definition: vp9lpf.c:178
VP9TileData::col7
int col7
Definition: vp9dec.h:171
videodsp.h
VP9Context::above_comp_ctx
uint8_t * above_comp_ctx
Definition: vp9dec.h:148
ff_vp9_intra_recon_8bpp
void ff_vp9_intra_recon_8bpp(VP9TileData *td, ptrdiff_t y_off, ptrdiff_t uv_off)
Definition: vp9recon.c:288
ProbContext::mv_comp
struct ProbContext::@206 mv_comp[2]
VP9TileData::y_stride
ptrdiff_t y_stride
Definition: vp9dec.h:173
VP9Context::c
VPXRangeCoder c
Definition: vp9dec.h:103
VP9Context::ss_h
uint8_t ss_h
Definition: vp9dec.h:113
VP9Context::frame_extradata_pool_size
int frame_extradata_pool_size
Definition: vp9dec.h:164
VP9TileData::tx16p
unsigned tx16p[2][3]
Definition: vp9dec.h:187
VP9TileData::nb_block_structure
unsigned int nb_block_structure
Definition: vp9dec.h:237
VP9Context::lflvl
VP9Filter * lflvl
Definition: vp9dec.h:155
VP9TileData::error_info
int error_info
Definition: vp9dec.h:230
VP9TileData::left_ref_ctx
uint8_t left_ref_ctx[8]
Definition: vp9dec.h:220
VP9TileData::counts
struct VP9TileData::@210 counts
VP9Context::prob
struct VP9Context::@209 prob
VP9TileData::tile_col_start
unsigned tile_col_start
Definition: vp9dec.h:175
VP9Context::above_partition_ctx
uint8_t * above_partition_ctx
Definition: vp9dec.h:139
VP9Filter::level
uint8_t level[8 *8]
Definition: vp9dec.h:79
ProbContext::intra
uint8_t intra[4]
Definition: vp9dec.h:56
VP9TileData::uvblock
int16_t * uvblock[2]
Definition: vp9dec.h:226
VP9TileData::tx8p
unsigned tx8p[2][2]
Definition: vp9dec.h:188
VP9Block::uvtx
enum TxfmMode tx uvtx
Definition: vp9dec.h:89
VP9Context::intra_pred_data
uint8_t * intra_pred_data[3]
Definition: vp9dec.h:154
VP9TileData::left_partition_ctx
uint8_t left_partition_ctx[8]
Definition: vp9dec.h:214
VP9TileData::tx32p
unsigned tx32p[2][4]
Definition: vp9dec.h:186
ff_vp9_inter_recon_16bpp
void ff_vp9_inter_recon_16bpp(VP9TileData *td)
Definition: vp9recon.c:651