/frameworks/av/media/libstagefright/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 | 238 …Int(*SAD_Blk_HalfPel)(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr… 240 Int(*SAD_Block)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 241 Int(*SAD_MB_PADDING)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); /*, 4/21/01 */
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | sad_mb_offset.h | 24 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() argument 26 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() 28 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() 106 if ((int)((uint32)x10 >> 16) <= dmin) /* compare with dmin */ in sad_mb_offset3() 127 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3() argument 129 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3() 131 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3() 202 RSBS x11, dmin, x10, lsr #16 in sad_mb_offset3() local 219 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() argument 221 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() [all …]
|
D | sad_inline.h | 79 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) in simd_sad_mb() argument 147 if ((int)((uint32)x10 >> 16) <= dmin) /* compare with dmin */ in simd_sad_mb() 160 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb() 164 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb() 168 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb() 254 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) 320 RSBS x11, dmin, x10, lsr #16; 329 return sad_mb_offset3(ref, blk, lx, dmin, x8); 333 return sad_mb_offset2(ref, blk, lx, dmin, x8); 337 return sad_mb_offset1(ref, blk, lx, dmin, x8); [all …]
|
D | findhalfpel.cpp | 46 int d, dmin, satd_min; in AVCFindHalfPelMB() local 72 dmin = SATD_MB(cand, cur, 65535); // get Hadamaard transform SAD in AVCFindHalfPelMB() 74 satd_min = dmin; in AVCFindHalfPelMB() 75 dmin += mvcost; in AVCFindHalfPelMB() 81 d = SATD_MB(hpel_cand[h], cur, dmin); in AVCFindHalfPelMB() 85 if (d < dmin) in AVCFindHalfPelMB() 87 dmin = d; in AVCFindHalfPelMB() 93 mot->sad = dmin; in AVCFindHalfPelMB() 105 d = SATD_MB(encvid->qpel_cand[q], cur, dmin); in AVCFindHalfPelMB() 108 if (d < dmin) in AVCFindHalfPelMB() [all …]
|
D | motion_est.cpp | 975 int d, dmin, dn[9]; in AVCMBMotionSearch() local 1064 dmin = AVCFullSearch(encvid, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh, cmvx, cmvy); in AVCMBMotionSearch() 1074 … dmin = AVCFullSearch(encvid, ref, cur, &imin, &jmin, ilow, ihigh, jlow, jhigh, cmvx, cmvy); in AVCMBMotionSearch() 1081 dmin = 65535; in AVCMBMotionSearch() 1093 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info); in AVCMBMotionSearch() 1097 if (d < dmin) in AVCMBMotionSearch() 1099 dmin = d; in AVCMBMotionSearch() 1118 d = (*SAD_Macroblock)(cand, cur, (dmin << 16) | lx, extra_info); in AVCMBMotionSearch() 1122 if (d < dmin) in AVCMBMotionSearch() 1124 dmin = d; in AVCMBMotionSearch() [all …]
|
D | sad.cpp | 67 int dmin = (uint32)dmin_lx >> 16; in AVCSAD_Macroblock_C() local 72 x10 = simd_sad_mb(ref, blk, dmin, lx); in AVCSAD_Macroblock_C()
|
D | avcenc_lib.h | 658 int SATD_MB(uint8 *cand, uint8 *cur, int dmin);
|