Lines Matching refs:twd

48 typedef int (*predict_recon_func)(TileWorkerData *twd, MODE_INFO *const mi,
51 typedef void (*intra_recon_func)(TileWorkerData *twd, MODE_INFO *const mi,
303 static void predict_and_reconstruct_intra_block(TileWorkerData *twd, in predict_and_reconstruct_intra_block() argument
307 MACROBLOCKD *const xd = &twd->xd; in predict_and_reconstruct_intra_block()
325 const int eob = vp9_decode_block_tokens(twd, plane, sc, col, row, tx_size, in predict_and_reconstruct_intra_block()
334 static void parse_intra_block_row_mt(TileWorkerData *twd, MODE_INFO *const mi, in parse_intra_block_row_mt() argument
337 MACROBLOCKD *const xd = &twd->xd; in parse_intra_block_row_mt()
350 *pd->eob = vp9_decode_block_tokens(twd, plane, sc, col, row, tx_size, in parse_intra_block_row_mt()
358 static void predict_and_reconstruct_intra_block_row_mt(TileWorkerData *twd, in predict_and_reconstruct_intra_block_row_mt() argument
363 MACROBLOCKD *const xd = &twd->xd; in predict_and_reconstruct_intra_block_row_mt()
387 static int reconstruct_inter_block(TileWorkerData *twd, MODE_INFO *const mi, in reconstruct_inter_block() argument
390 MACROBLOCKD *const xd = &twd->xd; in reconstruct_inter_block()
393 const int eob = vp9_decode_block_tokens(twd, plane, sc, col, row, tx_size, in reconstruct_inter_block()
404 static int parse_inter_block_row_mt(TileWorkerData *twd, MODE_INFO *const mi, in parse_inter_block_row_mt() argument
407 MACROBLOCKD *const xd = &twd->xd; in parse_inter_block_row_mt()
410 const int eob = vp9_decode_block_tokens(twd, plane, sc, col, row, tx_size, in parse_inter_block_row_mt()
420 static int reconstruct_inter_block_row_mt(TileWorkerData *twd, in reconstruct_inter_block_row_mt() argument
423 MACROBLOCKD *const xd = &twd->xd; in reconstruct_inter_block_row_mt()
835 TileWorkerData *twd, in predict_recon_inter() argument
860 eobtotal += func(twd, mi, plane, row, col, tx_size); in predict_recon_inter()
866 TileWorkerData *twd, in predict_recon_intra() argument
890 func(twd, mi, plane, row, col, tx_size); in predict_recon_intra()
894 static void decode_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in decode_block() argument
902 vpx_reader *r = &twd->bit_reader; in decode_block()
903 MACROBLOCKD *const xd = &twd->xd; in decode_block()
916 vp9_read_mode_info(twd, pbi, mi_row, mi_col, x_mis, y_mis); in decode_block()
945 predict_and_reconstruct_intra_block(twd, mi, plane, row, col, in decode_block()
980 reconstruct_inter_block(twd, mi, plane, row, col, tx_size); in decode_block()
994 static void recon_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in recon_block() argument
999 MACROBLOCKD *const xd = &twd->xd; in recon_block()
1012 predict_recon_intra(xd, mi, twd, in recon_block()
1020 predict_recon_inter(xd, mi, twd, reconstruct_inter_block_row_mt); in recon_block()
1027 static void parse_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in parse_block() argument
1035 vpx_reader *r = &twd->bit_reader; in parse_block()
1036 MACROBLOCKD *const xd = &twd->xd; in parse_block()
1049 vp9_read_mode_info(twd, pbi, mi_row, mi_col, x_mis, y_mis); in parse_block()
1056 predict_recon_intra(xd, mi, twd, parse_intra_block_row_mt); in parse_block()
1060 predict_recon_inter(xd, mi, twd, parse_inter_block_row_mt); in parse_block()
1069 static INLINE int dec_partition_plane_context(TileWorkerData *twd, int mi_row, in dec_partition_plane_context() argument
1071 const PARTITION_CONTEXT *above_ctx = twd->xd.above_seg_context + mi_col; in dec_partition_plane_context()
1073 twd->xd.left_seg_context + (mi_row & MI_MASK); in dec_partition_plane_context()
1081 static INLINE void dec_update_partition_context(TileWorkerData *twd, int mi_row, in dec_update_partition_context() argument
1084 PARTITION_CONTEXT *const above_ctx = twd->xd.above_seg_context + mi_col; in dec_update_partition_context()
1086 twd->xd.left_seg_context + (mi_row & MI_MASK); in dec_update_partition_context()
1095 static PARTITION_TYPE read_partition(TileWorkerData *twd, int mi_row, in read_partition() argument
1098 const int ctx = dec_partition_plane_context(twd, mi_row, mi_col, bsl); in read_partition()
1099 const vpx_prob *const probs = twd->xd.partition_probs[ctx]; in read_partition()
1100 FRAME_COUNTS *counts = twd->xd.counts; in read_partition()
1102 vpx_reader *r = &twd->bit_reader; in read_partition()
1119 static void decode_partition(TileWorkerData *twd, VP9Decoder *const pbi, in decode_partition() argument
1130 MACROBLOCKD *const xd = &twd->xd; in decode_partition()
1134 partition = read_partition(twd, mi_row, mi_col, has_rows, has_cols, n8x8_l2); in decode_partition()
1140 decode_block(twd, pbi, mi_row, mi_col, subsize, 1, 1); in decode_partition()
1144 decode_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n4x4_l2); in decode_partition()
1147 decode_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n8x8_l2); in decode_partition()
1149 decode_block(twd, pbi, mi_row + hbs, mi_col, subsize, n4x4_l2, in decode_partition()
1153 decode_block(twd, pbi, mi_row, mi_col, subsize, n8x8_l2, n4x4_l2); in decode_partition()
1155 decode_block(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2, in decode_partition()
1159 decode_partition(twd, pbi, mi_row, mi_col, subsize, n8x8_l2); in decode_partition()
1160 decode_partition(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2); in decode_partition()
1161 decode_partition(twd, pbi, mi_row + hbs, mi_col, subsize, n8x8_l2); in decode_partition()
1162 decode_partition(twd, pbi, mi_row + hbs, mi_col + hbs, subsize, in decode_partition()
1172 dec_update_partition_context(twd, mi_row, mi_col, subsize, num_8x8_wh); in decode_partition()
1175 static void recon_partition(TileWorkerData *twd, VP9Decoder *const pbi, in recon_partition() argument
1186 MACROBLOCKD *const xd = &twd->xd; in recon_partition()
1198 recon_block(twd, pbi, mi_row, mi_col, subsize, 1, 1); in recon_partition()
1202 recon_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n4x4_l2); in recon_partition()
1205 recon_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n8x8_l2); in recon_partition()
1207 recon_block(twd, pbi, mi_row + hbs, mi_col, subsize, n4x4_l2, in recon_partition()
1211 recon_block(twd, pbi, mi_row, mi_col, subsize, n8x8_l2, n4x4_l2); in recon_partition()
1213 recon_block(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2, in recon_partition()
1217 recon_partition(twd, pbi, mi_row, mi_col, subsize, n8x8_l2); in recon_partition()
1218 recon_partition(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2); in recon_partition()
1219 recon_partition(twd, pbi, mi_row + hbs, mi_col, subsize, n8x8_l2); in recon_partition()
1220 recon_partition(twd, pbi, mi_row + hbs, mi_col + hbs, subsize, n8x8_l2); in recon_partition()
1227 static void parse_partition(TileWorkerData *twd, VP9Decoder *const pbi, in parse_partition() argument
1238 MACROBLOCKD *const xd = &twd->xd; in parse_partition()
1243 read_partition(twd, mi_row, mi_col, has_rows, has_cols, n8x8_l2); in parse_partition()
1253 parse_block(twd, pbi, mi_row, mi_col, subsize, 1, 1); in parse_partition()
1257 parse_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n4x4_l2); in parse_partition()
1260 parse_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n8x8_l2); in parse_partition()
1262 parse_block(twd, pbi, mi_row + hbs, mi_col, subsize, n4x4_l2, in parse_partition()
1266 parse_block(twd, pbi, mi_row, mi_col, subsize, n8x8_l2, n4x4_l2); in parse_partition()
1268 parse_block(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2, in parse_partition()
1272 parse_partition(twd, pbi, mi_row, mi_col, subsize, n8x8_l2); in parse_partition()
1273 parse_partition(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2); in parse_partition()
1274 parse_partition(twd, pbi, mi_row + hbs, mi_col, subsize, n8x8_l2); in parse_partition()
1275 parse_partition(twd, pbi, mi_row + hbs, mi_col + hbs, subsize, n8x8_l2); in parse_partition()
1284 dec_update_partition_context(twd, mi_row, mi_col, subsize, num_8x8_wh); in parse_partition()