Searched defs:dmin (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Dsad_mb_offset.h22 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) argument
24 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin)
26 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin)
104 if ((int)((uint32)x10 >> 16) <= dmin) /* compare with dmin */
125 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) argument
127 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8)
129 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8)
200 RSBS x11, dmin, x10, lsr #16 local
217 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) argument
[all...]
H A Dsad.cpp45 int AVCSAD_Macroblock_C(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
46 int AVCSAD_MB_HTFM_Collect(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
47 int AVCSAD_MB_HTFM(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
67 int dmin = (uint32)dmin_lx >> 16; local
72 x10 = simd_sad_mb(ref, blk, dmin, lx);
H A Dsad_inline.h77 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
145 if ((int)((uint32)x10 >> 16) <= dmin) /* compare with dmin */
158 return sad_mb_offset3(ref, blk, lx, dmin);
162 return sad_mb_offset2(ref, blk, lx, dmin);
166 return sad_mb_offset1(ref, blk, lx, dmin);
252 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
318 RSBS x11, dmin, x10, lsr #16; local
327 return sad_mb_offset3(ref, blk, lx, dmin, x8);
331 return sad_mb_offset2(ref, blk, lx, dmin, x
390 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
[all...]
H A Dfindhalfpel.cpp59 int d, dmin, satd_min; local
85 dmin = SATD_MB(cand, cur, 65535); // get Hadamaard transform SAD
87 satd_min = dmin;
88 dmin += mvcost;
94 d = SATD_MB(hpel_cand[h], cur, dmin);
98 if (d < dmin)
100 dmin = d;
106 mot->sad = dmin;
118 d = SATD_MB(encvid->qpel_cand[q], cur, dmin);
121 if (d < dmin)
608 SATD_MB(uint8 *cand, uint8 *cur, int dmin) argument
[all...]
H A Dmotion_est.cpp975 int d, dmin, dn[9]; local
1064 dmin = AVCFullSearch(encvid, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh, cmvx, cmvy);
1074 dmin = AVCFullSearch(encvid, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh, cmvx, cmvy);
1081 dmin = 65535;
1093 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info);
1097 if (d < dmin)
1099 dmin = d;
1118 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info);
1122 if (d < dmin)
1124 dmin
1268 int d, dmin; local
1757 int dmin; local
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin)
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin)
109 if (((uint32)x10 >> 16) <= (uint32)dmin) /* compare with dmin */
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) argument
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8)
134 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8)
206 RSBS x11, dmin, x10, lsr #16 local
223 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
[all...]
H A Dfindhalfpel.cpp71 Int dmin, d; local
123 dmin = mot[0].sad;
135 d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_info);
137 if (d < dmin)
139 dmin = d;
144 else if (d == dmin &&
168 mot[0].sad = dmin;
193 Int d, dmin, sad8; local
241 dmin = mot[comp+1].sad;
249 d = (*SAD_Blk_HalfPel)(cand, cur8, dmin, l
[all...]
H A Dsad.cpp47 Int SAD_Macroblock_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
48 Int SAD_MB_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
49 Int SAD_MB_HTFM(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
50 Int SAD_Block_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
51 Int SAD_Blk_PADDING(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
52 Int SAD_MB_PADDING(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
53 Int SAD_MB_PAD1(UChar *ref,UChar *cur,Int dmin,Int lx,Int *rep);
54 Int SAD_MB_PADDING_HTFM_Collect(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
55 Int SAD_MB_PADDING_HTFM(UChar *ref,UChar *cur,Int dmin,Int lx,void *vptr)
64 Int SAD_MB_PAD1(UChar *ref, UChar *cur, Int dmin, In
81 Int dmin = (ULong)dmin_lx >> 16; local
314 SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *) argument
[all...]
H A Dsad_halfpel.cpp19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width)
21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width)
24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
87 if (sad > dmin)
96 HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) argument
138 HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
170 HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) argument
780 SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *extra_info) argument
[all...]
H A Dsad_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
150 if (((uint32)x10 >> 16) <= (uint32)dmin) /* compare with dmin */
163 return sad_mb_offset3(ref, blk, lx, dmin);
167 return sad_mb_offset2(ref, blk, lx, dmin);
171 return sad_mb_offset1(ref, blk, lx, dmin);
257 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
323 RSBS x11, dmin, x10, lsr #16; local
332 return sad_mb_offset3(ref, blk, lx, dmin, x8);
336 return sad_mb_offset2(ref, blk, lx, dmin, x
446 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
[all...]
H A Dmotion_est.cpp790 Int d, dmin, dn[9]; local
847 dmin = fullsearch(video, currVol, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh);
851 mot[mbnum][0].sad = dmin;
864 dmin = fullsearch(video, currVol, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh);
873 dmin = 65535;
885 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info);
887 if (d < dmin)
889 dmin = d;
907 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info);
909 if (d < dmin)
1185 Int d, dmin; local
1271 Int d, dmin; local
1724 Int dmin; local
[all...]

Completed in 1079 milliseconds