/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_advsimd_Convolve.S | 36 ld1 {v0.8h, v1.8h}, [x4] 52 uxtl v2.8h, v13.8b 53 uxtl2 v3.8h, v13.16b 54 uxtl v4.8h, v14.8b 55 uxtl2 v5.8h, v14.16b 56 uxtl v6.8h, v15.8b 57 uxtl2 v7.8h, v15.16b 66 smull v8.4s, v2.4h, v0.h[0] 67 smull2 v9.4s, v2.8h, v0.h[0] 68 smlal2 v8.4s, v2.8h, v0.h[1] [all …]
|
D | rsCpuIntrinsics_advsimd_Blur.S | 88 uxtl v14.8h, v15.8b 90 uxtl2 v15.8h, v15.16b 98 umull v12.4s, v14.4h, v0.h[0] 100 umull2 v13.4s, v14.8h, v0.h[0] 102 umull v14.4s, v15.4h, v0.h[0] 104 umull2 v15.4s, v15.8h, v0.h[0] 119 uaddl v16.8h, v10.8b, v11.8b 120 uaddl2 v11.8h, v10.16b, v11.16b 121 umlal v12.4s, v16.4h, \dreg 122 umlal2 v13.4s, v16.8h, \dreg [all …]
|
D | rsCpuIntrinsics_advsimd_Blend.S | 81 umull2 v12.8h, v7.16b, v0.16b 82 umull v0.8h, v7.8b, v0.8b 83 umull2 v13.8h, v7.16b, v1.16b 84 umull v1.8h, v7.8b, v1.8b 85 umull2 v14.8h, v7.16b, v2.16b 86 umull v2.8h, v7.8b, v2.8b 87 umull2 v15.8h, v7.16b, v3.16b 88 umull v3.8h, v7.8b, v3.8b 90 rshrn v4.8b, v0.8h, #8 91 rshrn2 v4.16b, v12.8h, #8 [all …]
|
D | rsCpuIntrinsics_advsimd_Resize.S | 51 .macro vert8, dstlo=v12.4h, dsthi=v12.8h 56 uxtl v8.8h, v8.8b 57 uxtl v9.8h, v9.8b 58 uxtl v10.8h, v10.8b 59 uxtl v11.8h, v11.8b 60 umull v12.4s, v9.4h, v3.h[1] 61 umull2 v13.4s, v9.8h, v3.h[1] 62 umlsl v12.4s, v8.4h, v3.h[0] 63 umlsl2 v13.4s, v8.8h, v3.h[0] 64 umlal v12.4s, v10.4h, v3.h[2] [all …]
|
D | rsCpuIntrinsics_advsimd_YuvToRGB.S | 65 umull v1.8h, v8.8b, v24.8b // g0 = y0 * 149 66 umull v17.8h, v9.8b, v24.8b // g1 = y1 * 149 67 umull2 v5.8h, v8.16b, v24.16b // g0_hi = y0_hi * 149 68 umull2 v21.8h, v9.16b, v24.16b // g1_hi = y1_hi * 149 70 umull v8.8h, \regu\().8b, v25.8b // g2 = u * 50 + v * 104 71 umlal v8.8h, \regv\().8b, v26.8b 72 umull2 v9.8h, \regu\().16b, v25.16b // g2_hi = u_hi * 50 + v_hi * 104 73 umlal2 v9.8h, \regv\().16b, v26.16b 76 uaddw v0.8h, v1.8h, v19.8b // r0 = g0 + (v >> 1) 77 uaddw v16.8h, v17.8h, v19.8b // r1 = g1 + (v >> 1) [all …]
|
D | rsCpuIntrinsics_advsimd_3DLUT.S | 40 umlsl v12.8h, v16.8b, v8.8b 41 umlsl v13.8h, v17.8b, v9.8b 42 umlal v12.8h, v18.8b, v8.8b 43 umlal v13.8h, v19.8b, v9.8b 57 umlsl v14.8h, v16.8b, v8.8b 58 umlsl v15.8h, v17.8b, v9.8b 59 umlal v14.8h, v18.8b, v8.8b 60 umlal v15.8h, v19.8b, v9.8b 63 ushll v8.4s, v12.4h, #8 64 ushll2 v9.4s, v12.8h, #8 [all …]
|
D | rsCpuIntrinsics_advsimd_ColorMatrix.S | 80 vmxx_s16 \i, 1, v6.4s, v12.4h, v0.h[0] 81 vmxx_s16 \i, 2, v6.4s, v13.4h, v0.h[4] 82 vmxx_s16 \i, 4, v6.4s, v14.4h, v1.h[0] 83 vmxx_s16 \i, 8, v6.4s, v15.4h, v1.h[4] 84 vmxx2_s16 \i, 1, v7.4s, v12.8h, v0.h[0] 85 vmxx2_s16 \i, 2, v7.4s, v13.8h, v0.h[4] 86 vmxx2_s16 \i, 4, v7.4s, v14.8h, v1.h[0] 87 vmxx2_s16 \i, 8, v7.4s, v15.8h, v1.h[4] 88 sqshrun v8.4h, v6.4s, #8 89 sqshrun2 v8.8h, v7.4s, #8 [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BaseCommands.java | 181 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 183 mRadioStateChangedRegistrants.addUnique(h, what, obj); in registerForRadioStateChanged() 184 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForRadioStateChanged() 189 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() argument 191 mRadioStateChangedRegistrants.remove(h); in unregisterForRadioStateChanged() 195 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 196 mImsNetworkStateChangedRegistrants.addUnique(h, what, obj); in registerForImsNetworkStateChanged() 199 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() argument 200 mImsNetworkStateChangedRegistrants.remove(h); in unregisterForImsNetworkStateChanged() 204 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument [all …]
|
D | CommandsInterface.java | 148 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument 149 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged() argument 151 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument 153 void unregisterForVoiceRadioTechChanged(Handler h); in unregisterForVoiceRadioTechChanged() argument 155 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument 156 void unregisterForImsNetworkStateChanged(Handler h); in unregisterForImsNetworkStateChanged() argument 165 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument 167 void unregisterForOn(Handler h); in unregisterForOn() argument 176 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument 178 void unregisterForAvailable(Handler h); in unregisterForAvailable() argument [all …]
|
D | CallManager.java | 1170 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument 1171 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect() 1179 public void unregisterForDisconnect(Handler h){ in unregisterForDisconnect() argument 1180 mDisconnectRegistrants.remove(h); in unregisterForDisconnect() 1193 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument 1194 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged() 1202 public void unregisterForPreciseCallStateChanged(Handler h){ in unregisterForPreciseCallStateChanged() argument 1203 mPreciseCallStateRegistrants.remove(h); in unregisterForPreciseCallStateChanged() 1210 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument 1211 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection() [all …]
|
D | Phone.java | 775 public void registerForSilentRedial(Handler h, int what, Object obj) { in registerForSilentRedial() argument 778 public void unregisterForSilentRedial(Handler h) { in unregisterForSilentRedial() argument 781 public void registerForVolteSilentRedial(Handler h, int what, Object obj) { in registerForVolteSilentRedial() argument 784 public void unregisterForVolteSilentRedial(Handler h) { in unregisterForVolteSilentRedial() argument 870 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument 871 checkCorrectThread(h); in registerForPreciseCallStateChanged() 873 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged() 881 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged() argument 882 mPreciseCallStateRegistrants.remove(h); in unregisterForPreciseCallStateChanged() 899 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | pred_lt4_1_opt.s | 65 LDR r3, [r2], #4 @h[0], h[1] 70 SMULBB r10, r4, r3 @x[0] * h[0] 71 SMULBB r11, r6, r3 @x[1] * h[0] 72 SMULBB r12, r9, r3 @x[2] * h[0] 75 SMLABT r10, r6, r3, r10 @x[1] * h[1] 76 SMLABT r11, r9, r3, r11 @x[2] * h[1] 77 SMLABT r12, r4, r3, r12 @x[3] * h[1] 79 LDR r3, [r2], #4 @h[2], h[3] 81 SMLABB r10, r9, r3, r10 @x[2] * h[2] 82 SMLABB r11, r4, r3, r11 @x[3] * h[2] [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | hash.cpp | 56 uint32_t h = static_cast<uint32_t>(seed ^ n); in Hash32() local 64 h *= m; in Hash32() 65 h ^= k; in Hash32() 73 h ^= ByteAs32(data[2]) << 16; in Hash32() 76 h ^= ByteAs32(data[1]) << 8; in Hash32() 79 h ^= ByteAs32(data[0]); in Hash32() 80 h *= m; in Hash32() 85 h ^= h >> 13; in Hash32() 86 h *= m; in Hash32() 87 h ^= h >> 15; in Hash32() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Half.java | 365 public int compareTo(@NonNull Half h) { in compareTo() argument 366 return compare(mValue, h.mValue); in compareTo() 376 public static int hashCode(@HalfFloat short h) { in hashCode() argument 377 return halfToIntBits(h); in hashCode() 416 public static @HalfFloat short halfToShortBits(@HalfFloat short h) { in halfToShortBits() argument 417 return (h & FP16.EXPONENT_SIGNIFICAND_MASK) > FP16.POSITIVE_INFINITY ? NaN : h; in halfToShortBits() 435 public static int halfToIntBits(@HalfFloat short h) { in halfToIntBits() argument 436 return (h & FP16.EXPONENT_SIGNIFICAND_MASK) > FP16.POSITIVE_INFINITY ? NaN : h & 0xffff; in halfToIntBits() 453 public static int halfToRawIntBits(@HalfFloat short h) { in halfToRawIntBits() argument 454 return h & 0xffff; in halfToRawIntBits() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 64 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 69 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() argument 74 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() argument 79 public void unregisterForVoiceRadioTechChanged(Handler h) { in unregisterForVoiceRadioTechChanged() argument 84 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 89 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() argument 94 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument 99 public void unregisterForOn(Handler h) { in unregisterForOn() argument 104 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument 109 public void unregisterForAvailable(Handler h) { in unregisterForAvailable() argument [all …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | HashCodeHelpers.java | 48 int h = 1; in hashCode() local 51 h = ((h << 5) - h) ^ x; // (h * 31) XOR x in hashCode() 54 return h; in hashCode() 71 int h = 1; in hashCode() local 74 h = ((h << 5) - h) ^ x; // (h * 31) XOR x in hashCode() 77 return h; in hashCode() 94 int h = 1; in hashCodeGeneric() local 97 h = ((h << 5) - h) ^ x; // (h * 31) XOR x in hashCodeGeneric() 100 return h; in hashCodeGeneric()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CaptureCollector.java | 320 CaptureHolder h = new CaptureHolder(holder, legacy); in queueRequest() local 330 if (!(h.needsJpeg || h.needsPreview)) { in queueRequest() 334 if (h.needsJpeg) { in queueRequest() 342 mJpegCaptureQueue.add(h); in queueRequest() 343 mJpegProduceQueue.add(h); in queueRequest() 345 if (h.needsPreview) { in queueRequest() 352 mPreviewCaptureQueue.add(h); in queueRequest() 353 mPreviewProduceQueue.add(h); in queueRequest() 356 mActiveRequests.add(h); in queueRequest() 451 for (CaptureHolder h : mCompletedRequests) { in removeRequestIfCompleted() [all …]
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 152 float[] h = fit(palette.h, hsl[0], fitIndex, in runTonalExtraction() local 156 int[] colorPalette = getColorPalette(h, s, l); in runTonalExtraction() 160 ". Main color: " + Integer.toHexString(getColorInt(fitIndex, h, s, l)) + in runTonalExtraction() 163 for (int i=0; i < h.length; i++) { in runTonalExtraction() 164 builder.append(Integer.toHexString(getColorInt(i, h, s, l))); in runTonalExtraction() 165 if (i < h.length - 1) { in runTonalExtraction() 173 int mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 198 primaryIndex = h.length - 1; in runTonalExtraction() 204 mainColor = getColorInt(primaryIndex, h, s, l); in runTonalExtraction() 212 primaryIndex = h.length - 1; in runTonalExtraction() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_huffman_parsing.cpp | 139 struct huffcodetab *h; in pvmp3_huffman_parsing() local 185 h = &(pVars->ht[grInfo->table_select[0]]); in pvmp3_huffman_parsing() 186 if (h->linbits) in pvmp3_huffman_parsing() 197 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 200 h = &(pVars->ht[grInfo->table_select[1]]); in pvmp3_huffman_parsing() 201 if (h->linbits) in pvmp3_huffman_parsing() 212 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() 215 h = &(pVars->ht[grInfo->table_select[2]]); in pvmp3_huffman_parsing() 216 if (h->linbits) in pvmp3_huffman_parsing() 227 (*pt_huff)(h, &is[i], pMainData); in pvmp3_huffman_parsing() [all …]
|
/frameworks/wilhelm/tools/mphtogen/ |
D | Makefile | 2 ALL = $(DIR)/MPH_to_3DGroup.h $(DIR)/MPH_to_AudioPlayer.h $(DIR)/MPH_to_AudioRecorder.h \ 3 $(DIR)/MPH_to_Engine.h $(DIR)/MPH_to_LEDDevice.h $(DIR)/MPH_to_Listener.h \ 4 $(DIR)/MPH_to_MetadataExtractor.h $(DIR)/MPH_to_MidiPlayer.h $(DIR)/MPH_to_OutputMix.h \ 5 $(DIR)/MPH_to_Vibra.h 10 mphtogen : mphtogen.c MPH_to.c MPH.h MPH_to.h
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableLooperTest.java | 53 Handler h = new Handler(); in testMessageExecuted() local 55 h.post(r); in testMessageExecuted() 63 Handler h = new Handler(); in testMessageCallback() local 64 Message m = h.obtainMessage(3); in testMessageCallback() 71 h.post(r); in testMessageCallback() 83 Handler h = new Handler(); in testProcessNumberOfMessages() local 85 h.post(r); in testProcessNumberOfMessages() 86 h.post(r); in testProcessNumberOfMessages() 87 h.post(r); in testProcessNumberOfMessages() 96 Handler h = new Handler(); in testProcessAllMessages() local [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | convolve.cpp | 210 Word16 h[], /* (i) : impulse response */ in Convolve() argument 222 h = h + n; in Convolve() 224 s2 = ((Word32) * (x)) * *(h--); in Convolve() 225 s1 = ((Word32) * (x++)) * *(h); in Convolve() 229 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve() 230 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve() 231 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h--), s2); in Convolve() 232 s1 = amrnb_fxp_mac_16_by_16bb((Word32) * (x++), (Word32) * (h), s1); in Convolve() 235 s2 = amrnb_fxp_mac_16_by_16bb((Word32) * (x), (Word32) * (h), s2); in Convolve()
|
D | cbsearch.cpp | 185 Word16 h[], /* i : impulse response of weighted synthesis*/ in cbsearch() argument 216 h, in cbsearch() 231 h, in cbsearch() 246 h, in cbsearch() 261 h, in cbsearch() 289 h[i - T0], in cbsearch() 293 h[i] = in cbsearch() 295 h[i], in cbsearch() 306 h, in cbsearch() 345 temp = ((Word32)h[i - T0] * pit_sharpTmp) >> 15; in cbsearch() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | FillBuffer.cpp | 25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { in fillYV12Buffer() argument 27 const int blockHeight = h > 16 ? h / 16 : 1; in fillYV12Buffer() 30 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12Buffer() 32 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12Buffer() 35 for (int y = 0; y < h; y++) { in fillYV12Buffer() 40 if (x < w / 2 && y < h / 2) { in fillYV12Buffer() 42 if (x * 2 < w / 2 && y * 2 < h / 2) { in fillYV12Buffer() 54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, in fillYV12BufferRect() argument 58 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12BufferRect() 60 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect() [all …]
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument 286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 294 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 297 void *ptr = malloc(eSize * w * h); in copy2DRangeFrom() 298 copyWithPadding(ptr, data, eSize / 4, w * h); in copy2DRangeFrom() 301 … w, h, ptr, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom() 307 … w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom() 312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 314 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() [all …]
|