/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/av/media/ndk/ |
D | NdkImage.cpp | 308 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() 319 if (rowStride == nullptr) { in getPlaneRowStride() 329 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride() 333 *rowStride = mLockedBuffer->width; in getPlaneRowStride() 340 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride() 345 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride : mLockedBuffer->chromaStride; in getPlaneRowStride() 347 *rowStride = mLockedBuffer->stride * 2; in getPlaneRowStride() 353 *rowStride = mLockedBuffer->stride; in getPlaneRowStride() 361 *rowStride = mLockedBuffer->stride; in getPlaneRowStride() 373 *rowStride = mLockedBuffer->stride * 2; in getPlaneRowStride() [all …]
|
D | NdkImagePriv.h | 82 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
|
/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 | 494 int pixelStride, int rowStride, long offset) throws IOException { in writeByteBuffer() argument 500 long totalSize = ((long) rowStride) * height + offset; in writeByteBuffer() 506 if (minRowStride > rowStride) { in writeByteBuffer() 508 minRowStride + " is too large, expecting " + rowStride); in writeByteBuffer() 511 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset, in writeByteBuffer() 668 ByteBuffer rawBuffer, int rowStride, in nativeWriteImage() argument
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 752 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument 756 pixelStride, rowStride); in Image_getLockedImageInfo() 785 int rowStride = 0; in ImageReader_createImagePlanes() local 830 &pData, &dataSize, &pixelStride, &rowStride)) { in ImageReader_createImagePlanes() 842 gImagePlaneClassInfo.ctor, rowStride, pixelStride, byteBuffer); in ImageReader_createImagePlanes() 853 int rowStride = 0; in Image_createSurfacePlanes() local 887 &pData, &dataSize, &pixelStride, &rowStride)) { in Image_createSurfacePlanes() 899 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
|
D | android_media_Utils.h | 41 uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride);
|
D | android_media_ImageWriter.cpp | 1045 int32_t halFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in Image_getLockedImageInfo() argument 1049 pixelStride, rowStride); in Image_getLockedImageInfo() 1061 int rowStride, pixelStride; in Image_createSurfacePlanes() local 1094 &pData, &dataSize, &pixelStride, &rowStride)) { in Image_createSurfacePlanes() 1106 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer); in Image_createSurfacePlanes()
|
D | android_media_Utils.cpp | 155 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) { in getLockedImageInfo() argument 161 LOG_ALWAYS_FATAL_IF(rowStride == NULL, "rowStride is NULL!!!"); in getLockedImageInfo() 469 *rowStride = rStride; in getLockedImageInfo()
|
D | android_media_MediaCodec.cpp | 2278 int maxRowOffset = plane.rowStride * (desc.height / rowSampling - 1); in android_media_MediaCodec_mapHardwareBuffer() 2291 rowStrides[i] = plane.rowStride; in android_media_MediaCodec_mapHardwareBuffer()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkImage.h | 752 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) __INTRODUCED_IN(24);
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp | 109 int rowStride; member 210 int plane_start = startX * mPlane.pixelStride + startY * mPlane.rowStride; in loadAt() 212 int plane_end = endX * mPlane.pixelStride + endY * mPlane.rowStride; in loadAt() 215 int stride = dx * mPlane.pixelStride + dy * mPlane.rowStride; in loadAt()
|
D | android_hardware_camera2_DngCreator.cpp | 567 uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, 589 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, in InputStripSource() argument 591 mWidth(width), mHeight(height), mPixStride(pixStride), mRowStride(rowStride), in InputStripSource() 701 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, 723 uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, in DirectStripSource() argument 726 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample), in DirectStripSource() 2451 jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, in DngCreator_nativeWriteImage() argument 2456 height, rowStride, pixStride, offset); in DngCreator_nativeWriteImage() 2457 uint32_t rStride = static_cast<uint32_t>(rowStride); in DngCreator_nativeWriteImage() 2564 uint32_t rowStride = width * BYTES_PER_SAMPLE; in DngCreator_nativeWriteInputStream() local [all …]
|
/frameworks/ex/camera2/extensions/jni/ |
D | JpegEncoder.cpp | 107 int rowStride; member 208 int plane_start = startX * mPlane.pixelStride + startY * mPlane.rowStride; in loadAt() 210 int plane_end = endX * mPlane.pixelStride + endY * mPlane.rowStride; in loadAt() 213 int stride = dx * mPlane.pixelStride + dy * mPlane.rowStride; in loadAt()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 489 final int rowStride = plane.getRowStride(); in scanImage() local 490 final int rowPadding = rowStride - pixelStride * width; in scanImage() 493 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride); in scanImage()
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 1343 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 1344 mRowStride = rowStride; in SurfacePlane() 1450 private ImagePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in ImagePlane() argument 1451 mRowStride = rowStride; in ImagePlane()
|
D | ImageWriter.java | 1233 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane() argument 1234 mRowStride = rowStride; in SurfacePlane()
|
/frameworks/native/libs/nativewindow/include/android/ |
D | hardware_buffer.h | 375 uint32_t rowStride; ///< Distance in bytes from the first value of one row of the image to member
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 218 outPlanes->planes[0].rowStride = yuvData.ystride; in AHardwareBuffer_lockPlanes() 221 outPlanes->planes[1].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes() 224 outPlanes->planes[2].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes() 233 outPlanes->planes[0].rowStride = gBuffer->getStride() * pixelStride; in AHardwareBuffer_lockPlanes()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | TransitionAnimation.java | 1358 final int rowStride = plane.getRowStride(); in getBorderLuma() local 1365 borderLumas[i++] = getPixelLuminance(buffer, x, 0, pixelStride, rowStride); in getBorderLuma() 1366 borderLumas[i++] = getPixelLuminance(buffer, x, height - 1, pixelStride, rowStride); in getBorderLuma() 1371 borderLumas[i++] = getPixelLuminance(buffer, 0, y, pixelStride, rowStride); in getBorderLuma() 1372 borderLumas[i++] = getPixelLuminance(buffer, width - 1, y, pixelStride, rowStride); in getBorderLuma() 1393 int rowStride) { in getPixelLuminance() argument 1394 final int color = buffer.getInt(y * rowStride + x * pixelStride); in getPixelLuminance()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 848 int rowStride, pixelStride; in getDataFromImage() local 884 rowStride = planes[i].getRowStride(); in getDataFromImage() 889 Log.v(TAG, "rowStride " + rowStride); in getDataFromImage() 896 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w); in getDataFromImage() 917 buffer.position(buffer.position() + rowStride - length); in getDataFromImage()
|