Lines Matching refs:ctb_size
1726 WORD32 ctb_size;
1743 ctb_size = ps_frm_ctb_prms->i4_ctb_size;
1772 last_hz_ctb_wd = ps_frm_ctb_prms->i4_cu_aligned_pic_wd - ((num_ctbs_horz_pic - 1) * ctb_size);
1776 ((ps_frm_ctb_prms->i4_num_ctbs_vert - 1) * ctb_size);
1786 s_cu_prms.i4_ctb_size = ctb_size;
1814 (ps_tile_params->i4_first_ctb_x * (ctb_size >> 3)); //one vertical edge per 8x8 block
1816 (ps_tile_params->i4_first_ctb_x * (ctb_size >> 3)); //one horizontal edge per 8x8 block
1817 s_deblk_ctb_row_params.pi1_ctb_row_qp += (ps_tile_params->i4_first_ctb_x * (ctb_size >> 2));
1863 cur_ctb_wd = ctb_size;
1873 cur_ctb_ht = ctb_size;
1924 s_cu_prms.pu1_luma_src = (UWORD8 *)ps_curr_src_bufs->pv_y_buf + ctb_ctr * ctb_size;
1925 s_cu_prms.pu1_luma_recon = (UWORD8 *)ps_curr_recon_bufs->pv_y_buf + ctb_ctr * ctb_size;
1928 s_cu_prms.pu1_chrm_src = (UWORD8 *)ps_curr_src_bufs->pv_u_buf + ctb_ctr * ctb_size;
1929 s_cu_prms.pu1_chrm_recon = (UWORD8 *)ps_curr_recon_bufs->pv_u_buf + ctb_ctr * ctb_size;
1932 s_cu_prms.pu1_sbpel_hxfy = (UWORD8 *)ppu1_y_subpel_planes[0] + ctb_ctr * ctb_size;
1934 s_cu_prms.pu1_sbpel_fxhy = (UWORD8 *)ppu1_y_subpel_planes[1] + ctb_ctr * ctb_size;
1936 s_cu_prms.pu1_sbpel_hxhy = (UWORD8 *)ppu1_y_subpel_planes[2] + ctb_ctr * ctb_size;
1939 ps_ctb_ipe_analyse = ps_row_ipe_analyse + ctb_ctr; // * ctb_size;
1962 ps_ctxt->s_mc_ctxt.i4_ctb_frm_pos_x = ctb_ctr * ctb_size;
1963 ps_ctxt->s_mc_ctxt.i4_ctb_frm_pos_y = vert_ctr * ctb_size;
2062 WORD32 ctb_size;
2092 ctb_size = block_ht * block_wd; //ctb_width * ctb_height;
2093 num_comp_had_blocks = ctb_size / (had_block_size * had_block_size);
2134 WORD32 ctb_size;
2169 ctb_size = block_ht * block_wd; //ctb_width * ctb_height;
2170 num_comp_had_blocks = 2 * ctb_size / (had_block_size * had_block_size);
2338 memcpy(s_deblk_ctb_row_params.pu4_ctb_row_bs_vert, pu4_bs_vert, (ctb_size * 4) / 8);
2339 memcpy(s_deblk_ctb_row_params.pu4_ctb_row_bs_horz, pu4_bs_horz, (ctb_size * 4) / 8);
2343 (ctb_size >> 3); //one vertical edge per 8x8 block
2345 (ctb_size >> 3); //one horizontal edge per 8x8 block
2351 pu1_row_pu_map += (ctb_size >> 2) * (ctb_size >> 2);
2375 (ctb_ctr * ctb_size + ctb_size),
2387 (ps_tile_params->i4_first_ctb_x * (ctb_size >> 3)); //one vertical edge per 8x8 block
2389 (ps_tile_params->i4_first_ctb_x * (ctb_size >> 3)); //one horizontal edge per 8x8 block
2390 s_deblk_ctb_row_params.pi1_ctb_row_qp += (ps_tile_params->i4_first_ctb_x * (ctb_size >> 2));
2406 s_cu_prms.pu1_luma_src = (UWORD8 *)ps_curr_src_bufs->pv_y_buf + ctb_ctr * ctb_size;
2407 s_cu_prms.pu1_chrm_src = (UWORD8 *)ps_curr_src_bufs->pv_u_buf + ctb_ctr * ctb_size;
2409 s_cu_prms.pu1_luma_recon = (UWORD8 *)ps_curr_recon_bufs->pv_y_buf + ctb_ctr * ctb_size;
2410 s_cu_prms.pu1_chrm_recon = (UWORD8 *)ps_curr_recon_bufs->pv_u_buf + ctb_ctr * ctb_size;
2411 s_cu_prms.pu1_sbpel_hxfy = (UWORD8 *)ppu1_y_subpel_planes[0] + ctb_ctr * ctb_size;
2413 s_cu_prms.pu1_sbpel_fxhy = (UWORD8 *)ppu1_y_subpel_planes[1] + ctb_ctr * ctb_size;
2415 s_cu_prms.pu1_sbpel_hxhy = (UWORD8 *)ppu1_y_subpel_planes[2] + ctb_ctr * ctb_size;
2464 ps_ctxt->s_deblk_prms.i4_ctb_size = ctb_size;
2485 (ctb_size >> 3); //one vertical edge per 8x8 block
2487 (ctb_size >> 3); //one horizontal edge per 8x8 block
2489 (ctb_size >> 2); //one qp per 4x4 block.
2515 ps_sao_ctxt->i4_sao_blk_wd = ctb_size;
2516 ps_sao_ctxt->i4_sao_blk_ht = ctb_size;
2524 (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2525 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2532 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2533 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2540 (ps_sao_ctxt->i4_frm_luma_src_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2541 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2548 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2549 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2568 ps_sao_ctxt->i4_ctb_x * ctb_size +
2576 ps_sao_ctxt->i4_ctb_x * ctb_size +
2631 ctb_size - ((ps_tile_params->i4_curr_tile_wd_in_ctb_unit * ctb_size) -
2642 (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2643 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2650 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2651 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2658 (ps_sao_ctxt->i4_frm_luma_src_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2659 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2666 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2667 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2686 ps_sao_ctxt->i4_ctb_x * ctb_size +
2694 ps_sao_ctxt->i4_ctb_x * ctb_size +
2824 ctb_size - ((ps_tile_params->i4_curr_tile_ht_in_ctb_unit * ctb_size) -
2832 (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2833 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2840 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2841 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2848 (ps_sao_ctxt->i4_frm_luma_src_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2849 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2856 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2857 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2876 ps_sao_ctxt->i4_ctb_x * ctb_size +
2884 ps_sao_ctxt->i4_ctb_x * ctb_size +
2937 ctb_size - ((ps_tile_params->i4_curr_tile_wd_in_ctb_unit * ctb_size) -
2941 ctb_size - ((ps_tile_params->i4_curr_tile_ht_in_ctb_unit * ctb_size) -
2950 (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2951 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2958 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2959 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2966 (ps_sao_ctxt->i4_frm_luma_src_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) +
2967 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2974 (ctb_size >> (ps_ctxt->u1_chroma_array_type == 1))) +
2975 (ps_sao_ctxt->i4_ctb_x * ctb_size);
2994 ps_sao_ctxt->i4_ctb_x * ctb_size +
3002 ps_sao_ctxt->i4_ctb_x * ctb_size +
3527 WORD32 ctb_size = 64;
3530 unit_ht_c = ctb_size;
4404 UWORD32 u4_ctb_aligned_wd, ctb_size, u4_ctb_aligned_ht, num_vert_units;
4461 ctb_size = (1 << ps_init_prms->s_config_prms.i4_max_log2_cu_size);
4464 num_vert_units = (u4_height) / ctb_size;
4568 num_cu_in_ctb = ctb_size / MIN_CU_SIZE;