Home
last modified time | relevance | path

Searched refs:pixelStride (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp549 int pixelStride = 0; in Image_imageGetPixelStride() local
558 pixelStride = (idx == 0) ? 1 : buffer->chromaStep; in Image_imageGetPixelStride()
561 pixelStride = (idx == 0) ? 1 : 2; in Image_imageGetPixelStride()
568 pixelStride = 1; in Image_imageGetPixelStride()
577 pixelStride = 0; in Image_imageGetPixelStride()
584 pixelStride = 2; in Image_imageGetPixelStride()
589 pixelStride = 4; in Image_imageGetPixelStride()
594 pixelStride = 3; in Image_imageGetPixelStride()
602 return pixelStride; in Image_imageGetPixelStride()
1144 int rowStride, pixelStride; in Image_createSurfacePlane() local
[all …]
Dandroid_media_ImageWriter.cpp821 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument
826 ALOG_ASSERT(pixelStride != NULL, "pixelStride is NULL!!!"); in Image_getLockedImageInfo()
992 *pixelStride = pStride; in Image_getLockedImageInfo()
999 int rowStride, pixelStride; in Image_createSurfacePlanes() local
1032 &pData, &dataSize, &pixelStride, &rowStride); in Image_createSurfacePlanes()
1042 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java439 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/
DFrameSequenceJNI.cpp132 int pixelStride = info.stride >> 2; in nativeGetFrame() local
134 (Color8888*) pixels, pixelStride, previousFrameNr); in nativeGetFrame()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java465 int pixelStride, int rowStride, long offset) throws IOException { in writeByteBuffer() argument
476 int minRowStride = pixelStride * width; in writeByteBuffer()
482 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset, in writeByteBuffer()
/frameworks/base/media/java/android/media/
DImageWriter.java733 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument
735 mPixelStride = pixelStride; in SurfacePlane()
DImageReader.java779 private SurfacePlane(int index, int rowStride, int pixelStride) { in SurfacePlane() argument
782 mPixelStride = pixelStride; in SurfacePlane()