Home
last modified time | relevance | path

Searched refs:p3 (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/av/media/codecs/amrwb/enc/src/
Dsyn_filt.c99 Word16 *p1, *p2, *p3; in Syn_filt_32() local
110 p3 = &sig_hi[i - 1]; in Syn_filt_32()
113 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
115 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
117 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
119 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
121 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
123 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
125 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
127 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
[all …]
Dautocorr.c43 Word16 *p1,*p2,*p3; in Autocorr() local
50 p3 = y; in Autocorr()
54 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
55 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
56 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
57 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
Dcor_h_x.c44 Word32 *p3; in cor_h_x() local
121 p3 = y32; in cor_h_x()
124 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
125 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
126 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
127 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
Dc4t64fx.c142 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local
387 p3 = &rrixix[3][NB_POS - 1]; in ACELP_4t64_fx()
395 *p3-- = extract_h(cor); in ACELP_4t64_fx()
421 p3 = &rrixiy[2][pos]; in ACELP_4t64_fx()
435 *p3 = extract_h(cor); in ACELP_4t64_fx()
449 p3 -= (NB_POS + 1); in ACELP_4t64_fx()
457 *p3 = extract_h(cor); in ACELP_4t64_fx()
478 p3 = &rrixiy[3][pos]; in ACELP_4t64_fx()
492 *p3 = extract_h(cor); in ACELP_4t64_fx()
506 p3 -= (NB_POS + 1); in ACELP_4t64_fx()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java38 public Point p3; field in Quad
45 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument
49 this.p3 = p3; in Quad()
56 p3.IsInUnitRange(); in IsInUnitRange()
60 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t)); in translated()
64 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y)); in translated()
68 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled()
72 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled()
76 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in boundingBox()
77 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); in boundingBox()
[all …]
DRectangle.java49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f); in fromRotatedRect() local
53 p3.rotatedAround(center, rotation)); in fromRotatedRect()
56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { in Rectangle() argument
57 super(p0, p1, p2, p3); in Rectangle()
78 return p0.plus(p1).plus(p2).plus(p3).times(0.25f); in center()
83 return new Rectangle(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled()
88 return new Rectangle(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled()
/frameworks/av/media/codecs/m4v_h263/enc/src/
Dme_utils.cpp113 UChar *p1, *p2, *p3, *p4; in GetHalfPelMBRegion_C() local
120 p3 = cand - 1; in GetHalfPelMBRegion_C()
127 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C()
129 *hmem2++ = ((*p3++) + *p4 + 1) >> 1; in GetHalfPelMBRegion_C()
133 *hmem1++ = ((*p1++) + (*p2++) + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C()
134 *hmem2++ = ((*p3++) + (*p4++) + 1) >> 1; in GetHalfPelMBRegion_C()
139 p3 += offset; in GetHalfPelMBRegion_C()
145 *hmem1++ = ((*p1++) + *p2 + (*p3++) + *p4 + 2) >> 2; in GetHalfPelMBRegion_C()
149 *hmem1 = (*p1 + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C()
169 UChar *p1, *p2, *p3, *p4; in GetHalfPelBlkRegion() local
[all …]
Dsad_halfpel.cpp100 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_MB() local
105 p3 = ref + width; in HalfPel2_SAD_MB()
114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_MB()
122 p3 += width; in HalfPel2_SAD_MB()
174 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_Blk() local
179 p3 = ref + width; in HalfPel2_SAD_Blk()
188 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_Blk()
196 p3 += width; in HalfPel2_SAD_Blk()
225 UChar *kk, *p1, *p2, *p3, *p4; in SAD_MB_HalfPel_Cxhyh() local
236 p3 = ref + rx; in SAD_MB_HalfPel_Cxhyh()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DApduCommand.java41 public final int p3; field in ApduCommand
47 ApduCommand(int channel, int cla, int ins, int p1, int p2, int p3, String cmdHex) { in ApduCommand() argument
53 this.p3 = p3; in ApduCommand()
60 + ", p2=" + p2 + ", p3=" + p3 + ", cmd=" + cmdHex + ")"; in toString()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFixedRotationFilter.java76 Point p3 = new Point(0.0f, 1.0f); in process() local
81 sourceRegion = new Quad(p3,p1,p4,p2); in process()
85 sourceRegion = new Quad(p4,p3,p2,p1); in process()
88 sourceRegion = new Quad(p2,p4,p1,p3); in process()
93 sourceRegion = new Quad(p1,p2,p3,p4); in process()
DStraightenFilter.java132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters() local
144 p3.set(scale * p3.x / mWidth + 0.5f, scale * p3.y / mHeight + 0.5f); in updateParameters()
146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DSysUIUnfoldModule.kt64 val p3 = scopedProvider.getOrNull() in provideSysUIUnfoldComponent() constant
65 return if (p1 == null || p2 == null || p3 == null) { in provideSysUIUnfoldComponent()
68 Optional.of(factory.create(p1, p2, p3)) in provideSysUIUnfoldComponent()
82 @BindsInstance p3: ScopedUnfoldTransitionProgressProvider
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Drasterize.rscript33 static float2 p3[12];
66 p3[total] = f3.xy;
68 d23[total] = p2[total] - p3[total];
69 d31[total] = p3[total] - p1[total];
84 int p3 = index[i + 2];
91 f3.x = vert[p3];
92 f3.y = vert[p3 + 1];
93 f3.z = vert[p3 + 2];
107 float2 d3 = loc - p3[i];
/frameworks/rs/toolkit/
DResize.cpp100 static float4 cubicInterpolate(float4 p0, float4 p1, float4 p2, float4 p3, float x) { in cubicInterpolate() argument
101 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
102 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
105 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument
106 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
107 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
112 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
114 _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(4.f), _mm_set1_ps(p2),_mm_set1_ps(p3))) in cubicInterpolate()
116 _mm_set1_ps(p3 - p0)))))); in cubicInterpolate()
120 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp76 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument
77 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
78 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
81 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument
82 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
83 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
90 _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(4.f), _mm_set1_ps(p2),_mm_set1_ps(p3))) in cubicInterpolate()
91 …+ x * (_mm_cvtss_f32(_mm_fmadd_ss (_mm_set1_ps(3.f),_mm_set1_ps(p1 - p2),_mm_set1_ps(p3 - p0)))))); in cubicInterpolate()
95 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
[all …]
/frameworks/rs/toolkit/test/
DReferenceResize.kt51 private fun cubicInterpolateF(p0: FloatArray, p1: FloatArray, p2: FloatArray, p3: FloatArray, in cubicInterpolateF()
53 return p1 + (p2 - p0 + (p0 * 2f - p1 * 5f + p2 * 4f - p3 in cubicInterpolateF()
54 + ((p1 - p2) * 3f + p3 - p0) * x) * x) * x * 0.5f in cubicInterpolateF()
101 val p3 = cubicInterpolateF(p30, p31, p32, p33, xf) in bicubicU4() constant
103 return cubicInterpolateF(p0, p1, p2, p3, yf) in bicubicU4()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rscript38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) {
39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
40 + x * (3.f * (p1 - p2) + p3 - p0)));
86 float4 p3 = cubicInterpolate(p30, p31, p32, p33, xf);
88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dresize.rscript38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) {
39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
40 + x * (3.f * (p1 - p2) + p3 - p0)));
86 float4 p3 = cubicInterpolate(p30, p31, p32, p33, xf);
88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dresize.rscript38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) {
39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3
40 + x * (3.f * (p1 - p2) + p3 - p0)));
86 float4 p3 = cubicInterpolate(p30, p31, p32, p33, xf);
88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPort.java238 int p1, int p2, int p3, String data, Message response) { in iccTransmitApduLogicalChannel() argument
240 mUiccProfile.iccTransmitApduLogicalChannel(channel, cla, command, p1, p2, p3, in iccTransmitApduLogicalChannel()
255 int p1, int p2, int p3, String data, Message response) { in iccTransmitApduBasicChannel() argument
257 mUiccProfile.iccTransmitApduBasicChannel(cla, command, p1, p2, p3, data, response); in iccTransmitApduBasicChannel()
269 public void iccExchangeSimIO(int fileID, int command, int p1, int p2, int p3, in iccExchangeSimIO() argument
272 mUiccProfile.iccExchangeSimIO(fileID, command, p1, p2, p3, pathID, response); in iccExchangeSimIO()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioSimProxy.java294 int p3, String data, String pin2, String aid) throws RemoteException { in iccIoForApp() argument
303 iccIo.p3 = p3; in iccIoForApp()
315 iccIo.p3 = p3; in iccIoForApp()
351 int p3, String data) throws RemoteException { in iccTransmitApduBasicChannel() argument
355 RILUtils.convertToHalSimApduAidl(0, cla, instruction, p1, p2, p3, data)); in iccTransmitApduBasicChannel()
358 RILUtils.convertToHalSimApdu(0, cla, instruction, p1, p2, p3, data)); in iccTransmitApduBasicChannel()
375 int p1, int p2, int p3, String data) throws RemoteException { in iccTransmitApduLogicalChannel() argument
379 RILUtils.convertToHalSimApduAidl(channel, cla, instruction, p1, p2, p3, data)); in iccTransmitApduLogicalChannel()
382 RILUtils.convertToHalSimApdu(channel, cla, instruction, p1, p2, p3, data)); in iccTransmitApduLogicalChannel()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/runtime/
DMovableContent.kt43 return { p1, p2, p3, p4, p5 -> in <lambda>() method
44 currentComposer.insertMovableContent(movableContent, Triple(p1, p2, p3) to (p4 to p5)) in <lambda>()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java286 mTargetQuad.p3.set(1f, 1.0f); in updateTargetRect()
295 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
302 mTargetQuad.p3.set(1.0f, 0.5f + 0.5f * relativeAspectRatio); in updateTargetRect()
312 mTargetQuad.p3.set(1.0f, 0.5f + 0.5f * relativeAspectRatio); in updateTargetRect()
318 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java77 Paint p3 = new Paint(); in onCreate()
78 p3.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); in onCreate()
82 middleList.setLayerType(View.LAYER_TYPE_HARDWARE, p3); in onCreate()
/frameworks/base/media/mca/filterfw/native/core/
Dgeometry.h56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) in Quad() argument
61 points_[3] = p3; in Quad()

123