/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad.cpp | 109 Int sad = 0; in SAD_MB_HTFM_Collect() local 129 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 132 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 135 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 139 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 144 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 147 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 150 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 154 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() 159 sad = SUB_SAD(sad, tmp, tmp2); in SAD_MB_HTFM_Collect() [all …]
|
D | sad_halfpel.cpp | 67 Int sad = 0; in HalfPel1_SAD_MB() local 84 sad += PV_ABS(temp); in HalfPel1_SAD_MB() 87 if (sad > dmin) in HalfPel1_SAD_MB() 88 return sad; in HalfPel1_SAD_MB() 92 return sad; in HalfPel1_SAD_MB() 99 Int sad = 0; in HalfPel2_SAD_MB() local 115 sad += PV_ABS(temp); in HalfPel2_SAD_MB() 118 if (sad > dmin) in HalfPel2_SAD_MB() 119 return sad; in HalfPel2_SAD_MB() 126 return sad; in HalfPel2_SAD_MB() [all …]
|
D | sad_halfpel_inline.h | 34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP1_SUB_SAD() argument 37 if (tmp > 0) sad += tmp; in INTERP1_SUB_SAD() 38 else sad -= tmp; in INTERP1_SUB_SAD() 40 return sad; in INTERP1_SUB_SAD() 43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in INTERP2_SUB_SAD() argument 46 if (tmp > 0) sad += tmp; in INTERP2_SUB_SAD() 47 else sad -= tmp; in INTERP2_SUB_SAD() 49 return sad; in INTERP2_SUB_SAD() 54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 60 add sad, sad, tmp ; [all …]
|
D | fastcodemb.cpp | 52 Int sad, k, CBP, mbnum = video->mbnum; in CodeMB_H263() local 143 sad = video->mot[mbnum][k+1].sad; in CodeMB_H263() 168 sad = getBlockSum(input, width); in CodeMB_H263() 178 sad = Sad8x8(input, pred, width); in CodeMB_H263() 187 sad = getBlockSum(input, width); in CodeMB_H263() 190 sad = Sad8x8(input, pred, width); in CodeMB_H263() 194 if (sad < DctTh1 && !(shortHeader && intra)) /* all-zero */ in CodeMB_H263() 200 else if (sad < 18*QP/*(QP<<4)*/) /* DC-only */ in CodeMB_H263() 214 if (sad < 22*QP/*(QP<<4)+(QP<<1)*/) /* 2x2 DCT */ in CodeMB_H263() 220 else if (sad < (QP << 5)) /* 4x4 DCT */ in CodeMB_H263() [all …]
|
D | motion_est.cpp | 198 totalSAD += mot_mb[0].sad; in MotionEstimation() 295 … fprintf(fp_debug, "#%d (%d,%d,%d) : ", mbnum, mot_mb[0].x, mot_mb[0].y, mot_mb[0].sad); in MotionEstimation() 297 mot_mb[1].x, mot_mb[1].y, mot_mb[1].sad, in MotionEstimation() 298 mot_mb[2].x, mot_mb[2].y, mot_mb[2].sad, in MotionEstimation() 299 mot_mb[3].x, mot_mb[3].y, mot_mb[3].sad, in MotionEstimation() 300 mot_mb[4].x, mot_mb[4].y, mot_mb[4].sad); in MotionEstimation() 303 sad16 = mot_mb[0].sad; in MotionEstimation() 307 sad8 = mot_mb[1].sad + mot_mb[2].sad + mot_mb[3].sad + mot_mb[4].sad; in MotionEstimation() 350 fprintf(fp_debug, "(%d,%d), %d\n", mot_mb[0].x, mot_mb[0].y, mot_mb[0].sad); in MotionEstimation() 353 skip_halfpel_4mv = ((sad16 - mot_mb[0].sad) <= (MB_Nb >> 1) + 1); in MotionEstimation() [all …]
|
D | sad_inline.h | 33 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) in SUB_SAD() argument 36 if (tmp > 0) sad += tmp; in SUB_SAD() 37 else sad -= tmp; in SUB_SAD() 39 return sad; in SUB_SAD() 177 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 183 add sad, sad, tmp ; 186 return sad; 346 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) 350 register int32 ss = sad;
|
D | findhalfpel.cpp | 123 dmin = mot[0].sad; in FindHalfPelMB() 168 mot[0].sad = dmin; in FindHalfPelMB() 241 dmin = mot[comp+1].sad; in FindHalfPelBlk() 264 mot[comp+1].sad = dmin; in FindHalfPelBlk() 272 mot[k].sad = (mot[0].sad + 2) >> 2; in FindHalfPelBlk()
|
D | me_utils.cpp | 378 mot_mb[1].sad = sad1; in ComputeMBSum_C() 379 mot_mb[2].sad = sad2; in ComputeMBSum_C() 380 mot_mb[3].sad = sad3; in ComputeMBSum_C() 381 mot_mb[4].sad = sad4; in ComputeMBSum_C() 382 mot_mb[0].sad = sad1 + sad2 + sad3 + sad4; in ComputeMBSum_C()
|
D | mp4lib_int.h | 158 Int sad; /* SAD */ member
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiUtils.java | 557 private static byte[] readSad(String sad) { in readSad() argument 558 if (sad == null || sad.length() == 0) { in readSad() 561 byte[] sadBytes = HexDump.hexStringToByteArray(sad); in readSad() 648 public final byte[] sad; field in HdmiUtils.CodecSad 650 public CodecSad(int audioCodec, byte[] sad) { in CodecSad() argument 652 this.sad = sad; in CodecSad() 655 public CodecSad(int audioCodec, String sad) { in CodecSad() argument 657 this.sad = HexDump.hexStringToByteArray(sad); in CodecSad() 665 && Arrays.equals(that.sad, this.sad); in equals() 674 Arrays.hashCode(sad)); in hashCode()
|
D | HdmiCecLocalDeviceAudioSystem.java | 620 byte[] sad = getSupportedShortAudioDescriptor(deviceInfo, audioFormatCode); in getSupportedShortAudioDescriptors() 621 if (sad != null) { in getSupportedShortAudioDescriptors() 622 if (sad.length == 3) { in getSupportedShortAudioDescriptors() 624 sads.add(sad); in getSupportedShortAudioDescriptors() 628 sad.length, audioFormatCode); in getSupportedShortAudioDescriptors() 654 map.put(codecSad.audioCodec, codecSad.sad); in getSupportedShortAudioDescriptorsFromConfig() 658 byte[] sad = map.get(audioFormatCodes[i]); in getSupportedShortAudioDescriptorsFromConfig() 659 if (sad != null && sad.length == 3) { in getSupportedShortAudioDescriptorsFromConfig() 660 sads.add(sad); in getSupportedShortAudioDescriptorsFromConfig() 671 for (byte[] sad : sads) { in getShortAudioDescriptorBytes() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | Android.bp | 23 "src/sad.cpp",
|