/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | findhalfpel.cpp | 71 Int dmin, d; in FindHalfPelMB() local 123 dmin = mot[0].sad; in FindHalfPelMB() 135 … d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_info); in FindHalfPelMB() 137 if (d < dmin) in FindHalfPelMB() 139 dmin = d; in FindHalfPelMB() 144 else if (d == dmin && in FindHalfPelMB() 168 mot[0].sad = dmin; in FindHalfPelMB() 193 Int d, dmin, sad8; in FindHalfPelBlk() local 241 dmin = mot[comp+1].sad; in FindHalfPelBlk() 249 d = (*SAD_Blk_HalfPel)(cand, cur8, dmin, lx, swidth, xh, yh, extra_info); in FindHalfPelBlk() [all …]
|
D | motion_est.cpp | 790 Int d, dmin, dn[9]; in MBMotionSearch() local 847 dmin = fullsearch(video, currVol, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh); in MBMotionSearch() 851 mot[mbnum][0].sad = dmin; in MBMotionSearch() 864 dmin = fullsearch(video, currVol, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh); in MBMotionSearch() 873 dmin = 65535; in MBMotionSearch() 885 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info); in MBMotionSearch() 887 if (d < dmin) in MBMotionSearch() 889 dmin = d; in MBMotionSearch() 907 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info); in MBMotionSearch() 909 if (d < dmin) in MBMotionSearch() [all …]
|
D | sad_mb_offset.h | 27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() argument 29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() 31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() 109 if (((uint32)x10 >> 16) <= (uint32)dmin) /* compare with dmin */ in sad_mb_offset3() 130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3() argument 132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3() 134 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3() 206 RSBS x11, dmin, x10, lsr #16 in sad_mb_offset3() local 223 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() argument 225 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() [all …]
|
D | sad_inline.h | 82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb() argument 150 if (((uint32)x10 >> 16) <= (uint32)dmin) /* compare with dmin */ in simd_sad_mb() 163 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb() 167 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb() 171 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb() 257 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) 323 RSBS x11, dmin, x10, lsr #16; 332 return sad_mb_offset3(ref, blk, lx, dmin, x8); 336 return sad_mb_offset2(ref, blk, lx, dmin, x8); 340 return sad_mb_offset1(ref, blk, lx, dmin, x8); [all …]
|
D | mp4enc_lib.h | 149 …Int SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr… 150 Int SAD_Blk_HalfPel_MMX(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 151 Int SAD_Blk_HalfPel_SSE(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 155 Int SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 156 Int SAD_Block_MMX(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 157 Int SAD_Block_SSE(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 170 Int SAD_Blk_PADDING(UChar *ref, UChar *cur, Int dmin, Int lx, void *extra_info); 171 Int SAD_MB_PADDING(UChar *ref, UChar *cur, Int dmin, Int lx, void *extra_info); 173 Int SAD_MB_PADDING_HTFM_Collect(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 174 Int SAD_MB_PADDING_HTFM(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info);
|
D | sad_halfpel.cpp | 64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_MB() argument 87 if (sad > dmin) in HalfPel1_SAD_MB() 96 Int HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_MB() argument 118 if (sad > dmin) in HalfPel2_SAD_MB() 138 Int HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_Blk() argument 161 if (sad > dmin) in HalfPel1_SAD_Blk() 170 Int HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_Blk() argument 192 if (sad > dmin) in HalfPel2_SAD_Blk() 780 …Int SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *e… in SAD_Blk_HalfPel_C() argument 810 if (sad > dmin) in SAD_Blk_HalfPel_C() [all …]
|
D | sad.cpp | 64 Int SAD_MB_PAD1(UChar *ref, UChar *cur, Int dmin, Int lx, Int *rep); 81 Int dmin = (ULong)dmin_lx >> 16; in SAD_Macroblock_C() local 88 x10 = simd_sad_mb(ref, blk, dmin, lx); in SAD_Macroblock_C() 314 Int SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *) in SAD_Block_C() argument 361 if (sad > dmin) in SAD_Block_C()
|
D | mp4lib_int.h | 239 …Int(*SAD_Blk_HalfPel)(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr… 241 Int(*SAD_Block)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 242 Int(*SAD_MB_PADDING)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); /*, 4/21/01 */
|