Lines Matching refs:wd
1482 WORD32 wd;
1491 wd = ALIGN64(ps_codec->i4_wd);
1494 max_tile_cols = (wd + MIN_TILE_WD - 1) / MIN_TILE_WD;
1497 max_ctb_cols = wd / MIN_CTB_SIZE;
1499 max_num_cu_cols = wd / MIN_CU_SIZE;
1501 max_num_4x4_cols = wd / 4;
1569 WORD32 loop_filter_strd = (wd + 63) >> 6;
1642 memset(ps_codec->as_process[0].pu4_pic_pu_idx_top, 0, sizeof(UWORD32) * (wd / 4 + 1));
1646 size = sizeof(UWORD8) * (MAX(ht, wd));
1649 size += sizeof(UWORD8) * (MAX(ht, wd));
1652 size += sizeof(UWORD8) * wd;
1655 size += sizeof(UWORD8) * wd;
1691 pu1_buf += MAX(ht, wd);
1698 pu1_buf += MAX(ht, wd);
1704 pu1_buf += wd;
1711 pu1_buf += wd;
1746 pu1_buf += wd / MIN_CTB_SIZE;
1753 pu1_buf += (wd / MIN_CTB_SIZE) * 2;
1782 vert_bs_size = wd / 8 + 2 * MAX_CTB_SIZE / 8;
1797 horz_bs_size *= (wd + MAX_CTB_SIZE) / MIN_TU_SIZE;
1806 qp_const_flag_size = wd / MIN_CTB_SIZE + 1 /* The last ctb row deblk is done in last ctb + 1 row.*/;
1815 num_8x8 = (ht * wd) / (MIN_CU_SIZE * MIN_CU_SIZE);
1874 size = wd / MIN_CTB_SIZE + 2 /* Top row and bottom row extra. This ensures accessing left,top in first row
1887 ps_codec->as_process[i].pu1_tile_idx = (UWORD16 *)pv_buf + wd / MIN_CTB_SIZE /* Offset 1 row */;
1894 size *= wd / MIN_CTB_SIZE;
1912 size = wd * ht;
1921 size = ihevcd_get_tu_data_size(wd * ht);
1949 ihevcd_get_pic_mv_bank_size(wd * ht);
1969 size = ihevcd_get_total_pic_buf_size(ps_codec, wd, ht);
2355 WORD32 wd, ht;
2381 wd = ALIGN64(ps_codec->i4_wd);
2383 ps_ctl_op->u4_min_in_buf_size[i] = MAX((wd * ht), MIN_BITSBUF_SIZE);
2386 wd = ps_codec->i4_wd;
2393 wd = ps_codec->i4_disp_wd;
2399 wd = ps_codec->i4_disp_strd;
2404 if(ps_codec->i4_disp_strd > wd)
2405 wd = ps_codec->i4_disp_strd;
2436 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht);
2437 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 2;
2438 ps_ctl_op->u4_min_out_buf_size[2] = (wd * ht) >> 2;
2442 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2;
2448 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2;
2454 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 4;
2461 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht);
2462 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 1;
2466 ps_ctl_op->u4_pic_wd = wd;
2515 WORD32 wd, ht;
2541 wd = ALIGN64(ps_codec->i4_wd);
2544 ps_ctl_op->u4_min_in_buf_size[i] = MAX((wd * ht), MIN_BITSBUF_SIZE);
2547 wd = 0;
2554 wd = ps_codec->i4_disp_wd;
2560 wd = ps_codec->i4_disp_strd;
2568 wd = ALIGN32(wd + PAD_WD);
2573 if(ps_codec->i4_disp_strd > wd)
2574 wd = ps_codec->i4_disp_strd;
2606 ps_ctl_op->u4_min_out_buf_size[0] = (wd
2607 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 2;
2608 ps_ctl_op->u4_min_out_buf_size[2] = (wd * ht) >> 2;
2612 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2;
2618 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2;
2624 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 4;
2631 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht);
2632 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 1;