Home
last modified time | relevance | path

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

123456

/frameworks/base/media/libeffects/lvm/lib/Common/lib/
DVectorArithmetic.h33 LVM_INT16 *dst,
37 LVM_INT32 *dst,
41 LVM_INT16 *dst,
54 LVM_INT16 *dst,
67 LVM_INT32 *dst,
73 LVM_INT16 *dst,
84 LVM_INT16 *dst,
88 LVM_INT32 *dst,
93 LVM_INT16 *dst,
98 LVM_INT32 *dst,
[all …]
/frameworks/base/media/libeffects/lvm/lib/Common/src/
DLVC_Core_MixInSoft_D16C31_SAT.c31 LVM_INT16 *dst, in LVC_Core_MixInSoft_D16C31_SAT() argument
58 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… in LVC_Core_MixInSoft_D16C31_SAT()
60 *dst++ = 0x7FFF; in LVC_Core_MixInSoft_D16C31_SAT()
62 *dst++ = - 0x8000; in LVC_Core_MixInSoft_D16C31_SAT()
64 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
77 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… in LVC_Core_MixInSoft_D16C31_SAT()
79 *dst++ = 0x7FFF; in LVC_Core_MixInSoft_D16C31_SAT()
81 *dst++ = - 0x8000; in LVC_Core_MixInSoft_D16C31_SAT()
83 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixInSoft_D16C31_SAT()
96 …Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 i… 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()
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_MixSoft_1St_D16C31_SAT.c39 LVM_INT16 *dst, in LVC_MixSoft_1St_D16C31_SAT() argument
65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
66 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), dst, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
69 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
79 LoadConst_16(0, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
83 Mult3s_16x16( dst, (LVM_INT16)(pInstance->Target>>16), dst, n ); in LVC_MixSoft_1St_D16C31_SAT()
87 Mult3s_16x16( src, (LVM_INT16)(pInstance->Target>>16), dst, n ); in LVC_MixSoft_1St_D16C31_SAT()
88 else if(src!=dst) in LVC_MixSoft_1St_D16C31_SAT()
89 Copy_16(src, dst, n); in LVC_MixSoft_1St_D16C31_SAT()
DCore_MixSoft_1St_D32C31_WRA.c31 LVM_INT32 *dst, in Core_MixSoft_1St_D32C31_WRA() argument
63 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
64 dst++; in Core_MixSoft_1St_D32C31_WRA()
77 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
78 dst++; in Core_MixSoft_1St_D32C31_WRA()
84 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
85 dst++; in Core_MixSoft_1St_D32C31_WRA()
91 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
92 dst++; in Core_MixSoft_1St_D32C31_WRA()
97 *dst = Temp2; in Core_MixSoft_1St_D32C31_WRA()
[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()
DLVC_MixSoft_2St_D16C31_SAT.c32 LVM_INT16 *dst, in LVC_MixSoft_2St_D16C31_SAT() argument
44 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
47 … LVC_MixSoft_1St_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
51 LVC_MixSoft_1St_D16C31_SAT((LVMixer3_1St_st *)(&ptrInstance->MixerStream[0]), src1, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
52 LVC_MixInSoft_D16C31_SAT( (LVMixer3_1St_st *)(&ptrInstance->MixerStream[1]), src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
62 Shift_Sat_v16xv16 ((LVM_INT16)pInstance1->Shift,src1,dst,n); in LVC_MixSoft_2St_D16C31_SAT()
63 …ard_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], dst, src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
66 …rd_2St_D16C31_SAT( &ptrInstance->MixerStream[0], &ptrInstance->MixerStream[1], src1, src2, dst, n); in LVC_MixSoft_2St_D16C31_SAT()
DLVC_Core_MixSoft_1St_D16C31_WRA.c32 LVM_INT16 *dst, in LVC_Core_MixSoft_1St_D16C31_WRA() argument
58 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA()
70 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA()
71 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA()
72 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA()
73 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA()
85 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA()
96 …*(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 int… in LVC_Core_MixSoft_1St_D16C31_WRA()
97 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_WRA()
98 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); in LVC_Core_MixSoft_1St_D16C31_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()
DMonoTo2I_16.c29 LVM_INT16 *dst, in MonoTo2I_16() argument
34 dst += ((n*2)-1); in MonoTo2I_16()
38 *dst = *src; in MonoTo2I_16()
39 dst--; in MonoTo2I_16()
41 *dst = *src; in MonoTo2I_16()
42 dst--; in MonoTo2I_16()
DShift_Sat_v32xv32.c30 LVM_INT32 *dst, in Shift_Sat_v32xv32() argument
59 *dst = b; in Shift_Sat_v32xv32()
60 dst++; in Shift_Sat_v32xv32()
68 *dst = (*src >> RShift); in Shift_Sat_v32xv32()
69 dst++; in Shift_Sat_v32xv32()
75 if(src!=dst) in Shift_Sat_v32xv32()
77 Copy_16((LVM_INT16 *)src,(LVM_INT16 *)dst,(LVM_INT16)(n<<1)); in Shift_Sat_v32xv32()
DAdd2_Sat_16x16.c29 LVM_INT16 *dst, in Add2_Sat_16x16() argument
36 Temp = ((LVM_INT32) *src) + ((LVM_INT32) *dst); in Add2_Sat_16x16()
41 *dst = 0x7FFF; in Add2_Sat_16x16()
45 *dst = - 0x8000; in Add2_Sat_16x16()
49 *dst = (LVM_INT16)Temp; in Add2_Sat_16x16()
51 dst++; in Add2_Sat_16x16()
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()
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()
DLVC_Core_MixHard_1St_2i_D16C31_SAT.c34 LVM_INT16 *dst, in LVC_Core_MixHard_1St_2i_D16C31_SAT() argument
52 *dst++ = 0x7FFF; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
54 *dst++ = - 0x8000; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
56 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
60 *dst++ = 0x7FFF; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
62 *dst++ = - 0x8000; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
64 *dst++ = (LVM_INT16)Temp; in LVC_Core_MixHard_1St_2i_D16C31_SAT()
DLVC_Mixer_Private.h55 LVM_INT16 *dst,
60 LVM_INT16 *dst,
67 LVM_INT16 *dst,
80 LVM_INT16 *dst, /* dst can be equal to src */
92 LVM_INT16 *dst, /* dst can be equal to src */
101 LVM_INT32 *dst,
106 LVM_INT32 *dst,
113 LVM_INT32 *dst,
DMac3s_Sat_16x16.c40 LVM_INT16 *dst, in Mac3s_Sat_16x16() argument
55 dInVal = (LVM_INT32)*dst; in Mac3s_Sat_16x16()
61 *dst = 0x7FFF; in Mac3s_Sat_16x16()
65 *dst = - 0x8000; in Mac3s_Sat_16x16()
69 *dst = (LVM_INT16)Temp; in Mac3s_Sat_16x16()
72 dst++; in Mac3s_Sat_16x16()
/frameworks/base/core/jni/android/graphics/
DNinePatchImpl.cpp70 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, in drawStretchyPatch() argument
76 canvas->drawRect(dst, paint); in drawStretchyPatch()
86 canvas->drawRect(dst, paint); in drawStretchyPatch()
91 canvas->drawBitmapRect(bitmap, &src, dst, &paint); in drawStretchyPatch()
171 SkRect dst; in NinePatch_Draw() local
212 dst.fTop = bounds.fTop; in NinePatch_Draw()
233 dst.fLeft = bounds.fLeft; in NinePatch_Draw()
236 dst.fBottom = bounds.fBottom; in NinePatch_Draw()
241 dst.fBottom = dst.fTop + calculateStretch(bounds.fBottom, dst.fTop, in NinePatch_Draw()
247 dst.fBottom = dst.fTop + SkIntToScalar(srcYSize); in NinePatch_Draw()
[all …]
DRegion.cpp24 static void Region_setRegion(JNIEnv* env, jobject, SkRegion* dst, const SkRegion* src) { in Region_setRegion() argument
25 SkASSERT(dst && src); in Region_setRegion()
26 *dst = *src; in Region_setRegion()
29 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, i… in Region_setRect() argument
30 return dst->setRect(left, top, right, bottom); in Region_setRect()
33 static jboolean Region_setPath(JNIEnv* env, jobject, SkRegion* dst, in Region_setPath() argument
35 SkASSERT(dst && path && clip); in Region_setPath()
36 return dst->setPath(*path, *clip); in Region_setPath()
48 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int b… in Region_op0() argument
52 return dst->op(ir, (SkRegion::Op)op); in Region_op0()
[all …]
/frameworks/base/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 …]
Ddct.cpp40 Short *dst; in BlockDCT_AANwSub() local
50 dst = out + 64 ; in BlockDCT_AANwSub()
51 ColTh = *dst; in BlockDCT_AANwSub()
108 dst[0] = k0; in BlockDCT_AANwSub()
109 dst[4] = k1; /* col. 4 */ in BlockDCT_AANwSub()
127 dst[2] = k2; /* col. 2 */ in BlockDCT_AANwSub()
129 dst[6] = k3; /* col. 6 */ in BlockDCT_AANwSub()
151 dst[5] = k4; /* col. 5 */ in BlockDCT_AANwSub()
153 dst[1] = k5; /* col. 1 */ in BlockDCT_AANwSub()
154 dst[7] = k6; /* col. 7 */ in BlockDCT_AANwSub()
[all …]
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Dfindhalfpel.cpp150 uint8 *dst; in GenerateHalfPelPred() local
161 dst = subpel_pred; in GenerateHalfPelPred()
163 dst -= 4; /* offset */ in GenerateHalfPelPred()
176 *((uint32*)(dst += 4)) = tmp32; in GenerateHalfPelPred()
220 dst = subpel_pred + V0Q_H2Q * SUBPEL_PRED_BLK_SIZE; /* go to the 14th array 17x18*/ in GenerateHalfPelPred()
236 *dst++ = tmp32; in GenerateHalfPelPred()
243 *dst++ = tmp32; in GenerateHalfPelPred()
250 *dst++ = tmp32; in GenerateHalfPelPred()
257 *dst++ = tmp32; in GenerateHalfPelPred()
267 *dst = tmp32; in GenerateHalfPelPred()
[all …]
/frameworks/base/graphics/java/android/graphics/
DMatrix.java347 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() argument
348 if (dst == null || src == null) { in setRectToRect()
351 return native_setRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect()
356 float[] dst, int dstIndex, in checkPointArrays() argument
362 srcStop > src.length || dstStop > dst.length) { in checkPointArrays()
380 float[] dst, int dstIndex, in setPolyToPoly() argument
385 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount); in setPolyToPoly()
387 dst, dstIndex, pointCount); in setPolyToPoly()
410 public void mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, in mapPoints() argument
412 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount); in mapPoints()
[all …]
/frameworks/base/opengl/java/android/opengl/
DMatrix.java154 float[] dst = new float[16]; in invertM() local
157 dst[0] = tmp[0] * src[5] + tmp[3] * src[6] + tmp[4] * src[7]; in invertM()
158 dst[0] -= tmp[1] * src[5] + tmp[2] * src[6] + tmp[5] * src[7]; in invertM()
159 dst[1] = tmp[1] * src[4] + tmp[6] * src[6] + tmp[9] * src[7]; in invertM()
160 dst[1] -= tmp[0] * src[4] + tmp[7] * src[6] + tmp[8] * src[7]; in invertM()
161 dst[2] = tmp[2] * src[4] + tmp[7] * src[5] + tmp[10] * src[7]; in invertM()
162 dst[2] -= tmp[3] * src[4] + tmp[6] * src[5] + tmp[11] * src[7]; in invertM()
163 dst[3] = tmp[5] * src[4] + tmp[8] * src[5] + tmp[11] * src[6]; in invertM()
164 dst[3] -= tmp[4] * src[4] + tmp[9] * src[5] + tmp[10] * src[6]; in invertM()
165 dst[4] = tmp[1] * src[1] + tmp[2] * src[2] + tmp[5] * src[3]; in invertM()
[all …]

123456