Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
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 …]
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 …]
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 …]
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 …]
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 …]
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()
66 LVM_INT16 *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT() argument
84 *dst++ = 0x7FFF; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
86 *dst++ = - 0x8000; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
[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_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_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()
74 LVM_INT16 *dst, in LVC_MixSoft_2St_D16C31_SAT() argument
86 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
89 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
93 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
[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()
109 LVM_INT16 *dst, in LVC_MixSoft_1St_D16C31_SAT() argument
135 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
136 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), dst, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
139 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
[all …]
DMac3s_Sat_32x16.c31 LVM_INT32 *dst, in Mac3s_Sat_32x16() argument
45 dInVal = *dst; in Mac3s_Sat_32x16()
61 *dst = dOutVal; in Mac3s_Sat_32x16()
62 dst++; in Mac3s_Sat_32x16()
70 LVM_FLOAT *dst, in Mac3s_Sat_Float() argument
84 dInVal = (LVM_FLOAT)*dst; in Mac3s_Sat_Float()
89 *dst = 1.000000f; in Mac3s_Sat_Float()
93 *dst = -1.000000f; in Mac3s_Sat_Float()
97 *dst = Temp; in Mac3s_Sat_Float()
99 dst++; in Mac3s_Sat_Float()
DShift_Sat_v16xv16.c30 LVM_INT16 *dst, in Shift_Sat_v16xv16() argument
47 *dst = 0x7FFF; in Shift_Sat_v16xv16()
51 *dst = - 0x8000; in Shift_Sat_v16xv16()
55 *dst = (LVM_INT16)temp; in Shift_Sat_v16xv16()
57 dst++; in Shift_Sat_v16xv16()
66 *dst = (LVM_INT16)(*src >> RShift); in Shift_Sat_v16xv16()
67 dst++; in Shift_Sat_v16xv16()
73 if(src!=dst) in Shift_Sat_v16xv16()
75 Copy_16(src,dst,n); in Shift_Sat_v16xv16()
DLVC_Mixer_Private.h63 LVM_FLOAT *dst,
68 LVM_INT16 *dst,
74 LVM_FLOAT *dst,
79 LVM_INT16 *dst,
87 LVM_FLOAT *dst,
94 LVM_INT16 *dst,
108 LVM_FLOAT *dst,
114 LVM_INT16 *dst, /* dst can be equal to src */
128 LVM_FLOAT *dst,
134 LVM_INT16 *dst, /* dst can be equal to src */
[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_INT16 *dst,
67 LVM_FLOAT *dst,
72 LVM_INT16 *dst,
86 LVM_INT32 *dst,
92 LVM_FLOAT *dst, /* Source/destination */
99 LVM_INT16 *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/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/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/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 …]
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp159 BitmapParams dst( in convert() local
165 && src.cropWidth() == dst.cropWidth() in convert()
166 && src.cropHeight() == dst.cropHeight())) { in convert()
175 err = convertYUV420PlanarUseLibYUV(src, dst); in convert()
177 err = convertYUV420Planar(src, dst); in convert()
186 err = convertYUV420Planar16(src, dst); in convert()
195 err = convertCbYCrY(src, dst); in convert()
199 err = convertQCOMYUV420SemiPlanar(src, dst); in convert()
203 err = convertYUV420SemiPlanar(src, dst); in convert()
207 err = convertTIYUV420PackedSemiPlanar(src, dst); in convert()
[all …]

12345678910>>...12