Searched defs:rowStride (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
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/
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/av/media/ndk/
H A DNdkImage.cpp228 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const {
234 if (rowStride == nullptr) {
244 *rowStride = (planeIdx == 0) ? mBuffer->stride : mBuffer->chromaStride;
247 *rowStride = mBuffer->width;
254 *rowStride = (planeIdx == 0) ? mBuffer->stride : ALIGN(mBuffer->stride / 2, 16);
259 *rowStride = mBuffer->stride;
266 *rowStride = mBuffer->stride;
277 *rowStride = mBuffer->stride * 2;
280 *rowStride = mBuffer->stride * 2;
284 *rowStride
609 AImage_getPlaneRowStride( const AImage* image, int planeIdx, int32_t* rowStride) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java470 * Offset, rowStride, and pixelStride are given in bytes. Height and width are given in pixels.
473 int pixelStride, int rowStride, long offset) throws IOException {
479 long totalSize = ((long) rowStride) * height + offset;
485 if (minRowStride > rowStride) {
487 minRowStride + " is too large, expecting " + rowStride);
490 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset,
647 ByteBuffer rawBuffer, int rowStride,
472 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
646 nativeWriteImage(OutputStream out, int width, int height, ByteBuffer rawBuffer, int rowStride, int pixStride, long offset, boolean isDirect) argument
/frameworks/base/media/java/android/media/
H A DImageReader.java789 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { argument
790 mRowStride = rowStride;
H A DImageWriter.java756 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { argument
757 mRowStride = rowStride;
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp716 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) {
720 pixelStride, rowStride);
730 int rowStride, pixelStride; local
755 // Buildup buffer info: rowStride, pixelStride and byteBuffers.
764 &pData, &dataSize, &pixelStride, &rowStride);
774 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer);
715 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_ImageReader.cpp660 int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) {
664 pixelStride, rowStride);
675 int rowStride = 0; local
710 &pData, &dataSize, &pixelStride, &rowStride);
720 gSurfacePlaneClassInfo.ctor, thiz, rowStride, pixelStride, byteBuffer);
659 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/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp547 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,
571 mWidth(width), mHeight(height), mPixStride(pixStride), mRowStride(rowStride),
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,
706 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample),
2122 jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset,
2126 "rowStride=%d, pixStride=%d, offset=%" PRId64, __FUNCTION__, width,
2127 height, rowStride, pixStride, offset);
2128 uint32_t rStride = static_cast<uint32_t>(rowStride);
568 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
702 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
2121 DngCreator_nativeWriteImage(JNIEnv* env, jobject thiz, jobject outStream, jint width, jint height, jobject inBuffer, jint rowStride, jint pixStride, jlong offset, jboolean isDirect) argument
2232 uint32_t rowStride = width * BYTES_PER_SAMPLE; local
[all...]

Completed in 231 milliseconds