/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride() 179 if (pixelStride == nullptr) { in getPlanePixelStride() 189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep; in getPlanePixelStride() 192 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride() 195 *pixelStride = 1; in getPlanePixelStride() 198 *pixelStride = 1; in getPlanePixelStride() 204 *pixelStride = 2; in getPlanePixelStride() 208 *pixelStride = 4; in getPlanePixelStride() 212 *pixelStride = 3; in getPlanePixelStride() 598 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) { in AImage_getPlanePixelStride() argument [all …]
|
D | NdkImagePriv.h | 57 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 439 final int pixelStride = plane.getPixelStride(); in scanImage() local 441 final int rowPadding = rowStride - pixelStride * width; in scanImage() 444 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage() 470 offset += pixelStride; in scanImage()
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequenceJNI.cpp | 132 int pixelStride = info.stride >> 2; in nativeGetFrame() local 134 (Color8888*) pixels, pixelStride, previousFrameNr); in nativeGetFrame()
|
/frameworks/av/include/ndk/ |
D | NdkImage.h | 557 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 677 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument 681 pixelStride, rowStride); in Image_getLockedImageInfo() 693 int pixelStride = 0; in Image_createSurfacePlanes() local 727 &pData, &dataSize, &pixelStride, &rowStride); in Image_createSurfacePlanes() 737 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
|
D | android_media_ImageWriter.cpp | 716 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument 720 pixelStride, rowStride); in Image_getLockedImageInfo() 730 int rowStride, pixelStride; in Image_createSurfacePlanes() local 764 &pData, &dataSize, &pixelStride, &rowStride); in Image_createSurfacePlanes() 774 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
|
D | android_media_Utils.h | 130 uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride);
|
D | android_media_Utils.cpp | 647 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument 652 LOG_ALWAYS_FATAL_IF(pixelStride == NULL, "pixelStride is NULL!!!"); in getLockedImageInfo() 849 *pixelStride = pStride; in getLockedImageInfo()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 473 int pixelStride, int rowStride, long offset) throws IOException { in writeByteBuffer() argument 484 int minRowStride = pixelStride * width; in writeByteBuffer() 490 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset, in writeByteBuffer()
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 756 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 758 mPixelStride = pixelStride; in SurfacePlane()
|
D | ImageReader.java | 814 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 816 mPixelStride = pixelStride; in SurfacePlane()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 811 int rowStride, pixelStride; in getDataFromImage() local 848 pixelStride = planes[i].getPixelStride(); in getDataFromImage() 849 assertTrue("pixel stride " + pixelStride + " is invalid", pixelStride > 0); in getDataFromImage() 851 Log.v(TAG, "pixelStride " + pixelStride); in getDataFromImage() 863 if (pixelStride == bytesPerPixel) { in getDataFromImage() 872 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage() 875 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|