Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 812) sorted by relevance

12345678910>>...33

/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_Convolve.S36 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 …]
DrsCpuIntrinsics_advsimd_Blur.S88 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 …]
DrsCpuIntrinsics_advsimd_Blend.S81 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 …]
DrsCpuIntrinsics_advsimd_Resize.S51 .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 …]
DrsCpuIntrinsics_advsimd_YuvToRGB.S65 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 …]
DrsCpuIntrinsics_advsimd_3DLUT.S40 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 …]
DrsCpuIntrinsics_advsimd_ColorMatrix.S80 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/
DBaseCommands.java187 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
189 mRadioStateChangedRegistrants.addUnique(h, what, obj); in registerForRadioStateChanged()
190 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForRadioStateChanged()
195 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() argument
197 mRadioStateChangedRegistrants.remove(h); in unregisterForRadioStateChanged()
201 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument
202 mImsNetworkStateChangedRegistrants.addUnique(h, what, obj); in registerForImsNetworkStateChanged()
205 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() argument
206 mImsNetworkStateChangedRegistrants.remove(h); in unregisterForImsNetworkStateChanged()
210 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
[all …]
DCommandsInterface.java154 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument
155 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged() argument
157 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument
159 void unregisterForVoiceRadioTechChanged(Handler h); in unregisterForVoiceRadioTechChanged() argument
161 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument
162 void unregisterForImsNetworkStateChanged(Handler h); in unregisterForImsNetworkStateChanged() argument
171 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument
173 void unregisterForOn(Handler h); in unregisterForOn() argument
182 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument
184 void unregisterForAvailable(Handler h); in unregisterForAvailable() argument
[all …]
DCallManager.java1169 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument
1170 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect()
1178 public void unregisterForDisconnect(Handler h){ in unregisterForDisconnect() argument
1179 mDisconnectRegistrants.remove(h); in unregisterForDisconnect()
1192 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument
1193 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
1201 public void unregisterForPreciseCallStateChanged(Handler h){ in unregisterForPreciseCallStateChanged() argument
1202 mPreciseCallStateRegistrants.remove(h); in unregisterForPreciseCallStateChanged()
1209 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument
1210 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
[all …]
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV5E/
Dpred_lt4_1_opt.s65 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/core/java/android/util/
DHalf.java365 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/
DSimulatedCommandsVerifier.java67 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
72 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged() argument
77 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() argument
82 public void unregisterForVoiceRadioTechChanged(Handler h) { in unregisterForVoiceRadioTechChanged() argument
87 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument
92 public void unregisterForImsNetworkStateChanged(Handler h) { in unregisterForImsNetworkStateChanged() argument
97 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
102 public void unregisterForOn(Handler h) { in unregisterForOn() argument
107 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
112 public void unregisterForAvailable(Handler h) { in unregisterForAvailable() argument
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DHashCodeHelpers.java49 int h = 1; in hashCode() local
52 h = ((h << 5) - h) ^ x; // (h * 31) XOR x in hashCode()
55 return h; in hashCode()
72 int h = 1; in hashCode() local
75 h = ((h << 5) - h) ^ x; // (h * 31) XOR x in hashCode()
78 return h; in hashCode()
95 int h = 1; in hashCodeGeneric() local
98 h = ((h << 5) - h) ^ x; // (h * 31) XOR x in hashCodeGeneric()
101 return h; in hashCodeGeneric()
/frameworks/wilhelm/tools/mphtogen/
DMakefile2 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/av/media/codecs/mp3dec/src/
Dpvmp3_huffman_parsing.cpp139 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/base/core/java/com/android/internal/colorextraction/types/
DTonal.java152 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/codecs/amrnb/enc/src/
Dconvolve.cpp210 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()
Dcbsearch.cpp185 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 …]
Dc1035pf.cpp403 Word16 h[], /* (i) : impulse response of weighted synthesis filter*/ in build_code() argument
497 p0 = h - *(p_codvec++); in build_code()
498 p1 = h - *(p_codvec++); in build_code()
499 p2 = h - *(p_codvec++); in build_code()
500 p3 = h - *(p_codvec++); in build_code()
501 p4 = h - *(p_codvec++); in build_code()
502 p5 = h - *(p_codvec++); in build_code()
503 p6 = h - *(p_codvec++); in build_code()
504 p7 = h - *(p_codvec++); in build_code()
505 p8 = h - *(p_codvec++); in build_code()
[all …]
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java53 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/native/libs/gui/tests/
DFillBuffer.cpp25 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/native/cmds/flatland/
DComposers.cpp47 int32_t x, int32_t y, uint32_t w, uint32_t h) { in blit() argument
49 return modBlit(texName, texMatrix, modColor, x, y, w, h); in blit()
53 int32_t x, int32_t y, uint32_t w, uint32_t h) { in modBlit() argument
67 float(x), float(y+h), in modBlit()
68 float(x+w), float(y+h), in modBlit()
156 int32_t h = mLayerDesc.height; in opaque() local
158 return mBlitter.blit(texName, texMatrix, x, y, w, h); in opaque()
180 int32_t h = mLayerDesc.height; in opaqueShrink() local
185 y += h / 128; in opaqueShrink()
187 h -= h / 64; in opaqueShrink()
[all …]
/frameworks/rs/cpp/
DAllocation.cpp282 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 …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java80 UdpLoopbackReader(Handler h) { in UdpLoopbackReader() argument
81 super(h); in UdpLoopbackReader()
164 final Handler h = mHandlerThread.getThreadHandler(); in testBasicWorking() local
165 mReceiver = new UdpLoopbackReader(h); in testBasicWorking()
167 h.post(() -> mReceiver.start()); in testBasicWorking()
189 h.post(() -> mReceiver.stop()); in testBasicWorking()
198 NullPacketReader(Handler h, int recvbufsize) { in NullPacketReader() argument
199 super(h, recvbufsize); in NullPacketReader()
210 final Handler h = mHandlerThread.getThreadHandler(); in testMinimalRecvBufSize() local
213 final PacketReader b = new NullPacketReader(h, i); in testMinimalRecvBufSize()
[all …]

12345678910>>...33