Home
last modified time | relevance | path

Searched refs:tb_mask (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dhevcpred_template.c42 s->ps.pps->min_tb_addr_zs[(y) * (s->ps.sps->tb_mask+2) + (x)] in FUNC()
84 int x_tb = (x0 >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask; in FUNC()
85 int y_tb = (y0 >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask; in FUNC()
107 …eft && cur_tb_addr > MIN_TB_ADDR_ZS( x_tb - 1, (y_tb + size_in_tbs_v + spin) & s->ps.sps->tb_mask); in FUNC()
111 …ht && !spin && cur_tb_addr > MIN_TB_ADDR_ZS((x_tb + size_in_tbs_h) & s->ps.sps->tb_mask, y_tb - 1); in FUNC()
Dhevc_mvs.c68 s->ps.pps->min_tb_addr_zs[(y) * (s->ps.sps->tb_mask+2) + (x)] in z_scan_block_avail()
77 int Curr = MIN_TB_ADDR_ZS((xCurr >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask, in z_scan_block_avail()
78 (yCurr >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask); in z_scan_block_avail()
79 int N = MIN_TB_ADDR_ZS((xN >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask, in z_scan_block_avail()
80 (yN >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask); in z_scan_block_avail()
Dhevc_ps.c1214 sps->tb_mask = (1 << (sps->log2_ctb_size - sps->log2_min_tb_size)) - 1; in ff_hevc_parse_sps()
1422 …pps->min_tb_addr_zs_tab = av_malloc_array((sps->tb_mask+2) * (sps->tb_mask+2), sizeof(*pps->min_tb… in setup_pps()
1477 pps->min_tb_addr_zs = &pps->min_tb_addr_zs_tab[1*(sps->tb_mask+2)+1]; in setup_pps()
1478 for (y = 0; y < sps->tb_mask+2; y++) { in setup_pps()
1479 pps->min_tb_addr_zs_tab[y*(sps->tb_mask+2)] = -1; in setup_pps()
1482 for (y = 0; y < sps->tb_mask+1; y++) { in setup_pps()
1483 for (x = 0; x < sps->tb_mask+1; x++) { in setup_pps()
1492 pps->min_tb_addr_zs[y * (sps->tb_mask+2) + x] = val; in setup_pps()
Dhevc_ps.h238 int tb_mask; member
/third_party/ffmpeg/libavcodec/mips/
Dhevcpred_msa.c1919 int x_tb = (x0 >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask; in ff_intra_pred_8_16x16_msa()
1920 int y_tb = (y0 >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask; in ff_intra_pred_8_16x16_msa()
1923 s->ps.pps->min_tb_addr_zs[(y_tb) * (s->ps.sps->tb_mask + 2) + (x_tb)]; in ff_intra_pred_8_16x16_msa()
1944 s->ps.pps->min_tb_addr_zs[((y_tb + size_in_tbs_v) & s->ps.sps->tb_mask) * in ff_intra_pred_8_16x16_msa()
1945 (s->ps.sps->tb_mask + 2) + (x_tb - 1)]; in ff_intra_pred_8_16x16_msa()
1951 s->ps.pps->min_tb_addr_zs[(y_tb - 1) * (s->ps.sps->tb_mask + 2) + in ff_intra_pred_8_16x16_msa()
1952 ((x_tb + size_in_tbs_h) & s->ps.sps->tb_mask)]; in ff_intra_pred_8_16x16_msa()
2436 int x_tb = (x0 >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask; in ff_intra_pred_8_32x32_msa()
2437 int y_tb = (y0 >> s->ps.sps->log2_min_tb_size) & s->ps.sps->tb_mask; in ff_intra_pred_8_32x32_msa()
2440 s->ps.pps->min_tb_addr_zs[(y_tb) * (s->ps.sps->tb_mask + 2) + (x_tb)]; in ff_intra_pred_8_32x32_msa()
[all …]