Home
last modified time | relevance | path

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

/external/libhevc/common/
Dihevc_defs.h259 #define MIN_TILE_WD MAX_CTB_SIZE
262 #define MIN_TILE_HT MAX_CTB_SIZE
295 #define MAX_CTB_SIZE 64 macro
315 #define MAX_TU_IN_CTB_ROW ((MAX_CTB_SIZE / MIN_TU_SIZE))
318 #define MAX_CU_IN_CTB_ROW ((MAX_CTB_SIZE / MIN_CU_SIZE))
321 #define MAX_PU_IN_CTB_ROW ((MAX_CTB_SIZE / MIN_PU_SIZE))
324 #define MAX_CU_IN_CTB ((MAX_CTB_SIZE / MIN_CU_SIZE) * \
325 (MAX_CTB_SIZE / MIN_CU_SIZE))
332 #define MAX_PU_IN_CTB ((MAX_CTB_SIZE / MIN_PU_SIZE) * \
333 (MAX_CTB_SIZE / MIN_PU_SIZE))
[all …]
Dihevc_sao.c199 UWORD8 au1_mask[MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class0()
200 UWORD8 au1_src_left_tmp[MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class0()
208 memset(au1_mask, 0xFF, MAX_CTB_SIZE); in ihevc_sao_edge_offset_class0()
282 UWORD8 au1_mask[MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class0_chroma()
283 UWORD8 au1_src_left_tmp[2 * MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class0_chroma()
292 memset(au1_mask, 0xFF, MAX_CTB_SIZE); in ihevc_sao_edge_offset_class0_chroma()
378 UWORD8 au1_mask[MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class1()
379 UWORD8 au1_src_top_tmp[MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class1()
380 WORD8 au1_sign_up[MAX_CTB_SIZE]; in ihevc_sao_edge_offset_class1()
389 memset(au1_mask, 0xFF, MAX_CTB_SIZE); in ihevc_sao_edge_offset_class1()
[all …]
/external/libhevc/decoder/
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_i… in ihevcd_inter_pred_ctb()
278 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb()
293 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb()
297 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb()
321 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb()
325 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb()
339 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb()
343 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb()
Dihevcd_api.c1262 size = 4 * MAX_CTB_SIZE * MAX_CTB_SIZE; in ihevcd_allocate_static_bufs()
1274 pu1_buf += 4 * MAX_CTB_SIZE * MAX_CTB_SIZE * sizeof(UWORD8); in ihevcd_allocate_static_bufs()
1277 pu1_buf += 4 * MAX_CTB_SIZE * MAX_CTB_SIZE * sizeof(UWORD8); in ihevcd_allocate_static_bufs()
1295 inter_pred_tmp_buf_size = sizeof(WORD16) * (MAX_CTB_SIZE + ntaps_luma) * MAX_CTB_SIZE; in ihevcd_allocate_static_bufs()
1333 ps_codec->as_process[i].i4_inter_pred_tmp_buf_strd = MAX_CTB_SIZE; in ihevcd_allocate_static_bufs()
1597 …size = (max_num_4x4_cols /* left */ + MAX_PROCESS_THREADS * (MAX_CTB_SIZE / 4)/* top */ + 1/* to… in ihevcd_allocate_dynamic_bufs()
1606 ps_codec->as_process[i].pu4_pic_pu_idx_left = pu4_buf + i * (MAX_CTB_SIZE / 4); in ihevcd_allocate_dynamic_bufs()
1607 memset(ps_codec->as_process[i].pu4_pic_pu_idx_left, 0, sizeof(UWORD32) * MAX_CTB_SIZE / 4); in ihevcd_allocate_dynamic_bufs()
1608 … ps_codec->as_process[i].pu4_pic_pu_idx_top = pu4_buf + MAX_PROCESS_THREADS * (MAX_CTB_SIZE / 4); in ihevcd_allocate_dynamic_bufs()
1750 vert_bs_size = wd / 8 + 2 * MAX_CTB_SIZE / 8; in ihevcd_allocate_dynamic_bufs()
[all …]
Dihevcd_get_mv.c125 UWORD32 au4_nbr_avail[MAX_CTB_SIZE / MIN_PU_SIZE in ihevcd_get_mv_ctb()
151 nbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2; in ihevcd_get_mv_ctb()
166 (MAX_CTB_SIZE / MIN_PU_SIZE + 2) * sizeof(UWORD32)); in ihevcd_get_mv_ctb()
Dihevcd_boundary_strength.c665 … shift += (((end_pos_x >> 1) & ((MAX_CTB_SIZE >> log2_ctb_size) - 1)) << (log2_ctb_size - 1)); in ihevcd_ctb_boundary_strength_pbslice()
681 … shift += (((end_pos_y >> 1) & ((MAX_CTB_SIZE >> log2_ctb_size) - 1)) << (log2_ctb_size - 1)); in ihevcd_ctb_boundary_strength_pbslice()
785 ngbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2; in ihevcd_ctb_boundary_strength_pbslice()
851 UWORD32 ngbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2; in ihevcd_ctb_boundary_strength_pbslice()
Dihevcd_sao.c234 UWORD8 au1_src_copy[(MAX_CTB_SIZE + 2) * (MAX_CTB_SIZE + 2)]; in ihevcd_sao_ctb()
235 UWORD8 *pu1_src_copy = au1_src_copy + (MAX_CTB_SIZE + 2) + 1; in ihevcd_sao_ctb()
236 WORD32 tmp_strd = MAX_CTB_SIZE + 2; in ihevcd_sao_ctb()
383 UWORD8 au1_src_copy[(MAX_CTB_SIZE + 4) * (MAX_CTB_SIZE + 2)]; in ihevcd_sao_ctb()
384 UWORD8 *pu1_src_copy = au1_src_copy + (MAX_CTB_SIZE + 4) + 2; in ihevcd_sao_ctb()
385 WORD32 tmp_strd = MAX_CTB_SIZE + 4; in ihevcd_sao_ctb()
612 backup_strd = 2 * MAX_CTB_SIZE; in ihevcd_sao_shift_ctb()
Dihevcd_iquant_itrans_recon_ctb.c552 UWORD32 au4_intra_nbr_avail[MAX_CTB_SIZE / MIN_TU_SIZE in ihevcd_iquant_itrans_recon_ctb()
619 (MAX_CTB_SIZE / MIN_TU_SIZE + 2) * sizeof(UWORD32)); in ihevcd_iquant_itrans_recon_ctb()
Dihevcd_process_slice.c704 WORD32 nbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2; in ihevcd_process()
Dihevcd_parse_slice.c2968 WORD32 nbr_pu_idx_strd = MAX_CTB_SIZE / MIN_PU_SIZE + 2; in ihevcd_parse_slice_data()
/external/libhevc/common/x86/
Dihevc_sao_ssse3_intr.c891 UWORD8 au1_mask[MAX_CTB_SIZE], *au1_mask_cpy; in ihevc_sao_edge_offset_class0_ssse3()
892 UWORD8 au1_src_left_tmp[MAX_CTB_SIZE + 8]; in ihevc_sao_edge_offset_class0_ssse3()
893 UWORD8 au1_src_left_tmp1[MAX_CTB_SIZE + 8]; in ihevc_sao_edge_offset_class0_ssse3()
922 for(col = 0; col < MAX_CTB_SIZE; col += 16) in ihevc_sao_edge_offset_class0_ssse3()
1226 UWORD8 au1_mask[MAX_CTB_SIZE], *au1_mask_cpy; in ihevc_sao_edge_offset_class0_chroma_ssse3()
1227 UWORD8 au1_src_left_tmp[2 * (MAX_CTB_SIZE + 8)]; in ihevc_sao_edge_offset_class0_chroma_ssse3()
1228 UWORD8 au1_src_left_tmp1[2 * (MAX_CTB_SIZE + 8)]; in ihevc_sao_edge_offset_class0_chroma_ssse3()
1262 for(col = 0; col < MAX_CTB_SIZE; col += 16) in ihevc_sao_edge_offset_class0_chroma_ssse3()
2494 UWORD8 au1_mask[MAX_CTB_SIZE], *au1_mask_cpy; in ihevc_sao_edge_offset_class2_ssse3()
2495 UWORD8 au1_src_left_tmp[MAX_CTB_SIZE + 8]; in ihevc_sao_edge_offset_class2_ssse3()
[all …]