/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 225 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride() 236 if (pixelStride == nullptr) { in getPlanePixelStride() 246 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride() 249 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride() 252 *pixelStride = 1; in getPlanePixelStride() 255 *pixelStride = 1; in getPlanePixelStride() 261 *pixelStride = 2; in getPlanePixelStride() 265 *pixelStride = 4; in getPlanePixelStride() 269 *pixelStride = 3; in getPlanePixelStride() 702 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) { in AImage_getPlanePixelStride() argument [all …]
|
D | NdkImagePriv.h | 61 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 210 outPlanes->planes[0].pixelStride = 1; in AHardwareBuffer_lockPlanes() 213 outPlanes->planes[1].pixelStride = yuvData.chroma_step; in AHardwareBuffer_lockPlanes() 216 outPlanes->planes[2].pixelStride = yuvData.chroma_step; in AHardwareBuffer_lockPlanes() 223 const uint32_t pixelStride = AHardwareBuffer_bytesPerPixel(format); in AHardwareBuffer_lockPlanes() local 225 outPlanes->planes[0].pixelStride = pixelStride; in AHardwareBuffer_lockPlanes() 226 outPlanes->planes[0].rowStride = gBuffer->getStride() * pixelStride; in AHardwareBuffer_lockPlanes()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 440 final int pixelStride = plane.getPixelStride(); in scanImage() local 442 final int rowPadding = rowStride - pixelStride * width; in scanImage() 445 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage() 471 offset += pixelStride; in scanImage()
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequenceJNI.cpp | 136 int pixelStride = info.stride >> 2; in nativeGetFrame() local 138 (Color8888*) pixels, pixelStride, previousFrameNr); in nativeGetFrame()
|
/frameworks/base/media/jni/ |
D | android_media_Utils.h | 39 uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride);
|
D | android_media_ImageReader.cpp | 710 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument 714 pixelStride, rowStride); in Image_getLockedImageInfo() 726 int pixelStride = 0; in Image_createSurfacePlanes() local 763 &pData, &dataSize, &pixelStride, &rowStride); in Image_createSurfacePlanes() 773 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
|
D | android_media_Utils.cpp | 119 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument 124 LOG_ALWAYS_FATAL_IF(pixelStride == NULL, "pixelStride is NULL!!!"); in getLockedImageInfo() 321 *pixelStride = pStride; in getLockedImageInfo()
|
D | android_media_ImageWriter.cpp | 897 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument 901 pixelStride, rowStride); in Image_getLockedImageInfo() 911 int rowStride, pixelStride; in Image_createSurfacePlanes() local 945 &pData, &dataSize, &pixelStride, &rowStride); in Image_createSurfacePlanes() 955 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkImage.h | 722 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) __INTRODUCED_IN(24);
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 494 int pixelStride, int rowStride, long offset) throws IOException { in writeByteBuffer() argument 505 int minRowStride = pixelStride * width; in writeByteBuffer() 511 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset, in writeByteBuffer()
|
/frameworks/native/libs/nativewindow/include/android/ |
D | hardware_buffer.h | 317 uint32_t pixelStride; ///< Distance in bytes from the color channel of one pixel to the next member
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 829 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 831 mPixelStride = pixelStride; in SurfacePlane()
|
D | ImageReader.java | 951 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 953 mPixelStride = pixelStride; in SurfacePlane()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 848 int rowStride, pixelStride; in getDataFromImage() local 885 pixelStride = planes[i].getPixelStride(); in getDataFromImage() 886 assertTrue("pixel stride " + pixelStride + " is invalid", pixelStride > 0); in getDataFromImage() 888 Log.v(TAG, "pixelStride " + pixelStride); in getDataFromImage() 900 if (pixelStride == bytesPerPixel) { in getDataFromImage() 909 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage() 912 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|