Searched refs:sad (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_halfpel_inline.h34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
37 if (tmp > 0) sad += tmp;
38 else sad -= tmp;
40 return sad;
43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
46 if (tmp > 0) sad += tmp;
47 else sad -= tmp;
49 return sad;
54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
60 add sad, sa local
66 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
72 add sad, sad, tmp ; local
81 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
101 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
H A Dsad.cpp109 Int sad = 0; local
129 sad = SUB_SAD(sad, tmp, tmp2);
132 sad = SUB_SAD(sad, tmp, tmp2);
135 sad = SUB_SAD(sad, tmp, tmp2);
139 sad = SUB_SAD(sad, tmp, tmp2);
144 sad
210 Int sad = 0; local
316 Int sad = 0; local
[all...]
H A Dsad_halfpel.cpp67 Int sad = 0; local
84 sad += PV_ABS(temp);
87 if (sad > dmin)
88 return sad;
92 return sad;
99 Int sad = 0; local
115 sad += PV_ABS(temp);
118 if (sad > dmin)
119 return sad;
126 return sad;
141 Int sad = 0; local
173 Int sad = 0; local
224 Int sad = 0; local
265 Int sad = 0; local
301 Int sad = 0; local
338 Int sad = 0; local
417 Int sad = 0; local
495 Int sad = 0; local
572 Int sad = 0, tmp, tmp2; local
640 Int sad = 0, tmp, tmp2; local
706 Int sad = 0, tmp, tmp2; local
783 Int sad = 0; local
[all...]
H A Dfastcodemb.cpp52 Int sad, k, CBP, mbnum = video->mbnum; local
143 sad = video->mot[mbnum][k+1].sad;
168 sad = getBlockSum(input, width);
178 sad = Sad8x8(input, pred, width);
187 sad = getBlockSum(input, width);
190 sad = Sad8x8(input, pred, width);
194 if (sad < DctTh1 && !(shortHeader && intra)) /* all-zero */
200 else if (sad < 18*QP/*(QP<<4)*/) /* DC-only */
214 if (sad < 2
281 Int sad, k, CBP, mbnum = video->mbnum; local
536 Int sad = 0; local
601 Int sad = 0, sum4 = 0, sum2 = 0; local
[all...]
H A Dfindhalfpel.cpp123 dmin = mot[0].sad;
168 mot[0].sad = dmin;
241 dmin = mot[comp+1].sad;
264 mot[comp+1].sad = dmin;
272 mot[k].sad = (mot[0].sad + 2) >> 2;
H A Dmotion_est.cpp198 totalSAD += mot_mb[0].sad;
295 fprintf(fp_debug, "#%d (%d,%d,%d) : ", mbnum, mot_mb[0].x, mot_mb[0].y, mot_mb[0].sad);
297 mot_mb[1].x, mot_mb[1].y, mot_mb[1].sad,
298 mot_mb[2].x, mot_mb[2].y, mot_mb[2].sad,
299 mot_mb[3].x, mot_mb[3].y, mot_mb[3].sad,
300 mot_mb[4].x, mot_mb[4].y, mot_mb[4].sad);
303 sad16 = mot_mb[0].sad;
307 sad8 = mot_mb[1].sad + mot_mb[2].sad + mot_mb[3].sad
[all...]
H A Dsad_inline.h33 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
36 if (tmp > 0) sad += tmp;
37 else sad -= tmp;
39 return sad;
177 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
183 add sad, sad, tmp ; local
186 return sad;
346 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
350 register int32 ss = sad;
[all...]
H A Dme_utils.cpp378 mot_mb[1].sad = sad1;
379 mot_mb[2].sad = sad2;
380 mot_mb[3].sad = sad3;
381 mot_mb[4].sad = sad4;
382 mot_mb[0].sad = sad1 + sad2 + sad3 + sad4;
H A Dmp4lib_int.h158 Int sad; /* SAD */ member in struct:tagMOT
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DAndroid.mk18 src/sad.cpp \

Completed in 89 milliseconds