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

/frameworks/base/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...]
/frameworks/media/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/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/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/services/surfaceflinger/
H A DSurfaceFlinger.cpp161 const GraphicPlane& plane(mGraphicPlanes[dpy]);
162 return plane;
222 GraphicPlane& plane(graphicPlane(dpy));
224 plane.setDisplayHardware(hw);
241 const GraphicPlane& plane(graphicPlane(dpy));
242 const DisplayHardware& hw = plane.displayHardware();
252 dcblk->w = plane.getWidth();
253 dcblk->h = plane.getHeight();
546 GraphicPlane& plane(graphicPlane(dpy));
547 plane
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1190 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
1193 int plane,
1198 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
1201 int plane,
1205 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
1208 int plane,
1213 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
1216 int plane,
1192 glClipPlanef( int plane, float[] equation, int offset ) argument
1200 glClipPlanef( int plane, java.nio.FloatBuffer equation ) argument
1207 glClipPlanex( int plane, int[] equation, int offset ) argument
1215 glClipPlanex( int plane, java.nio.IntBuffer equation ) argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp189 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
192 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
211 (GLenum)plane,
222 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
225 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
232 (GLenum)plane,
240 /* void glClipPlanex ( GLenum plane, const GLfixed *equation ) */
243 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
262 (GLenum)plane,
273 /* void glClipPlanex ( GLenum plane, cons
191 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
224 android_glClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
242 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
275 android_glClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp514 /* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */
517 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
536 (GLenum)plane,
547 /* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */
550 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
557 (GLenum)plane,
2193 /* void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) */
2196 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
2215 (GLenum)plane,
2226 /* void glClipPlanefOES ( GLenum plane, cons
516 android_glClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
549 android_glClipPlanexOES__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
2195 android_glClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
2228 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.cpp3703 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
3706 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
3729 (GLenum)plane,
3740 /* void glClipPlanef ( GLenum plane, const GLfloat *equation ) */
3743 (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
3754 (GLenum)plane,
3764 /* void glClipPlanex ( GLenum plane, const GLfixed *equation ) */
3767 (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
3790 (GLenum)plane,
3801 /* void glClipPlanex ( GLenum plane, cons
3705 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
3742 android_glClipPlanef__ILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
3766 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
3803 android_glClipPlanex__ILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) argument
[all...]
/frameworks/base/opengl/include/GLES/
H A Dglext.h532 GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
572 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
706 GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
713 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/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/base/opengl/libs/
H A Dglesv2dbg_functions.h39 GL_ENTRY(void, glClipPlanef, GLenum plane, const GLfloat *equation)
41 GL_ENTRY(void, glClipPlanefOES, GLenum plane, const GLfloat *equation)
42 GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed *equation)
44 GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed *equation)
/frameworks/media/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...]
/frameworks/base/include/private/opengles/
H A Dgl_context.h272 clip_plane_t plane[OGLES_MAX_CLIP_PLANES]; member in struct:android::gl::user_clip_planes_t

Completed in 382 milliseconds