/frameworks/base/include/utils/ |
D | ByteOrder.h | 55 #define dtohl(x) (x) argument 56 #define dtohs(x) (x) argument 57 #define htodl(x) (x) argument 58 #define htods(x) (x) argument 62 #define dtohl(x) (android_swap_long(x)) argument 63 #define dtohs(x) (android_swap_short(x)) argument 64 #define htodl(x) (android_swap_long(x)) argument 65 #define htods(x) (android_swap_short(x)) argument 70 #define fromlel(x) (x) argument 71 #define fromles(x) (x) argument [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | pred_lt4_1_opt.s | 41 ADD r5, r0, r4, LSL #1 @x = exc - T0 44 SUBLT r5, r5, #2 @x-- 45 SUB r5, r5, #30 @x -= 15 56 @r0 --- exc[] r1 --- x r7 --- j r8 --- ptr2 r5 --- 0x8000 59 @MOV r1, r5 @ptr1 = x 62 LDRSH r4, [r1], #2 @x[0] 63 LDRSH r6, [r1], #2 @x[1] 64 LDRSH r9, [r1], #2 @x[2] 66 SMULBB r10, r4, r3 @x[0] * h[0] 67 SMULBB r11, r6, r3 @x[1] * h[0] [all …]
|
D | Filt_6k_7k_opt.s | 36 SUB r13, r13, #240 @ x[L_SUBFR16k + (L_FIR - 1)] 44 BL voAWB_Copy @ memcpy(x, mem, (L_FIR - 1)<<1) 50 ADD r6, r13, #60 @ get x[L_FIR - 1] address 90 LDRSH r1, [r4] @ load x[i] 91 LDRSH r2, [r4, #60] @ load x[i + 30] 92 LDRSH r6, [r4, #2] @ load x[i + 1] 93 LDRSH r7, [r4, #58] @ load x[i + 29] 94 ADD r1, r1, r2 @ x[i] + x[i + 30] 95 ADD r6, r6, r7 @ x[i + 1] + x[i + 29] 96 LDRSH r8, [r4, #4] @ load x[i + 2] [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | hp6k.c | 59 Word16 x[L_SUBFR16k + (L_FIR - 1)]; in Filt_6k_7k() local 62 Copy(mem, x, L_FIR - 1); in Filt_6k_7k() 65 x[i + L_FIR - 1] = signal[i] >> 2; /* gain of filter = 4 */ in Filt_6k_7k() 69 L_tmp = (x[i] + x[i+ 30]) * fir_6k_7k[0]; in Filt_6k_7k() 70 L_tmp += (x[i+1] + x[i + 29]) * fir_6k_7k[1]; in Filt_6k_7k() 71 L_tmp += (x[i+2] + x[i + 28]) * fir_6k_7k[2]; in Filt_6k_7k() 72 L_tmp += (x[i+3] + x[i + 27]) * fir_6k_7k[3]; in Filt_6k_7k() 73 L_tmp += (x[i+4] + x[i + 26]) * fir_6k_7k[4]; in Filt_6k_7k() 74 L_tmp += (x[i+5] + x[i + 25]) * fir_6k_7k[5]; in Filt_6k_7k() 75 L_tmp += (x[i+6] + x[i + 24]) * fir_6k_7k[6]; in Filt_6k_7k() [all …]
|
D | decim54.c | 97 Word16 *x, *y; in Down_samp() local 105 x = sig + i - NB_COEF_DOWN + 1; in Down_samp() 108 L_sum = vo_mult32((*x++),(*y++)); in Down_samp() 109 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 110 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 111 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 112 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 113 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 114 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 115 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() [all …]
|
/frameworks/compile/slang/ |
D | rslib.ll | 1 define <3 x float> @convert1_float3(<3 x i8> %u3) nounwind readnone { 2 %conv = uitofp <3 x i8> %u3 to <3 x float> 3 ret <3 x float> %conv 6 define <3 x i8> @convert1_uchar3(<3 x float> %f3) nounwind readnone { 7 %conv = fptoui <3 x float> %f3 to <3 x i8> 8 ret <3 x i8> %conv 13 define <3 x float> @_Z4powiDv3_fi(<3 x float> %f3, i32 %exp) nounwind readnone { 14 %x = extractelement <3 x float> %f3, i32 0 ; <float> [#uses=1] 15 %y = extractelement <3 x float> %f3, i32 1 ; <float> [#uses=1] 16 %z = extractelement <3 x float> %f3, i32 2 ; <float> [#uses=1] [all …]
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | esc_iquant_scaling.cpp | 383 __inline Int32 abs2(Int32 x) in abs2() argument 392 sub z, x, x, lsr #31 in abs2() 393 eor x, z, z, asr #31 in abs2() 395 return (x); in abs2() 399 #define pv_abs(x) abs2(x) argument 407 __inline Int32 abs2(Int32 x) in abs2() argument 411 register Int32 ra = x; in abs2() 422 #define pv_abs(x) abs2(x) argument 427 #define pv_abs(x) ((x) > 0)? (x) : (-x) argument 444 Int x; in esc_iquant_scaling() local [all …]
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | motion_comp.h | 57 #define CLIP_RESULT(x) if(x & -256){x = 0xFF & (~(x>>31));} argument 58 #define ADD_AND_CLIP1(x) x += (pred_word&0xFF); CLIP_RESULT(x); argument 59 #define ADD_AND_CLIP2(x) x += ((pred_word>>8)&0xFF); CLIP_RESULT(x); argument 60 #define ADD_AND_CLIP3(x) x += ((pred_word>>16)&0xFF); CLIP_RESULT(x); argument 61 #define ADD_AND_CLIP4(x) x += ((pred_word>>24)&0xFF); CLIP_RESULT(x); argument 63 #define ADD_AND_CLIP(x,y) { x9 = ~(x>>8); \ argument 70 y = x|(y<<8); \
|
D | mp4def.h | 41 #define PV_ABS(x) (((x)<0)? -(x) : (x)) argument 42 #define PV_SIGN(x) (((x)<0)? -1 : 1) argument 50 #define CLIP_THE_RANGE(x,LB,UB) if (x<LB) x = LB; else if (x>UB) x = UB argument 156 #define ZERO_OUT_64BYTES(x) { *((uint32*)x) = *(((uint32*)(x))+1) = \ argument 157 *(((uint32*)(x))+2) = *(((uint32*)(x))+3) = \ 158 *(((uint32*)(x))+4) = *(((uint32*)(x))+5) = \ 159 *(((uint32*)(x))+6) = *(((uint32*)(x))+7) = \ 160 *(((uint32*)(x))+8) = *(((uint32*)(x))+9) = \ 161 *(((uint32*)(x))+10) = *(((uint32*)(x))+11) = \ 162 *(((uint32*)(x))+12) = *(((uint32*)(x))+13) = \ [all …]
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_PredictIntraChroma_8x8.c | 51 int x, y, Sum=0, Count = 0; in armVCM4P10_PredictIntraDCUp4x4() local 55 for (x=0; x<4; x++) in armVCM4P10_PredictIntraDCUp4x4() 57 Sum += pSrcAbove[x]; in armVCM4P10_PredictIntraDCUp4x4() 79 for (x=0; x<4; x++) in armVCM4P10_PredictIntraDCUp4x4() 81 pDst[y*dstStep+x] = (OMX_U8)Sum; in armVCM4P10_PredictIntraDCUp4x4() 113 int x, y, Sum=0, Count = 0; in armVCM4P10_PredictIntraDCLeft4x4() local 125 for (x=0; x<4; x++) in armVCM4P10_PredictIntraDCLeft4x4() 127 Sum += pSrcAbove[x]; in armVCM4P10_PredictIntraDCLeft4x4() 141 for (x=0; x<4; x++) in armVCM4P10_PredictIntraDCLeft4x4() 143 pDst[y*dstStep+x] = (OMX_U8)Sum; in armVCM4P10_PredictIntraDCLeft4x4() [all …]
|
D | omxVCM4P10_PredictIntra_16x16.c | 89 int x,y,Sum,Count; in omxVCM4P10_PredictIntra_16x16() local 113 for (x=0; x<16; x++) in omxVCM4P10_PredictIntra_16x16() 115 pDst[y*dstStep+x] = pSrcAbove[x]; in omxVCM4P10_PredictIntra_16x16() 123 for (x=0; x<16; x++) in omxVCM4P10_PredictIntra_16x16() 125 pDst[y*dstStep+x] = pSrcLeft[y*leftStep]; in omxVCM4P10_PredictIntra_16x16() 144 for (x=0; x<16; x++) in omxVCM4P10_PredictIntra_16x16() 146 Sum += pSrcAbove[x]; in omxVCM4P10_PredictIntra_16x16() 164 for (x=0; x<16; x++) in omxVCM4P10_PredictIntra_16x16() 166 pDst[y*dstStep+x] = (OMX_U8)Sum; in omxVCM4P10_PredictIntra_16x16() 173 for (x=6; x>=0; x--) in omxVCM4P10_PredictIntra_16x16() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | PointF.java | 28 public float x; field in PointF 33 public PointF(float x, float y) { in PointF() argument 34 this.x = x; in PointF() 39 this.x = p.x; in PointF() 46 public final void set(float x, float y) { in set() argument 47 this.x = x; in set() 55 this.x = p.x; in set() 60 x = -x; in negate() 65 x += dx; in offset() 72 public final boolean equals(float x, float y) { in equals() argument [all …]
|
D | Point.java | 27 public int x; field in Point 32 public Point(int x, int y) { in Point() argument 33 this.x = x; in Point() 38 this.x = src.x; in Point() 45 public void set(int x, int y) { in set() argument 46 this.x = x; in set() 54 x = -x; in negate() 62 x += dx; in offset() 69 public final boolean equals(int x, int y) { in equals() argument 70 return this.x == x && this.y == y; in equals() [all …]
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | UT_vector.java | 33 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals() 36 F2.x = 2.99f; in initializeGlobals() 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 44 F3.x = 2.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 53 F4.x = 2.99f; in initializeGlobals() 60 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals() 63 D2.x = 2.99; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 71 D3.x = 2.99; in initializeGlobals() [all …]
|
/frameworks/base/libs/hwui/ |
D | Vector.h | 28 float x; member 32 x(0.0f), y(0.0f) { in Vector2() 36 x(px), y(py) { in Vector2() 40 return sqrt(x * x + y * y); in length() 44 x += v.x; 49 x -= v.x; 54 x += v; 59 x -= v; 64 x /= s; 69 x *= s; [all …]
|
/frameworks/compile/libbcc/runtime/lib/ |
D | popcountsi2.c | 22 su_int x = (su_int)a; in __popcountsi2() local 23 x = x - ((x >> 1) & 0x55555555); in __popcountsi2() 25 x = ((x >> 2) & 0x33333333) + (x & 0x33333333); in __popcountsi2() 27 x = (x + (x >> 4)) & 0x0F0F0F0F; in __popcountsi2() 29 x = (x + (x >> 16)); in __popcountsi2() 32 return (x + (x >> 8)) & 0x0000003F; /* (6 significant bits) */ in __popcountsi2()
|
/frameworks/compile/libbcc/tests/data/src/ |
D | film.c | 3 int test(int x, int y) { in test() argument 4 int v = x || y; in test() 8 int test2(int x, int y) { in test2() argument 9 if(x | y) { in test2() 16 int test3(int x, int y) { in test3() argument 17 int v = x && y; in test3() 21 int test4(int x, int y) { in test4() argument 22 if(x & y) { in test4() 31 int x,y; in main() local 35 for(x = 0; x < 2; x++) { in main() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | Lines2Activity.java | 89 private void drawVerticalLine(Canvas canvas, Paint p, float length, float x, float y) { in drawVerticalLine() argument 90 canvas.drawLine(x, y, x, y + length, p); in drawVerticalLine() 93 private void drawDiagonalLine(Canvas canvas, Paint p, float length, float x, float y) { in drawDiagonalLine() argument 94 canvas.drawLine(x, y, x + length, y + length, p); in drawDiagonalLine() 160 float x = 10 + mOffset; in onDraw() local 163 drawVerticalLine(canvas, p, length, x, yOffset); in onDraw() 164 x += 5; in onDraw() 166 drawVerticalLine(canvas, p, length, x, yOffset); in onDraw() 167 x += 5; in onDraw() 172 drawVerticalLine(canvas, p, length, x, yOffset); in onDraw() [all …]
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_huffman_decoding.cpp | 127 int32 x; in pvmp3_huffman_quad_decoding() local 154 x = (y >> 1) & 1; in pvmp3_huffman_quad_decoding() 155 if (x) in pvmp3_huffman_quad_decoding() 159 x = -x; in pvmp3_huffman_quad_decoding() 176 x = 0; in pvmp3_huffman_quad_decoding() 182 *(is + 2) = x; in pvmp3_huffman_quad_decoding() 194 int32 x; in pvmp3_huffman_pair_decoding() local 204 x = cw >> 4; in pvmp3_huffman_pair_decoding() 206 if (x) in pvmp3_huffman_pair_decoding() 210 x = -x; in pvmp3_huffman_pair_decoding() [all …]
|
/frameworks/base/include/ui/ |
D | Point.h | 27 int x; 36 inline Point(int x, int y) : x(x), y(y) { in Point() argument 40 return (x == rhs.x) && (y == rhs.y); 47 return !(x|y); in isOrigin() 53 return y<rhs.y || (y==rhs.y && x<rhs.x); 57 x = -x; 63 x += rhs.x; 68 x -= rhs.x; 74 const Point result(x+rhs.x, y+rhs.y); 78 const Point result(x-rhs.x, y-rhs.y);
|
/frameworks/base/opengl/libagl/ |
D | fp.cpp | 34 GLfloat fixedToFloat(GLfixed x) in fixedToFloat() argument 37 return x / 65536.0f; in fixedToFloat() 39 if (!x) return 0; in fixedToFloat() 40 const uint32_t s = x & 0x80000000; in fixedToFloat() 45 i = s ? -x : x; in fixedToFloat() 56 float sinef(float x) in sinef() argument 63 x *= A; in sinef() 65 if (fabsf(x) >= 0.5f) { in sinef() 67 x = x - ceilf(x + 0.5f) + 1.0f; in sinef() 70 const float y = B*x*fabsf(x) + C*x; in sinef() [all …]
|
/frameworks/base/include/media/stagefright/foundation/ |
D | ADebug.h | 29 #define LITERAL_TO_STRING_INTERNAL(x) #x argument 30 #define LITERAL_TO_STRING(x) LITERAL_TO_STRING_INTERNAL(x) argument 58 #define CHECK_OP(x,y,suffix,op) \ argument 60 AString ___res = Compare_##suffix(x, y); \ 64 " CHECK_" #suffix "( " #x "," #y ") failed: "; \ 71 #define CHECK_EQ(x,y) CHECK_OP(x,y,EQ,==) argument 72 #define CHECK_NE(x,y) CHECK_OP(x,y,NE,!=) argument 73 #define CHECK_LE(x,y) CHECK_OP(x,y,LE,<=) argument 74 #define CHECK_LT(x,y) CHECK_OP(x,y,LT,<) argument 75 #define CHECK_GE(x,y) CHECK_OP(x,y,GE,>=) argument [all …]
|
/frameworks/base/services/surfaceflinger/ |
D | clz.cpp | 21 int clz_impl(int32_t x) in clz_impl() argument 24 return __builtin_clz(x); in clz_impl() 26 if (!x) return 32; in clz_impl() 28 if (x&0xFFFF0000) { e -=16; x >>=16; } in clz_impl() 29 if (x&0x0000FF00) { e -= 8; x >>= 8; } in clz_impl() 30 if (x&0x000000F0) { e -= 4; x >>= 4; } in clz_impl() 31 if (x&0x0000000C) { e -= 2; x >>= 2; } in clz_impl() 32 if (x&0x00000002) { e -= 1; } in clz_impl()
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
D | rs_cl.c | 7 typeout##2 r = {(typeout)v.x, (typeout)v.y}; \ 12 typeout##3 r = {(typeout)v.x, (typeout)v.y, (typeout)v.z}; \ 17 typeout##4 r = {(typeout)v.x, (typeout)v.y, (typeout)v.z, \ 43 r.x = fnc(v.x); \ 49 r.x = fnc(v.x); \ 56 r.x = fnc(v.x); \ 66 r.x = fnc(v.x); \ 72 r.x = fnc(v.x); \ 79 r.x = fnc(v.x); \ 89 r.x = fnc(v1.x, v2.x); \ [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | band_pass_6k_7k.cpp | 153 int16 x[] in band_pass_6k_7k() argument 164 pv_memcpy((void *)x, (void *)mem, L_FIR*sizeof(*x)); in band_pass_6k_7k() 170 x[(i<<2) + L_FIR ] = *(pt_sign) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k() 171 x[(i<<2) + L_FIR + 1] = *(pt_sign + 1) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k() 172 x[(i<<2) + L_FIR + 2] = *(pt_sign + 2) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k() 173 x[(i<<2) + L_FIR + 3] = *(pt_sign + 3) >> 2; /* gain of filter = 4 */ in band_pass_6k_7k() 180 L_tmp1 -= ((int32)x[(i<<2)+L_FIR ] << 5); in band_pass_6k_7k() 181 L_tmp2 -= ((int32)x[(i<<2)+L_FIR+1] << 5); in band_pass_6k_7k() 182 L_tmp3 -= ((int32)x[(i<<2)+L_FIR+2] << 5); in band_pass_6k_7k() 183 L_tmp4 -= ((int32)x[(i<<2)+L_FIR+3] << 5); in band_pass_6k_7k() [all …]
|