Searched refs:vec_abs_diff (Results 1 – 1 of 1) sorted by relevance
/third_party/openh264/codec/processing/src/loongarch/ |
D | vaa_lsx.c | 70 __m128i vec_diff, vec_abs_diff, tmp_l_sd, tmp_l_sad, tmp_l_mad; in VAACalcSadBgd_lsx() local 85 vec_abs_diff = __lsx_vabsd_h(cur, ref); in VAACalcSadBgd_lsx() 86 vec_l_sad = __lsx_vadd_h(vec_l_sad, vec_abs_diff); in VAACalcSadBgd_lsx() 87 vec_l_mad = __lsx_vmax_h(vec_l_mad, vec_abs_diff); in VAACalcSadBgd_lsx() 123 vec_abs_diff = __lsx_vabsd_h(cur, ref); in VAACalcSadBgd_lsx() 124 vec_l_sad = __lsx_vadd_h(vec_l_sad, vec_abs_diff); in VAACalcSadBgd_lsx() 125 vec_l_mad = __lsx_vmax_h(vec_l_mad, vec_abs_diff); in VAACalcSadBgd_lsx() 161 vec_abs_diff = __lsx_vabsd_h(cur, ref); in VAACalcSadBgd_lsx() 162 vec_l_sad = __lsx_vadd_h(vec_l_sad, vec_abs_diff); in VAACalcSadBgd_lsx() 163 vec_l_mad = __lsx_vmax_h(vec_l_mad, vec_abs_diff); in VAACalcSadBgd_lsx() [all …]
|