Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp319 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
320 if (plane.allocatedDepth != 8 || plane.bitDepth != 8) { in GraphicView2MediaImageConverter()
496 const C2PlaneInfo &plane = layout.planes[0]; in GraphicView2MediaImageConverter() local
497 if (plane.colInc < 0 || plane.rowInc < 0) { in GraphicView2MediaImageConverter()
502 mediaImage->mPlane[0].mColInc = std::abs(plane.colInc); in GraphicView2MediaImageConverter()
503 mediaImage->mPlane[0].mRowInc = std::abs(plane.rowInc); in GraphicView2MediaImageConverter()
504 mediaImage->mPlane[0].mHorizSubsampling = plane.colSampling; in GraphicView2MediaImageConverter()
505 mediaImage->mPlane[0].mVertSubsampling = plane.rowSampling; in GraphicView2MediaImageConverter()
520 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
521 int64_t planeStride = std::abs(plane.rowInc / plane.colInc); in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp79 const C2PlaneInfo &plane = layout.planes[i]; in _ImageCopy() local
80 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
81 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()
82 || plane.allocatedDepth != img->mBitDepthAllocated in _ImageCopy()
83 || plane.allocatedDepth < plane.bitDepth in _ImageCopy()
85 || plane.rightShift != plane.allocatedDepth - plane.bitDepth in _ImageCopy()
86 || (bpp > 1 && plane.endianness != plane.NATIVE)) { in _ImageCopy()
90 uint32_t planeW = img->mWidth / plane.colSampling; in _ImageCopy()
91 uint32_t planeH = img->mHeight / plane.rowSampling; in _ImageCopy()
93 bool canCopyByRow = (plane.colInc == bpp) && (img->mPlane[i].mColInc == bpp); in _ImageCopy()
[all …]
/frameworks/proto_logging/stats/enums/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/services/core/java/com/android/server/wm/utils/
DRotationAnimationUtils.java68 Image.Plane plane = image.getPlanes()[0]; in getMedianBorderLuma() local
69 ByteBuffer buffer = plane.getBuffer(); in getMedianBorderLuma()
72 int pixelStride = plane.getPixelStride(); in getMedianBorderLuma()
73 int rowStride = plane.getRowStride(); in getMedianBorderLuma()
/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/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp261 for (const ui::PlaneLayout &plane : planes) { in Gralloc4Mapper_lock() local
266 for (const PlaneLayoutComponent &component : plane.components) { in Gralloc4Mapper_lock()
295 addr[planeId] = pointer + plane.offsetInBytes + (component.offsetInBits / 8); in Gralloc4Mapper_lock()
298 static_cast<int32_t>(plane.sampleIncrementInBits / 8), // colInc in Gralloc4Mapper_lock()
299 static_cast<int32_t>(plane.strideInBytes), // rowInc in Gralloc4Mapper_lock()
300 static_cast<uint32_t>(plane.horizontalSubsampling), // mColSampling in Gralloc4Mapper_lock()
301 static_cast<uint32_t>(plane.verticalSubsampling), // mRowSampling in Gralloc4Mapper_lock()
884 const C2PlaneInfo &plane = layout->planes[i]; in map() local
886 i, plane.colInc, plane.rowInc, plane.rootIx, plane.offset); in map()
/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()
/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/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp651 C2PlaneInfo plane = layout.planes[index]; in FillPlane() local
652 for (uint32_t row = 0; row < view.height() / plane.rowSampling; ++row) { in FillPlane()
654 for (uint32_t col = 0; col < view.width() / plane.colSampling; ++col) { in FillPlane()
656 colPtr += plane.colInc; in FillPlane()
658 rowPtr += plane.rowInc; in FillPlane()
677 MediaImage2::PlaneInfo plane = mediaImage->mPlane[index]; in VerifyPlane() local
678 const uint8_t *rowPtr = base + plane.mOffset; in VerifyPlane()
679 for (uint32_t row = 0; row < mediaImage->mHeight / plane.mVertSubsampling; ++row) { in VerifyPlane()
681 for (uint32_t col = 0; col < mediaImage->mWidth / plane.mHorizSubsampling; ++col) { in VerifyPlane()
687 colPtr += plane.mColInc; in VerifyPlane()
[all …]
/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/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java484 final Image.Plane plane = image.getPlanes()[0]; in scanImage() local
485 final ByteBuffer buffer = plane.getBuffer(); in scanImage()
488 final int pixelStride = plane.getPixelStride(); in scanImage()
489 final int rowStride = plane.getRowStride(); in scanImage()
/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DScreenRotationAnimation.java426 Image.Plane plane = image.getPlanes()[0]; in getMedianBorderLuma() local
427 ByteBuffer buffer = plane.getBuffer(); in getMedianBorderLuma()
430 int pixelStride = plane.getPixelStride(); in getMedianBorderLuma()
431 int rowStride = plane.getRowStride(); in getMedianBorderLuma()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp725 const uint16_t *srcY = (const uint16_t *)buffer->plane[0]; in outputBuffer()
726 const uint16_t *srcU = (const uint16_t *)buffer->plane[1]; in outputBuffer()
727 const uint16_t *srcV = (const uint16_t *)buffer->plane[2]; in outputBuffer()
745 const uint8_t *srcY = (const uint8_t *)buffer->plane[0]; in outputBuffer()
746 const uint8_t *srcU = (const uint8_t *)buffer->plane[1]; in outputBuffer()
747 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);
/frameworks/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp130 inline RowIterator(Plane plane, Transform transform, int rowLength);
151 RowIterator<ROWS>::RowIterator(Plane plane, Transform transform, in RowIterator() argument
153 : mPlane(plane), mTransform(transform) { in RowIterator()
/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

12