Home
last modified time | relevance | path

Searched refs:plane (Results 1 – 25 of 94) sorted by relevance

1234

/external/webkit/Source/WebCore/platform/graphics/chromium/
DVideoLayerChromium.cpp81 for (unsigned plane = 0; plane < VideoFrameChromium::maxPlanes; plane++) { in deleteTexturesInUse() local
82 Texture texture = m_textures[plane]; in deleteTexturesInUse()
148 for (unsigned plane = 0; plane < frame->planes(); plane++) { in updateCompositorResources() local
149 Texture texture = m_textures[plane]; in updateCompositorResources()
150 ASSERT(frame->requiredTextureSize(plane) == texture.size); in updateCompositorResources()
151 updateTexture(context, texture.id, texture.size, textureFormat, frame->data(plane)); in updateCompositorResources()
191 for (unsigned plane = 0; plane < frame->planes(); plane++) { in allocateTexturesIfNeeded() local
192 IntSize requiredTextureSize = frame->requiredTextureSize(plane); in allocateTexturesIfNeeded()
193 Texture texture = m_textures[plane]; in allocateTexturesIfNeeded()
209 texture.visibleSize = computeVisibleSize(frame, plane); in allocateTexturesIfNeeded()
[all …]
DVideoFrameChromium.h72 virtual unsigned width(unsigned plane) const = 0;
74 virtual unsigned height(unsigned plane) const = 0;
76 virtual int stride(unsigned plane) const = 0;
77 virtual const void* data(unsigned plane) const = 0;
78 virtual unsigned texture(unsigned plane) const = 0;
79 virtual const IntSize requiredTextureSize(unsigned plane) const = 0;
80 virtual bool hasPaddingBytes(unsigned plane) const = 0;
/external/webkit/Source/WebKit/chromium/src/
DVideoFrameChromiumImpl.cpp75 unsigned VideoFrameChromiumImpl::width(unsigned plane) const in width()
78 if (format() == YV12 && plane != static_cast<unsigned>(yPlane)) in width()
90 unsigned VideoFrameChromiumImpl::height(unsigned plane) const in height()
93 if (format() == YV12 && plane != static_cast<unsigned>(yPlane)) in height()
105 int VideoFrameChromiumImpl::stride(unsigned plane) const in stride()
108 return m_webVideoFrame->stride(plane); in stride()
112 const void* VideoFrameChromiumImpl::data(unsigned plane) const in data()
115 return m_webVideoFrame->data(plane); in data()
119 unsigned VideoFrameChromiumImpl::texture(unsigned plane) const in texture()
122 return m_webVideoFrame->texture(plane); in texture()
[all …]
DVideoFrameChromiumImpl.h53 virtual unsigned width(unsigned plane) const;
55 virtual unsigned height(unsigned plane) const;
57 virtual int stride(unsigned plane) const;
58 virtual const void* data(unsigned plane) const;
59 virtual unsigned texture(unsigned plane) const;
60 virtual const WebCore::IntSize requiredTextureSize(unsigned plane) const;
61 virtual bool hasPaddingBytes(unsigned plane) const;
/external/quake/quake/src/QW/client/
Dpmovetst.c97 mplane_t *plane; in PM_HullPointContents() local
105 plane = hull->planes + node->planenum; in PM_HullPointContents()
107 if (plane->type < 3) in PM_HullPointContents()
108 d = p[plane->type] - plane->dist; in PM_HullPointContents()
110 d = DotProduct (plane->normal, p) - plane->dist; in PM_HullPointContents()
130 mplane_t *plane; in PM_PointContents() local
144 plane = hull->planes + node->planenum; in PM_PointContents()
146 if (plane->type < 3) in PM_PointContents()
147 d = p[plane->type] - plane->dist; in PM_PointContents()
149 d = DotProduct (plane->normal, p) - plane->dist; in PM_PointContents()
[all …]
Dr_light.c79 splitplane = node->plane; in R_MarkLights()
146 mplane_t *plane; in RecursiveLightPoint() local
162 plane = node->plane; in RecursiveLightPoint()
163 front = DotProduct (start, plane->normal) - plane->dist; in RecursiveLightPoint()
164 back = DotProduct (end, plane->normal) - plane->dist; in RecursiveLightPoint()
Dgl_test.c27 plane_t *plane; member
60 junk = trace.plane; in HitPlane()
71 plane_t *plane; in Test_Spawn() local
84 plane = HitPlane (r_refdef.vieworg, temp); in Test_Spawn()
87 d = DotProduct (incoming, plane->normal); in Test_Spawn()
89 VectorMA (p->reflect, d*2, plane->normal, p->reflect); in Test_Spawn()
92 VectorCopy (plane->normal, p->normal); in Test_Spawn()
Dgl_rlight.c199 splitplane = node->plane; in R_MarkLights()
272 mplane_t *plane; in RecursiveLightPoint() local
288 plane = node->plane; in RecursiveLightPoint()
289 front = DotProduct (start, plane->normal) - plane->dist; in RecursiveLightPoint()
290 back = DotProduct (end, plane->normal) - plane->dist; in RecursiveLightPoint()
311 lightplane = plane; in RecursiveLightPoint()
Dr_bsp.c173 splitplane = pnode->plane; in R_RecursiveClipBPoly()
348 pplane = psurf->plane; in R_DrawSolidClippedSubmodelPolygons()
426 pplane = psurf->plane; in R_DrawSubmodelPolygons()
452 mplane_t *plane; in R_RecursiveWorldNode() local
532 plane = node->plane; in R_RecursiveWorldNode()
534 switch (plane->type) in R_RecursiveWorldNode()
537 dot = modelorg[0] - plane->dist; in R_RecursiveWorldNode()
540 dot = modelorg[1] - plane->dist; in R_RecursiveWorldNode()
543 dot = modelorg[2] - plane->dist; in R_RecursiveWorldNode()
546 dot = DotProduct (modelorg, plane->normal) - plane->dist; in R_RecursiveWorldNode()
Dvid_svgalib.c109 int i, j, k, plane, reps, repshift, offset, vidpage, off; in D_BeginDirectRect() local
127 for (plane=0 ; plane<4 ; plane++) in D_BeginDirectRect()
131 outb(1 << plane, 0x3C5); in D_BeginDirectRect()
133 outb(plane, 0x3CF); in D_BeginDirectRect()
141 backingbuf[(i + k) * 24 + (j << 2) + plane] = in D_BeginDirectRect()
146 (j << 2) + plane]; in D_BeginDirectRect()
173 int i, j, k, plane, reps, repshift, offset, vidpage, off; in D_EndDirectRect() local
191 for (plane=0 ; plane<4 ; plane++) in D_EndDirectRect()
195 outb(1 << plane, 0x3C5); in D_EndDirectRect()
197 outb(plane, 0x3CF); in D_EndDirectRect()
[all …]
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dsymshift.pl118 %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/examples/
Ddecode_to_md5.txt24 Each row of the image is passed to the MD5 accumulator. First the Y plane
34 for(plane=0; plane < 3; plane++) {
35 unsigned char *buf =img->planes[plane];
37 for(y=0; y<img->d_h >> (plane?1:0); y++) {
38 MD5Update(&md5, buf, img->d_w >> (plane?1:0));
39 buf += img->stride[plane];
Ddecoder_tmpl.txt47 for(plane=0; plane < 3; plane++) {
48 unsigned char *buf =img->planes[plane];
50 for(y=0; y<img->d_h >> (plane?1:0); y++) {
51 if(fwrite(buf, 1, img->d_w >> (plane?1:0), outfile));
52 buf += img->stride[plane];
/external/quake/quake/src/WinQuake/
Dvid_vga.cpp65 int i, j, k, plane, reps, repshift; in VGA_BeginDirectRect() local
83 for (plane=0 ; plane<4 ; plane++) in VGA_BeginDirectRect()
87 outportb (SC_DATA, 1 << plane); in VGA_BeginDirectRect()
89 outportb (GC_DATA, plane); in VGA_BeginDirectRect()
97 backingbuf[(i + k) * 24 + (j << 2) + plane] = in VGA_BeginDirectRect()
102 (j << 2) + plane]; in VGA_BeginDirectRect()
136 int i, j, k, plane, reps, repshift; in VGA_EndDirectRect() local
154 for (plane=0 ; plane<4 ; plane++) in VGA_EndDirectRect()
158 outportb (SC_DATA, 1 << plane); in VGA_EndDirectRect()
167 backingbuf[(i + k) * 24 + (j << 2) + plane]; in VGA_EndDirectRect()
Dworld.cpp355 splitplane = node->plane; in SV_FindTouchedLeafs()
495 mplane_t *plane; in SV_HullPointContents() local
503 plane = hull->planes + node->planenum; in SV_HullPointContents()
505 if (plane->type < 3) in SV_HullPointContents()
506 d = p[plane->type] - plane->dist; in SV_HullPointContents()
508 d = DotProduct (plane->normal, p) - plane->dist; in SV_HullPointContents()
584 mplane_t *plane; in SV_RecursiveHullCheck() local
615 plane = hull->planes + node->planenum; in SV_RecursiveHullCheck()
617 if (plane->type < 3) in SV_RecursiveHullCheck()
619 t1 = p1[plane->type] - plane->dist; in SV_RecursiveHullCheck()
[all …]
Dr_light.cpp79 splitplane = node->plane; in R_MarkLights()
146 mplane_t *plane; in RecursiveLightPoint() local
162 plane = node->plane; in RecursiveLightPoint()
163 front = DotProduct (start, plane->normal) - plane->dist; in RecursiveLightPoint()
164 back = DotProduct (end, plane->normal) - plane->dist; in RecursiveLightPoint()
Dgl_test.cpp27 plane_t *plane; member
60 junk = trace.plane; in HitPlane()
71 plane_t *plane; in Test_Spawn() local
84 plane = HitPlane (r_refdef.vieworg, temp); in Test_Spawn()
87 d = DotProduct (incoming, plane->normal); in Test_Spawn()
89 VectorMA (p->reflect, d*2, plane->normal, p->reflect); in Test_Spawn()
92 VectorCopy (plane->normal, p->normal); in Test_Spawn()
Dgl_rlight.cpp202 splitplane = node->plane; in R_MarkLights()
275 mplane_t *plane; in RecursiveLightPoint() local
291 plane = node->plane; in RecursiveLightPoint()
292 front = DotProduct (start, plane->normal) - plane->dist; in RecursiveLightPoint()
293 back = DotProduct (end, plane->normal) - plane->dist; in RecursiveLightPoint()
314 lightplane = plane; in RecursiveLightPoint()
Dr_bsp.cpp173 splitplane = pnode->plane; in R_RecursiveClipBPoly()
348 pplane = psurf->plane; in R_DrawSolidClippedSubmodelPolygons()
426 pplane = psurf->plane; in R_DrawSubmodelPolygons()
452 mplane_t *plane; in R_RecursiveWorldNode() local
532 plane = node->plane; in R_RecursiveWorldNode()
534 switch (plane->type) in R_RecursiveWorldNode()
537 dot = modelorg[0] - plane->dist; in R_RecursiveWorldNode()
540 dot = modelorg[1] - plane->dist; in R_RecursiveWorldNode()
543 dot = modelorg[2] - plane->dist; in R_RecursiveWorldNode()
546 dot = DotProduct (modelorg, plane->normal) - plane->dist; in R_RecursiveWorldNode()
Dvid_svgalib.cpp108 int i, j, k, plane, reps, repshift, offset, vidpage, off; in D_BeginDirectRect() local
126 for (plane=0 ; plane<4 ; plane++) in D_BeginDirectRect()
130 outb(1 << plane, 0x3C5); in D_BeginDirectRect()
132 outb(plane, 0x3CF); in D_BeginDirectRect()
140 backingbuf[(i + k) * 24 + (j << 2) + plane] = in D_BeginDirectRect()
145 (j << 2) + plane]; in D_BeginDirectRect()
172 int i, j, k, plane, reps, repshift, offset, vidpage, off; in D_EndDirectRect() local
190 for (plane=0 ; plane<4 ; plane++) in D_EndDirectRect()
194 outb(1 << plane, 0x3C5); in D_EndDirectRect()
196 outb(plane, 0x3CF); in D_EndDirectRect()
[all …]
/external/chromium/webkit/glue/
Dwebvideoframe_impl.cc80 int WebVideoFrameImpl::stride(unsigned plane) const { in stride()
82 return static_cast<int>(video_frame_->stride(plane)); in stride()
86 const void* WebVideoFrameImpl::data(unsigned plane) const { in data()
88 return static_cast<const void*>(video_frame_->data(plane)); in data()
92 unsigned WebVideoFrameImpl::texture(unsigned plane) const { in texture()
94 return video_frame_->gl_texture(plane); in texture()
Dwebvideoframe_impl.h26 virtual int stride(unsigned plane) const;
27 virtual const void* data(unsigned plane) const;
28 virtual unsigned texture(unsigned plane) const;
/external/quake/quake/src/QW/server/
Dworld.c345 splitplane = node->plane; in SV_FindTouchedLeafs()
457 mplane_t *plane; in SV_HullPointContents() local
465 plane = hull->planes + node->planenum; in SV_HullPointContents()
467 if (plane->type < 3) in SV_HullPointContents()
468 d = p[plane->type] - plane->dist; in SV_HullPointContents()
470 d = DotProduct (plane->normal, p) - plane->dist; in SV_HullPointContents()
536 mplane_t *plane; in SV_RecursiveHullCheck() local
567 plane = hull->planes + node->planenum; in SV_RecursiveHullCheck()
569 if (plane->type < 3) in SV_RecursiveHullCheck()
571 t1 = p1[plane->type] - plane->dist; in SV_RecursiveHullCheck()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DQTPixelBuffer.cpp186 size_t QTPixelBuffer::widthOfPlane(size_t plane) const in widthOfPlane()
188 return CVPixelBufferGetWidthOfPlane(m_pixelBuffer, plane); in widthOfPlane()
191 size_t QTPixelBuffer::heightOfPlane(size_t plane) const in heightOfPlane()
193 return CVPixelBufferGetHeightOfPlane(m_pixelBuffer, plane); in heightOfPlane()
196 void* QTPixelBuffer::baseAddressOfPlane(size_t plane) const in baseAddressOfPlane()
198 return CVPixelBufferGetBaseAddressOfPlane(m_pixelBuffer, plane); in baseAddressOfPlane()
201 size_t QTPixelBuffer::bytesPerRowOfPlane(size_t plane) const in bytesPerRowOfPlane()
203 return CVPixelBufferGetBytesPerRowOfPlane(m_pixelBuffer, plane); in bytesPerRowOfPlane()
/external/webkit/Source/WebKit/chromium/public/
DWebVideoFrame.h64 virtual int stride(unsigned plane) const = 0;
65 virtual const void* data(unsigned plane) const = 0;
66 virtual unsigned texture(unsigned plane) const = 0;

1234