Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp266 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
267 ssize_t minOffset = plane.minOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
268 ssize_t maxOffset = plane.maxOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
275 planeSize += std::abs(plane.rowInc) * align(mHeight, 64) in GraphicView2MediaImageConverter()
276 / plane.rowSampling / plane.colSampling in GraphicView2MediaImageConverter()
285 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
287 mediaImage->mPlane[i].mColInc = plane.colInc; in GraphicView2MediaImageConverter()
288 mediaImage->mPlane[i].mRowInc = plane.rowInc; in GraphicView2MediaImageConverter()
289 mediaImage->mPlane[i].mHorizSubsampling = plane.colSampling; in GraphicView2MediaImageConverter()
290 mediaImage->mPlane[i].mVertSubsampling = plane.rowSampling; in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp76 const C2PlaneInfo &plane = layout.planes[i]; in _ImageCopy() local
77 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
78 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()
79 || plane.allocatedDepth != img->mBitDepthAllocated in _ImageCopy()
80 || plane.allocatedDepth < plane.bitDepth in _ImageCopy()
82 || plane.rightShift != plane.allocatedDepth - plane.bitDepth in _ImageCopy()
83 || (bpp > 1 && plane.endianness != plane.NATIVE)) { in _ImageCopy()
87 uint32_t planeW = img->mWidth / plane.colSampling; in _ImageCopy()
88 uint32_t planeH = img->mHeight / plane.rowSampling; in _ImageCopy()
90 bool canCopyByRow = (plane.colInc == 1) && (img->mPlane[i].mColInc == 1); in _ImageCopy()
[all …]
/frameworks/native/opengl/libagl/
Dvertex.cpp124 GLfixed d = dot4(c->clipPlanes.plane[i].equation.v, v->eye.v); in clipAllPerspective()
164 static void clipPlanex(GLenum plane, const GLfixed* equ, ogles_context_t* c) in clipPlanex() argument
166 const int p = plane - GL_CLIP_PLANE0; in clipPlanex()
172 vec4_t& equation = c->clipPlanes.plane[p].equation; in clipPlanex()
231 void glClipPlanef(GLenum plane, const GLfloat* equ) in glClipPlanef() argument
240 clipPlanex(plane, equx, c); in glClipPlanef()
243 void glClipPlanex(GLenum plane, const GLfixed* equ) in glClipPlanex() argument
246 clipPlanex(plane, equ, c); in glClipPlanex()
Dprimitives.cpp839 GLfixed frustumPlaneDist(int plane, const vec4_t& s) in frustumPlaneDist() argument
841 const GLfixed d = s.v[ plane >> 1 ]; in frustumPlaneDist()
842 return ((plane & 1) ? (s.w - d) : (s.w + d)); in frustumPlaneDist()
891 unsigned int plane = 0; in clip_triangle() local
902 const vec4_t& equation = c->clipPlanes.plane[plane].equation; in clip_triangle()
950 plane++; in clip_triangle()
957 unsigned int plane = 0; in clip_triangle() local
968 GLfixed sd = frustumPlaneDist(plane, s->clip); in clip_triangle()
972 const GLfixed pd = frustumPlaneDist(plane, p->clip); in clip_triangle()
1015 plane++; in clip_triangle()
[all …]
/frameworks/base/core/proto/android/server/location/
Denums.proto58 // Cellular control plane requests.
110 // Enable LTE Positioning Protocol user plane.
112 // Enable LTE Positioning Protocol Control plane.
118 // Radio Resource Control(RRC) control-plane.
120 // Radio Resource Location user-plane.
122 // LTE Positioning Protocol User plane.
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java154 Image.Plane plane = mock(Image.Plane.class); in capturedImageSaver() local
155 when(plane.getBuffer()).thenReturn(buf); in capturedImageSaver()
156 when(plane.getPixelStride()).thenReturn(1); in capturedImageSaver()
157 when(plane.getRowStride()).thenReturn(5); in capturedImageSaver()
159 Image.Plane[] onlyPlaneThatMatters = { plane }; in capturedImageSaver()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL11.java167 int plane, in glClipPlanef() argument
173 int plane, in glClipPlanef() argument
178 int plane, in glClipPlanex() argument
184 int plane, in glClipPlanex() argument
/frameworks/base/opengl/java/android/opengl/
DGLES11.java182 int plane, in glClipPlanef() argument
190 int plane, in glClipPlanef() argument
197 int plane, in glClipPlanex() argument
205 int plane, in glClipPlanex() argument
DGLES11Ext.java297 int plane, in glClipPlanexOES() argument
305 int plane, in glClipPlanexOES() argument
971 int plane, in glClipPlanefOES() argument
979 int plane, in glClipPlanefOES() argument
DGLErrorWrapper.java846 public void glClipPlanef(int plane, float[] equation, int offset) { in glClipPlanef() argument
848 mgl11.glClipPlanef(plane, equation, offset); in glClipPlanef()
852 public void glClipPlanef(int plane, FloatBuffer equation) { in glClipPlanef() argument
854 mgl11.glClipPlanef(plane, equation); in glClipPlanef()
858 public void glClipPlanex(int plane, int[] equation, int offset) { in glClipPlanex() argument
860 mgl11.glClipPlanex(plane, equation, offset); in glClipPlanex()
864 public void glClipPlanex(int plane, IntBuffer equation) { in glClipPlanex() argument
866 mgl11.glClipPlanex(plane, equation); in glClipPlanex()
DGLLogWrapper.java2586 public void glClipPlanef(int plane, float[] equation, int offset) { in glClipPlanef() argument
2588 arg("plane", plane); in glClipPlanef()
2592 mgl11.glClipPlanef(plane, equation, offset); in glClipPlanef()
2596 public void glClipPlanef(int plane, FloatBuffer equation) { in glClipPlanef() argument
2598 arg("plane", plane); in glClipPlanef()
2601 mgl11.glClipPlanef(plane, equation); in glClipPlanef()
2605 public void glClipPlanex(int plane, int[] equation, int offset) { in glClipPlanex() argument
2607 arg("plane", plane); in glClipPlanex()
2611 mgl11.glClipPlanex(plane, equation, offset); in glClipPlanex()
2615 public void glClipPlanex(int plane, IntBuffer equation) { in glClipPlanex() argument
[all …]
/frameworks/rs/script_api/include/
Drs_matrix.rsh60 * left: Left plane.
61 * right: Right plane.
62 * top: Top plane.
63 * bottom: Bottom plane.
64 * near: Near plane.
65 * far: Far plane.
71 // x y z w = a b c d in the plane equation
130 * left: Left plane.
131 * right: Right plane.
132 * top: Top plane.
[all …]
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java436 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local
437 final ByteBuffer buffer = plane.getBuffer(); in scanImage()
440 final int pixelStride = plane.getPixelStride(); in scanImage()
441 final int rowStride = plane.getRowStride(); in scanImage()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES11.spec4 void glClipPlanef ( GLenum plane, const GLfloat *equation )
5 void glClipPlanex ( GLenum plane, const GLfixed *equation )
DGLES11Ext.spec17 void glClipPlanexOES ( GLenum plane, const GLfixed *equation )
79 void glClipPlanefOES ( GLenum plane, const GLfloat *equation )
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.14 void glClipPlanef ( GLenum plane, const GLfloat *equation )
5 void glClipPlanex ( GLenum plane, const GLfixed *equation )
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in49 void API_ENTRY(glClipPlanexOES)(GLenum plane, const GLfixed *equation) {
50 CALL_GL_API(glClipPlanexOES, plane, equation);
67 void API_ENTRY(glGetClipPlanexOES)(GLenum plane, GLfixed *equation) {
68 CALL_GL_API(glGetClipPlanexOES, plane, equation);
241 void API_ENTRY(glClipPlanefOES)(GLenum plane, const GLfloat *equation) {
242 CALL_GL_API(glClipPlanefOES, plane, equation);
250 void API_ENTRY(glGetClipPlanefOES)(GLenum plane, GLfloat *equation) {
251 CALL_GL_API(glGetClipPlanefOES, plane, equation);
Dgl_api.in28 void API_ENTRY(glGetClipPlanef)(GLenum plane, GLfloat *equation) {
29 CALL_GL_API(glGetClipPlanef, plane, equation);
151 void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed *equation) {
152 CALL_GL_API(glClipPlanex, plane, equation);
238 void API_ENTRY(glGetClipPlanex)(GLenum plane, GLfixed *equation) {
239 CALL_GL_API(glGetClipPlanex, plane, equation);
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp688 const uint16_t *srcY = (const uint16_t *)buffer->plane[0]; in outputBuffer()
689 const uint16_t *srcU = (const uint16_t *)buffer->plane[1]; in outputBuffer()
690 const uint16_t *srcV = (const uint16_t *)buffer->plane[2]; in outputBuffer()
702 const uint8_t *srcY = (const uint8_t *)buffer->plane[0]; in outputBuffer()
703 const uint8_t *srcU = (const uint8_t *)buffer->plane[1]; in outputBuffer()
704 const uint8_t *srcV = (const uint8_t *)buffer->plane[2]; in outputBuffer()
/frameworks/av/media/img_utils/include/img_utils/
DDngUtils.h103 uint32_t plane,
/frameworks/native/opengl/include/GLES/
Dglext.h170 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
176 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
213 GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
219 GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
411 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
414 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
418 GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
421 GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
Dgl.h414 GL_API void GL_APIENTRY glGetClipPlanef (GLenum plane, GLfloat *equation);
455 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
484 GL_API void GL_APIENTRY glGetClipPlanex (GLenum plane, GLfixed *equation);
/frameworks/native/opengl/libs/
Dentries_gles1.in30 GL_ENTRY(void, glClipPlanefOES, GLenum plane, const GLfloat *equation)
31 GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed *equation)
33 GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed *equation)
122 GL_ENTRY(void, glGetClipPlanef, GLenum plane, GLfloat *equation)
123 GL_ENTRY(void, glGetClipPlanefOES, GLenum plane, GLfloat *equation)
124 GL_ENTRY(void, glGetClipPlanex, GLenum plane, GLfixed *equation)
125 GL_ENTRY(void, glGetClipPlanexOES, GLenum plane, GLfixed *equation)
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java1197 int plane, in glClipPlanef() argument
1205 int plane, in glClipPlanef() argument
1212 int plane, in glClipPlanex() argument
1220 int plane, in glClipPlanex() argument
/frameworks/av/media/img_utils/src/
DDngUtils.cpp291 uint32_t plane, in addGainMap() argument
327 plane, in addGainMap()

12