Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests+Merge.m54 Message3 *dst = [[Message3 alloc] init];
58 dst.optionalInt32 = 1;
59 dst.optionalInt64 = 1;
60 dst.optionalUint32 = 1;
61 dst.optionalUint64 = 1;
62 dst.optionalSint32 = 1;
63 dst.optionalSint64 = 1;
64 dst.optionalFixed32 = 1;
65 dst.optionalFixed64 = 1;
66 dst.optionalSfixed32 = 1;
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DCopy_16.c29 LVM_INT16 *dst, in Copy_16() argument
34 if (src > dst) in Copy_16()
38 *dst = *src; in Copy_16()
39 dst++; in Copy_16()
46 dst += n - 1; in Copy_16()
49 *dst = *src; in Copy_16()
50 dst--; in Copy_16()
59 LVM_FLOAT *dst, in Copy_Float() argument
64 if (src > dst) in Copy_Float()
68 *dst = *src; in Copy_Float()
[all …]
DLVC_Core_MixInSoft_D16C31_SAT.c31 LVM_FLOAT *dst, in LVC_Core_MixInSoft_D16C31_SAT() argument
55 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
57 *dst++ = 1.0f; in LVC_Core_MixInSoft_D16C31_SAT()
59 *dst++ = -1.0f; in LVC_Core_MixInSoft_D16C31_SAT()
61 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
72 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
74 *dst++ = 1.0f; in LVC_Core_MixInSoft_D16C31_SAT()
76 *dst++ = -1.0f; in LVC_Core_MixInSoft_D16C31_SAT()
78 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
89 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT()
[all …]
DMSTo2i_Sat_16x16.c30 LVM_INT16 *dst, in MSTo2i_Sat_16x16() argument
49 *dst = 0x7FFF; in MSTo2i_Sat_16x16()
53 *dst = - 0x8000; in MSTo2i_Sat_16x16()
57 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16()
59 dst++; in MSTo2i_Sat_16x16()
65 *dst = 0x7FFF; in MSTo2i_Sat_16x16()
69 *dst = - 0x8000; in MSTo2i_Sat_16x16()
73 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16()
75 dst++; in MSTo2i_Sat_16x16()
83 LVM_FLOAT *dst, in MSTo2i_Sat_Float() argument
[all …]
DMonoTo2I_32.c29 LVM_INT32 *dst, in MonoTo2I_32() argument
34 dst += ((n*2)-1); in MonoTo2I_32()
38 *dst = *src; in MonoTo2I_32()
39 dst--; in MonoTo2I_32()
41 *dst = *src; in MonoTo2I_32()
42 dst--; in MonoTo2I_32()
50 LVM_FLOAT *dst, in MonoTo2I_Float() argument
55 dst += ((n * 2) - 1); in MonoTo2I_Float()
59 *dst = *src; in MonoTo2I_Float()
60 dst--; in MonoTo2I_Float()
[all …]
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c34 LVM_FLOAT *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT() argument
45 *dst++ = 1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
47 *dst++ = -1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
49 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
53 *dst++ = 1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
55 *dst++ = -1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
57 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
65 LVM_FLOAT *dst, in LVC_Core_MixHard_1St_MC_float_SAT() argument
78 *dst++ = 1.0f; in LVC_Core_MixHard_1St_MC_float_SAT()
80 *dst++ = -1.0f; in LVC_Core_MixHard_1St_MC_float_SAT()
[all …]
DCore_MixSoft_1St_D32C31_WRA.c31 LVM_FLOAT *dst, in Core_MixSoft_1St_D32C31_WRA() argument
62 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
63 dst++; in Core_MixSoft_1St_D32C31_WRA()
76 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
77 dst++; in Core_MixSoft_1St_D32C31_WRA()
83 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
84 dst++; in Core_MixSoft_1St_D32C31_WRA()
90 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
91 dst++; in Core_MixSoft_1St_D32C31_WRA()
96 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
[all …]
DJoinTo2i_32x32.c30 LVM_INT32 *dst, in JoinTo2i_32x32() argument
37 dst += ((2*n)-1); in JoinTo2i_32x32()
41 *dst = *srcR; in JoinTo2i_32x32()
42 dst--; in JoinTo2i_32x32()
45 *dst = *srcL; in JoinTo2i_32x32()
46 dst--; in JoinTo2i_32x32()
55 LVM_FLOAT *dst, in JoinTo2i_Float() argument
62 dst += ((2 * n) - 1); in JoinTo2i_Float()
66 *dst = *srcR; in JoinTo2i_Float()
67 dst--; in JoinTo2i_Float()
[all …]
DDelayMix_16x16.c31 LVM_INT16 *dst, /* Source/destination */ in DelayMix_16x16() argument
42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
43 *dst = temp; in DelayMix_16x16()
44 dst++; in DelayMix_16x16()
52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
53 *dst = temp; in DelayMix_16x16()
54 dst++; in DelayMix_16x16()
76 LVM_FLOAT *dst, /* Source/destination */ in DelayMix_Float() argument
87 temp = (LVM_FLOAT)((LVM_FLOAT)(*dst + (LVM_FLOAT)delay[Offset]) / 2.0f); in DelayMix_Float()
88 *dst = temp; in DelayMix_Float()
[all …]
DShift_Sat_v32xv32.c30 LVM_FLOAT *dst, in Shift_Sat_Float() argument
53 *dst = (LVM_FLOAT)temp; in Shift_Sat_Float()
54 dst++; in Shift_Sat_Float()
69 *dst = (LVM_FLOAT)temp; in Shift_Sat_Float()
70 dst++; in Shift_Sat_Float()
75 if(src != dst) in Shift_Sat_Float()
77 Copy_Float(src, dst, n); in Shift_Sat_Float()
85 LVM_INT32 *dst, in Shift_Sat_v32xv32() argument
114 *dst = b; in Shift_Sat_v32xv32()
115 dst++; in Shift_Sat_v32xv32()
[all …]
DLVC_MixSoft_2St_D16C31_SAT.c32 LVM_FLOAT *dst, in LVC_MixSoft_2St_D16C31_SAT() argument
47 src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
51 src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
57 src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
59 src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
67 src1, src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
93 LVM_FLOAT *dst, in LVC_MixSoft_2Mc_D16C31_SAT() argument
109 src2, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
113 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
119 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT()
[all …]
DLVC_Core_MixSoft_1St_D16C31_WRA.c32 LVM_FLOAT *dst, in LVC_Core_MixSoft_1St_D16C31_WRA() argument
61 *(dst++) = (((LVM_FLOAT)*(src++) * (LVM_FLOAT)Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
78 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
79 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
80 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
81 *(dst++) = (((LVM_FLOAT)*(src++) * Current) ); in LVC_Core_MixSoft_1St_D16C31_WRA()
91 *(dst++) = (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
100 *(dst++) = (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
101 *(dst++) = (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
102 *(dst++) = (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA()
[all …]
DMixSoft_2St_D32C31_SAT.c33 LVM_FLOAT *dst, in MixSoft_2St_D32C31_SAT() argument
44 MixSoft_1St_D32C31_WRA((Mix_1St_Cll_FLOAT_t*)pInstance, src1, dst, n); in MixSoft_2St_D32C31_SAT()
47 src2, dst, n); in MixSoft_2St_D32C31_SAT()
59 src2, dst, n); in MixSoft_2St_D32C31_SAT()
61 MixSoft_1St_D32C31_WRA((Mix_1St_Cll_FLOAT_t*) pInstance, src1, dst, n); in MixSoft_2St_D32C31_SAT()
63 Core_MixHard_2St_D32C31_SAT(pInstance, src1, src2, dst, n); in MixSoft_2St_D32C31_SAT()
70 LVM_INT32 *dst, in MixSoft_2St_D32C31_SAT() argument
81 MixSoft_1St_D32C31_WRA( (Mix_1St_Cll_t*) pInstance, src1, dst, n); in MixSoft_2St_D32C31_SAT()
83 src2, dst, n); in MixSoft_2St_D32C31_SAT()
94 src2, dst, n); in MixSoft_2St_D32C31_SAT()
[all …]
DLVC_Mixer_Private.h63 LVM_FLOAT *dst,
68 LVM_FLOAT *dst,
75 LVM_INT16 *dst,
81 LVM_FLOAT *dst,
86 LVM_FLOAT *dst,
93 LVM_INT16 *dst,
101 LVM_FLOAT *dst,
108 LVM_INT16 *dst,
122 LVM_FLOAT *dst,
129 LVM_FLOAT *dst,
[all …]
DAdd2_Sat_32x32.c30 LVM_INT32 *dst, in Add2_Sat_32x32() argument
40 b=*dst; in Add2_Sat_32x32()
54 *dst = c; in Add2_Sat_32x32()
55 dst++; in Add2_Sat_32x32()
62 LVM_FLOAT *dst, in Add2_Sat_Float() argument
69 Temp = ((LVM_FLOAT) *src) + ((LVM_FLOAT) *dst); in Add2_Sat_Float()
74 *dst = 1.000000f; in Add2_Sat_Float()
78 *dst = -1.000000f; in Add2_Sat_Float()
82 *dst = Temp; in Add2_Sat_Float()
84 dst++; in Add2_Sat_Float()
DLVC_MixSoft_1St_D16C31_SAT.c39 LVM_FLOAT *dst, in LVC_MixSoft_1St_D16C31_SAT() argument
66 LVC_Core_MixSoft_1St_D16C31_WRA(&(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
76 LoadConst_Float(0.0, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
79 Mult3s_Float(src, (pInstance->Target), dst, n); in LVC_MixSoft_1St_D16C31_SAT()
80 else if(src != dst) in LVC_MixSoft_1St_D16C31_SAT()
81 Copy_Float(src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
126 LVM_FLOAT *dst, in LVC_MixSoft_Mc_D16C31_SAT() argument
156 dst, in LVC_MixSoft_Mc_D16C31_SAT()
168 LoadConst_Float(0.0, dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
171 Mult3s_Float(src, (pInstance->Target), dst, NrFrames * NrChannels); in LVC_MixSoft_Mc_D16C31_SAT()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h34 LVM_FLOAT *dst,
38 LVM_INT16 *dst,
42 LVM_INT32 *dst,
48 LVM_FLOAT *dst,
52 LVM_FLOAT *dst,
56 LVM_FLOAT *dst,
62 LVM_INT16 *dst,
77 LVM_FLOAT *dst,
82 LVM_INT16 *dst,
96 LVM_INT32 *dst,
[all …]
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp32 SensorInfo dst; in convertSensor() local
35 dst.name = hidl_string{name.string(), name.size()}; in convertSensor()
36 dst.vendor = hidl_string{vendor.string(), vendor.size()}; in convertSensor()
37 dst.version = src.getVersion(); in convertSensor()
38 dst.sensorHandle = src.getHandle(); in convertSensor()
39 dst.type = static_cast<::android::hardware::sensors::V1_0::SensorType>( in convertSensor()
43 dst.maxRange = src.getMaxValue(); in convertSensor()
44 dst.resolution = src.getResolution(); in convertSensor()
45 dst.power = src.getPowerUsage(); in convertSensor()
46 dst.minDelay = src.getMinDelay(); in convertSensor()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp42 void ClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() argument
44 dst->appendFormat("%*sClient %d:\n", spaces, "", index+1); in dump()
45 dst->appendFormat("%*s- Port Id: %d Session Id: %d UID: %d\n", spaces, "", in dump()
47 dst->appendFormat("%*s- Format: %08x Sampling rate: %d Channels: %08x\n", spaces, "", in dump()
49 dst->appendFormat("%*s- Attributes: %s\n", spaces, "", toString(mAttributes).c_str()); in dump()
50 dst->appendFormat("%*s- Preferred Device Id: %08x\n", spaces, "", mPreferredDeviceId); in dump()
51 dst->appendFormat("%*s- State: %s\n", spaces, "", mActive ? "Active" : "Inactive"); in dump()
54 void TrackClientDescriptor::dump(String8 *dst, int spaces, int index) const in dump() argument
56 ClientDescriptor::dump(dst, spaces, index); in dump()
57 dst->appendFormat("%*s- Stream: %d flags: %08x\n", spaces, "", mStream, mFlags); in dump()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Datomic.rs20 static bool testUMax(uint32_t dst, uint32_t src) {
22 uint32_t old = dst;
23 uint32_t expect = (dst > src ? dst : src);
24 uint32_t ret = rsAtomicMax(&dst, src);
26 _RS_ASSERT(dst == expect);
30 static bool testUMin(uint32_t dst, uint32_t src) {
32 uint32_t old = dst;
33 uint32_t expect = (dst < src ? dst : src);
34 uint32_t ret = rsAtomicMin(&dst, src);
36 _RS_ASSERT(dst == expect);
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Datomic.rs4 static bool testUMax(uint32_t dst, uint32_t src) {
6 uint32_t old = dst;
7 uint32_t expect = (dst > src ? dst : src);
8 uint32_t ret = rsAtomicMax(&dst, src);
10 _RS_ASSERT(dst == expect);
14 static bool testUMin(uint32_t dst, uint32_t src) {
16 uint32_t old = dst;
17 uint32_t expect = (dst < src ? dst : src);
18 uint32_t ret = rsAtomicMin(&dst, src);
20 _RS_ASSERT(dst == expect);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Datomic.rs22 static bool testUMax(uint32_t dst, uint32_t src) {
24 uint32_t old = dst;
25 uint32_t expect = (dst > src ? dst : src);
26 uint32_t ret = rsAtomicMax(&dst, src);
28 _RS_ASSERT(dst == expect);
32 static bool testUMin(uint32_t dst, uint32_t src) {
34 uint32_t old = dst;
35 uint32_t expect = (dst < src ? dst : src);
36 uint32_t ret = rsAtomicMin(&dst, src);
38 _RS_ASSERT(dst == expect);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dfastmem.h124 inline void memcpy_inlined(char *dst, const char *src, size_t size) { in memcpy_inlined() argument
128 case 1: memcpy(dst, src, 1); break; in memcpy_inlined()
129 case 2: memcpy(dst, src, 2); break; in memcpy_inlined()
130 case 3: memcpy(dst, src, 3); break; in memcpy_inlined()
131 case 4: memcpy(dst, src, 4); break; in memcpy_inlined()
132 case 5: memcpy(dst, src, 5); break; in memcpy_inlined()
133 case 6: memcpy(dst, src, 6); break; in memcpy_inlined()
134 case 7: memcpy(dst, src, 7); break; in memcpy_inlined()
135 case 8: memcpy(dst, src, 8); break; in memcpy_inlined()
136 case 9: memcpy(dst, src, 9); break; in memcpy_inlined()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DBlendComposite.java200 public abstract int[] blend(int[] src, int[] dst, int[] result); in blend() argument
207 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
209 result[i] = Math.min(255, src[i] + dst[i]); in getBlenderFor()
217 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
219 result[i] = Math.min(src[i], dst[i]); in getBlenderFor()
221 result[3] = Math.min(255, src[3] + dst[3]); in getBlenderFor()
228 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
230 result[i] = Math.max(src[i], dst[i]); in getBlenderFor()
232 result[3] = Math.min(255, src[3] + dst[3]); in getBlenderFor()
239 public int[] blend(int[] src, int[] dst, int[] result) { in getBlenderFor()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dme_utils.cpp220 UChar *src, *dst; in PaddingEdge() local
239 dst = src - (pitch << 4); in PaddingEdge()
241 *((ULong*)(dst - 16)) = temp1; in PaddingEdge()
242 *((ULong*)(dst - 12)) = temp1; in PaddingEdge()
243 *((ULong*)(dst - 8)) = temp1; in PaddingEdge()
244 *((ULong*)(dst - 4)) = temp1; in PaddingEdge()
246 M4VENC_MEMCPY(dst, src, width); in PaddingEdge()
248 *((ULong*)(dst += width)) = temp2; in PaddingEdge()
249 *((ULong*)(dst + 4)) = temp2; in PaddingEdge()
250 *((ULong*)(dst + 8)) = temp2; in PaddingEdge()
[all …]

12345678910>>...14