/frameworks/native/opengl/libagl/ |
H A D | vertex.cpp | 117 // 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 D | primitives.cpp | 838 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 D | context.h | 272 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 D | TestAppRS.java | 88 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 D | VideoEditorTools.h | 104 M4OSA_Void prepareYUV420ImagePlane(M4VIFI_ImagePlane *plane, 108 M4OSA_Void prepareYV12ImagePlane(M4VIFI_ImagePlane *plane,
|
H A D | VideoEditorTools.cpp | 568 * 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/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 179 // 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 D | GLES11Ext.java | 294 // 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 D | GLErrorWrapper.java | 846 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 D | GLLogWrapper.java | 2586 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 D | GL11.java | 167 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/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 4 void glClipPlanef ( GLenum plane, const GLfloat *equation ) 5 void glClipPlanex ( GLenum plane, const GLfixed *equation )
|
H A D | GLES11Ext.spec | 17 void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) 79 void glClipPlanefOES ( GLenum plane, const GLfloat *equation )
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 435 final Image.Plane plane = image.getPlanes()[0]; 436 final ByteBuffer buffer = plane.getBuffer(); 439 final int pixelStride = plane.getPixelStride(); 440 final int rowStride = plane.getRowStride();
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 1191 // 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 D | android_opengl_GLES11.cpp | 417 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */ 420 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) { 446 (GLenum)plane, 460 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */ 463 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) { 478 (GLenum)plane, 489 /* void glClipPlanex ( GLenum plane, const GLfixed *equation ) */ 492 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) { 518 (GLenum)plane, 532 /* void glClipPlanex ( GLenum plane, cons 419 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument 462 android_glClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument 491 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument 534 android_glClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 823 /* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */ 826 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) { 852 (GLenum)plane, 866 /* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */ 869 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) { 881 (GLenum)plane, 2854 /* void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) */ 2857 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) { 2883 (GLenum)plane, 2897 /* void glClipPlanefOES ( GLenum plane, cons 825 android_glClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument 868 android_glClipPlanexOES__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument 2856 android_glClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument 2899 android_glClipPlanefOES__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument [all...] |
H A D | com_google_android_gles_jni_GLImpl.cpp | 4170 /* 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 D | carousel.rs | 146 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 D | glext.h | 621 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 D | gl.h | 596 GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation); 645 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4xVSS_internal.c | 258 * 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...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.h | 398 void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation); 430 void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation); 501 void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation); 560 void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation);
|
H A D | gltrace_api.cpp | 15820 void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation) { argument 15826 // copy argument plane 15830 arg_plane->add_intvalue((int)plane); 15841 glContext->hooks->gl.glClipPlanef(plane, equation); 17065 void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation) { argument 17071 // copy argument plane 17075 arg_plane->add_intvalue((int)plane); 17086 glContext->hooks->gl.glClipPlanex(plane, equation); 19636 void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation) { argument 19642 // copy argument plane 21946 GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation) argument [all...] |