/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Copy_16.cpp | 29 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() 58 LVM_FLOAT *dst, in Copy_Float() argument 63 if (src > dst) in Copy_Float() 67 *dst = *src; in Copy_Float() [all …]
|
D | LVC_Core_MixInSoft_D16C31_SAT.cpp | 30 LVM_FLOAT *dst, in LVC_Core_MixInSoft_D16C31_SAT() argument 54 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT() 56 *dst++ = 1.0f; in LVC_Core_MixInSoft_D16C31_SAT() 58 *dst++ = -1.0f; in LVC_Core_MixInSoft_D16C31_SAT() 60 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixInSoft_D16C31_SAT() 71 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT() 73 *dst++ = 1.0f; in LVC_Core_MixInSoft_D16C31_SAT() 75 *dst++ = -1.0f; in LVC_Core_MixInSoft_D16C31_SAT() 77 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixInSoft_D16C31_SAT() 88 Temp = ((LVM_FLOAT)*dst) + (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixInSoft_D16C31_SAT() [all …]
|
D | MSTo2i_Sat_16x16.cpp | 30 LVM_INT16 *dst, in MSTo2i_Sat_16x16() argument 48 *dst = 0x7FFF; in MSTo2i_Sat_16x16() 52 *dst = - 0x8000; in MSTo2i_Sat_16x16() 56 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16() 58 dst++; in MSTo2i_Sat_16x16() 64 *dst = 0x7FFF; in MSTo2i_Sat_16x16() 68 *dst = - 0x8000; in MSTo2i_Sat_16x16() 72 *dst = (LVM_INT16)temp; in MSTo2i_Sat_16x16() 74 dst++; in MSTo2i_Sat_16x16() 81 LVM_FLOAT *dst, in MSTo2i_Sat_Float() argument [all …]
|
D | MonoTo2I_32.cpp | 29 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() 49 LVM_FLOAT *dst, in MonoTo2I_Float() argument 54 dst += ((n * 2) - 1); in MonoTo2I_Float() 58 *dst = *src; in MonoTo2I_Float() 59 dst--; in MonoTo2I_Float() [all …]
|
D | JoinTo2i_32x32.cpp | 30 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() 54 LVM_FLOAT *dst, in JoinTo2i_Float() argument 61 dst += ((2 * n) - 1); in JoinTo2i_Float() 65 *dst = *srcR; in JoinTo2i_Float() 66 dst--; in JoinTo2i_Float() [all …]
|
D | DelayMix_16x16.cpp | 31 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() 51 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16() 52 *dst = temp; in DelayMix_16x16() 53 dst++; in DelayMix_16x16() 74 LVM_FLOAT *dst, /* Source/destination */ in DelayMix_Float() argument 85 temp = (LVM_FLOAT)((LVM_FLOAT)(*dst + (LVM_FLOAT)delay[Offset]) / 2.0f); in DelayMix_Float() 86 *dst = temp; in DelayMix_Float() [all …]
|
D | Add2_Sat_32x32.cpp | 29 LVM_INT32 *dst, in Add2_Sat_32x32() argument 39 b=*dst; in Add2_Sat_32x32() 53 *dst = c; in Add2_Sat_32x32() 54 dst++; in Add2_Sat_32x32() 60 LVM_FLOAT *dst, in Add2_Sat_Float() argument 67 Temp = ((LVM_FLOAT) *src) + ((LVM_FLOAT) *dst); in Add2_Sat_Float() 72 *dst = 1.000000f; in Add2_Sat_Float() 76 *dst = -1.000000f; in Add2_Sat_Float() 80 *dst = Temp; in Add2_Sat_Float() 82 dst++; in Add2_Sat_Float()
|
D | LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp | 32 LVM_FLOAT *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT() argument 43 *dst++ = 1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT() 45 *dst++ = -1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT() 47 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT() 51 *dst++ = 1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT() 53 *dst++ = -1.0f; in LVC_Core_MixHard_1St_2i_D16C31_SAT() 55 *dst++ = (LVM_FLOAT)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT() 62 LVM_FLOAT *dst, in LVC_Core_MixHard_1St_MC_float_SAT() argument 75 *dst++ = 1.0f; in LVC_Core_MixHard_1St_MC_float_SAT() 77 *dst++ = -1.0f; in LVC_Core_MixHard_1St_MC_float_SAT() [all …]
|
D | LVC_Core_MixSoft_1St_D16C31_WRA.cpp | 31 LVM_FLOAT *dst, in LVC_Core_MixSoft_1St_D16C31_WRA() argument 60 *(dst++) = (((LVM_FLOAT)*(src++) * (LVM_FLOAT)Current)); in LVC_Core_MixSoft_1St_D16C31_WRA() 77 *(dst++) = (((LVM_FLOAT)*(src++) * 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() 90 *(dst++) = (((LVM_FLOAT)*(src++) * Current)); in LVC_Core_MixSoft_1St_D16C31_WRA() 99 *(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() [all …]
|
D | Mac3s_Sat_32x16.cpp | 31 LVM_INT32 *dst, in Mac3s_Sat_32x16() argument 44 dInVal = *dst; in Mac3s_Sat_32x16() 59 *dst = dOutVal; in Mac3s_Sat_32x16() 60 dst++; in Mac3s_Sat_32x16() 67 LVM_FLOAT *dst, in Mac3s_Sat_Float() argument 81 dInVal = (LVM_FLOAT)*dst; in Mac3s_Sat_Float() 86 *dst = 1.000000f; in Mac3s_Sat_Float() 90 *dst = -1.000000f; in Mac3s_Sat_Float() 94 *dst = Temp; in Mac3s_Sat_Float() 96 dst++; in Mac3s_Sat_Float()
|
D | Core_MixSoft_1St_D32C31_WRA.cpp | 30 LVM_FLOAT *dst, in Core_MixSoft_1St_D32C31_WRA() argument 61 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA() 62 dst++; in Core_MixSoft_1St_D32C31_WRA() 75 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA() 76 dst++; in Core_MixSoft_1St_D32C31_WRA() 82 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA() 83 dst++; in Core_MixSoft_1St_D32C31_WRA() 89 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA() 90 dst++; in Core_MixSoft_1St_D32C31_WRA() 95 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA() [all …]
|
D | From2iToMono_32.cpp | 29 LVM_INT32 *dst, in From2iToMono_32() argument 43 *dst = Temp; in From2iToMono_32() 44 dst++; in From2iToMono_32() 50 LVM_FLOAT *dst, in From2iToMono_Float() argument 64 *dst = Temp / 2.0f; in From2iToMono_Float() 65 dst++; in From2iToMono_Float() 89 LVM_FLOAT *dst, in FromMcToMono_Float() argument 104 *dst = Temp / NrChannels; in FromMcToMono_Float() 105 dst++; in FromMcToMono_Float()
|
D | LVC_MixSoft_2St_D16C31_SAT.cpp | 31 LVM_FLOAT *dst, in LVC_MixSoft_2St_D16C31_SAT() argument 46 src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 50 src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 56 src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 58 src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 66 src1, src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT() 92 LVM_FLOAT *dst, in LVC_MixSoft_2Mc_D16C31_SAT() argument 108 src2, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() 112 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() 118 src1, dst, NrFrames, NrChannels); in LVC_MixSoft_2Mc_D16C31_SAT() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 42 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/native/services/sensorservice/hidl/ |
D | utils.cpp | 32 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/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 28 LVM_FLOAT *dst, 32 LVM_FLOAT *dst, 36 LVM_FLOAT *dst, 41 LVM_FLOAT *dst, 56 LVM_FLOAT *dst, 69 LVM_INT32 *dst, 74 LVM_FLOAT *dst, /* Source/destination */ 83 LVM_FLOAT *dst, 87 LVM_FLOAT *dst, 94 LVM_INT32 *dst, /* Source/destination */ [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | atomic.rscript | 4 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/layoutlib/bridge/src/android/graphics/ |
D | BlendComposite.java | 200 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/ |
D | me_utils.cpp | 220 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/ |
D | ColorConverter.cpp | 203 BitmapParams dst( in convert() local 209 && src.cropWidth() == dst.cropWidth() in convert() 210 && src.cropHeight() == dst.cropHeight())) { in convert() 219 err = convertYUV420PlanarUseLibYUV(src, dst); in convert() 221 err = convertYUV420Planar(src, dst); in convert() 230 err = convertYUV420Planar16(src, dst); in convert() 239 err = convertCbYCrY(src, dst); in convert() 243 err = convertQCOMYUV420SemiPlanar(src, dst); in convert() 248 err = convertYUV420SemiPlanarUseLibYUV(src, dst); in convert() 250 err = convertYUV420SemiPlanar(src, dst); in convert() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | atomic.rscript | 20 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/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | atomic.rscript | 22 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/av/services/audiopolicy/engine/common/src/ |
D | VolumeCurve.cpp | 80 void VolumeCurve::dump(String8 *dst, int spaces, bool curvePoints) const in dump() argument 85 dst->append(" {"); in dump() 87 dst->appendFormat("%*s(%3d, %5d)", spaces, "", mCurvePoints[i].mIndex, in dump() 89 dst->appendFormat(i == (mCurvePoints.size() - 1) ? " }\n" : ", "); in dump() 93 void VolumeCurves::dump(String8 *dst, int spaces, bool curvePoints) const in dump() argument 98 dst->appendFormat("%*s Can be muted Index Min Index Max Index Cur [device : index]...\n", in dump() 100 dst->appendFormat("%*s %s %02d %02d ", spaces + 1, "", in dump() 103 dst->appendFormat("%04x : %02d, ", pair.first, pair.second); in dump() 105 dst->appendFormat("\n"); in dump() 112 dst->appendFormat("%*sVolume Curves Streams/Attributes, Curve points Streams for device" in dump() [all …]
|
/frameworks/rs/ |
D | rsScriptC_Lib.cpp | 114 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { in SetObjectRef() argument 120 if (dst) { in SetObjectRef() 121 CHECK_OBJ(dst); in SetObjectRef() 122 dst->decSysRef(); in SetObjectRef() 127 void rsrClearObject(const Context *rsc, void *dst) { in rsrClearObject() argument 128 ObjectBase **odst = (ObjectBase **)dst; in rsrClearObject() 139 void rsrClearObject(rs_object_base *dst) { in rsrClearObject() argument 141 ALOGE("rsrClearObject %p,%p", dst, dst->p); in rsrClearObject() 143 if (dst->p) { in rsrClearObject() 144 CHECK_OBJ(dst->p); in rsrClearObject() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.cpp | 79 extern "C" void rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, in rsdIntrinsicConvolve3x3_K() argument 133 _mm_storel_epi64((__m128i *)dst, o0); in rsdIntrinsicConvolve3x3_K() 138 dst = (char *)dst + 8; in rsdIntrinsicConvolve3x3_K() 142 void rsdIntrinsicColorMatrix4x4_K(void *dst, const void *src, in rsdIntrinsicColorMatrix4x4_K() argument 190 _mm_storeu_si128((__m128i *)dst, o4); in rsdIntrinsicColorMatrix4x4_K() 193 dst = (char *)dst + 16; in rsdIntrinsicColorMatrix4x4_K() 197 void rsdIntrinsicColorMatrix3x3_K(void *dst, const void *src, in rsdIntrinsicColorMatrix3x3_K() argument 244 _mm_storeu_si128((__m128i *)dst, o4); in rsdIntrinsicColorMatrix3x3_K() 247 dst = (char *)dst + 16; in rsdIntrinsicColorMatrix3x3_K() 251 void rsdIntrinsicColorMatrixDot_K(void *dst, const void *src, in rsdIntrinsicColorMatrixDot_K() argument [all …]
|