Searched refs:rowStride (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DPixelUtils.java42 * @param rowStride The stride between the start of each row (in pixels)
50 int rowStride) {
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
73 int rowStride);
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dpixelutils.h32 jint pixStride, jint rowStride);
H A Dpixelutils.cpp25 jint pixStride, jint rowStride) {
35 pOutRow += rowStride;
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java140 int rowStride;
145 rowStride = mWidth;
150 rowStride = 1;
155 rowStride = -1;
160 rowStride = -mWidth;
165 PixelUtils.copyPixels(input, output, mWidth, mHeight, offset, pixStride, rowStride);
/frameworks/av/media/ndk/
H A DNdkImage.cpp298 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const {
309 if (rowStride == nullptr) {
319 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride
323 *rowStride = mLockedBuffer->width;
330 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride
336 *rowStride = mLockedBuffer->stride;
344 *rowStride = mLockedBuffer->stride;
356 *rowStride = mLockedBuffer->stride * 2;
359 *rowStride = mLockedBuffer->stride * 2;
363 *rowStride
732 AImage_getPlaneRowStride( const AImage* image, int planeIdx, int32_t* rowStride) argument
[all...]
H A DNdkImagePriv.h62 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
/frameworks/av/include/ndk/
H A DNdkImage.h671 * @param rowStride the row stride of the image will be filled here if the method call succeeeds.
675 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or rowStride is NULL, or planeIdx
685 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java490 * Offset, rowStride, and pixelStride are given in bytes. Height and width are given in pixels.
493 int pixelStride, int rowStride, long offset) throws IOException {
499 long totalSize = ((long) rowStride) * height + offset;
505 if (minRowStride > rowStride) {
507 minRowStride + " is too large, expecting " + rowStride);
510 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset,
667 ByteBuffer rawBuffer, int rowStride,
492 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
666 nativeWriteImage(OutputStream out, int width, int height, ByteBuffer rawBuffer, int rowStride, int pixStride, long offset, boolean isDirect) argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp116 size_t rowStride = mAuxBuffer->stride;// * 3;
122 (mAuxBuffer->data + (i + mCInfo.next_scanline) * rowStride);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.h130 uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride);
H A Dandroid_media_ImageReader.cpp694 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) {
698 pixelStride, rowStride);
709 int rowStride = 0; local
747 &pData, &dataSize, &pixelStride, &rowStride);
757 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer);
693 Image_getLockedImageInfo(JNIEnv* env, LockedImage* buffer, int idx, int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) argument
H A Dandroid_media_ImageWriter.cpp715 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) {
719 pixelStride, rowStride);
729 int rowStride, pixelStride; local
754 // Buildup buffer info: rowStride, pixelStride and byteBuffers.
763 &pData, &dataSize, &pixelStride, &rowStride);
773 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer);
714 Image_getLockedImageInfo(JNIEnv* env, LockedImage* buffer, int idx, int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) argument
H A Dandroid_media_Utils.cpp647 int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) {
653 LOG_ALWAYS_FATAL_IF(rowStride == NULL, "rowStride is NULL!!!");
850 *rowStride = rStride;
646 getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) argument
/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java440 final int rowStride = plane.getRowStride();
441 final int rowPadding = rowStride - pixelStride * width;
444 + ", pixelStride=" + pixelStride + ", rowStride=" + rowStride);
/frameworks/base/media/java/android/media/
H A DImageWriter.java795 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { argument
796 mRowStride = rowStride;
H A DImageReader.java943 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { argument
944 mRowStride = rowStride;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp548 uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample,
570 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset,
572 mWidth(width), mHeight(height), mPixStride(pixStride), mRowStride(rowStride),
682 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset,
704 uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride,
707 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample),
2140 jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset,
2144 "rowStride=%d, pixStride=%d, offset=%" PRId64, __FUNCTION__, width,
2145 height, rowStride, pixStride, offset);
2146 uint32_t rStride = static_cast<uint32_t>(rowStride);
569 InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) argument
703 DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) argument
2139 DngCreator_nativeWriteImage(JNIEnv* env, jobject thiz, jobject outStream, jint width, jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, jboolean isDirect) argument
2250 uint32_t rowStride = width * BYTES_PER_SAMPLE; local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java811 int rowStride, pixelStride;
847 rowStride = planes[i].getRowStride();
852 Log.v(TAG, "rowStride " + rowStride);
859 assertTrue("rowStride " + rowStride + " should be >= width " + w , rowStride >= w);
880 buffer.position(buffer.position() + rowStride - length);

Completed in 668 milliseconds