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

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad_halfpel_inline.h31 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
34 if (tmp > 0) sad += tmp;
35 else sad -= tmp;
37 return sad;
40 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
43 if (tmp > 0) sad += tmp;
44 else sad -= tmp;
46 return sad;
51 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
57 add sad, sa local
63 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
69 add sad, sad, tmp ; local
77 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
90 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
H A Dsad.cpp93 int sad = 0; local
116 sad = SUB_SAD(sad, tmp, tmp2);
119 sad = SUB_SAD(sad, tmp, tmp2);
122 sad = SUB_SAD(sad, tmp, tmp2);
126 sad = SUB_SAD(sad, tmp, tmp2);
131 sad
197 int sad = 0; local
[all...]
H A Dsad_halfpel.cpp73 int sad = 0; local
93 sad += AVC_ABS(temp);
98 if (sad > (int)((uint32)dmin_rx >> 16))
99 return sad;
106 return sad;
114 int sad = 0; local
132 sad += AVC_ABS(temp);
137 if (sad > (int)((uint32)dmin_rx >> 16))
138 return sad;
142 return sad;
150 int sad = 0; local
184 int sad = 0; local
266 int sad = 0; local
347 int sad = 0; local
427 int sad = 0, tmp, tmp2; local
495 int sad = 0, tmp, tmp2; local
561 int sad = 0, tmp, tmp2; local
[all...]
H A Dsad_inline.h30 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
33 if (tmp > 0) sad += tmp;
34 else sad -= tmp;
36 return sad;
174 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
180 add sad, sad, tmp ; local
183 return sad;
343 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
349 : "+r"(sad), "
[all...]
H A Dintra_est.cpp2011 uint sad, sad4, sadI4, sadI16; local
2068 sad = SAD_I16_Vert(video, curL, sadI16);
2070 if (sad < sadI16)
2072 sadI16 = sad;
2080 sad = SAD_I16_HorzDC(video, curL, AVC_I16_Horizontal, sadI16);
2082 if (sad < sadI16)
2084 sadI16 = sad;
2090 sad = SAD_I16_HorzDC(video, curL, AVC_I16_DC, sadI16);
2091 if (sad < sadI16)
2093 sadI16 = sad;
[all...]
H A Davcenc_int.h328 uint sad; member in struct:tagMV
H A Dfindhalfpel.cpp106 mot->sad = dmin;
131 mot->sad = dmin;
H A Dmotion_est.cpp369 abe_cost = encvid->min_cost[mbnum] = mot_mb_16x16->sad;
398 totalSAD += (int) rateCtrl->MADofMB[mbnum];//mot_mb_16x16->sad;
1207 mot16x16[mbnum].sad = dmin;
/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
533 Int sad = 0; local
596 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.h157 Int sad; /* SAD */ member in struct:tagMOT
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DAndroid.mk16 src/sad.cpp \
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DAndroid.mk18 src/sad.cpp \

Completed in 129 milliseconds