Searched refs:l_mad (Results 1 – 3 of 3) sorted by relevance
/third_party/openh264/codec/processing/src/vaacalc/ |
D | vaacalcfuncs.cpp | 356 int32_t l_sad, l_sqdiff, l_sum, l_sqsum, l_sd, l_mad; in VAACalcSadSsdBgd_c() local 364 l_sd = l_mad = l_sad = l_sqdiff = l_sum = l_sqsum = 0; in VAACalcSadSsdBgd_c() 373 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c() 374 l_mad = abs_diff; in VAACalcSadSsdBgd_c() 390 pMad8x8[ (mb_index << 2) + 0] = l_mad; in VAACalcSadSsdBgd_c() 393 l_sd = l_mad = l_sad = l_sqdiff = l_sum = l_sqsum = 0; in VAACalcSadSsdBgd_c() 402 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c() 403 l_mad = abs_diff; in VAACalcSadSsdBgd_c() 419 pMad8x8[ (mb_index << 2) + 1] = l_mad; in VAACalcSadSsdBgd_c() 421 l_sd = l_mad = l_sad = l_sqdiff = l_sum = l_sqsum = 0; in VAACalcSadSsdBgd_c() [all …]
|
/third_party/openh264/codec/processing/src/loongarch/ |
D | vaa_lsx.c | 62 int32_t l_sad, l_sd, l_mad; in VAACalcSadBgd_lsx() local 76 l_mad = l_sd = l_sad = 0; in VAACalcSadBgd_lsx() 106 l_mad = __lsx_vpickve2gr_h(vec_l_mad, 0); in VAACalcSadBgd_lsx() 111 pMad8x8[tmp_mb_index] = l_mad; in VAACalcSadBgd_lsx() 113 l_mad = l_sd = l_sad = 0; in VAACalcSadBgd_lsx() 144 l_mad = __lsx_vpickve2gr_h(vec_l_mad, 0); in VAACalcSadBgd_lsx() 149 pMad8x8[tmp_mb_index1] = l_mad; in VAACalcSadBgd_lsx() 151 l_mad = l_sd = l_sad = 0; in VAACalcSadBgd_lsx() 182 l_mad = __lsx_vpickve2gr_h(vec_l_mad, 0); in VAACalcSadBgd_lsx() 187 pMad8x8[tmp_mb_index2] = l_mad; in VAACalcSadBgd_lsx() [all …]
|
/third_party/openh264/test/processing/ |
D | ProcessUT_VaaCalc.cpp | 327 int32_t l_sad, l_sqdiff, l_sum, l_sqsum, l_sd, l_mad; in VAACalcSadSsdBgd_ref() local 335 l_sd = l_mad = l_sad = l_sqdiff = l_sum = l_sqsum = 0; in VAACalcSadSsdBgd_ref() 344 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_ref() 345 l_mad = abs_diff; in VAACalcSadSsdBgd_ref() 361 pMad8x8[ (mb_index << 2) + 0] = l_mad; in VAACalcSadSsdBgd_ref() 364 l_sd = l_mad = l_sad = l_sqdiff = l_sum = l_sqsum = 0; in VAACalcSadSsdBgd_ref() 373 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_ref() 374 l_mad = abs_diff; in VAACalcSadSsdBgd_ref() 390 pMad8x8[ (mb_index << 2) + 1] = l_mad; in VAACalcSadSsdBgd_ref() 392 l_sd = l_mad = l_sad = l_sqdiff = l_sum = l_sqsum = 0; in VAACalcSadSsdBgd_ref() [all …]
|