/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 228 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() 234 if (rowStride == nullptr) { in getPlaneRowStride() 244 *rowStride = (planeIdx == 0) ? mBuffer->stride : mBuffer->chromaStride; in getPlaneRowStride() 247 *rowStride = mBuffer->width; in getPlaneRowStride() 254 *rowStride = (planeIdx == 0) ? mBuffer->stride : ALIGN(mBuffer->stride / 2, 16); in getPlaneRowStride() 259 *rowStride = mBuffer->stride; in getPlaneRowStride() 266 *rowStride = mBuffer->stride; in getPlaneRowStride() 277 *rowStride = mBuffer->stride * 2; in getPlaneRowStride() 280 *rowStride = mBuffer->stride * 2; in getPlaneRowStride() 284 *rowStride = mBuffer->stride * 4; in getPlaneRowStride() [all …]
|
D | NdkImagePriv.h | 58 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | PixelUtils.java | 50 int rowStride) { in copyPixels() argument 64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); in copyPixels() 73 int rowStride); in nativeCopyPixels() argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 140 int rowStride; in copyRotate() local 145 rowStride = mWidth; in copyRotate() 150 rowStride = 1; in copyRotate() 155 rowStride = -1; in copyRotate() 160 rowStride = -mWidth; in copyRotate() 165 PixelUtils.copyPixels(input, output, mWidth, mHeight, offset, pixStride, rowStride); in copyRotate()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | pixelutils.cpp | 25 jint pixStride, jint rowStride) { in JNI_PIXELUTILS_METHOD() 35 pOutRow += rowStride; in JNI_PIXELUTILS_METHOD()
|
D | pixelutils.h | 32 jint pixStride, jint rowStride);
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 493 int pixelStride, int rowStride, long offset) throws IOException { in writeByteBuffer() argument 499 long totalSize = ((long) rowStride) * height + offset; in writeByteBuffer() 505 if (minRowStride > rowStride) { in writeByteBuffer() 507 minRowStride + " is too large, expecting " + rowStride); in writeByteBuffer() 510 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset, in writeByteBuffer() 667 ByteBuffer rawBuffer, int rowStride, in nativeWriteImage() argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegCompressor.cpp | 116 size_t rowStride = mAuxBuffer->stride;// * 3; in threadLoop() local 122 (mAuxBuffer->data + (i + mCInfo.next_scanline) * rowStride); in threadLoop()
|
/frameworks/av/include/ndk/ |
D | NdkImage.h | 582 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
|
/frameworks/base/media/jni/ |
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_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() 692 int rowStride = 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_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 653 LOG_ALWAYS_FATAL_IF(rowStride == NULL, "rowStride is NULL!!!"); in getLockedImageInfo() 850 *rowStride = rStride; in getLockedImageInfo()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 440 final int rowStride = plane.getRowStride(); in scanImage() local 441 final int rowPadding = rowStride - pixelStride * width; in scanImage() 444 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 547 uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, 569 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, in InputStripSource() argument 571 mWidth(width), mHeight(height), mPixStride(pixStride), mRowStride(rowStride), in InputStripSource() 681 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, 703 uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, in DirectStripSource() argument 706 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample), in DirectStripSource() 2122 jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, in DngCreator_nativeWriteImage() argument 2127 height, rowStride, pixStride, offset); in DngCreator_nativeWriteImage() 2128 uint32_t rStride = static_cast<uint32_t>(rowStride); in DngCreator_nativeWriteImage() 2232 uint32_t rowStride = width * BYTES_PER_SAMPLE; in DngCreator_nativeWriteInputStream() local [all …]
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 818 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 819 mRowStride = rowStride; in SurfacePlane()
|
D | ImageWriter.java | 756 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 757 mRowStride = rowStride; in SurfacePlane()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 811 int rowStride, pixelStride; in getDataFromImage() local 847 rowStride = planes[i].getRowStride(); in getDataFromImage() 852 Log.v(TAG, "rowStride " + rowStride); in getDataFromImage() 859 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w); in getDataFromImage() 880 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
|