/external/libhevc/encoder/ |
D | hme_subpel.c | 121 void hme_qpel_interp_avg(interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, S32 i4_buf_id) in hme_qpel_interp_avg() argument 154 i4_mv_y_frac = i4_mv_y & 3; in hme_qpel_interp_avg() 156 i4_offset = (i4_mv_x >> 2) + (i4_mv_y >> 2) * ps_prms->i4_ref_stride; in hme_qpel_interp_avg() 197 S32 i4_mv_y, in hme_qpel_interp_avg_2pt_vert_no_reuse() argument 202 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x, i4_mv_y + 1, 3, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_no_reuse() 204 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x, i4_mv_y - 1, 1, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_no_reuse() 210 S32 i4_mv_y, in hme_qpel_interp_avg_2pt_horz_no_reuse() argument 215 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x + 1, i4_mv_y, 2, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_horz_no_reuse() 217 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x - 1, i4_mv_y, 0, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_horz_no_reuse() 245 S32 i4_mv_y, in hme_qpel_interp_comprehensive() argument [all …]
|
D | hme_utils.c | 291 void hme_update_histogram(mv_hist_t *ps_hist, S32 i4_mv_x, S32 i4_mv_y) in hme_update_histogram() argument 296 i4_row = (i4_mv_y - ps_hist->i4_min_y) >> ps_hist->i4_shift_y; in hme_update_histogram() 5509 S32 i4_mv_y, in hme_qpel_interp_avg_1pt() argument 5545 i4_mv_y_frac = i4_mv_y & 3; in hme_qpel_interp_avg_1pt() 5547 i4_offset = (i4_mv_x >> 2) + (i4_mv_y >> 2) * ps_prms->i4_ref_stride; in hme_qpel_interp_avg_1pt() 5575 interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, U08 **ppu1_final, S32 *pi4_final_stride) in hme_qpel_interp_avg_2pt_vert_with_reuse() argument 5577 hme_qpel_interp_avg_1pt(ps_prms, i4_mv_x, i4_mv_y + 1, 3, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_with_reuse() 5579 hme_qpel_interp_avg_1pt(ps_prms, i4_mv_x, i4_mv_y - 1, 1, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_with_reuse() 5583 interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, U08 **ppu1_final, S32 *pi4_final_stride) in hme_qpel_interp_avg_2pt_horz_with_reuse() argument 5585 hme_qpel_interp_avg_1pt(ps_prms, i4_mv_x + 1, i4_mv_y, 2, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_horz_with_reuse() [all …]
|
D | hme_interface.h | 274 typedef void (*PF_INTERP_FXN_T)(interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, S32 interp_buf_id…
|
D | hme_utils.h | 76 void hme_update_histogram(mv_hist_t *ps_hist, S32 i4_mv_x, S32 i4_mv_y);
|
/external/libhevc/encoder/arm/ |
D | ihevce_subpel_neon.c | 255 void hme_qpel_interp_avg_neon(interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, S32 i4_buf_id) in hme_qpel_interp_avg_neon() argument 263 i4_mv_y_frac = i4_mv_y & 3; in hme_qpel_interp_avg_neon() 265 i4_offset = (i4_mv_x >> 2) + (i4_mv_y >> 2) * i4_ref_stride; in hme_qpel_interp_avg_neon() 308 S32 i4_mv_y, in hme_qpel_interp_avg_1pt_neon() argument 319 i4_mv_y_frac = i4_mv_y & 3; in hme_qpel_interp_avg_1pt_neon() 321 i4_offset = (i4_mv_x >> 2) + (i4_mv_y >> 2) * i4_ref_stride; in hme_qpel_interp_avg_1pt_neon() 350 interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, U08 **ppu1_final, S32 *pi4_final_stride) in hme_qpel_interp_avg_2pt_vert_with_reuse_neon() argument 352 hme_qpel_interp_avg_1pt_neon(ps_prms, i4_mv_x, i4_mv_y + 1, 3, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_with_reuse_neon() 354 hme_qpel_interp_avg_1pt_neon(ps_prms, i4_mv_x, i4_mv_y - 1, 1, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_with_reuse_neon() 358 interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, U08 **ppu1_final, S32 *pi4_final_stride) in hme_qpel_interp_avg_2pt_horz_with_reuse_neon() argument [all …]
|
/external/libavc/decoder/svc/ |
D | isvcd_mode_mv_resamp.c | 1179 WORD32 i4_mv_x, i4_mv_y; in isvcd_motion_scale_crop_wdw_change() local 1192 i4_mv_y = (WORD32) ps_ref_mv->i2_mv[1 + 2 * u1_list_x]; in isvcd_motion_scale_crop_wdw_change() 1232 i4_mv_y = (i4_mv_y * i4_scale_y + 32768) >> 16; in isvcd_motion_scale_crop_wdw_change() 1244 i4_mv_y += ((i4_y * i4_scale_y + 32768) >> 16) - 4 * i4_doy; in isvcd_motion_scale_crop_wdw_change() 1248 ps_motion_pred->i2_mv[1 + 2 * u1_list_x] = i4_mv_y; in isvcd_motion_scale_crop_wdw_change() 1351 WORD32 i4_mv_x, i4_mv_y; in isvcd_interlyr_motion_scale() local 1373 i4_mv_y = (i2_mv_y * i4_scale_y + 32768) >> 16; in isvcd_interlyr_motion_scale() 1377 ps_motion_pred->i2_mv[1 + 2 * i4_lists] = i4_mv_y; in isvcd_interlyr_motion_scale() 1821 WORD32 i4_mv_x, i4_mv_y; in isvcd_interlyr_motion_submbmode_pred() local 1865 i4_mv_y = ((ps_temp[0].i2_mv[1 + (2 * i4_i)]) + in isvcd_interlyr_motion_submbmode_pred() [all …]
|
/external/libavc/encoder/svc/ |
D | isvce_me.c | 893 WORD32 i4_mv_x, i4_mv_y; in isvce_add_me_init_search_cands() local 904 i4_mv_y = (ps_search_cand->i2_mvy + 2) >> 2; in isvce_add_me_init_search_cands() 907 i4_mv_y = CLIP3(i4_srch_range_n, i4_srch_range_s, i4_mv_y); in isvce_add_me_init_search_cands() 918 ps_me_ctxt->as_mv_init_search[i4_reflist][k].i2_mvy == i4_mv_y)) in isvce_add_me_init_search_cands() 936 i4_mv_y; in isvce_add_me_init_search_cands() 948 i4_mv_y; in isvce_add_me_init_search_cands() 957 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_init_search_cands].i2_mvy = i4_mv_y; in isvce_add_me_init_search_cands()
|