Lines Matching refs:ctb_size
89 WORD32 ctb_size;
118 ctb_size = (1 << log2_ctb_size);
137 sao_wd_luma = MIN(ctb_size, remaining_cols);
138 sao_wd_chroma = MIN(ctb_size, remaining_cols);
141 sao_ht_luma = MIN(ctb_size, remaining_rows);
142 sao_ht_chroma = MIN(ctb_size, remaining_rows) / 2;
150 ((ps_sao_ctxt->i4_ctb_y * ctb_size) / 8) * loop_filter_strd +
151 ((ps_sao_ctxt->i4_ctb_x * ctb_size) / 64);
532 WORD32 ctb_size;
588 ctb_size = (1 << log2_ctb_size);
626 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB;
627 WORD32 sao_blk_wd = ctb_size;
631 remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
632 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
705 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB;
706 WORD32 sao_blk_wd = ctb_size;
710 remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB);
711 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB);
1379 if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_y != ps_sps->i2_pic_ht_in_ctb - 1))
1428 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB;
1429 WORD32 sao_wd_chroma = ctb_size - 2 * SAO_SHIFT_CTB;
1996 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB;
1997 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB;
2501 if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_x != ps_sps->i2_pic_wd_in_ctb - 1))
2552 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB;
2553 WORD32 sao_wd_chroma = ctb_size - SAO_SHIFT_CTB * 2;
2554 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB;
2555 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB;
3192 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB;
3193 WORD32 sao_blk_wd = ctb_size;
3197 remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
3198 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
3270 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB;
3271 WORD32 sao_blk_wd = ctb_size;
3275 remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB);
3276 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB);