Searched defs:plane (Results 1 - 25 of 142) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/mesa/main/
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.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/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/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/libvpx/source/libvpx/examples/
H A Ddecode_to_md5.c28 // 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;
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Drdopt.h81 unsigned char *plane[3],
85 plane[0] = fb->y_buffer + recon_yoffset;
86 plane[1] = fb->u_buffer + recon_uvoffset;
87 plane[2] = fb->v_buffer + recon_uvoffset;
92 unsigned char *plane[4][3],
98 plane[LAST_FRAME], recon_yoffset, recon_uvoffset);
102 plane[GOLDEN_FRAME], recon_yoffset, recon_uvoffset);
106 plane[ALTREF_FRAME], recon_yoffset, recon_uvoffset);
80 get_plane_pointers(const YV12_BUFFER_CONFIG *fb, unsigned char *plane[3], unsigned int recon_yoffset, unsigned int recon_uvoffset) argument
91 get_predictor_pointers(const VP8_COMP *cpi, unsigned char *plane[4][3], unsigned int recon_yoffset, unsigned int recon_uvoffset) argument
/external/libvpx/libvpx/examples/
H A Ddecode_to_md5.c28 // Each row of the image is passed to the MD5 accumulator. First the Y plane
47 int plane, y; local
52 for (plane = 0; plane < 3; ++plane) {
53 const unsigned char *buf = img->planes[plane];
54 const int stride = img->stride[plane];
55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w;
56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h;
/external/libvpx/libvpx/vp8/encoder/
H A Drdopt.h78 unsigned char *plane[3],
82 plane[0] = fb->y_buffer + recon_yoffset;
83 plane[1] = fb->u_buffer + recon_uvoffset;
84 plane[2] = fb->v_buffer + recon_uvoffset;
89 unsigned char *plane[4][3],
95 plane[LAST_FRAME], recon_yoffset, recon_uvoffset);
99 plane[GOLDEN_FRAME], recon_yoffset, recon_uvoffset);
103 plane[ALTREF_FRAME], recon_yoffset, recon_uvoffset);
77 get_plane_pointers(const YV12_BUFFER_CONFIG *fb, unsigned char *plane[3], unsigned int recon_yoffset, unsigned int recon_uvoffset) argument
88 get_predictor_pointers(const VP8_COMP *cpi, unsigned char *plane[4][3], unsigned int recon_yoffset, unsigned int recon_uvoffset) argument
/external/chromium_org/content/common/gpu/
H A Dimage_transport_surface_iosurface_mac.cc82 // Don't think we need to identify a plane.
83 GLuint plane = 0; local
93 plane);
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dy4m_test.cc56 int plane, y; local
57 for (plane = 0; plane < 3; ++plane) {
58 const unsigned char *buf = img->planes[plane];
59 const int stride = img->stride[plane];
61 const int h = (plane ? (img->d_h + img->y_chroma_shift) >>
63 const int w = (plane ? (img->d_w + img->x_chroma_shift) >>
/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/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_fog.c91 * near and far clip plane distances).
165 GLfloat plane[4]; local
171 plane[0] = m[2];
172 plane[1] = m[6];
173 plane[2] = m[10];
174 plane[3] = m[14];
181 VB->AttribPtr[_TNL_ATTRIB_POS], plane );
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Dcursor.cc99 const RGBQUAD* plane = reinterpret_cast<const RGBQUAD*>(data); local
102 if (plane->rgbReserved != 0)
104 plane += 1;
106 plane += stride - width;
/external/chromium_org/ui/ozone/platform/dri/
H A Dhardware_display_plane.cc55 ScopedDrmPlanePtr plane)
58 plane_(plane.Pass()),
96 LOG(ERROR) << "Failed to set plane data";
107 LOG(ERROR) << "Unable to get plane properties.";
124 LOG(ERROR) << "Unable to get plane properties.";
52 HardwareDisplayPlane( DriWrapper* drm, drmModePropertySetPtr atomic_property_set, ScopedDrmPlanePtr plane) argument
/external/chromium_org/ui/surface/
H A Daccelerated_surface_mac.cc229 // Don't think we need to identify a plane.
230 GLuint plane = 0; local
240 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/mesa3d/src/mesa/tnl/
H A Dt_vb_fog.c91 * near and far clip plane distances).
165 GLfloat plane[4]; local
171 plane[0] = m[2];
172 plane[1] = m[6];
173 plane[2] = m[10];
174 plane[3] = m[14];
181 VB->AttribPtr[_TNL_ATTRIB_POS], plane );
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
H A Dscene.js7 var plane; variable
180 plane = new THREE.Mesh( new THREE.PlaneGeometry( 200, 200, 100, 100), new THREE.MeshBasicMaterial( { color: 0x000000, opacity: 0.25, transparent: true, wireframe: true } ) );
181 plane.rotation.x = Math.PI * 0.5;
182 plane.visible = true;
183 scene.add( plane );
248 if (intersects[0].object != plane) {
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
H A DImageDecoder.cpp223 void* ImagePlanes::plane(int i) function in class:blink::ImagePlanes
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-unicode-private.hh171 hb_codepoint_t plane = ch >> 16; local
172 if (likely (plane == 0))
193 switch (plane) {
/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/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_detokenize.c204 int plane, int block, BLOCK_SIZE plane_bsize,
206 struct macroblockd_plane *const pd = &xd->plane[plane];
203 vp9_decode_block_tokens(VP9_COMMON *cm, MACROBLOCKD *xd, int plane, int block, BLOCK_SIZE plane_bsize, int x, int y, TX_SIZE tx_size, vp9_reader *r) argument
H A Dvp9_dthread.c107 int plane; local
114 for (plane = 0; plane < num_planes; ++plane) {
115 vp9_filter_block_plane(cm, &planes[plane], mi_row, &lfm);
180 vp9_copy(lf_data->planes, pbi->mb.plane);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_video_buffer.c219 unsigned depth, unsigned usage, unsigned plane)
231 if (plane > 0) {
216 vl_vide_buffer_template(struct pipe_resource *templ, const struct pipe_video_buffer *tmpl, enum pipe_format resource_format, unsigned depth, unsigned usage, unsigned plane) argument

Completed in 740 milliseconds

123456