/external/mesa3d/src/mesa/main/ |
H A D | clip.h | 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane); 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
H A D | clip.c | 36 * Update derived clip plane state. 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane) argument 45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], 46 ctx->Transform.EyeUserPlane[plane], 52 _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) argument 59 p = (GLint) plane - (GLint) GL_CLIP_PLANE0; 95 ctx->Driver.ClipPlane( ctx, plane, equation ); 100 _mesa_GetClipPlane( GLenum plane, GLdouble *equation ) argument 106 p = (GLint) (plane - GL_CLIP_PLANE0);
|
/external/libdrm/tests/kms/ |
H A D | libkms-test-plane.c | 33 static int kms_plane_probe(struct kms_plane *plane) argument 35 struct kms_device *device = plane->device; 40 p = drmModeGetPlane(device->fd, plane->id); 56 plane->crtc = device->crtcs[i]; 61 plane->formats = calloc(p->count_formats, sizeof(uint32_t)); 62 if (!plane->formats) 66 plane->formats[i] = p->formats[i]; 68 plane->num_formats = p->count_formats; 72 props = drmModeObjectGetProperties(device->fd, plane->id, 83 plane 96 struct kms_plane *plane; local 110 kms_plane_free(struct kms_plane *plane) argument 115 kms_plane_set(struct kms_plane *plane, struct kms_framebuffer *fb, unsigned int x, unsigned int y) argument 130 kms_plane_supports_format(struct kms_plane *plane, uint32_t format) argument [all...] |
H A D | kms-universal-planes.c | 48 static uint32_t choose_format(struct kms_plane *plane) argument 53 if (kms_plane_supports_format(plane, formats[i])) 137 struct kms_plane *plane; local 212 struct kms_plane *plane = device->planes[i]; local 215 switch (plane->type) { 229 printf(" %u: %p\n", i, plane); 230 printf(" ID: %x\n", plane->id); 231 printf(" CRTC: %x\n", plane->crtc->id); 232 printf(" Type: %x (%s)\n", plane->type, type); 240 plane [all...] |
/external/libdrm/tests/planetest/ |
H A D | modeset.c | 143 if (!(p->plane->possible_crtcs & (1 << crtc->pipe))) 152 void put_sp_plane(struct sp_plane *plane) argument 156 /* Get the latest plane information (most notably the crtc_id) */ 157 p = drmModeGetPlane(plane->dev->fd, plane->plane->plane_id); 159 plane->plane = p; 161 if (plane->bo) { 162 free_sp_bo(plane 168 set_sp_plane(struct sp_dev *dev, struct sp_plane *plane, struct sp_crtc *crtc, int x, int y) argument 192 set_sp_plane_pset(struct sp_dev *dev, struct sp_plane *plane, drmModePropertySetPtr pset, struct sp_crtc *crtc, int x, int y) argument [all...] |
H A D | modeset.h | 11 void put_sp_plane(struct sp_plane *plane); 13 int set_sp_plane(struct sp_dev *dev, struct sp_plane *plane, 16 int set_sp_plane_pset(struct sp_dev *dev, struct sp_plane *plane,
|
H A D | planetest.c | 41 struct sp_plane **plane = NULL; local 67 plane = calloc(dev->num_planes, sizeof(*plane)); 68 if (!plane) { 69 printf("Failed to allocate plane array\n"); 76 plane[i] = get_sp_plane(dev, test_crtc); 77 if (!plane[i]) { 82 plane[i]->bo = create_sp_bo(dev, plane_w, plane_h, 16, 83 plane[i]->format, 0); 84 if (!plane[ [all...] |
H A D | dev.c | 89 static int get_supported_format(struct sp_plane *plane, uint32_t *format) argument 93 for (i = 0; i < plane->plane->count_formats; i++) { 94 if (plane->plane->formats[i] == DRM_FORMAT_XRGB8888 || 95 plane->plane->formats[i] == DRM_FORMAT_ARGB8888 || 96 plane->plane->formats[i] == DRM_FORMAT_RGBA8888 || 97 plane 232 struct sp_plane *plane = &dev->planes[i]; local [all...] |
H A D | atomictest.c | 47 struct sp_plane **plane = NULL; local 79 plane = calloc(dev->num_planes, sizeof(*plane)); 80 if (!plane) { 81 printf("Failed to allocate plane array\n"); 88 plane[i] = get_sp_plane(dev, test_crtc); 89 if (!plane[i]) { 94 plane[i]->bo = create_sp_bo(dev, plane_w, plane_h, 16, plane[i]->format, 0); 95 if (!plane[ [all...] |
/external/mesa3d/src/mesa/math/ |
H A D | m_dotprod_tmp.h | 36 const GLfloat plane[4] ) 44 const GLfloat plane0 = plane[0], plane1 = plane[1], plane3 = plane[3]; 56 const GLfloat plane[4] ) 64 const GLfloat plane0 = plane[0], plane1 = plane[1], plane2 = plane[2]; 65 const GLfloat plane3 = plane[3]; 78 const GLfloat plane[ [all...] |
/external/libvpx/libvpx/ |
H A D | tools_common.c | 84 int plane = 0; local 88 for (plane = 0; plane < 3; ++plane) { 90 const int w = vpx_img_plane_width(yuv_frame, plane); 91 const int h = vpx_img_plane_height(yuv_frame, plane); 94 /* Determine the correct plane based on the image format. The for-loop 98 switch (plane) { 108 ptr = yuv_frame->planes[plane]; 126 ptr += yuv_frame->stride[plane]; 223 vpx_img_plane_width(const vpx_image_t *img, int plane) argument 230 vpx_img_plane_height(const vpx_image_t *img, int plane) argument 238 int plane; local 256 int plane; local 294 int plane; local 334 int plane; local 381 int plane; local 419 int plane; local 457 int plane; local [all...] |
/external/dng_sdk/source/ |
H A D | dng_pixel_buffer.h | 85 /// plus the steps (in bytes) between each column, row and plane. 127 uint32 plane = 0) const 133 plane < fPlane || (plane - fPlane) >= fPlanes) 144 static_cast<int64> (plane - fPlane)); 168 /// computing the row, column or plane step, or if an invalid value was 172 /// \param plane Index of the first plane 180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes, 220 /// \retval plane ste 514 SetConstant_uint8(const dng_rect &area, uint32 plane, uint32 planes, uint8 value) argument 532 SetConstant_uint16(const dng_rect &area, uint32 plane, uint32 planes, uint16 value) argument 550 SetConstant_int16(const dng_rect &area, uint32 plane, uint32 planes, int16 value) argument 568 SetConstant_uint32(const dng_rect &area, uint32 plane, uint32 planes, uint32 value) argument 586 SetConstant_real32(const dng_rect &area, uint32 plane, uint32 planes, real32 value) argument 635 CopyArea(const dng_pixel_buffer &src, const dng_rect &area, uint32 plane, uint32 planes) argument [all...] |
H A D | dng_lens_correction.cpp | 85 bool dng_warp_params::IsNOP (uint32 plane) const 88 return IsRadNOP (plane) && 89 IsTanNOP (plane); 98 for (uint32 plane = 0; plane < fPlanes; plane++) 101 if (!IsRadNOP (plane)) 114 bool dng_warp_params::IsRadNOP (uint32 /* plane */) const 126 for (uint32 plane = 0; plane < fPlane 197 EvaluateInverse(uint32 plane, real64 y) const argument 241 EvaluateTangential2(uint32 plane, const dng_point_real64 &diff) const argument 262 EvaluateTangential3(uint32 plane, real64 r2, const dng_point_real64 &diff) const argument [all...] |
H A D | dng_lens_correction.h | 88 /// Is the entire correction a NOP for the specified plane? 90 virtual bool IsNOP (uint32 plane) const; 96 /// Is the radial correction a NOP for the specified plane? 98 virtual bool IsRadNOP (uint32 plane) const; 104 /// Is the tangential correction a NOP for the specified plane? 106 virtual bool IsTanNOP (uint32 plane) const; 116 /// Propagate warp parameters from first plane to all other planes. 120 /// Evaluate the 1D radial warp function for the specified plane. 126 virtual real64 Evaluate (uint32 plane, 136 virtual real64 EvaluateInverse (uint32 plane, [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_encodemb.h | 28 void vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block, 30 void vp9_xform_quant_dc(MACROBLOCK *x, int plane, int block, 32 void vp9_xform_quant(MACROBLOCK *x, int plane, int block, 35 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); 37 void vp9_encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, 40 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast_tri_tmp.h | 35 * Prototype for a 8 plane rasterizer function. Will codegenerate 45 const struct lp_rast_plane *plane, 54 -plane[j].dcdx, 55 plane[j].dcdy); 71 const struct lp_rast_plane *plane, 82 const int dcdx = -plane[j].dcdx * 4; 83 const int dcdy = plane[j].dcdy * 4; 84 const int cox = plane[j].eo * 4; 85 const int ei = plane[j].dcdy - plane[ 43 do_block_4(struct lp_rasterizer_task *task, const struct lp_rast_triangle *tri, const struct lp_rast_plane *plane, int x, int y, const int *c) argument 69 do_block_16(struct lp_rasterizer_task *task, const struct lp_rast_triangle *tri, const struct lp_rast_plane *plane, int x, int y, const int *c) argument 162 struct lp_rast_plane plane[NR_PLANES]; local 261 const struct lp_rast_plane *plane = GET_PLANES(tri); local 334 const struct lp_rast_plane *plane = GET_PLANES(tri); local [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aatriangle.c | 43 * Compute coefficients of a plane using the X,Y coords of the v0, v1, v2 45 * A point (x,y,z) lies on plane iff a*x+b*y+c*z+d = 0. 49 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) 59 /* Crossproduct "(a,b,c):= dv1 x dv2" is orthogonal to plane. */ 63 /* Point on the plane = "r*(a,b,c) + w", with fixed "r" depending 64 on the distance of plane from origin and arbitrary "w" parallel 65 to the plane. */ 70 plane[0] = a; 71 plane[1] = b; 72 plane[ 48 compute_plane(const GLfloat v0[], const GLfloat v1[], const GLfloat v2[], GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) argument 81 constant_plane(GLfloat value, GLfloat plane[4]) argument 103 solve_plane(GLfloat x, GLfloat y, const GLfloat plane[4]) argument 118 solve_plane_recip(GLfloat x, GLfloat y, const GLfloat plane[4]) argument 132 solve_plane_chan(GLfloat x, GLfloat y, const GLfloat plane[4]) argument 148 plane_dx(const GLfloat plane[4]) argument 154 plane_dy(const GLfloat plane[4]) argument [all...] |
/external/libvpx/libvpx/test/ |
H A D | md5_helper.h | 25 for (int plane = 0; plane < 3; ++plane) { 26 const uint8_t *buf = img->planes[plane]; 28 // plane, we never want to round down and thus skip a pixel so if 33 const int h = plane ? (img->d_h + img->y_chroma_shift) >> 35 const int w = (plane ? (img->d_w + img->x_chroma_shift) >> 40 buf += img->stride[plane];
|
/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_detokenize.h | 24 int plane, const scan_order *sc,
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
H A D | btClipPolygon.h | 31 SIMD_FORCE_INLINE btScalar bt_distance_point_plane(const btVector4 & plane,const btVector3 &point) argument 33 return point.dot(plane) - plane[3]; 43 //! This function calcs the distance from a 3D plane 68 //! Clips a polygon by a plane 73 const btVector4 & plane, 82 btScalar firstdist = bt_distance_point_plane(plane,polygon_points[0]);; 92 btScalar dist = bt_distance_point_plane(plane,polygon_points[i]); 117 //! Clips a polygon by a plane 123 const btVector4 & plane, 72 bt_plane_clip_polygon( const btVector4 & plane, const btVector3 * polygon_points, int polygon_point_count, btVector3 * clipped) argument 122 bt_plane_clip_triangle( const btVector4 & plane, const btVector3 & point0, const btVector3 & point1, const btVector3& point2, btVector3 * clipped ) argument [all...] |
H A D | gim_clip_polygon.h | 37 //! This function calcs the distance from a 3D plane 42 inline GREAL operator()(const CLASS_PLANE & plane, const CLASS_POINT & point) argument 44 return DISTANCE_PLANE_POINT(plane, point); 75 //! Clips a polygon by a plane 81 const CLASS_PLANE & plane, 90 GREAL firstdist = distance_func(plane,polygon_points[0]);; 100 GREAL dist = distance_func(plane,polygon_points[_i]); 125 //! Clips a polygon by a plane 131 const CLASS_PLANE & plane, 140 GREAL firstdist = distance_func(plane,point 80 PLANE_CLIP_POLYGON_GENERIC( const CLASS_PLANE & plane, const CLASS_POINT * polygon_points, GUINT polygon_point_count, CLASS_POINT * clipped,DISTANCE_PLANE_FUNC distance_func) argument 130 PLANE_CLIP_TRIANGLE_GENERIC( const CLASS_PLANE & plane, const CLASS_POINT & point0, const CLASS_POINT & point1, const CLASS_POINT & point2, CLASS_POINT * clipped,DISTANCE_PLANE_FUNC distance_func) argument 187 PLANE_CLIP_POLYGON3D( const CLASS_PLANE & plane, const CLASS_POINT * polygon_points, GUINT polygon_point_count, CLASS_POINT * clipped) argument 198 PLANE_CLIP_TRIANGLE3D( const CLASS_PLANE & plane, const CLASS_POINT & point0, const CLASS_POINT & point1, const CLASS_POINT & point2, CLASS_POINT * clipped) argument [all...] |
H A D | gim_basic_geometry_operations.h | 65 /// plane is a vec4f 66 #define TRIANGLE_PLANE(v1,v2,v3,plane) {\ 67 TRIANGLE_NORMAL(v1,v2,v3,plane);\ 68 plane[3] = VEC_DOT(v1,plane);\ 71 /// plane is a vec4f 72 #define TRIANGLE_PLANE_FAST(v1,v2,v3,plane) {\ 73 TRIANGLE_NORMAL_FAST(v1,v2,v3,plane);\ 74 plane[3] = VEC_DOT(v1,plane);\ 110 PLANE_CLIP_SEGMENT( const CLASS_POINT& s1, const CLASS_POINT &s2,const CLASS_PLANE &plane,CLASS_POINT &clipped) argument 153 PLANE_CLIP_SEGMENT2( const CLASS_POINT& s1, const CLASS_POINT &s2, const CLASS_PLANE &plane,CLASS_POINT &clipped) argument 195 PLANE_CLIP_SEGMENT_CLOSEST( const CLASS_POINT& s1, const CLASS_POINT &s2, const CLASS_PLANE &plane, CLASS_POINT &clipped1,CLASS_POINT &clipped2) argument 240 RAY_PLANE_COLLISION( const CLASS_PLANE & plane, const CLASS_POINT & vDir, const CLASS_POINT & vPoint, CLASS_POINT & pout,T &tparam) argument 267 LINE_PLANE_COLLISION( const CLASS_PLANE & plane, const CLASS_POINT & vDir, const CLASS_POINT & vPoint, CLASS_POINT & pout, T &tparam, T tmin, T tmax) argument [all...] |
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
H A D | symshift.pl | 3 # "plane" and create combined symbol table 21 # into a corresponding plane when forming such input sequences: 23 # id_combined = id_original + 256 * plane 26 # constants (e.g. the plane for each set). Also, some hard-coded 97 the appropriate plane 118 %plane = ( 128 $table{$plane{$table}} = $table; 185 #printf STDERR "doing table $table (plane %d)\n", $plane{$table}; 188 $plane [all...] |
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_blockd.c | 40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, 42 const struct macroblockd_plane *const pd = &xd->plane[plane]; 46 // transform size varies per plane, look it up in a common way. 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) 69 visit(plane, i, plane_bsize, tx_size, arg); 80 int plane; local 82 for (plane = 0; plane < MAX_MB_PLANE; ++plane) 39 vp9_foreach_transformed_block_in_plane( const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, foreach_transformed_block_visitor visit, void *arg) argument [all...] |
/external/libvpx/libvpx/examples/ |
H A D | decode_to_md5.c | 28 // Each row of the image is passed to the MD5 accumulator. First the Y plane 45 int plane, y; local 50 for (plane = 0; plane < 3; ++plane) { 51 const unsigned char *buf = img->planes[plane]; 52 const int stride = img->stride[plane]; 53 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; 54 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h;
|