Searched refs:plane (Results 1 - 23 of 23) sorted by relevance

/frameworks/native/opengl/libagl/
H A Dvertex.cpp117 // clip this vertex against each user clip plane
124 GLfixed d = dot4(c->clipPlanes.plane[i].equation.v, v->eye.v);
164 static void clipPlanex(GLenum plane, const GLfixed* equ, ogles_context_t* c) argument
166 const int p = plane - GL_CLIP_PLANE0;
172 vec4_t& equation = c->clipPlanes.plane[p].equation;
231 void glClipPlanef(GLenum plane, const GLfloat* equ) argument
240 clipPlanex(plane, equx, c);
243 void glClipPlanex(GLenum plane, const GLfixed* equ) argument
246 clipPlanex(plane, equ, c);
H A Dprimitives.cpp838 GLfixed frustumPlaneDist(int plane, const vec4_t& s) argument
840 const GLfixed d = s.v[ plane >> 1 ];
841 return ((plane & 1) ? (s.w - d) : (s.w + d));
859 // Temporary buffer to hold the new vertices. Each plane can add up to
879 // 3 input vertices, 0 in the output list, first plane
884 // clipping, except for the computation of the distance (vertex, plane)
890 unsigned int plane = 0; local
899 // previous vertex, compute distance to the plane
901 const vec4_t& equation = c->clipPlanes.plane[plane]
956 unsigned int plane = 0; local
1039 unsigned int plane = 0; local
1075 unsigned int plane = 0; local
[all...]
H A Dcontext.h272 clip_plane_t plane[OGLES_MAX_CLIP_PLANES]; member in struct:android::gl::user_clip_planes_t
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java88 Renderable plane = (Renderable)mActiveScene.getRenderableByName("pPlaneShape1");
89 if (plane != null) {
90 plane.setVisible(!mUseBlur);
257 Renderable plane = (Renderable)mActiveScene.getRenderableByName("pPlaneShape1");
258 if (plane != null) {
259 plane.setRenderState(texState);
260 plane.setVisible(!mUseBlur);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.h104 M4OSA_Void prepareYUV420ImagePlane(M4VIFI_ImagePlane *plane,
108 M4OSA_Void prepareYV12ImagePlane(M4VIFI_ImagePlane *plane,
H A DVideoEditorTools.cpp568 * Initialize input / output plane pointers */
631 * Framing is applyed if coordinates matches between framing/topleft and input plane */
696 * Just copy input plane to output plane */
751 /* Initialize input / output plane pointers */
932 * @brief This function converts an RGB565 plane to YUV420 planar
935 * @param framingCtx (IN) The framing struct containing input RGB565 plane
948 framingCtx->FramingYuv = (M4VIFI_ImagePlane*)M4OSA_32bitAlignedMalloc(3*sizeof(M4VIFI_ImagePlane), M4VS, (M4OSA_Char*)"M4xVSS_internalConvertRGBtoYUV: Output plane YUV");
997 * @brief This function converts an RGB888 plane to YUV420 planar
1000 * @param framingCtx (IN) The framing struct containing input RGB888 plane
2962 prepareYUV420ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4VIFI_UInt8 *buffer, M4OSA_UInt32 reportedWidth, M4OSA_UInt32 reportedHeight) argument
2988 prepareYV12ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer) argument
[all...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec4 void glClipPlanef ( GLenum plane, const GLfloat *equation )
5 void glClipPlanex ( GLenum plane, const GLfixed *equation )
H A DGLES11Ext.spec17 void glClipPlanexOES ( GLenum plane, const GLfixed *equation )
79 void glClipPlanefOES ( GLenum plane, const GLfloat *equation )
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java179 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
182 int plane,
187 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
190 int plane,
194 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
197 int plane,
202 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
205 int plane,
181 glClipPlanef( int plane, float[] equation, int offset ) argument
189 glClipPlanef( int plane, java.nio.FloatBuffer equation ) argument
196 glClipPlanex( int plane, int[] equation, int offset ) argument
204 glClipPlanex( int plane, java.nio.IntBuffer equation ) argument
H A DGLES11Ext.java294 // C function void glClipPlanexOES ( GLenum plane, const GLfixed *equation )
297 int plane,
302 // C function void glClipPlanexOES ( GLenum plane, const GLfixed *equation )
305 int plane,
968 // C function void glClipPlanefOES ( GLenum plane, const GLfloat *equation )
971 int plane,
976 // C function void glClipPlanefOES ( GLenum plane, const GLfloat *equation )
979 int plane,
296 glClipPlanexOES( int plane, int[] equation, int offset ) argument
304 glClipPlanexOES( int plane, java.nio.IntBuffer equation ) argument
970 glClipPlanefOES( int plane, float[] equation, int offset ) argument
978 glClipPlanefOES( int plane, java.nio.FloatBuffer equation ) argument
H A DGLErrorWrapper.java846 public void glClipPlanef(int plane, float[] equation, int offset) { argument
848 mgl11.glClipPlanef(plane, equation, offset);
852 public void glClipPlanef(int plane, FloatBuffer equation) { argument
854 mgl11.glClipPlanef(plane, equation);
858 public void glClipPlanex(int plane, int[] equation, int offset) { argument
860 mgl11.glClipPlanex(plane, equation, offset);
864 public void glClipPlanex(int plane, IntBuffer equation) { argument
866 mgl11.glClipPlanex(plane, equation);
H A DGLLogWrapper.java2586 public void glClipPlanef(int plane, float[] equation, int offset) { argument
2588 arg("plane", plane);
2592 mgl11.glClipPlanef(plane, equation, offset);
2596 public void glClipPlanef(int plane, FloatBuffer equation) { argument
2598 arg("plane", plane);
2601 mgl11.glClipPlanef(plane, equation);
2605 public void glClipPlanex(int plane, int[] equation, int offset) { argument
2607 arg("plane", plan
2615 glClipPlanex(int plane, IntBuffer equation) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java167 int plane,
173 int plane,
178 int plane,
184 int plane,
166 glClipPlanef( int plane, float[] equation, int offset ) argument
172 glClipPlanef( int plane, java.nio.FloatBuffer equation ) argument
177 glClipPlanex( int plane, int[] equation, int offset ) argument
183 glClipPlanex( int plane, java.nio.IntBuffer equation ) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1191 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
1194 int plane,
1199 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
1202 int plane,
1206 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
1209 int plane,
1214 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
1217 int plane,
1193 glClipPlanef( int plane, float[] equation, int offset ) argument
1201 glClipPlanef( int plane, java.nio.FloatBuffer equation ) argument
1208 glClipPlanex( int plane, int[] equation, int offset ) argument
1216 glClipPlanex( int plane, java.nio.IntBuffer equation ) argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp212 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
215 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
241 (GLenum)plane,
255 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
258 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
273 (GLenum)plane,
284 /* void glClipPlanex ( GLenum plane, const GLfixed *equation ) */
287 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
313 (GLenum)plane,
327 /* void glClipPlanex ( GLenum plane, cons
214 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
257 android_glClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
286 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
329 android_glClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp618 /* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */
621 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
647 (GLenum)plane,
661 /* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */
664 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
676 (GLenum)plane,
2649 /* void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) */
2652 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
2678 (GLenum)plane,
2692 /* void glClipPlanefOES ( GLenum plane, cons
620 android_glClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
663 android_glClipPlanexOES__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
2651 android_glClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
2694 android_glClipPlanefOES__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp4170 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
4173 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
4205 (GLenum)plane,
4219 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
4222 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
4243 (GLenum)plane,
4256 /* void glClipPlanex ( GLenum plane, const GLfixed *equation ) */
4259 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
4291 (GLenum)plane,
4305 /* void glClipPlanex ( GLenum plane, cons
4172 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
4221 android_glClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
4258 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
4307 android_glClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs146 static const int DRAG_MODEL_PLANE = 1; // Drag relative to projected point on plane of carousel
186 float cardRotation; // rotation of card in XY plane relative to Z=1
244 // Default plane of the carousel. Used for angular motion estimation in view.
248 0.0f // plane constant (= -dot(P, N))
289 static bool rayPlaneIntersect(Ray* ray, Plane* plane, float* tout);
1069 // Computes a hit angle from the center of the carousel to a point on either a plane
1107 // If we didn't hit anything or drag model wasn't plane or cylinder, we use screen delta
1378 if (div == 0.0f) return false; // ray is parallel to plane.
1398 // Computes ray/plane intersection. Returns false if no intersection found.
1401 rayPlaneIntersect(Ray* ray, Plane* plane, floa
[all...]
/frameworks/native/opengl/include/GLES/
H A Dglext.h621 GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
661 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
795 GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
802 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
H A Dgl.h596 GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation);
645 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h294 void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation);
326 void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation);
397 void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation);
456 void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation);
H A Dgltrace_api.cpp11200 void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation) { argument
11206 // copy argument plane
11210 arg_plane->add_intvalue((int)plane);
11221 glContext->hooks->gl.glClipPlanef(plane, equation);
12445 void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation) { argument
12451 // copy argument plane
12455 arg_plane->add_intvalue((int)plane);
12466 glContext->hooks->gl.glClipPlanex(plane, equation);
15016 void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation) { argument
15022 // copy argument plane
17326 GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation) argument
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4xVSS_internal.c258 * YUV420 plane size
420 * YUV420 plane size
438 M4VS, (M4OSA_Char*)"M4xVSS_internalConvertRGBtoYUV: Output plane YUV");
1426 M4OSA_TRACE1_1("M4xVSS_PictureCallbackFct: Error when getting AIR plane: 0x%x", err);
1755 * @brief This function converts an RGB565 plane to YUV420 planar
1758 * @param framingCtx (IN) The framing struct containing input RGB565 plane
1772 M4VS, (M4OSA_Char *)"M4xVSS_internalConvertRGBtoYUV: Output plane YUV");
1829 M4OSA_UInt8* plane = planeIn; local
1835 *plane++ = transparent1;
1836 *plane
[all...]

Completed in 237 milliseconds