/external/libhevc/decoder/ |
ihevcd_deblk.c | 101 WORD32 ctb_size; local 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) [all...] |
ihevcd_ilf_padding.c | 85 WORD32 ctb_size; local 90 ctb_size = (1 << ps_sps->i1_log2_ctb_size); 156 + (i4_ctb_x * ctb_size 157 + i4_ctb_y * ctb_size 160 + i4_ctb_x * ctb_size 161 + (i4_ctb_y * ctb_size * ps_codec->i4_strd / 2); 168 pad_ht_luma = ctb_size; 170 pad_ht_chroma = ctb_size / 2; 182 pad_ht_luma = ctb_size; 184 pad_ht_chroma = ctb_size / 2 [all...] |
ihevcd_process_slice.c | 535 WORD32 ctb_size = 1 << ps_sps->i1_log2_ctb_size; local 540 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); 638 //ihevcd_ctb_boundary_strength_islice(ps_proc, ctb_size); 664 + (ps_proc->i4_ctb_x * ctb_size / MIN_PU_SIZE); 699 WORD32 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); 706 for(row = 0; row < ctb_size / MIN_PU_SIZE; row++) 708 for(col = 0; col < ctb_size / MIN_PU_SIZE; col++) 710 pu1_pic_pu_map_ctb[row * ctb_size / MIN_PU_SIZE + col] = 0 1363 WORD32 ctb_size; local [all...] |
ihevcd_boundary_strength.c | 225 WORD32 ctb_size; local 241 ctb_size = (1 << log2_ctb_size); 244 /* ctb_size * ctb_size / 8 / 16 is the number of bytes needed per CTB */ 254 /* ctb_size/8 elements per CTB */ 261 vert_bs0_tmp = pu4_vert_bs[0] & (0xFFFFFFFF >> (sizeof(UWORD32) * 8 - ctb_size / 2)); 262 horz_bs0_tmp = pu4_horz_bs[0] & (0xFFFFFFFF >> (sizeof(UWORD32) * 8 - ctb_size / 2)); 264 /* ctb_size/8 is the number of edges per CTB 265 * ctb_size/4 is the number of BS values needed per edge 269 memset(pu4_vert_bs, 0, (ctb_size / 8 + 1) * (ctb_size / 4) / 8 * 2 ) 475 WORD32 ctb_size; local [all...] |
ihevcd_get_mv.c | 122 WORD32 ctb_size, ctb_size_in_min_pu; local 127 UWORD32 *pu4_nbr_pu_idx/* (Left + ctb_size + right ) * (top + ctb_size + bottom) */; 142 ctb_size = (1 << ps_sps->i1_log2_ctb_size); 144 ctb_size_in_min_pu = (ctb_size / MIN_PU_SIZE); 171 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); 178 >> (1 + ctb_size_in_min_pu)); /* 1+ctb_size/4 position bit pos from msb */ 184 WORD32 ctb_size_top = MIN(ctb_size, cols_remaining); 185 WORD32 shift = (31 - (ctb_size / MIN_TU_SIZE)); 190 shift += ((ctb_size - ctb_size_top) / MIN_TU_SIZE) [all...] |
ihevcd_iquant_itrans_recon_ctb.c | 346 WORD32 ctb_size) 377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; 378 y_cur = ps_proc->i4_ctb_y * ctb_size + cur_y * MIN_TU_SIZE; 499 WORD32 ctb_size_top = MIN(ctb_size, cols_remaining); 507 WORD32 ctb_size_bot = MIN(ctb_size, rows_remaining); 535 WORD32 ctb_size; local 586 ctb_size = (1 << ps_sps->i1_log2_ctb_size); 623 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); 630 >> (1 + ctb_size / MIN_TU_SIZE)); /* 1+ctb_size/4 position bit pos from msb * [all...] |
ihevcd_mv_merge.c | 155 WORD32 ctb_size; local 168 ctb_size = (1 << log2_ctb_size); 190 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); 205 if(xp_col == ctb_size) 208 * (ctb_size / MIN_PU_SIZE) + (xp_col >> 2)];
|
ihevcd_sao.c | 89 WORD32 ctb_size; local 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; local 588 ctb_size = (1 << log2_ctb_size) [all...] |
ihevcd_parse_slice.c | 2184 WORD32 ctb_size; local [all...] |