Home
last modified time | relevance | path

Searched refs:planes (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.cpp79 JSAMPARRAY planes[3]; in compress() local
80 planes[0] = y; in compress()
81 planes[1] = cb; in compress()
82 planes[2] = cr; in compress()
110 jpeg_write_raw_data(cinfo, planes, 16); in compress()
155 JSAMPARRAY planes[3]; in compress() local
156 planes[0] = y; in compress()
157 planes[1] = cb; in compress()
158 planes[2] = cr; in compress()
184 jpeg_write_raw_data(cinfo, planes, 16); in compress()
/frameworks/native/include/media/hardware/
DVideoAPI.h258 const char *planes = asString(j, NULL); variable
260 if (j == MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN || planes == NULL || i >= strlen(planes)) {
263 return planes[i];
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java439 Image.Plane[] planes = pixels.getPlanes(); in writeImage() local
440 if (planes == null || planes.length <= 0) { in writeImage()
444 ByteBuffer buf = planes[0].getBuffer(); in writeImage()
446 planes[0].getPixelStride(), planes[0].getRowStride(), 0); in writeImage()
/frameworks/native/opengl/libagl/
Dvertex.cpp119 int planes = c->clipPlanes.enable; in clipAllPerspective() local
120 while (planes) { in clipAllPerspective()
121 const int i = 31 - gglClz(planes); in clipAllPerspective()
122 planes &= ~(1<<i); in clipAllPerspective()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java815 Plane[] planes = image.getPlanes(); in getDataFromImage() local
816 assertTrue("Fail to get image planes", planes != null && planes.length > 0); in getDataFromImage()
826 buffer = planes[0].getBuffer(); in getDataFromImage()
836 int maxRowSize = planes[0].getRowStride(); in getDataFromImage()
837 for (int i = 0; i < planes.length; i++) { in getDataFromImage()
838 if (maxRowSize < planes[i].getRowStride()) { in getDataFromImage()
839 maxRowSize = planes[i].getRowStride(); in getDataFromImage()
843 if(VERBOSE) Log.v(TAG, "get data from " + planes.length + " planes"); in getDataFromImage()
844 for (int i = 0; i < planes.length; i++) { in getDataFromImage()
845 buffer = planes[i].getBuffer(); in getDataFromImage()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp161 const uint8_t *srcY = (const uint8_t *)mImg->planes[VPX_PLANE_Y]; in outputBuffers()
162 const uint8_t *srcU = (const uint8_t *)mImg->planes[VPX_PLANE_U]; in outputBuffers()
163 const uint8_t *srcV = (const uint8_t *)mImg->planes[VPX_PLANE_V]; in outputBuffers()
/frameworks/av/media/img_utils/include/img_utils/
DDngUtils.h99 uint32_t planes,
/frameworks/rs/script_api/
Drs_matrix.spec58 summary: Compute frustum planes
60 Computes 6 frustum planes from the view projection matrix
133 summary: Checks if a sphere is within the frustum planes
135 Returns true if the sphere is within the 6 frustum planes.
265 the six clipping planes <code>left, right, bottom, top, near, far</code>.
315 six clipping planes <code>left, right, bottom, top, near, far</code> into a unit cube
/frameworks/av/media/img_utils/src/
DDngUtils.cpp223 uint32_t planes, in addGainMap() argument
259 planes, in addGainMap()
/frameworks/rs/script_api/include/
Drs_matrix.rsh54 * rsExtractFrustumPlanes: Compute frustum planes
56 * Computes 6 frustum planes from the view projection matrix
59 * viewProj: Matrix to extract planes from.
124 * rsIsSphereInFrustum: Checks if a sphere is within the frustum planes
126 * Returns true if the sphere is within the 6 frustum planes.
271 * the six clipping planes left, right, bottom, top, near, far.
332 * six clipping planes left, right, bottom, top, near, far into a unit cube
Drs_allocation_data.rsh2600 * Inside an allocation, Y, U, and V components may be stored if different planes
2616 * Inside an allocation, Y, U, and V components may be stored if different planes
2632 * Inside an allocation, Y, U, and V components may be stored if different planes
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp452 jobject planes = NULL; in Image_unlockIfLocked() local
454 planes = env->GetObjectField(image, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()
456 wasBufferLocked = (planes != NULL); in Image_unlockIfLocked()
Dandroid_media_ImageWriter.cpp623 jobject planes = NULL; in Image_unlockIfLocked() local
625 planes = env->GetObjectField(thiz, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()
627 isLocked = (planes != NULL); in Image_unlockIfLocked()