Lines Matching refs:ctb_size
101 WORD32 ctb_size;
139 ctb_size = (1 << ps_sps->i1_log2_ctb_size);
142 /* ctb_size * ctb_size / 8 / 16 is the number of bytes needed per CTB */
165 /* ctb_size/8 is the number of edges per CTB
166 * ctb_size/4 is the number of BS values needed per edge
172 pu2_ctb_no_loop_filter_flag += (ctb_size >> 3);
182 pu1_qp += (ctb_size >> 3);
184 for(row = 0; row < (ctb_size >> 3) + 1; row++)
185 au2_ctb_no_loop_filter_flag[row] = ps_deblk->au2_ctb_no_loop_filter_flag[row] >> (ctb_size >> 3);
235 for(col = 0; col < ctb_size / 8; col++)
239 /* downshift vert_bs by ctb_size/2 for each column
258 for(row = 0; row < ctb_size / 4;)
268 if((row + bs_tz) >= (ctb_size / 4))
269 pu1_src += 4 * (ctb_size / 4 - row) * src_strd;
285 pu1_qp[-ctb_size / 8 * qp_strd - ctb_size / 8] :
291 pu1_qp[-ctb_size / 8 * qp_strd] :
296 pu1_qp[-ctb_size / 8 * qp_strd] :
304 pu1_qp[-ctb_size / 8] :
344 if((64 == ctb_size) ||
345 ((32 == ctb_size) && (col & 1)))
370 pu1_src += i4_is_last_ctb_x ? ctb_size : 0;
375 for(row = 0; row < ctb_size / 8; row++)
379 /* downshift vert_bs by ctb_size/2 for each column
380 * shift = (row & (MAX_CTB_SIZE / ctb_size - 1)) * ctb_size / 2;
393 * UWORD32 *pu4_horz_bs_left = (UWORD32 *)((UWORD8 *)pu4_horz_bs - (ctb_size / 8) * (ctb_size / 4) / 8 * 2);
400 for(col = 0; col < ctb_size / 4;)
410 if((col + bs_tz) >= (ctb_size / 4))
411 pu1_src += 4 * (ctb_size / 4 - col);
427 pu1_qp[-ctb_size / 8 * qp_strd - ctb_size / 8] :
433 pu1_qp[-ctb_size / 8] :
438 pu1_qp[-ctb_size / 8] :
446 pu1_qp[-ctb_size / 8 * qp_strd] :
485 if((64 == ctb_size) ||
486 ((32 == ctb_size) && (row & 1)))
490 pu1_src -= ctb_size;
518 for(col = 0; col < ctb_size / 16; col++)
535 for(row = 0; row < ctb_size / 8;)
542 if((row + bs_tz) >= (ctb_size / 8))
543 pu1_src += 4 * (ctb_size / 8 - row) * src_strd;
558 pu1_qp[-ctb_size / 8 * qp_strd - ctb_size / 8] :
564 pu1_qp[-ctb_size / 8 * qp_strd] :
569 pu1_qp[-ctb_size / 8 * qp_strd] :
577 pu1_qp[-ctb_size / 8] :
638 pu4_vert_bs += (64 == ctb_size) ? 2 : 1;
659 pu1_src += i4_is_last_ctb_x ? ctb_size : 0;
664 for(row = 0; row < ctb_size / 16; row++)
672 * UWORD32 *pu4_horz_bs_left = (UWORD32 *)((UWORD8 *)pu4_horz_bs - (ctb_size / 8) * (ctb_size / 4) / 8 * 2);
682 for(col = 0; col < ctb_size / 8;)
691 if((col + bs_tz) >= (ctb_size / 8))
692 pu1_src += 8 * (ctb_size / 8 - col);
707 pu1_qp[-ctb_size / 8 * qp_strd - ctb_size / 8] :
713 pu1_qp[-ctb_size / 8] :
718 pu1_qp[-ctb_size / 8] :
726 pu1_qp[-ctb_size / 8 * qp_strd] :
787 pu4_horz_bs += (64 == ctb_size) ? 2 : 1;
788 pu1_src -= ctb_size;