/external/mesa3d/src/mesa/main/ |
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 );
|
clip.c | 36 * Update derived clip plane state. 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane) 44 /* Clip-Space Plane = Eye-Space Plane * Projection Matrix */ 45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], 46 ctx->Transform.EyeUserPlane[plane], 52 _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) 59 p = (GLint) plane - (GLint) GL_CLIP_PLANE0; 95 ctx->Driver.ClipPlane( ctx, plane, equation ); 100 _mesa_GetClipPlane( GLenum plane, GLdouble *equation [all...] |
/external/libdrm/tests/kms/ |
libkms-test-plane.c | 33 static int kms_plane_probe(struct kms_plane *plane) 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->type = props->prop_values[i] 96 struct kms_plane *plane; local [all...] |
kms-universal-planes.c | 48 static uint32_t choose_format(struct kms_plane *plane) 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 = kms_device_find_plane_by_type(device [all...] |
/external/libdrm/tests/planetest/ |
modeset.c | 143 if (!(p->plane->possible_crtcs & (1 << crtc->pipe))) 152 void put_sp_plane(struct sp_plane *plane) 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->bo) [all...] |
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,
|
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[i]->bo) [all...] |
dev.c | 89 static int get_supported_format(struct sp_plane *plane, uint32_t *format) 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->plane->formats[i] == DRM_FORMAT_NV12) 232 struct sp_plane *plane = &dev->planes[i]; local [all...] |
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[i]->bo) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
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 31 const int h = plane ? (img->d_h + img->y_chroma_shift) >> 33 const int w = plane ? (img->d_w + img->x_chroma_shift) >> 38 buf += img->stride[plane];
|
/external/mesa3d/src/mesa/math/ |
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[4] [all...] |
/external/libvpx/libvpx/ |
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]; 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/ |
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 step in pixels. May be negative [all...] |
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 < fPlanes; plane++ [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
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);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_encodemb.h | 26 void vp9_xform_quant(MACROBLOCK *x, int plane, int block, 29 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); 31 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, 35 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
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[j].dcdx - plane[j].eo 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/ |
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[2] = c [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
tools_common.c | 84 int plane = 0; local 87 for (plane = 0; plane < 3; ++plane) { 89 const int w = (plane ? (1 + yuv_frame->d_w) / 2 : yuv_frame->d_w); 90 const int h = (plane ? (1 + yuv_frame->d_h) / 2 : yuv_frame->d_h); 93 /* Determine the correct plane based on the image format. The for-loop 97 switch (plane) { 107 ptr = yuv_frame->planes[plane]; 125 ptr += yuv_frame->stride[plane]; 221 int plane; local 238 int plane; local [all...] |
/external/libvpx/libvpx/test/ |
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];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
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) 79 visit(plane, i, plane_bsize, tx_size, arg); 85 visit(plane, i, plane_bsize, tx_size, arg); 93 int plane; local 95 for (plane = 0; plane < MAX_MB_PLANE; plane++ [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngPlaneManager.cpp | 53 DisplayPlane *plane = 0; local 57 plane = new TngPrimaryPlane(index, index); 60 plane = new TngSpritePlane(index, 0); 63 plane = new TngOverlayPlane(index, 0); 66 plane = new TngCursorPlane(index, index /*disp */); 72 if (plane && !plane->initialize(DisplayPlane::MIN_DATA_BUFFER_COUNT)) { 73 ETRACE("failed to initialize plane."); 74 DEINIT_AND_DELETE_OBJ(plane); 77 return plane; 183 DisplayPlane *plane = getPlane(type, index); local [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_detokenize.h | 24 int plane, const scan_order *sc,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_detokenize.h | 23 int plane, int block, BLOCK_SIZE plane_bsize,
|
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
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 = $plane{$table} [all...] |