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

1234567891011

/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dclip.h39 _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 Dclip.c36 * 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/mesa3d/src/mesa/main/
H A Dclip.h39 _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 Dclip.c36 * 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/chromium_org/third_party/webrtc/common_video/
H A Dplane.cc11 #include "webrtc/common_video/plane.h"
54 int Plane::Copy(const Plane& plane) { argument
55 if (MaybeResize(plane.allocated_size_) < 0)
57 if (plane.buffer_.get())
58 memcpy(buffer_.get(), plane.buffer_.get(), plane.plane_size_);
59 stride_ = plane.stride_;
60 plane_size_ = plane.plane_size_;
73 void Plane::Swap(Plane& plane) { argument
74 std::swap(stride_, plane
[all...]
H A Dplane_unittest.cc11 #include "webrtc/common_video/plane.h"
21 Plane plane; local
23 EXPECT_EQ(0, plane.allocated_size());
24 EXPECT_EQ(0, plane.stride());
25 EXPECT_TRUE(plane.IsZeroSize());
28 EXPECT_EQ(-1, plane.CreateEmptyPlane(size, stride, 1));
29 EXPECT_EQ(-1, plane.CreateEmptyPlane(10, stride, size));
32 EXPECT_EQ(-1, plane.CreateEmptyPlane(size, stride, size));
34 EXPECT_EQ(0, plane.CreateEmptyPlane(size, stride, size));
35 EXPECT_EQ(size, plane
41 Plane plane; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_dotprod_tmp.h36 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/mesa3d/src/mesa/math/
H A Dm_dotprod_tmp.h36 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/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_encodemb.h25 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/chromium_org/ui/ozone/platform/dri/
H A Dscoped_drm_types.cc32 void DrmPlaneDeleter::operator()(drmModePlane* plane) const {
33 drmModeFreePlane(plane);
36 void DrmPlaneResDeleter::operator()(drmModePlaneRes* plane) const {
37 drmModeFreePlaneResources(plane);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemb.h26 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/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_rast_tri_tmp.h35 * 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/gallium/drivers/llvmpipe/
H A Dlp_rast_tri_tmp.h35 * 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/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aatriangle.c43 * 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/mesa3d/src/mesa/swrast/
H A Ds_aatriangle.c43 * 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/chromium_org/third_party/libvpx/source/libvpx/
H A Dtools_common.c84 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];
207 vpx_img_plane_width(const vpx_image_t *img, int plane) argument
214 vpx_img_plane_height(const vpx_image_t *img, int plane) argument
222 int plane; local
239 int plane; local
[all...]
/external/libvpx/libvpx/
H A Dtools_common.c84 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];
206 vpx_img_plane_width(const vpx_image_t *img, int plane) argument
213 vpx_img_plane_height(const vpx_image_t *img, int plane) argument
221 int plane; local
238 int plane; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dmd5_helper.h25 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/test/
H A Dmd5_helper.h25 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/libvpx/libvpx/vp9/common/
H A Dvp9_blockd.c40 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_PLAN
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/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_detokenize.h23 int plane, int block, BLOCK_SIZE plane_bsize,
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_detokenize.h23 int plane, int block, BLOCK_SIZE plane_bsize,
/external/chromium_org/media/cast/test/utility/
H A Dgenerate_barcode_video.cc13 int plane) {
14 for (int row = 0; row < frame->rows(plane); row++) {
15 CHECK_EQ(static_cast<size_t>(frame->row_bytes(plane)),
16 fwrite(frame->data(plane) + frame->stride(plane) * row,
18 frame->row_bytes(plane),
12 DumpPlane(scoped_refptr<media::VideoFrame> frame, int plane) argument
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_blockd.c40 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)
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_PLAN
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/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
H A Dsymshift.pl3 # "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...]

Completed in 1315 milliseconds

1234567891011