Lines Matching refs:sad
917 UWORD32 sad = 0; in ime_compute_satqd_16x16_lumainter() local
950 if(sad == 0) in ime_compute_satqd_16x16_lumainter()
975 )sad = 1; in ime_compute_satqd_16x16_lumainter()
982 *pu4_is_non_zero = sad; in ime_compute_satqd_16x16_lumainter()
1035 WORD32 sad =0; in ime_compute_satqd_8x16_chroma() local
1110 sad += sad_1; in ime_compute_satqd_8x16_chroma()
1115 if(sad < (thrsh[0]<<1))sad = 0; in ime_compute_satqd_8x16_chroma()
1171 WORD16 s1[4],s2[4],s3[4],s4[4],sad[4]; in ime_compute_satqd_16x16_lumaintra() local
1209 sad[j] = ((s1[j]+s2[j]+s3[j]+s4[j])<<1); in ime_compute_satqd_16x16_lumaintra()
1217 thrsh[1] > (sad[j] -(s2[j] + s3[j])) && in ime_compute_satqd_16x16_lumaintra()
1218 thrsh[2] > (sad[j]>>1) && in ime_compute_satqd_16x16_lumaintra()
1219 thrsh[3] > (sad[j] -(s1[j] + s4[j])) && in ime_compute_satqd_16x16_lumaintra()
1221 thrsh[4] > (sad[j] -(s3[j] + s4[j])) && in ime_compute_satqd_16x16_lumaintra()
1222 thrsh[5] > (sad[j] -(s3[j] - (s1[j]<<1))) && in ime_compute_satqd_16x16_lumaintra()
1223 thrsh[6] > (sad[j] -(s3[j] + s4[j])) && in ime_compute_satqd_16x16_lumaintra()
1224 thrsh[7] > (sad[j] -(s4[j] - (s2[j]<<1))) && in ime_compute_satqd_16x16_lumaintra()
1226 thrsh[8] > (sad[j]>>1) && in ime_compute_satqd_16x16_lumaintra()
1227 thrsh[9] > (sad[j] -(s2[j] + s3[j])) && in ime_compute_satqd_16x16_lumaintra()
1228 thrsh[10]> (sad[j]>>1) && in ime_compute_satqd_16x16_lumaintra()
1229 thrsh[11]> (sad[j] -(s1[j] + s4[j])) && in ime_compute_satqd_16x16_lumaintra()
1231 thrsh[12]> (sad[j] -(s1[j] + s2[j])) && in ime_compute_satqd_16x16_lumaintra()
1232 thrsh[13]> (sad[j] -(s2[j] - (s4[j]<<1))) && in ime_compute_satqd_16x16_lumaintra()
1233 thrsh[14]> (sad[j] -(s1[j] + s2[j])) && in ime_compute_satqd_16x16_lumaintra()
1234 thrsh[15]> (sad[j] -(s1[j] - (s3[j]<<1))) in ime_compute_satqd_16x16_lumaintra()
1246 (*pi4_mb_distortion) += (sad[j]>>1); in ime_compute_satqd_16x16_lumaintra()