Home
last modified time | relevance | path

Searched refs:y0 (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_reconstruct.h75 i32 y0,
86 i32 y0,
97 i32 y0,
108 i32 y0,
120 i32 y0,
130 i32 y0,
141 i32 y0,
151 i32 y0,
162 i32 y0,
173 i32 y0,
[all …]
Dh264bsd_reconstruct.c114 i32 y0, in h264bsdInterpolateChromaHor() argument
138 (y0 < 0) || ((u32)y0+chromaPartHeight > height)) in h264bsdInterpolateChromaHor()
140 h264bsdFillBlock(pRef, block, x0, y0, width, height, in h264bsdInterpolateChromaHor()
144 x0, y0, width, height, chromaPartWidth + 1, in h264bsdInterpolateChromaHor()
149 y0 = 0; in h264bsdInterpolateChromaHor()
159 ptrA = pRef + (comp * height + (u32)y0) * width + x0; in h264bsdInterpolateChromaHor()
210 i32 y0, in h264bsdInterpolateChromaVer() argument
234 (y0 < 0) || ((u32)y0+chromaPartHeight+1 > height)) in h264bsdInterpolateChromaVer()
236 h264bsdFillBlock(pRef, block, x0, y0, width, height, chromaPartWidth, in h264bsdInterpolateChromaVer()
240 x0, y0, width, height, chromaPartWidth, in h264bsdInterpolateChromaVer()
[all …]
/frameworks/base/graphics/java/android/graphics/
DLinearGradient.java52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], in LinearGradient() argument
62 mY0 = y0; in LinearGradient()
68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt)); in LinearGradient()
80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, in LinearGradient() argument
84 mY0 = y0; in LinearGradient()
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt)); in LinearGradient()
115 private native long nativeCreate1(float x0, float y0, float x1, float y1, in nativeCreate1() argument
117 private native long nativeCreate2(float x0, float y0, float x1, float y1, in nativeCreate2() argument
/frameworks/av/services/audioflinger/
DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member
54 p->y0 = p->y1; in advance()
58 p->a = (3 * (p->y1 - p->y2) - p->y0 + p->y3) >> 1; in advance()
59 p->b = (p->y2 << 1) + p->y0 - (((5 * p->y1 + p->y3)) >> 1); in advance()
60 p->c = (p->y2 - p->y0) >> 1; in advance()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DLinearGradient_Delegate.java58 float x0, float y0, float x1, float y1, in nativeCreate1() argument
60 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1, in nativeCreate1()
67 float x0, float y0, float x1, float y1, in nativeCreate2() argument
70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, in nativeCreate2()
89 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, in LinearGradient_Delegate() argument
92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
109 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], in LinearGradientPaint() argument
113 mY0 = y0; in LinearGradientPaint()
115 mDy = y1 - y0; in LinearGradientPaint()
/frameworks/base/tests/touchlag/
Dtouchlag.cpp106 size_t x0, size_t y0, size_t radius, bool filled = false) { in drawCircle() argument
113 drawHLine(buf, pixel, x0-radius, y0, 2*radius); in drawCircle()
115 drawTwoPixels(buf, pixel, x0-radius, y0, 2*radius); in drawCircle()
127 drawHLine(buf, pixel, x0-x, y0+y, 2*x); in drawCircle()
128 drawHLine(buf, pixel, x0-x, y0-y, 2*x); in drawCircle()
129 drawHLine(buf, pixel, x0-y, y0+x, 2*y); in drawCircle()
130 drawHLine(buf, pixel, x0-y, y0-x, 2*y); in drawCircle()
132 drawTwoPixels(buf, pixel, x0-x, y0+y, 2*x); in drawCircle()
133 drawTwoPixels(buf, pixel, x0-x, y0-y, 2*x); in drawCircle()
134 drawTwoPixels(buf, pixel, x0-y, y0+x, 2*y); in drawCircle()
[all …]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.rs33 uint32_t y0 = max((int32_t)y-2, 0);
39 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.rs33 uint32_t y0 = max((int32_t)y-2, 0);
39 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.fs32 uint32_t y0 = max((int32_t)y-2, 0);
38 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0]
39 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1]
40 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
41 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3]
42 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4];
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp169 audio_sample_t y0 = coef_sample_acc_to_sample(acc); in process_normal_mono() local
171 y1 = y0; in process_normal_mono()
174 (*out++) = y0; in process_normal_mono()
222 audio_sample_t y0 = coef_sample_acc_to_sample(acc); in process_normal_multi() local
224 y1 = y0; in process_normal_multi()
227 *out = y0; in process_normal_multi()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_chroma_ver.s42 y0 RN 3 label
100 CMP y0, #0
104 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
119 LDR y0, [sp, #0xd0]
128 MOV y0, #0 ;// y0 = 0
130 STR y0, [sp, #0xd0]
139 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
Dh264bsd_interpolate_chroma_hor.s43 y0 RN 3 label
102 CMP y0, #0
106 ADD tmp6, y0, chrPH ;// tmp6 = y0 + chromaPartHeight
120 LDR y0, [sp, #0xd0]
129 MOV y0, #0 ;// y0 = 0
131 STR y0, [sp, #0xd0]
141 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
Dh264bsd_interpolate_chroma_hor_ver.s44 y0 RN 3 label
105 CMP y0, #0
109 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
125 LDR y0, [sp, #0xd0]
134 MOV y0, #0 ;// y0 = 0
136 STR y0, [sp, #0xd0]
145 MLA tmp3, y0, width, x0 ;// tmp3 = y0*width+x0
Dh264bsd_interpolate_hor_quarter.s41 y0 RN 3 label
102 CMP y0, #0
105 ADD tmp2, y0, partH ;// (y0+partHeight)
133 LDR y0 ,[sp,#0x1f0] ;// y0
135 MLA tmp2, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_hor_half.s41 y0 RN 3 label
100 CMP y0, #0
103 ADD tmp2, y0, partH ;// (y0+partHeight)
131 LDR y0 ,[sp,#0x1f0] ;// y0
133 MLA tmp2, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_ver_half.s42 y0 RN 3 label
100 CMP y0, #0
103 ADD tmp6, y0, partH ;// (y0+partHeight)
132 LDR y0 ,[sp,#0x1f0] ;// y0
134 MLA tmp6, width, y0, x0 ;// y0*width+x0
Dh264bsd_interpolate_ver_quarter.s41 y0 RN 3 label
99 CMP y0, #0
102 ADD tmp6, y0, partH ;// (y0+partHeight)
131 LDR y0 ,[sp,#0x1f0] ;// y0
133 MLA tmp6, width, y0, x0 ;// y0*width+x0
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java74 float y0 = Collections.min(ys); in boundingBox() local
77 return new Rectangle(x0, y0, x1 - x0, y1 - y0); in boundingBox()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Convolve.S145 vld1.8 {d24, d25, d26}, [r1], r7 @ y0 ( y - 2 )
146 vld1.8 {d27, d28, d29}, [r2], r7 @ y0 ( y - 1 )
191 vld1.8 {d24, d25, d26}, [r3], r7 @ y0 ( y )
192 vld1.8 {d27, d28, d29}, [r4], r7 @ y0 ( y + 1 )
236 vld1.8 {d24, d25, d26}, [r5], r7 @ y0 ( y + 2 )
DrsCpuIntrinsicConvolve5x5.cpp345 extern "C" void rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1,
360 uint32_t y0 = rsMax((int32_t)p->y-2, 0); in kernelU4() local
366 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0); in kernelU4()
420 uint32_t y0 = rsMax((int32_t)p->y-2, 0); in kernelU2() local
426 const uchar2 *py0 = (const uchar2 *)(pin + stride * y0); in kernelU2()
469 uint32_t y0 = rsMax((int32_t)p->y-2, 0); in kernelU1() local
475 const uchar *py0 = (const uchar *)(pin + stride * y0); in kernelU1()
518 uint32_t y0 = rsMax((int32_t)p->y-2, 0); in kernelF4() local
524 const float4 *py0 = (const float4 *)(pin + stride * y0); in kernelF4()
567 uint32_t y0 = rsMax((int32_t)p->y-2, 0); in kernelF2() local
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java899 float x0, x1, y0, y1;
905 x0 = r.left; y0 = r.top;
909 x0 = r.right; y0 = r.top;
913 x0 = r.right; y0 = r.top;
914 x1 = level * r.left; y1 = y0;
917 x0 = r.right; y0 = r.bottom;
921 x0 = r.left; y0 = r.bottom;
925 x0 = r.left; y0 = r.bottom;
929 x0 = r.left; y0 = r.top;
930 x1 = level * r.right; y1 = y0;
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageSlicer.java114 float y0 = (ySliceIndex * mSliceHeight - mPadSize) / ((float) mInputHeight); in process() local
116 ((ShaderProgram) mProgram).setSourceRect(x0, y0, in process()
DImageStitcher.java111 float y0 = ((float) mPadSize) / mInputHeight; in process() local
120 ((ShaderProgram) mProgram).setSourceRect(x0, y0, in process()
/frameworks/base/media/mca/filterfw/jni/
Djni_shader_program.cpp146 jfloat y0, in Java_android_filterfw_core_ShaderProgram_setSourceRegion() argument
155 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3))); in Java_android_filterfw_core_ShaderProgram_setSourceRegion()
164 jfloat y0, in Java_android_filterfw_core_ShaderProgram_setTargetRegion() argument
173 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3))); in Java_android_filterfw_core_ShaderProgram_setTargetRegion()
/frameworks/base/core/jni/android/graphics/
DShader.cpp90 jfloat x0, jfloat y0, jfloat x1, jfloat y1, in LinearGradient_create1() argument
94 pts[0].set(x0, y0); in LinearGradient_create1()
117 jfloat x0, jfloat y0, jfloat x1, jfloat y1, in LinearGradient_create2() argument
121 pts[0].set(x0, y0); in LinearGradient_create2()

12