Lines Matching refs:twd

323 static void predict_and_reconstruct_intra_block(TileWorkerData *twd,  in predict_and_reconstruct_intra_block()  argument
327 MACROBLOCKD *const xd = &twd->xd; in predict_and_reconstruct_intra_block()
345 const int eob = vp9_decode_block_tokens(twd, plane, sc, col, row, tx_size, in predict_and_reconstruct_intra_block()
354 static int reconstruct_inter_block(TileWorkerData *twd, MODE_INFO *const mi, in reconstruct_inter_block() argument
357 MACROBLOCKD *const xd = &twd->xd; in reconstruct_inter_block()
360 const int eob = vp9_decode_block_tokens(twd, plane, sc, col, row, tx_size, in reconstruct_inter_block()
763 static void decode_block(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row, in decode_block() argument
771 vpx_reader *r = &twd->bit_reader; in decode_block()
772 MACROBLOCKD *const xd = &twd->xd; in decode_block()
785 vp9_read_mode_info(twd, pbi, mi_row, mi_col, x_mis, y_mis); in decode_block()
814 predict_and_reconstruct_intra_block(twd, mi, plane, row, col, in decode_block()
849 reconstruct_inter_block(twd, mi, plane, row, col, tx_size); in decode_block()
863 static INLINE int dec_partition_plane_context(TileWorkerData *twd, int mi_row, in dec_partition_plane_context() argument
865 const PARTITION_CONTEXT *above_ctx = twd->xd.above_seg_context + mi_col; in dec_partition_plane_context()
867 twd->xd.left_seg_context + (mi_row & MI_MASK); in dec_partition_plane_context()
875 static INLINE void dec_update_partition_context(TileWorkerData *twd, int mi_row, in dec_update_partition_context() argument
878 PARTITION_CONTEXT *const above_ctx = twd->xd.above_seg_context + mi_col; in dec_update_partition_context()
880 twd->xd.left_seg_context + (mi_row & MI_MASK); in dec_update_partition_context()
889 static PARTITION_TYPE read_partition(TileWorkerData *twd, int mi_row, in read_partition() argument
892 const int ctx = dec_partition_plane_context(twd, mi_row, mi_col, bsl); in read_partition()
893 const vpx_prob *const probs = twd->xd.partition_probs[ctx]; in read_partition()
894 FRAME_COUNTS *counts = twd->xd.counts; in read_partition()
896 vpx_reader *r = &twd->bit_reader; in read_partition()
913 static void decode_partition(TileWorkerData *twd, VP9Decoder *const pbi, in decode_partition() argument
924 MACROBLOCKD *const xd = &twd->xd; in decode_partition()
928 partition = read_partition(twd, mi_row, mi_col, has_rows, has_cols, n8x8_l2); in decode_partition()
934 decode_block(twd, pbi, mi_row, mi_col, subsize, 1, 1); in decode_partition()
938 decode_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n4x4_l2); in decode_partition()
941 decode_block(twd, pbi, mi_row, mi_col, subsize, n4x4_l2, n8x8_l2); in decode_partition()
943 decode_block(twd, pbi, mi_row + hbs, mi_col, subsize, n4x4_l2, in decode_partition()
947 decode_block(twd, pbi, mi_row, mi_col, subsize, n8x8_l2, n4x4_l2); in decode_partition()
949 decode_block(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2, in decode_partition()
953 decode_partition(twd, pbi, mi_row, mi_col, subsize, n8x8_l2); in decode_partition()
954 decode_partition(twd, pbi, mi_row, mi_col + hbs, subsize, n8x8_l2); in decode_partition()
955 decode_partition(twd, pbi, mi_row + hbs, mi_col, subsize, n8x8_l2); in decode_partition()
956 decode_partition(twd, pbi, mi_row + hbs, mi_col + hbs, subsize, in decode_partition()
966 dec_update_partition_context(twd, mi_row, mi_col, subsize, num_8x8_wh); in decode_partition()