Home
last modified time | relevance | path

Searched refs:MB_SIZE (Results 1 – 25 of 28) sorted by relevance

12

/external/libmpeg2/decoder/
Dimpeg2d_globals.c47 {{1,0,1,1,MB_SIZE,MB_SIZE,0},
48 {1,0,1,1,MB_SIZE,MB_SIZE,0}},
50 {{2,0,1,2,MB_SIZE/2,MB_SIZE*2,0},
51 {2,0,1,2,MB_SIZE/2,MB_SIZE*2,1}},
53 {{1,0,1,1,MB_SIZE,MB_SIZE,0},
54 {1,0,1,1,MB_SIZE,MB_SIZE,0}},
56 {{2,0,1,2,MB_SIZE/2,MB_SIZE*2,0},
57 {2,0,1,2,MB_SIZE/2,MB_SIZE*2,1}},
59 {{2,0,1,2,MB_SIZE/2,MB_SIZE*2,0},
60 {2,0,1,2,MB_SIZE/2,MB_SIZE*2,1}},
[all …]
Dimpeg2d_mc.c839 if((u4_blk_width == MB_SIZE) && (u4_blk_height == MB_SIZE)) in impeg2d_mc_halfx_halfy()
871 else if ((u4_blk_width == MB_SIZE) && (u4_blk_height == BLK_SIZE)) in impeg2d_mc_halfx_halfy()
969 if((u4_blk_width == MB_SIZE) && (u4_blk_height == MB_SIZE)) in impeg2d_mc_halfx_fully()
1001 else if ((u4_blk_width == MB_SIZE) && (u4_blk_height == BLK_SIZE)) in impeg2d_mc_halfx_fully()
1092 if((u4_blk_width == MB_SIZE) && (u4_blk_height == MB_SIZE)) in impeg2d_mc_fullx_halfy()
1124 else if ((u4_blk_width == MB_SIZE) && (u4_blk_height == BLK_SIZE)) in impeg2d_mc_fullx_halfy()
1214 if((u4_blk_width == MB_SIZE) && (u4_blk_height == MB_SIZE)) in impeg2d_mc_fullx_fully()
1246 else if ((u4_blk_width == MB_SIZE) && (u4_blk_height == BLK_SIZE)) in impeg2d_mc_fullx_fully()
1311 i2_pix_x = MB_SIZE * u2_mb_x + (ai2_mv[MV_X]>>1); in impeg2d_set_mc_params()
1312 i2_pix_y = (MB_SIZE * u2_mb_y + in impeg2d_set_mc_params()
[all …]
/external/libavc/encoder/
Dih264e_process.c1070 ps_proc->pu1_src_buf_luma += MB_SIZE; in ih264e_update_proc_ctxt()
1071 ps_proc->pu1_rec_buf_luma += MB_SIZE; in ih264e_update_proc_ctxt()
1072 ps_proc->apu1_ref_buf_luma[0] += MB_SIZE; in ih264e_update_proc_ctxt()
1073 ps_proc->apu1_ref_buf_luma[1] += MB_SIZE; in ih264e_update_proc_ctxt()
1079 ps_proc->pu1_src_buf_chroma += MB_SIZE; in ih264e_update_proc_ctxt()
1080 ps_proc->pu1_rec_buf_chroma += MB_SIZE; in ih264e_update_proc_ctxt()
1081 ps_proc->apu1_ref_buf_chroma[0] += MB_SIZE; in ih264e_update_proc_ctxt()
1082 ps_proc->apu1_ref_buf_chroma[1] += MB_SIZE; in ih264e_update_proc_ctxt()
1108 ps_deblk->pu1_cur_pic_luma += MB_SIZE; in ih264e_update_proc_ctxt()
1113 ps_deblk->pu1_cur_pic_chroma += MB_SIZE; in ih264e_update_proc_ctxt()
[all …]
Dih264e_me.c907 rows_above = MB_SIZE + ps_proc->i4_mb_y * MB_SIZE; in ih264e_compute_me_single_reflist()
908 rows_below = (ps_proc->i4_ht_mbs - ps_proc->i4_mb_y) * MB_SIZE; in ih264e_compute_me_single_reflist()
909 columns_left = MB_SIZE + ps_proc->i4_mb_x * MB_SIZE; in ih264e_compute_me_single_reflist()
910 columns_right = (ps_proc->i4_wd_mbs - ps_proc->i4_mb_x) * MB_SIZE; in ih264e_compute_me_single_reflist()
1050 ps_proc->u4_bst_spel_buf_strd, MB_SIZE, MB_SIZE, in ih264e_compute_me_single_reflist()
1206 ps_proc->pu1_src_buf_luma += MB_SIZE; in ih264e_compute_me_nmb()
1207 ps_proc->pu1_rec_buf_luma += MB_SIZE; in ih264e_compute_me_nmb()
1208 ps_proc->apu1_ref_buf_luma[0] += MB_SIZE; in ih264e_compute_me_nmb()
1209 ps_proc->apu1_ref_buf_luma[1] += MB_SIZE; in ih264e_compute_me_nmb()
1215 ps_proc->pu1_src_buf_chroma += MB_SIZE; in ih264e_compute_me_nmb()
[all …]
Dih264e_mc.c438 i4_ref_strd, MB_SIZE, u1_dx, in ih264e_motion_comp_chroma()
444 MB_SIZE, MB_SIZE, in ih264e_motion_comp_chroma()
445 i4_pred_strd, MB_SIZE >> 1, in ih264e_motion_comp_chroma()
446 MB_SIZE); in ih264e_motion_comp_chroma()
Dih264e_half_pel.h47 #define HP_PL_WD MB_SIZE + 1
48 #define HP_PL_HT MB_SIZE + 1
Dime_distortion_metrics.c136 for(row = 0; row < MB_SIZE; row++) in ime_sub_pel_compute_sad_16x16()
138 for(col = 0; col < MB_SIZE; col++) in ime_sub_pel_compute_sad_16x16()
229 UWORD32 u4_ref_buf_offset = ref_strd - MB_SIZE; in ime_calculate_sad4_prog()
230 UWORD32 u4_cur_buf_offset = src_strd - MB_SIZE; in ime_calculate_sad4_prog()
234 for(count2 = MB_SIZE; count2 > 0; count2--) in ime_calculate_sad4_prog()
236 for(count3 = MB_SIZE; count3 > 0 ; count3--) in ime_calculate_sad4_prog()
305 UWORD32 u4_ref_buf_offset = ref_strd - MB_SIZE; in ime_calculate_sad3_prog()
306 UWORD32 u4_cur_buf_offset = src_strd - MB_SIZE; in ime_calculate_sad3_prog()
388 UWORD32 u4_ref_buf_offset = ref_strd - MB_SIZE; in ime_calculate_sad2_prog()
389 UWORD32 u4_cur_buf_offset = src_strd - MB_SIZE; in ime_calculate_sad2_prog()
Dih264e_core_coding.c1590 i4_rec_strd, MB_SIZE, MB_SIZE, NULL, in ih264e_code_luma_intra_macroblock_16x16()
1923 for (b4 = 0; b4 < 4; b4++, pu1_nnz++, pi2_res_mb += MB_SIZE) in ih264e_code_luma_intra_macroblock_4x4_rdopt_on()
1968 …f_inter_pred_luma_copy(pu1_ref_mb_intra_4x4, pu1_rec_mb, MB_SIZE, i4_rec_strd, MB_SIZE, MB_SIZE, N… in ih264e_code_luma_intra_macroblock_4x4_rdopt_on()
2231 MB_SIZE, MB_SIZE, NULL, 0); in ih264e_code_luma_inter_macroblock_16x16()
2356 i4_rec_strd, MB_SIZE >> 1, MB_SIZE, in ih264e_code_chroma_inter_macroblock_8x8()
Dime_defs.h51 #define MB_SIZE 16 macro
Dih264e_intra_modes_eval.c400 ps_codec->pf_mem_set_mul8(pu1_ngbr_pels_i16,0,MB_SIZE); in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
411 ps_codec->pf_mem_set_mul8(pu1_ngbr_pels_i16+16+1,0,MB_SIZE); in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
1143 for(b4 = 0; b4 < 4; b4++, pu1_nnz++, pi2_res_mb += MB_SIZE) in ih264e_evaluate_intra4x4_modes_for_least_cost_rdopton()
1425 ps_codec->pf_mem_set_mul8(pu1_ngbr_pels_c_i8x8, 0, MB_SIZE); in ih264e_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
1437 ps_codec->pf_mem_set_mul8((pu1_ngbr_pels_c_i8x8 + 18), 0, MB_SIZE); in ih264e_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
1637 memcpy(pu1_dst, pu1_neighbour, MB_SIZE); in ih264e_evaluate_intra16x16_modes()
1647 memset(pu1_dst, val, MB_SIZE); in ih264e_evaluate_intra16x16_modes()
1656 memset(pu1_dst, u4_dcval, MB_SIZE); in ih264e_evaluate_intra16x16_modes()
2363 memcpy(pu1_dst, pu1_neighbour, MB_SIZE); in ih264e_evaluate_intra_chroma_modes()
Dih264e_half_pel.c110 u4_h = MB_SIZE; in ih264e_sixtapfilter_horz()
Dih264e_utils.c740 WORD32 num_mb = num_luma_samples / (MB_SIZE * MB_SIZE); in ih264e_get_pic_mv_bank_size()
908 num_mb = num_luma_samples / (MB_SIZE * MB_SIZE); in ih264e_mv_buf_mgr_add_bufs()
Dih264e_api.c2733 max_mb_rows = max_ht_luma / MB_SIZE; in ih264e_fill_num_mem_rec()
2734 max_mb_cols = max_wd_luma / MB_SIZE; in ih264e_fill_num_mem_rec()
3513 (sizeof(mb_info_nmb_t) + MB_SIZE * MB_SIZE in ih264e_fill_num_mem_rec()
3596 max_mb_rows = max_ht_luma / MB_SIZE; in ih264e_init_mem_rec()
3597 max_mb_cols = max_wd_luma / MB_SIZE; in ih264e_init_mem_rec()
4430 subpel_buf_size = MB_SIZE * MB_SIZE * sizeof(UWORD8); in ih264e_init_mem_rec()
4444 ps_mb_info_nmb[nmb_cntr].u4_bst_spel_buf_strd = MB_SIZE; in ih264e_init_mem_rec()
/external/libavc/common/
Dih264_defs.h497 #define MB_SIZE 16 macro
514 #define MAX_TU_IN_MB_ROW ((MB_SIZE / MIN_TU_SIZE))
517 #define MAX_PU_IN_MB_ROW ((MB_SIZE / MIN_PU_SIZE))
525 #define MAX_PU_IN_MB ((MB_SIZE / MIN_PU_SIZE) * \
526 (MB_SIZE / MIN_PU_SIZE))
529 #define MAX_TU_IN_MB ((MB_SIZE / MIN_TU_SIZE) * \
530 (MB_SIZE / MIN_TU_SIZE))
548 #define MAX_VERT_DEBLK_EDGES ((MB_SIZE/8) * (MB_SIZE/4))
549 #define MAX_HORZ_DEBLK_EDGES ((MB_SIZE/4) * (MB_SIZE/8))
552 #define MAX_DEBLK_QP_CNT ((MB_SIZE/8) * (MB_SIZE/8))
Dih264_luma_intra_pred_filters.c1646 pu1_top = pu1_src + MB_SIZE + 1; in ih264_intra_pred_luma_16x16_mode_vert()
1703 pu1_left = pu1_src + MB_SIZE - 1; in ih264_intra_pred_luma_16x16_mode_horz()
1769 pu1_top = pu1_src + MB_SIZE + 1; in ih264_intra_pred_luma_16x16_mode_dc()
1770 pu1_left = pu1_src + MB_SIZE - 1; in ih264_intra_pred_luma_16x16_mode_dc()
1847 pu1_top = pu1_src + MB_SIZE + 1; in ih264_intra_pred_luma_16x16_mode_plane()
1848 pu1_left = pu1_src + MB_SIZE - 1; in ih264_intra_pred_luma_16x16_mode_plane()
1849 pu1_topleft = pu1_src + MB_SIZE; in ih264_intra_pred_luma_16x16_mode_plane()
Dih264_structs.h1614 UWORD8 au1_level[MB_SIZE * MB_SIZE * 3 / 2];
/external/libmpeg2/common/
Dimpeg2_defs.h139 #define MB_SIZE 16 macro
148 #define MB_LUMA_MEM_SIZE ((MB_SIZE) * (MB_SIZE))
149 #define MB_CHROMA_MEM_SIZE ((MB_SIZE/2) * (MB_SIZE/2))
Dimpeg2_inter_pred.c86 UWORD32 u4_rows = MB_SIZE; in impeg2_copy_mb()
87 UWORD32 u4_cols = MB_SIZE; in impeg2_copy_mb()
172 for(i = MB_SIZE; i > 0; i--) in impeg2_interpolate()
174 for(j = MB_SIZE; j > 0; j--) in impeg2_interpolate()
179 pu1_dst += u4_stride - MB_SIZE; in impeg2_interpolate()
/external/libavc/decoder/
Dih264d_defs.h263 #define MB_SIZE 16 macro
535 #define MB_SIZE 16 macro
Dih264d_utils.c1933 size = sizeof(UWORD8) * ((u4_wd_mbs + 2) * MB_SIZE) * 2; in ih264d_allocate_dynamic_bufs()
1938 ps_dec->pu1_y_intra_pred_line += MB_SIZE; in ih264d_allocate_dynamic_bufs()
1940 size = sizeof(UWORD8) * ((u4_wd_mbs + 2) * MB_SIZE) * 2; in ih264d_allocate_dynamic_bufs()
1945 ps_dec->pu1_u_intra_pred_line += MB_SIZE; in ih264d_allocate_dynamic_bufs()
1947 size = sizeof(UWORD8) * ((u4_wd_mbs + 2) * MB_SIZE) * 2; in ih264d_allocate_dynamic_bufs()
1952 ps_dec->pu1_v_intra_pred_line += MB_SIZE; in ih264d_allocate_dynamic_bufs()
2223 ps_dec->pu1_y_intra_pred_line -= MB_SIZE; in ih264d_free_dynamic_bufs()
2229 ps_dec->pu1_u_intra_pred_line -= MB_SIZE; in ih264d_free_dynamic_bufs()
2235 ps_dec->pu1_v_intra_pred_line -= MB_SIZE; in ih264d_free_dynamic_bufs()
Dih264d_process_bslice.c337 if(u1_wd_x == MB_SIZE) in ih264d_decode_spatial_direct()
352 if((u1_wd_x == MB_SIZE) && (s_mvdirect.i1_num_partitions > 2)) in ih264d_decode_spatial_direct()
1607 if(u1_wd_x == MB_SIZE) in ih264d_one_to_one()
1746 if(u1_wd_x == MB_SIZE) in ih264d_mbaff_cross_pmbair()
1846 if(u1_wd_x == MB_SIZE) in ih264d_mbaff_cross_pmbair()
2037 if(u1_wd_x == MB_SIZE) in ih264d_frm_to_fld()
2134 if(u1_wd_x == MB_SIZE) in ih264d_fld_to_frm()
Dih264d_inter_pred.c282 u2_rec_wd = MB_SIZE; in ih264d_form_mb_part_info_bp()
636 u2_rec_wd = MB_SIZE; in ih264d_form_mb_part_info_mp()
1102 u2_dst_wd = MB_SIZE; in ih264d_motion_compensate_mp()
1256 u2_ref_wd_y = MB_SIZE; in ih264d_motion_compensate_mp()
Dih264d_parse_headers.c899 if((i4_cropped_ht < MB_SIZE) || (i4_cropped_wd < MB_SIZE)) in ih264d_parse_sps()
/external/libavc/common/x86/
Dih264_chroma_intra_pred_filters_ssse3.c254 pu1_top = pu1_src + MB_SIZE + 2; in ih264_intra_pred_chroma_8x8_mode_plane_ssse3()
255 pu1_left = pu1_src + MB_SIZE - 2; in ih264_intra_pred_chroma_8x8_mode_plane_ssse3()
Dih264_luma_intra_pred_filters_ssse3.c1716 pu1_top = pu1_src + MB_SIZE + 1; in ih264_intra_pred_luma_16x16_mode_vert_ssse3()
1795 pu1_left = pu1_src + MB_SIZE - 1; in ih264_intra_pred_luma_16x16_mode_horz_ssse3()
1910 pu1_left = pu1_src + MB_SIZE - 1; in ih264_intra_pred_luma_16x16_mode_dc_ssse3()
1924 pu1_top = pu1_src + MB_SIZE + 1; in ih264_intra_pred_luma_16x16_mode_dc_ssse3()
2015 pu1_top = pu1_src + MB_SIZE + 1; in ih264_intra_pred_luma_16x16_mode_plane_ssse3()
2016 pu1_left = pu1_src + MB_SIZE - 1; in ih264_intra_pred_luma_16x16_mode_plane_ssse3()

12