Searched refs:MAX_CTB_SIZE (Results 1 - 11 of 11) sorted by relevance

/external/libhevc/common/
H A Dihevc_defs.h285 #define MAX_CTB_SIZE 64 macro
305 #define MAX_TU_IN_CTB_ROW ((MAX_CTB_SIZE / MIN_TU_SIZE))
308 #define MAX_CU_IN_CTB_ROW ((MAX_CTB_SIZE / MIN_CU_SIZE))
311 #define MAX_PU_IN_CTB_ROW ((MAX_CTB_SIZE / MIN_PU_SIZE))
314 #define MAX_CU_IN_CTB ((MAX_CTB_SIZE / MIN_CU_SIZE) * \
315 (MAX_CTB_SIZE / MIN_CU_SIZE))
322 #define MAX_PU_IN_CTB ((MAX_CTB_SIZE / MIN_PU_SIZE) * \
323 (MAX_CTB_SIZE / MIN_PU_SIZE))
326 #define MAX_TU_IN_CTB ((MAX_CTB_SIZE / MIN_TU_SIZE) * \
327 (MAX_CTB_SIZE / MIN_TU_SIZ
[all...]
H A Dihevc_sao.c199 UWORD8 au1_mask[MAX_CTB_SIZE];
200 UWORD8 au1_src_left_tmp[MAX_CTB_SIZE];
208 memset(au1_mask, 0xFF, MAX_CTB_SIZE);
282 UWORD8 au1_mask[MAX_CTB_SIZE];
283 UWORD8 au1_src_left_tmp[2 * MAX_CTB_SIZE];
292 memset(au1_mask, 0xFF, MAX_CTB_SIZE);
378 UWORD8 au1_mask[MAX_CTB_SIZE];
379 UWORD8 au1_src_top_tmp[MAX_CTB_SIZE];
380 WORD8 au1_sign_up[MAX_CTB_SIZE];
389 memset(au1_mask, 0xFF, MAX_CTB_SIZE);
[all...]
/external/libhevc/decoder/
H A Dihevcd_inter_pred.c274 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
278 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
293 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
297 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
321 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
325 mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
339 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_luma_samples - pu_x + 7) << 2));
343 mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_luma_samples - pu_y + 7) << 2));
H A Dihevcd_get_mv.c125 UWORD32 au4_nbr_avail[MAX_CTB_SIZE / MIN_PU_SIZE
151 nbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2;
166 (MAX_CTB_SIZE / MIN_PU_SIZE + 2) * sizeof(UWORD32));
H A Dihevcd_api.c2126 ps_mem_rec->u4_mem_size = (max_num_4x4_cols /* left */ + MAX_PROCESS_THREADS * (MAX_CTB_SIZE / 4)/* top */ + 1/* top right */) * sizeof(WORD32);
2143 inter_pred_tmp_buf_size = sizeof(WORD16) * (MAX_CTB_SIZE + ntaps_luma) * MAX_CTB_SIZE;
2211 size = 4 * MAX_CTB_SIZE * MAX_CTB_SIZE;
2231 vert_bs_size = max_wd_luma / 8 + 2 * MAX_CTB_SIZE / 8;
2233 /* Max Number of horizontal edges - extra MAX_CTB_SIZE / 8 to handle the last 4 rows separately(shifted CTB processing) */
2234 vert_bs_size *= (max_ht_luma + MAX_CTB_SIZE) / MIN_TU_SIZE;
2243 horz_bs_size = max_ht_luma / 8 + MAX_CTB_SIZE / 8;
2245 /* Max Number of vertical edges - extra MAX_CTB_SIZE /
[all...]
H A Dihevcd_boundary_strength.c317 /* shift += (((start_pos_x >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1));
330 /* shift += (((start_pos_y >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1));
428 /* WORD32 offset = (((num_rows_remaining >> 3) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 4));
442 /* WORD32 offset = (((num_cols_remaining >> 3) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 4));
603 /* shift += (((start_pos_x >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1));
616 /* shift += (((start_pos_y >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1));
637 /* shift += (((start_pos_x >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1));
650 /* shift += (((start_pos_y >> 1) & (MAX_CTB_SIZE / ctb_size - 1)) << (log2_ctb_size - 1));
665 shift += (((end_pos_x >> 1) & ((MAX_CTB_SIZE >> log2_ctb_size) - 1)) << (log2_ctb_size - 1));
681 shift += (((end_pos_y >> 1) & ((MAX_CTB_SIZE >> log2_ctb_siz
[all...]
H A Dihevcd_sao.c234 UWORD8 au1_src_copy[(MAX_CTB_SIZE + 2) * (MAX_CTB_SIZE + 2)];
235 UWORD8 *pu1_src_copy = au1_src_copy + (MAX_CTB_SIZE + 2) + 1;
236 WORD32 tmp_strd = MAX_CTB_SIZE + 2;
383 UWORD8 au1_src_copy[(MAX_CTB_SIZE + 4) * (MAX_CTB_SIZE + 2)];
384 UWORD8 *pu1_src_copy = au1_src_copy + (MAX_CTB_SIZE + 4) + 2;
385 WORD32 tmp_strd = MAX_CTB_SIZE + 4;
612 backup_strd = 2 * MAX_CTB_SIZE;
H A Dihevcd_iquant_itrans_recon_ctb.c552 UWORD32 au4_intra_nbr_avail[MAX_CTB_SIZE / MIN_TU_SIZE
619 (MAX_CTB_SIZE / MIN_TU_SIZE + 2) * sizeof(UWORD32));
H A Dihevcd_process_slice.c704 WORD32 nbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2;
H A Dihevcd_parse_slice.c2968 WORD32 nbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2;
/external/libhevc/common/x86/
H A Dihevc_sao_ssse3_intr.c891 UWORD8 au1_mask[MAX_CTB_SIZE], *au1_mask_cpy;
892 UWORD8 au1_src_left_tmp[MAX_CTB_SIZE + 8];
893 UWORD8 au1_src_left_tmp1[MAX_CTB_SIZE + 8];
921 //setting availability mask to ff size MAX_CTB_SIZE
922 for(col = 0; col < MAX_CTB_SIZE; col += 16)
1226 UWORD8 au1_mask[MAX_CTB_SIZE], *au1_mask_cpy;
1227 UWORD8 au1_src_left_tmp[2 * (MAX_CTB_SIZE + 8)];
1228 UWORD8 au1_src_left_tmp1[2 * (MAX_CTB_SIZE + 8)];
1261 //setting availability mask to ff size MAX_CTB_SIZE
1262 for(col = 0; col < MAX_CTB_SIZE; co
[all...]

Completed in 136 milliseconds