Searched refs:y0 (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java43 @param y0 The y-coordinate for the start of the gradient line
52 public LinearGradient(float x0, float y0, float x1, float y1, int colors[], float positions[], argument
62 mY0 = y0;
68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt));
73 @param y0 The y-coordinate for the start of the gradient line
80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
84 mY0 = y0;
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt));
115 private native long nativeCreate1(float x0, float y0, float x1, float y1, argument
117 private native long nativeCreate2(float x0, float y0, floa argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member in struct:android::AudioResamplerCubic::__anon738
54 p->y0 = p->y1;
58 p->a = (3 * (p->y1 - p->y2) - p->y0 + p->y3) >> 1;
59 p->b = (p->y2 << 1) + p->y0 - (((5 * p->y1 + p->y3)) >> 1);
60 p->c = (p->y2 - p->y0) >> 1;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A 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...]
H A Dh264bsd_reconstruct.c99 y0 integer y-coordinate for prediction
114 i32 y0,
138 (y0 < 0) || ((u32)y0+chromaPartHeight > height))
140 h264bsdFillBlock(pRef, block, x0, y0, width, height,
144 x0, y0, width, height, chromaPartWidth + 1,
149 y0 = 0;
159 ptrA = pRef + (comp * height + (u32)y0) * width + x0;
210 i32 y0,
234 (y0 <
110 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
206 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
302 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
491 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
609 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
743 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
866 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1004 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument
1210 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
1396 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
1600 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1984 i32 xInt, yInt, x0, y0; local
2222 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A 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/
H A 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/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A 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/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java58 float x0, float y0, float x1, float y1,
60 LinearGradient_Delegate newDelegate = new LinearGradient_Delegate(x0, y0, x1, y1,
67 float x0, float y0, float x1, float y1,
70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/,
80 * @param y0 The y-coordinate for the start of the gradient line
89 private LinearGradient_Delegate(float x0, float y0, float x1, float y1, argument
92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
109 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument
113 mY0 = y0;
115 mDy = y1 - y0;
57 nativeCreate1(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
66 nativeCreate2(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
[all...]
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp106 size_t x0, size_t y0, size_t radius, bool filled = false) {
113 drawHLine(buf, pixel, x0-radius, y0, 2*radius);
115 drawTwoPixels(buf, pixel, x0-radius, y0, 2*radius);
127 drawHLine(buf, pixel, x0-x, y0+y, 2*x);
128 drawHLine(buf, pixel, x0-x, y0-y, 2*x);
129 drawHLine(buf, pixel, x0-y, y0+x, 2*y);
130 drawHLine(buf, pixel, x0-y, y0-x, 2*y);
132 drawTwoPixels(buf, pixel, x0-x, y0+y, 2*x);
133 drawTwoPixels(buf, pixel, x0-x, y0-y, 2*x);
134 drawTwoPixels(buf, pixel, x0-y, y0
105 drawCircle(Buffer* buf, uint32_t pixel, size_t x0, size_t y0, size_t radius, bool filled = false) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp169 audio_sample_t y0 = coef_sample_acc_to_sample(acc); local
171 y1 = y0;
174 (*out++) = y0;
222 audio_sample_t y0 = coef_sample_acc_to_sample(acc); local
224 y1 = y0;
227 *out = y0;
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DQuad.java74 float y0 = Collections.min(ys);
77 return new Rectangle(x0, y0, x1 - x0, y1 - y0);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageSlicer.java114 float y0 = (ySliceIndex * mSliceHeight - mPadSize) / ((float) mInputHeight);
116 ((ShaderProgram) mProgram).setSourceRect(x0, y0,
H A DImageStitcher.java111 float y0 = ((float) mPadSize) / mInputHeight;
120 ((ShaderProgram) mProgram).setSourceRect(x0, y0,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s43 y0 RN 3 label
81 ;// i32 y0, : 0xd0
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, widt
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s44 y0 RN 3 label
82 ;// i32 y0, : 0xd0
105 CMP y0, #0
109 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
110 ADD tmp1, tmp1, #1 ;// tmp1 = y0 + chromaPartHeight + 1
125 LDR y0, [sp, #0xd0]
134 MOV y0, #0 ;// y0 = 0
136 STR y0, [s
[all...]
H A Dh264bsd_interpolate_chroma_ver.s42 y0 RN 3 label
80 ;// i32 y0, : 0xd0
100 CMP y0, #0
104 ADD tmp1, y0, chrPH ;// tmp1 = y0 + chromaPartHeight
105 ADD tmp1, tmp1, #1 ;// tmp1 = y0 + chromaPartHeight + 1
119 LDR y0, [sp, #0xd0]
128 MOV y0, #0 ;// y0 = 0
130 STR y0, [s
[all...]
H A Dh264bsd_interpolate_hor_half.s41 y0 RN 3 label
95 ADD tmp4, tmp4, #5 ;// (y0+partW+5)
100 CMP y0, #0
101 BLT do_fill ;// (y0 < 0)
103 ADD tmp2, y0, partH ;// (y0+partHeight)
124 STR x0,[sp,#0x1f0] ;// y0 = 0
131 LDR y0 ,[sp,#0x1f0] ;// y0
133 MLA tmp2, width, y0, x
[all...]
H A Dh264bsd_interpolate_hor_quarter.s41 y0 RN 3 label
97 ADD tmp4, tmp4, #5 ;// (y0+partW+5)
102 CMP y0, #0
103 BLT do_fill ;// (y0 < 0)
105 ADD tmp2, y0, partH ;// (y0+partHeight)
126 STR x0,[sp,#0x1f0] ;// y0 = 0
133 LDR y0 ,[sp,#0x1f0] ;// y0
135 MLA tmp2, width, y0, x
[all...]
H A Dh264bsd_interpolate_ver_half.s42 y0 RN 3 label
100 CMP y0, #0
101 BLT do_fill ;// (y0 < 0)
103 ADD tmp6, y0, partH ;// (y0+partHeight)
104 ADD tmp6, tmp6, #5 ;// (y0+partH+5)
125 STR x0,[sp,#0x1f0] ;// y0 = 0
132 LDR y0 ,[sp,#0x1f0] ;// y0
134 MLA tmp6, width, y0, x
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_neon_Convolve.S19 r1 = y0 base pointer
110 r1 = y0 base pointer
145 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 )
H A 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); local
366 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0);
420 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local
426 const uchar2 *py0 = (const uchar2 *)(pin + stride * y0);
469 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local
475 const uchar *py0 = (const uchar *)(pin + stride * y0);
518 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local
524 const float4 *py0 = (const float4 *)(pin + stride * y0);
567 uint32_t y0 local
616 uint32_t y0 = rsMax((int32_t)p->y-2, 0); local
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.h67 jfloat y0,
79 jfloat y0,
H A Djni_shader_program.cpp146 jfloat y0,
155 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
164 jfloat y0,
173 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3)));
143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h158 static int64_t euclidDistSquare(int32_t x0, int32_t y0, int32_t x1, int32_t y1);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp90 jfloat x0, jfloat y0, jfloat x1, jfloat y1,
94 pts[0].set(x0, y0);
117 jfloat x0, jfloat y0, jfloat x1, jfloat y1,
121 pts[0].set(x0, y0);
89 LinearGradient_create1(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jintArray colorArray, jfloatArray posArray, jint tileMode) argument
116 LinearGradient_create2(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument

Completed in 479 milliseconds

12