/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
D | armVCM4P10_InterpolateLuma_Align_unsafe_s.s | 34 x1 RN 10 label 76 LDM pSrc, {x0, x1, x2} 82 STM pDst!, {x0, x1, x2} ;// Store aligned output row 87 LDM pSrc, {x0, x1, x2} 94 ORR x0, x0, x1, LSL #24 95 MOV x1, x1, LSR #8 96 ORR x1, x1, x2, LSL #24 98 STM pDst!, {x0, x1, x2} ;// Store aligned output row 103 LDM pSrc, {x0, x1, x2} 110 ORR x0, x0, x1, LSL #16 [all …]
|
D | armVCM4P10_InterpolateLuma_Copy_unsafe_s.s | 40 x1 RN 5 label 63 M_LDR x1, [pSrc], srcStep 66 M_STR x1, [pDst], dstStep 73 LDR x1, [pSrc, #4] 78 ORR x0, x0, x1, LSL #24 82 LDR x1, [pSrc, #4] 88 ORR x0, x0, x1, LSL #24 96 LDR x1, [pSrc, #4] 101 ORR x0, x0, x1, LSL #16 107 LDR x1, [pSrc, #4] [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
D | armVCM4P10_InterpolateLuma_Align_unsafe_s.s | 34 x1 RN 10 label 76 LDM pSrc, {x0, x1, x2} 82 STM pDst!, {x0, x1, x2} ;// Store aligned output row 87 LDM pSrc, {x0, x1, x2} 94 ORR x0, x0, x1, LSL #24 95 MOV x1, x1, LSR #8 96 ORR x1, x1, x2, LSL #24 98 STM pDst!, {x0, x1, x2} ;// Store aligned output row 103 LDM pSrc, {x0, x1, x2} 110 ORR x0, x0, x1, LSL #16 [all …]
|
D | armVCM4P10_InterpolateLuma_Copy_unsafe_s.s | 40 x1 RN 5 label 63 M_LDR x1, [pSrc], srcStep 66 M_STR x1, [pDst], dstStep 73 LDR x1, [pSrc, #4] 78 ORR x0, x0, x1, LSL #24 82 LDR x1, [pSrc, #4] 88 ORR x0, x0, x1, LSL #24 96 LDR x1, [pSrc, #4] 101 ORR x0, x0, x1, LSL #16 107 LDR x1, [pSrc, #4] [all …]
|
/frameworks/rs/driver/ |
D | rsdIntrinsicBlend.cpp | 103 uint32_t x1 = xstart; in ColorMatrix_uchar4() local 108 for (;x1 < x2; x1++, out++) { in ColorMatrix_uchar4() 113 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4() 122 if((x1 + 8) < x2) { in ColorMatrix_uchar4() 123 uint32_t len = (x2 - x1) >> 3; in ColorMatrix_uchar4() 125 x1 += len << 3; in ColorMatrix_uchar4() 130 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4() 139 if((x1 + 8) < x2) { in ColorMatrix_uchar4() 140 uint32_t len = (x2 - x1) >> 3; in ColorMatrix_uchar4() 142 x1 += len << 3; in ColorMatrix_uchar4() [all …]
|
D | rsdIntrinsicConvolve5x5.cpp | 57 uint32_t x1 = rsMax((int32_t)x-1, 0); in One() local 63 convert_float4(py0[x1]) * coeff[1] + in One() 69 convert_float4(py1[x1]) * coeff[6] + in One() 75 convert_float4(py2[x1]) * coeff[11] + in One() 81 convert_float4(py3[x1]) * coeff[16] + in One() 87 convert_float4(py4[x1]) * coeff[21] + in One() 125 uint32_t x1 = xstart; in Convolve5x5_uchar4() local 128 while((x1 < x2) && (x1 < 2)) { in Convolve5x5_uchar4() 129 One(p, x1, out, py0, py1, py2, py3, py4, cp->fp); in Convolve5x5_uchar4() 131 x1++; in Convolve5x5_uchar4() [all …]
|
D | rsdIntrinsicConvolve3x3.cpp | 58 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOne() local 61 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOne() 64 convert_float4(py1[x1]) * coeff[3] + in ConvolveOne() 67 convert_float4(py2[x1]) * coeff[6] + in ConvolveOne() 95 uint32_t x1 = xstart; in Convolve3x3_uchar4() local 97 if(x1 == 0) { in Convolve3x3_uchar4() 99 x1 ++; in Convolve3x3_uchar4() 103 if(x2 > x1) { in Convolve3x3_uchar4() 105 int32_t len = (x2 - x1 - 1) >> 1; in Convolve3x3_uchar4() 107 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->ip, len); in Convolve3x3_uchar4() [all …]
|
D | rsdIntrinsicBlur.cpp | 112 …trinsicBlurVF_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int x2); 113 extern "C" void rsdIntrinsicBlurHF_K(void *dst, const void *pin, const void *gptr, int rct, int x1,… 117 int x1, int x2) { in OneVF() argument 121 int t = (x2 - x1); in OneVF() 124 rsdIntrinsicBlurVF_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); in OneVF() 126 x1 += t; in OneVF() 130 while(x2 > x1) { in OneVF() 131 const uchar *pi = ptrIn + x1 * 4; in OneVF() 142 x1++; in OneVF() 178 uint32_t x1 = xstart; in Blur_uchar4() local [all …]
|
D | rsdIntrinsicYuvToRGB.cpp | 101 uint32_t x1 = xstart; in YuvToRGB_uchar4() local 104 if(x2 > x1) { in YuvToRGB_uchar4() 106 int32_t len = (x2 - x1 - 1) >> 3; in YuvToRGB_uchar4() 109 x1 += len << 3; in YuvToRGB_uchar4() 115 while(x1 < x2) { in YuvToRGB_uchar4() 116 uchar u = uv[(x1 & 0xffffe) + 1]; in YuvToRGB_uchar4() 117 uchar v = uv[(x1 & 0xffffe) + 0]; in YuvToRGB_uchar4() 118 *out = rsYuvToRGBA_uchar4(Y[x1], u, v); in YuvToRGB_uchar4() 120 x1++; in YuvToRGB_uchar4() 121 *out = rsYuvToRGBA_uchar4(Y[x1], u, v); in YuvToRGB_uchar4() [all …]
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdIntrinsicBlend.cpp | 103 uint32_t x1 = xstart; in ColorMatrix_uchar4() local 111 for (;x1 < x2; x1++, out++) { in ColorMatrix_uchar4() 116 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4() 125 if((x1 + 8) < x2) { in ColorMatrix_uchar4() 126 uint32_t len = (x2 - x1) >> 3; in ColorMatrix_uchar4() 128 x1 += len << 3; in ColorMatrix_uchar4() 133 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4() 142 if((x1 + 8) < x2) { in ColorMatrix_uchar4() 143 uint32_t len = (x2 - x1) >> 3; in ColorMatrix_uchar4() 145 x1 += len << 3; in ColorMatrix_uchar4() [all …]
|
D | rsdIntrinsicBlur.cpp | 110 …trinsicBlurVF_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int x2); 111 extern "C" void rsdIntrinsicBlurHF_K(void *dst, const void *pin, const void *gptr, int rct, int x1,… 115 int x1, int x2) { in OneVF() argument 119 int t = (x2 - x1); in OneVF() 122 rsdIntrinsicBlurVF_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); in OneVF() 124 x1 += t; in OneVF() 128 while(x2 > x1) { in OneVF() 129 const uchar *pi = ptrIn + x1 * 4; in OneVF() 140 x1++; in OneVF() 170 uint32_t x1 = xstart; in Blur_uchar4() local [all …]
|
D | rsdIntrinsicConvolve3x3.cpp | 58 uint32_t x1 = rsMax((int32_t)x-1, 0); in ConvolveOne() local 61 float4 px = convert_float4(py0[x1]) * coeff[0] + in ConvolveOne() 64 convert_float4(py1[x1]) * coeff[3] + in ConvolveOne() 67 convert_float4(py2[x1]) * coeff[6] + in ConvolveOne() 90 uint32_t x1 = xstart; in Convolve3x3_uchar4() local 92 if(x1 == 0) { in Convolve3x3_uchar4() 94 x1 ++; in Convolve3x3_uchar4() 98 if(x2 > x1) { in Convolve3x3_uchar4() 100 int32_t len = (x2 - x1 - 1) >> 1; in Convolve3x3_uchar4() 102 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->ip, len); in Convolve3x3_uchar4() [all …]
|
D | rsdIntrinsicConvolve5x5.cpp | 57 uint32_t x1 = rsMax((int32_t)x-1, 0); in One() local 63 convert_float4(py0[x1]) * coeff[1] + in One() 69 convert_float4(py1[x1]) * coeff[6] + in One() 75 convert_float4(py2[x1]) * coeff[11] + in One() 81 convert_float4(py3[x1]) * coeff[16] + in One() 87 convert_float4(py4[x1]) * coeff[21] + in One() 121 uint32_t x1 = xstart; in Convolve5x5_uchar4() local 124 while((x1 < x2) && (x1 < 2)) { in Convolve5x5_uchar4() 125 One(p, x1, out, py0, py1, py2, py3, py4, cp->fp); in Convolve5x5_uchar4() 127 x1++; in Convolve5x5_uchar4() [all …]
|
D | rsdIntrinsicYuvToRGB.cpp | 97 uint32_t x1 = xstart; in YuvToRGB_uchar4() local 100 if(x2 > x1) { in YuvToRGB_uchar4() 102 int32_t len = (x2 - x1 - 1) >> 3; in YuvToRGB_uchar4() 105 x1 += len << 3; in YuvToRGB_uchar4() 111 while(x1 < x2) { in YuvToRGB_uchar4() 112 uchar u = uv[(x1 & 0xffffe) + 1]; in YuvToRGB_uchar4() 113 uchar v = uv[(x1 & 0xffffe) + 0]; in YuvToRGB_uchar4() 114 *out = rsYuvToRGBA_uchar4(Y[x1], u, v); in YuvToRGB_uchar4() 116 x1++; in YuvToRGB_uchar4() 117 *out = rsYuvToRGBA_uchar4(Y[x1], u, v); in YuvToRGB_uchar4() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | idct_vca.cpp | 99 int32 x0, x1, x2, x4, x5; in idctrow2() local 124 x1 = (181 * (x4 - x5) + 128) >> 8; in idctrow2() 133 res = (x0 + x1) >> 14; in idctrow2() 144 res2 = (x0 - x1) >> 14; in idctrow2() 160 int32 x0, x1, x3, x5, x7;//, x8; in idctcol2() local 162 x1 = blk[8]; in idctcol2() 166 x7 = W7 * x1; in idctcol2() 167 x1 = W1 * x1; in idctcol2() 170 x5 = (181 * (x1 - x7) + 128) >> 8; in idctcol2() 171 x7 = (181 * (x1 + x7) + 128) >> 8; in idctcol2() [all …]
|
D | block_idct.cpp | 516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idctrow() local 539 x1 = (int32)blk[12] << 8; in idctrow() 565 x8 = x0 + x1; in idctrow() 566 x0 -= x1; in idctrow() 567 x1 = W6 * (x3 + x2) + 4; in idctrow() 568 x2 = (x1 - (W2 + W6) * x2) >> 3; in idctrow() 569 x3 = (x1 + (W2 - W6) * x3) >> 3; in idctrow() 570 x1 = x4 + x6; in idctrow() 586 res = (x7 + x1) >> 14; in idctrow() 609 res = (x7 - x1) >> 14; in idctrow() [all …]
|
D | get_pred_adv_b_add.cpp | 867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ in GetPredAdvancedBy1x1() local 895 x1 = *((uint32*)prev); /* load a3 a2 a1 a0 */ in GetPredAdvancedBy1x1() 900 x1m = (x1 >> 2) & mask; /* zero out last 2 bits */ in GetPredAdvancedBy1x1() 902 x1 = x1 ^(x1m << 2); in GetPredAdvancedBy1x1() 905 x1 += x2; in GetPredAdvancedBy1x1() 934 y2 = x1 >> 8; in GetPredAdvancedBy1x1() 938 x1 += y2; in GetPredAdvancedBy1x1() 939 x1 += rnd2; in GetPredAdvancedBy1x1() 940 x1 &= (mask << 2); in GetPredAdvancedBy1x1() 941 x1m += (x1 >> 2); in GetPredAdvancedBy1x1() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastidct.cpp | 81 int32 x0, x1, x3, x5, x7;//, x8; in idct_col2() local 83 x1 = blk[8]; in idct_col2() 87 x7 = W7 * x1; in idct_col2() 88 x1 = W1 * x1; in idct_col2() 91 x5 = (181 * (x1 - x7) + 128) >> 8; in idct_col2() 92 x7 = (181 * (x1 + x7) + 128) >> 8; in idct_col2() 94 blk[0] = (x0 + x1) >> 8; in idct_col2() 98 blk[56] = (x0 - x1) >> 8; in idct_col2() 107 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; in idct_col3() local 110 x1 = blk[8]; in idct_col3() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | median5.cpp | 120 int16 x1, x2, x3, x4, x5; in median5() local 123 x1 = x[-2]; in median5() 131 if (x2 < x1) in median5() 133 tmp = x1; in median5() 134 x1 = x2; in median5() 137 if (x3 < x1) in median5() 139 tmp = x1; in median5() 140 x1 = x3; in median5() 143 if (x4 < x1) in median5() 145 tmp = x1; in median5() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | LinearGradient.java | 31 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], in LinearGradient() argument 39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); in LinearGradient() 40 native_shader = nativePostCreate1(native_instance, x0, y0, x1, y1, colors, positions, in LinearGradient() 53 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, in LinearGradient() argument 55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); in LinearGradient() 56 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1, in LinearGradient() 60 private native int nativeCreate1(float x0, float y0, float x1, float y1, in nativeCreate1() argument 62 private native int nativeCreate2(float x0, float y0, float x1, float y1, in nativeCreate2() argument 64 private native int nativePostCreate1(int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate1() argument 66 private native int nativePostCreate2(int native_shader, float x0, float y0, float x1, float y1, in nativePostCreate2() argument
|
/frameworks/base/libs/hwui/ |
D | Patch.cpp | 224 float x1 = 0.0f; in generateRow() local 234 x2 = x1 + floorf(segment * stretchX + 0.5f); in generateRow() 236 x2 = x1 + segment * rescaleX; in generateRow() 239 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1)); in generateRow() 245 x1 += i * EXPLODE_GAP; in generateRow() 248 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow() 254 x1 = x2; in generateRow() 263 x1 += mXCount * EXPLODE_GAP; in generateRow() 266 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow() 270 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
D | armVCM4P2_Clip8_s.s | 35 x1 RN 4 label 48 LDMIA pSrc!,{x0, x1} 52 USAT16 x1, #8, x1 ;// clip two samples to [0,255] 56 STRB x1, [pDst,#2] 57 MOV x1, x1, LSR #16 58 STRB x1, [pDst,#3]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | p_med_ol.c | 174 Word16 x1, x2, x3, x4, x5; in median5() local 177 x1 = x[-2]; in median5() 183 if (x2 < x1) in median5() 185 tmp = x1; in median5() 186 x1 = x2; in median5() 189 if (x3 < x1) in median5() 191 tmp = x1; in median5() 192 x1 = x3; in median5() 195 if (x4 < x1) in median5() 197 tmp = x1; in median5() [all …]
|
D | hp400.c | 64 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1; in HP400_12k8() local 72 x1 = *mem; in HP400_12k8() 76 x2 = x1; in HP400_12k8() 77 x1 = x0; in HP400_12k8() 85 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2)* b[0] + x1 * b[1]) << 1; in HP400_12k8() 96 *mem-- = x1; in HP400_12k8()
|
/frameworks/av/media/libstagefright/foundation/ |
D | base64.cpp | 106 uint8_t x1 = data[i]; in encodeBase64() local 110 out->append(encode6Bit(x1 >> 2)); in encodeBase64() 111 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64() 120 uint8_t x1 = data[i]; in encodeBase64() local 122 out->append(encode6Bit(x1 >> 2)); in encodeBase64() 123 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64() 130 uint8_t x1 = data[i]; in encodeBase64() local 131 out->append(encode6Bit(x1 >> 2)); in encodeBase64() 132 out->append(encode6Bit((x1 << 4) & 0x3f)); in encodeBase64()
|