Searched refs:rowStride (Results 1 - 10 of 10) 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/base/media/jni/
H A Dandroid_media_ImageReader.cpp552 int rowStride = 0; local
561 rowStride = (idx == 0) ? buffer->stride : buffer->chromaStride;
564 rowStride = buffer->width;
569 rowStride = (idx == 0) ? buffer->stride : ALIGN(buffer->stride / 2, 16);
575 rowStride = 0;
579 rowStride = buffer->stride;
585 rowStride = buffer->stride;
595 rowStride = buffer->stride * 2;
599 rowStride = buffer->stride * 2;
604 rowStride
887 int rowStride, pixelStride; local
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java447 * Offset, rowStride, and pixelStride are given in bytes. Height and width are given in pixels.
450 int pixelStride, int rowStride, long offset) throws IOException {
456 long totalSize = rowStride * height + offset;
462 if (minRowStride > rowStride) {
464 minRowStride + " is too large, expecting " + rowStride);
467 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset,
624 ByteBuffer rawBuffer, int rowStride,
449 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
623 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/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp403 uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample,
425 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset,
427 mWidth(width), mHeight(height), mPixStride(pixStride), mRowStride(rowStride),
538 uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset,
560 uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride,
563 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample),
1803 jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset,
1806 ALOGV("%s: nativeWriteImage called with: width=%d, height=%d, rowStride=%d, pixStride=%d,"
1807 " offset=%lld", __FUNCTION__, width, height, rowStride, pixStride, offset);
1808 uint32_t rStride = static_cast<uint32_t>(rowStride);
424 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
559 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
1802 DngCreator_nativeWriteImage(JNIEnv* env, jobject thiz, jobject outStream, jint width, jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, jboolean isDirect) argument
1908 uint32_t rowStride = width * BYTES_PER_SAMPLE; local
[all...]
/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 DImageReader.java659 private SurfacePlane(int index, int rowStride, int pixelStride) { argument
661 mRowStride = rowStride;

Completed in 247 milliseconds