/external/libdrm/tests/planetest/ |
D | modeset.c | 143 if (!(p->plane->possible_crtcs & (1 << crtc->pipe))) in get_sp_plane() 152 void put_sp_plane(struct sp_plane *plane) in put_sp_plane() argument 157 p = drmModeGetPlane(plane->dev->fd, plane->plane->plane_id); in put_sp_plane() 159 plane->plane = p; in put_sp_plane() 161 if (plane->bo) { in put_sp_plane() 162 free_sp_bo(plane->bo); in put_sp_plane() 163 plane->bo = NULL; in put_sp_plane() 165 plane->in_use = 0; in put_sp_plane() 168 int set_sp_plane(struct sp_dev *dev, struct sp_plane *plane, in set_sp_plane() argument 174 w = plane->bo->width; in set_sp_plane() [all …]
|
D | dev.c | 89 static int get_supported_format(struct sp_plane *plane, uint32_t *format) in get_supported_format() argument 93 for (i = 0; i < plane->plane->count_formats; i++) { in get_supported_format() 94 if (plane->plane->formats[i] == DRM_FORMAT_XRGB8888 || in get_supported_format() 95 plane->plane->formats[i] == DRM_FORMAT_ARGB8888 || in get_supported_format() 96 plane->plane->formats[i] == DRM_FORMAT_RGBA8888) { in get_supported_format() 97 *format = plane->plane->formats[i]; in get_supported_format() 231 struct sp_plane *plane = &dev->planes[i]; in create_sp_dev() local 233 plane->dev = dev; in create_sp_dev() 234 plane->plane = drmModeGetPlane(dev->fd, pr->planes[i]); in create_sp_dev() 235 if (!plane->plane) { in create_sp_dev() [all …]
|
D | planetest.c | 41 struct sp_plane **plane = NULL; in main() local 67 plane = calloc(dev->num_planes, sizeof(*plane)); in main() 68 if (!plane) { in main() 76 plane[i] = get_sp_plane(dev, test_crtc); in main() 77 if (!plane[i]) { in main() 82 plane[i]->bo = create_sp_bo(dev, plane_w, plane_h, 16, 32, in main() 83 plane[i]->format, 0); in main() 84 if (!plane[i]->bo) { in main() 89 fill_bo(plane[i]->bo, 0xFF, 0xFF, 0xFF, 0xFF); in main() 99 ret = set_sp_plane(dev, plane[j], test_crtc, in main() [all …]
|
D | atomictest.c | 47 struct sp_plane **plane = NULL; in main() local 79 plane = calloc(dev->num_planes, sizeof(*plane)); in main() 80 if (!plane) { in main() 88 plane[i] = get_sp_plane(dev, test_crtc); in main() 89 if (!plane[i]) { in main() 94 plane[i]->bo = create_sp_bo(dev, plane_w, plane_h, 16, 32, in main() 95 plane[i]->format, 0); in main() 96 if (!plane[i]->bo) { in main() 101 fill_bo(plane[i]->bo, 0xFF, 0xFF, 0xFF, 0xFF); in main() 120 ret = set_sp_plane_pset(dev, plane[j], pset, test_crtc, in main() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aatriangle.c | 49 GLfloat z0, GLfloat z1, GLfloat z2, GLfloat plane[4]) in compute_plane() 70 plane[0] = a; in compute_plane() 71 plane[1] = b; in compute_plane() 72 plane[2] = c; in compute_plane() 73 plane[3] = d; in compute_plane() 81 constant_plane(GLfloat value, GLfloat plane[4]) in constant_plane() 83 plane[0] = 0.0; in constant_plane() 84 plane[1] = 0.0; in constant_plane() 85 plane[2] = -1.0; in constant_plane() 86 plane[3] = value; in constant_plane() [all …]
|
D | s_aaline.c | 90 GLfloat z0, GLfloat z1, GLfloat plane[4]) in compute_plane() 104 plane[0] = a; in compute_plane() 105 plane[1] = b; in compute_plane() 106 plane[2] = c; in compute_plane() 107 plane[3] = d; in compute_plane() 118 plane[0] = 0.0; in compute_plane() 119 plane[1] = 0.0; in compute_plane() 120 plane[2] = 1.0; in compute_plane() 121 plane[3] = 0.0; in compute_plane() 124 plane[0] = a; in compute_plane() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_tri_tmp.h | 45 const struct lp_rast_plane *plane, in TAG() 54 -plane[j].dcdx, in TAG() 55 plane[j].dcdy); in TAG() 71 const struct lp_rast_plane *plane, in TAG() 82 const int dcdx = -plane[j].dcdx * 4; in TAG() 83 const int dcdy = plane[j].dcdy * 4; in TAG() 84 const int cox = plane[j].eo * 4; in TAG() 85 const int ei = plane[j].dcdy - plane[j].dcdx - plane[j].eo; in TAG() 127 - plane[j].dcdx * ix in TAG() 128 + plane[j].dcdy * iy); in TAG() [all …]
|
D | lp_setup_tri.c | 245 struct lp_rast_plane *plane; in do_triangle_ccw() local 339 plane = GET_PLANES(tri); in do_triangle_ccw() 400 _mm_store_si128((__m128i *)&plane[0], p0); in do_triangle_ccw() 401 _mm_store_si128((__m128i *)&plane[1], p1); in do_triangle_ccw() 402 _mm_store_si128((__m128i *)&plane[2], p2); in do_triangle_ccw() 407 plane[0].dcdy = position->dx01; in do_triangle_ccw() 408 plane[1].dcdy = position->x[1] - position->x[2]; in do_triangle_ccw() 409 plane[2].dcdy = position->dx20; in do_triangle_ccw() 410 plane[0].dcdx = position->dy01; in do_triangle_ccw() 411 plane[1].dcdx = position->y[1] - position->y[2]; in do_triangle_ccw() [all …]
|
D | lp_setup_line.c | 283 struct lp_rast_plane *plane; in try_setup_line() local 592 plane = GET_PLANES(line); in try_setup_line() 593 plane[0].dcdy = x[0] - x[1]; in try_setup_line() 594 plane[1].dcdy = x[1] - x[2]; in try_setup_line() 595 plane[2].dcdy = x[2] - x[3]; in try_setup_line() 596 plane[3].dcdy = x[3] - x[0]; in try_setup_line() 598 plane[0].dcdx = y[0] - y[1]; in try_setup_line() 599 plane[1].dcdx = y[1] - y[2]; in try_setup_line() 600 plane[2].dcdx = y[2] - y[3]; in try_setup_line() 601 plane[3].dcdx = y[3] - y[0]; in try_setup_line() [all …]
|
D | lp_setup_point.c | 387 struct lp_rast_plane *plane = GET_PLANES(point); in try_setup_point() local 389 plane[0].dcdx = -1; in try_setup_point() 390 plane[0].dcdy = 0; in try_setup_point() 391 plane[0].c = 1-bbox.x0; in try_setup_point() 392 plane[0].eo = 1; in try_setup_point() 394 plane[1].dcdx = 1; in try_setup_point() 395 plane[1].dcdy = 0; in try_setup_point() 396 plane[1].c = bbox.x1+1; in try_setup_point() 397 plane[1].eo = 0; in try_setup_point() 399 plane[2].dcdx = 0; in try_setup_point() [all …]
|
/external/libvpx/libvpx/ |
D | tools_common.c | 84 int plane = 0; in read_yuv_frame() local 88 for (plane = 0; plane < 3; ++plane) { in read_yuv_frame() 90 const int w = vpx_img_plane_width(yuv_frame, plane); in read_yuv_frame() 91 const int h = vpx_img_plane_height(yuv_frame, plane); in read_yuv_frame() 98 switch (plane) { in read_yuv_frame() 108 ptr = yuv_frame->planes[plane]; in read_yuv_frame() 126 ptr += yuv_frame->stride[plane]; in read_yuv_frame() 207 int vpx_img_plane_width(const vpx_image_t *img, int plane) { in vpx_img_plane_width() argument 208 if (plane > 0 && img->x_chroma_shift > 0) in vpx_img_plane_width() 214 int vpx_img_plane_height(const vpx_image_t *img, int plane) { in vpx_img_plane_height() argument [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_dotprod_tmp.h | 36 const GLfloat plane[4] ) in TAG() 44 const GLfloat plane0 = plane[0], plane1 = plane[1], plane3 = plane[3]; in TAG() 56 const GLfloat plane[4] ) in TAG() 64 const GLfloat plane0 = plane[0], plane1 = plane[1], plane2 = plane[2]; in TAG() 65 const GLfloat plane3 = plane[3]; in TAG() 78 const GLfloat plane[4] ) in TAG() 85 const GLfloat plane0 = plane[0], plane1 = plane[1], plane2 = plane[2]; in TAG() 86 const GLfloat plane3 = plane[3]; in TAG()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemb.c | 54 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in vp9_subtract_plane() argument 55 struct macroblock_plane *const p = &x->plane[plane]; in vp9_subtract_plane() 56 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in vp9_subtract_plane() 101 static int optimize_b(MACROBLOCK *mb, int plane, int block, in optimize_b() argument 104 struct macroblock_plane *const p = &mb->plane[plane]; in optimize_b() 105 struct macroblockd_plane *const pd = &xd->plane[plane]; in optimize_b() 110 const int16_t *const coeff = BLOCK_OFFSET(mb->plane[plane].coeff, block); in optimize_b() 128 assert((!type && !plane) || (type && plane)); in optimize_b() 292 mb->plane[plane].eobs[block] = final_eob; in optimize_b() 304 void vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block, in vp9_xform_quant_fp() argument [all …]
|
D | vp9_mbgraph.c | 73 return vp9_sad16x16(x->plane[0].src.buf, x->plane[0].src.stride, in do_16x16_motion_iteration() 74 xd->plane[0].dst.buf, xd->plane[0].dst.stride); in do_16x16_motion_iteration() 86 err = vp9_sad16x16(x->plane[0].src.buf, x->plane[0].src.stride, in do_16x16_motion_search() 87 xd->plane[0].pre[0].buf, xd->plane[0].pre[0].stride); in do_16x16_motion_search() 122 err = vp9_sad16x16(x->plane[0].src.buf, x->plane[0].src.stride, in do_16x16_zerozero_search() 123 xd->plane[0].pre[0].buf, xd->plane[0].pre[0].stride); in do_16x16_zerozero_search() 142 x->plane[0].src.buf, x->plane[0].src.stride, in find_best_16x16_intra() 143 xd->plane[0].dst.buf, xd->plane[0].dst.stride, in find_best_16x16_intra() 145 err = vp9_sad16x16(x->plane[0].src.buf, x->plane[0].src.stride, in find_best_16x16_intra() 146 xd->plane[0].dst.buf, xd->plane[0].dst.stride); in find_best_16x16_intra() [all …]
|
D | vp9_quantize.c | 258 void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int plane, int block, in vp9_regular_quantize_b_4x4() argument 261 struct macroblock_plane *p = &x->plane[plane]; in vp9_regular_quantize_b_4x4() 262 struct macroblockd_plane *pd = &xd->plane[plane]; in vp9_regular_quantize_b_4x4() 350 x->plane[0].quant = quants->y_quant[qindex]; in vp9_init_plane_quantizers() 351 x->plane[0].quant_fp = quants->y_quant_fp[qindex]; in vp9_init_plane_quantizers() 352 x->plane[0].round_fp = quants->y_round_fp[qindex]; in vp9_init_plane_quantizers() 353 x->plane[0].quant_shift = quants->y_quant_shift[qindex]; in vp9_init_plane_quantizers() 354 x->plane[0].zbin = quants->y_zbin[qindex]; in vp9_init_plane_quantizers() 355 x->plane[0].round = quants->y_round[qindex]; in vp9_init_plane_quantizers() 356 x->plane[0].quant_thred[0] = cm->y_dequant[qindex][0] * in vp9_init_plane_quantizers() [all …]
|
D | vp9_encodemb.h | 25 void vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block, 27 void vp9_xform_quant_dc(MACROBLOCK *x, int plane, int block, 29 void vp9_xform_quant(MACROBLOCK *x, int plane, int block, 32 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); 34 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, 38 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
|
/external/drm_hwcomposer/ |
D | drmdisplaycompositor.cpp | 159 DrmPlane *plane = iter->plane; in ApplyFrame() local 161 drmModePropertySetAdd(pset, plane->id(), plane->crtc_property().id(), in ApplyFrame() 163 drmModePropertySetAdd(pset, plane->id(), plane->fb_property().id(), in ApplyFrame() 165 drmModePropertySetAdd(pset, plane->id(), plane->crtc_x_property().id(), in ApplyFrame() 167 drmModePropertySetAdd(pset, plane->id(), plane->crtc_y_property().id(), in ApplyFrame() 170 pset, plane->id(), plane->crtc_w_property().id(), in ApplyFrame() 173 pset, plane->id(), plane->crtc_h_property().id(), in ApplyFrame() 175 drmModePropertySetAdd(pset, plane->id(), plane->src_x_property().id(), in ApplyFrame() 177 drmModePropertySetAdd(pset, plane->id(), plane->src_y_property().id(), in ApplyFrame() 180 pset, plane->id(), plane->src_w_property().id(), in ApplyFrame() [all …]
|
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
D | symshift.pl | 118 %plane = ( 128 $table{$plane{$table}} = $table; 188 $plane = $plane{$table}; 203 $shifted = $id + $plane * 256; 224 $plane = $plane{$table}; 227 $shifted = $id + $plane * 256; 235 foreach $plane (sort numerically keys %table) { 236 $table = $table{$plane}; 246 foreach $plane (sort numerically keys %table) { 247 $table = $table{$plane};
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.c | 40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, in vp9_foreach_transformed_block_in_plane() argument 42 const struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_foreach_transformed_block_in_plane() 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) in vp9_foreach_transformed_block_in_plane() 79 visit(plane, i, plane_bsize, tx_size, arg); in vp9_foreach_transformed_block_in_plane() 85 visit(plane, i, plane_bsize, tx_size, arg); in vp9_foreach_transformed_block_in_plane() 93 int plane; in vp9_foreach_transformed_block() local 95 for (plane = 0; plane < MAX_MB_PLANE; plane++) in vp9_foreach_transformed_block() 96 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg); in vp9_foreach_transformed_block() 145 xd->plane[i].plane_type = i ? PLANE_TYPE_UV : PLANE_TYPE_Y; in vp9_setup_block_planes() 146 xd->plane[i].subsampling_x = i ? ss_x : 0; in vp9_setup_block_planes() [all …]
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | PlaneCollisionShape.java | 22 private Plane plane; field in PlaneCollisionShape 31 public PlaneCollisionShape(Plane plane) { in PlaneCollisionShape() argument 32 this.plane = plane; in PlaneCollisionShape() 37 return plane; in getPlane() 43 capsule.write(plane, "collisionPlane", new Plane()); in write() 49 plane = (Plane) capsule.readSavable("collisionPlane", new Plane()); in read() 54 cShape = new StaticPlaneShape(Converter.convert(plane.getNormal()),plane.getConstant()); in createShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | PlaneCollisionShape.java | 23 private Plane plane; field in PlaneCollisionShape 32 public PlaneCollisionShape(Plane plane) { in PlaneCollisionShape() argument 33 this.plane = plane; in PlaneCollisionShape() 38 return plane; in getPlane() 44 capsule.write(plane, "collisionPlane", new Plane()); in write() 50 plane = (Plane) capsule.readSavable("collisionPlane", new Plane()); in read() 55 objectId = createShape(plane.getNormal(), plane.getConstant()); in createShape()
|
/external/libvpx/libvpx/test/ |
D | md5_helper.h | 25 for (int plane = 0; plane < 3; ++plane) { in Add() local 26 const uint8_t *buf = img->planes[plane]; in Add() 32 const int h = plane ? (img->d_h + img->y_chroma_shift) >> in Add() 34 const int w = (plane ? (img->d_w + img->x_chroma_shift) >> in Add() 39 buf += img->stride[plane]; in Add()
|
/external/mesa3d/src/mesa/main/ |
D | clip.c | 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane) in _mesa_update_clip_plane() argument 45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane], in _mesa_update_clip_plane() 46 ctx->Transform.EyeUserPlane[plane], in _mesa_update_clip_plane() 52 _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) in _mesa_ClipPlane() argument 59 p = (GLint) plane - (GLint) GL_CLIP_PLANE0; in _mesa_ClipPlane() 95 ctx->Driver.ClipPlane( ctx, plane, equation ); in _mesa_ClipPlane() 100 _mesa_GetClipPlane( GLenum plane, GLdouble *equation ) in _mesa_GetClipPlane() argument 106 p = (GLint) (plane - GL_CLIP_PLANE0); in _mesa_GetClipPlane()
|
/external/libvpx/libvpx/examples/ |
D | decode_to_md5.c | 47 int plane, y; in get_image_md5() local 52 for (plane = 0; plane < 3; ++plane) { in get_image_md5() 53 const unsigned char *buf = img->planes[plane]; in get_image_md5() 54 const int stride = img->stride[plane]; in get_image_md5() 55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; in get_image_md5() 56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h; in get_image_md5()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_post_vs.c | 142 ASSIGN_4V( pvs->draw->plane[0], -1, 0, 0, 1 ); in draw_pt_post_vs_prepare() 143 ASSIGN_4V( pvs->draw->plane[1], 1, 0, 0, 1 ); in draw_pt_post_vs_prepare() 144 ASSIGN_4V( pvs->draw->plane[2], 0, -1, 0, 1 ); in draw_pt_post_vs_prepare() 145 ASSIGN_4V( pvs->draw->plane[3], 0, 1, 0, 1 ); in draw_pt_post_vs_prepare() 149 ASSIGN_4V( pvs->draw->plane[0], -0.5, 0, 0, 1 ); in draw_pt_post_vs_prepare() 150 ASSIGN_4V( pvs->draw->plane[1], 0.5, 0, 0, 1 ); in draw_pt_post_vs_prepare() 151 ASSIGN_4V( pvs->draw->plane[2], 0, -0.5, 0, 1 ); in draw_pt_post_vs_prepare() 152 ASSIGN_4V( pvs->draw->plane[3], 0, 0.5, 0, 1 ); in draw_pt_post_vs_prepare() 157 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 1 ); in draw_pt_post_vs_prepare() 162 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 0 ); in draw_pt_post_vs_prepare()
|