/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | atomic.rs | 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/av/media/libeffects/lvm/lib/Common/lib/ |
D | VectorArithmetic.h | 33 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/av/media/libeffects/lvm/lib/Common/src/ |
D | LVC_Core_MixInSoft_D16C31_SAT.c | 31 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 …]
|
D | MSTo2i_Sat_16x16.c | 30 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()
|
D | Shift_Sat_v16xv16.c | 30 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()
|
D | LVC_MixSoft_1St_D16C31_SAT.c | 39 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()
|
D | Core_MixSoft_1St_D32C31_WRA.c | 31 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 …]
|
D | Copy_16.c | 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()
|
D | LVC_Core_MixSoft_1St_D16C31_WRA.c | 32 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 …]
|
D | LVC_MixSoft_2St_D16C31_SAT.c | 32 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()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchImpl.cpp | 70 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 …]
|
D | Region.cpp | 47 static void Region_setRegion(JNIEnv* env, jobject, SkRegion* dst, const SkRegion* src) { in Region_setRegion() argument 48 SkASSERT(dst && src); in Region_setRegion() 49 *dst = *src; in Region_setRegion() 52 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, i… in Region_setRect() argument 53 return dst->setRect(left, top, right, bottom); in Region_setRect() 56 static jboolean Region_setPath(JNIEnv* env, jobject, SkRegion* dst, in Region_setPath() argument 58 SkASSERT(dst && path && clip); in Region_setPath() 59 return dst->setPath(*path, *clip); in Region_setPath() 71 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int b… in Region_op0() argument 75 return dst->op(ir, (SkRegion::Op)op); in Region_op0() [all …]
|
D | Bitmap.cpp | 29 typedef void (*FromColorProc)(void* dst, const SkColor src[], int width, 32 static void FromColor_D32(void* dst, const SkColor src[], int width, in FromColor_D32() argument 34 SkPMColor* d = (SkPMColor*)dst; in FromColor_D32() 41 static void FromColor_D565(void* dst, const SkColor src[], int width, in FromColor_D565() argument 43 uint16_t* d = (uint16_t*)dst; in FromColor_D565() 53 static void FromColor_D4444(void* dst, const SkColor src[], int width, in FromColor_D4444() argument 55 SkPMColor16* d = (SkPMColor16*)dst; in FromColor_D4444() 85 void* dst = dstBitmap.getPixels(); in SetPixels() local 88 if (NULL == dst || NULL == proc) { in SetPixels() 96 dst = dstBitmap.getAddr(x, y); in SetPixels() [all …]
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 97 BitmapParams dst( in convert() local 106 err = convertYUV420Planar(src, dst); in convert() 110 err = convertCbYCrY(src, dst); in convert() 114 err = convertQCOMYUV420SemiPlanar(src, dst); in convert() 118 err = convertYUV420SemiPlanar(src, dst); in convert() 122 err = convertTIYUV420PackedSemiPlanar(src, dst); in convert() 136 const BitmapParams &src, const BitmapParams &dst) { in convertCbYCrY() argument 142 && src.cropWidth() == dst.cropWidth() in convertCbYCrY() 143 && src.cropHeight() == dst.cropHeight())) { in convertCbYCrY() 147 uint16_t *dst_ptr = (uint16_t *)dst.mBits in convertCbYCrY() [all …]
|
/frameworks/compile/libbcc/runtime/lib/ppc/ |
D | gcc_qadd.c | 16 DD dst = { .ld = x }, src = { .ld = y }; in __gcc_qadd() local 18 register double A = dst.s.hi, a = dst.s.lo, in __gcc_qadd() 23 dst.s.hi = A + B; in __gcc_qadd() 24 dst.s.lo = 0.0; in __gcc_qadd() 25 return dst.ld; in __gcc_qadd() 33 dst.s.hi = A + B; in __gcc_qadd() 34 dst.s.lo = 0.0; in __gcc_qadd() 35 return dst.ld; in __gcc_qadd() 43 dst.s.hi = testForOverflow; in __gcc_qadd() 44 dst.s.lo = 0.0; in __gcc_qadd() [all …]
|
D | gcc_qsub.c | 16 DD dst = { .ld = x }, src = { .ld = y }; in __gcc_qsub() local 18 register double A = dst.s.hi, a = dst.s.lo, in __gcc_qsub() 23 dst.s.hi = A + B; in __gcc_qsub() 24 dst.s.lo = 0.0; in __gcc_qsub() 25 return dst.ld; in __gcc_qsub() 33 dst.s.hi = A + B; in __gcc_qsub() 34 dst.s.lo = 0.0; in __gcc_qsub() 35 return dst.ld; in __gcc_qsub() 43 dst.s.hi = testForOverflow; in __gcc_qsub() 44 dst.s.lo = 0.0; in __gcc_qsub() [all …]
|
D | gcc_qmul.c | 15 DD dst = { .ld = x }, src = { .ld = y }; in __gcc_qmul() local 17 register double A = dst.s.hi, a = dst.s.lo, in __gcc_qmul() 27 dst.s.hi = ab; in __gcc_qmul() 28 dst.s.lo = 0.0; in __gcc_qmul() 29 return dst.ld; in __gcc_qmul() 34 dst.s.hi = ab; in __gcc_qmul() 35 dst.s.lo = 0.0; in __gcc_qmul() 36 return dst.ld; in __gcc_qmul() 49 dst.s.lo = (ab - tau) + tmp; in __gcc_qmul() 50 dst.s.hi = tau; in __gcc_qmul() [all …]
|
D | gcc_qdiv.c | 15 DD dst = { .ld = a }, src = { .ld = b }; in __gcc_qdiv() local 17 register double x = dst.s.hi, x1 = dst.s.lo, in __gcc_qdiv() 27 dst.s.hi = q; in __gcc_qdiv() 28 dst.s.lo = 0.0; in __gcc_qdiv() 29 return dst.ld; in __gcc_qdiv() 34 dst.s.hi = q; in __gcc_qdiv() 35 dst.s.lo = 0.0; in __gcc_qdiv() 36 return dst.ld; in __gcc_qdiv() 51 dst.s.lo = (q - x) + tmp; in __gcc_qdiv() 52 dst.s.hi = x; in __gcc_qdiv() [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 …]
|
D | dct.cpp | 40 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/support/renderscript/v8/rs_support/scriptc/ |
D | rs_object.rsh | 30 * @param dst 34 rsSetObject(rs_element *dst, rs_element src); 39 rsSetObject(rs_type *dst, rs_type src); 44 rsSetObject(rs_allocation *dst, rs_allocation src); 49 rsSetObject(rs_sampler *dst, rs_sampler src); 54 rsSetObject(rs_script *dst, rs_script src); 59 rsSetObject(rs_path *dst, rs_path src); 64 rsSetObject(rs_mesh *dst, rs_mesh src); 69 rsSetObject(rs_program_fragment *dst, rs_program_fragment src); 74 rsSetObject(rs_program_vertex *dst, rs_program_vertex src); [all …]
|
/frameworks/rs/scriptc/ |
D | rs_object.rsh | 30 * @param dst 34 rsSetObject(rs_element *dst, rs_element src); 39 rsSetObject(rs_type *dst, rs_type src); 44 rsSetObject(rs_allocation *dst, rs_allocation src); 49 rsSetObject(rs_sampler *dst, rs_sampler src); 54 rsSetObject(rs_script *dst, rs_script src); 59 rsSetObject(rs_path *dst, rs_path src); 64 rsSetObject(rs_mesh *dst, rs_mesh src); 69 rsSetObject(rs_program_fragment *dst, rs_program_fragment src); 74 rsSetObject(rs_program_vertex *dst, rs_program_vertex src); [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | findhalfpel.cpp | 150 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/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 300 uint8_t *dst = csd->data(); in MakeAACCodecSpecificData2() local 301 *dst++ = 0x03; in MakeAACCodecSpecificData2() 302 *dst++ = 20 + config->size(); in MakeAACCodecSpecificData2() 303 *dst++ = 0x00; // ES_ID in MakeAACCodecSpecificData2() 304 *dst++ = 0x00; in MakeAACCodecSpecificData2() 305 *dst++ = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag in MakeAACCodecSpecificData2() 306 *dst++ = 0x04; in MakeAACCodecSpecificData2() 307 *dst++ = 15 + config->size(); in MakeAACCodecSpecificData2() 308 *dst++ = objectType; in MakeAACCodecSpecificData2() 309 for (int i = 0; i < 12; ++i) { *dst++ = 0x00; } in MakeAACCodecSpecificData2() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Matrix.java | 204 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { 210 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, 532 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() argument 533 if (dst == null || src == null) { in setRectToRect() 536 return native_setRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect() 541 float[] dst, int dstIndex, in checkPointArrays() argument 547 srcStop > src.length || dstStop > dst.length) { in checkPointArrays() 565 float[] dst, int dstIndex, in setPolyToPoly() argument 570 checkPointArrays(src, srcIndex, dst, dstIndex, pointCount); in setPolyToPoly() 572 dst, dstIndex, pointCount); in setPolyToPoly() [all …]
|