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;
589 ctb_size = (1 << log2_ctb_size);
629 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB;
630 WORD32 sao_blk_wd = ctb_size;
634 remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
635 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
708 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB;
709 WORD32 sao_blk_wd = ctb_size;
713 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);
714 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size
1405 if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_y != ps_sps->i2_pic_ht_in_ctb - 1))
1466 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB;
1467 WORD32 sao_wd_chroma = ctb_size - 2 * SAO_SHIFT_CTB;
2076 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB;
2077 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB;
2612 if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_x != ps_sps->i2_pic_wd_in_ctb - 1))
2675 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB;
2676 WORD32 sao_wd_chroma = ctb_size - SAO_SHIFT_CTB * 2;
2677 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB;
2678 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB;
3353 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB;
3354 WORD32 sao_blk_wd = ctb_size;
3358 remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
3359 remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB);
3431 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB;
3432 WORD32 sao_blk_wd = ctb_size;
3436 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);
3437 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);