Searched defs:pixelStride (Results 1 - 8 of 8) sorted by relevance

/frameworks/ex/framesequence/jni/
H A DFrameSequenceJNI.cpp132 int pixelStride = info.stride >> 2; local
134 (Color8888*) pixels, pixelStride, previousFrameNr);
/frameworks/av/media/ndk/
H A DNdkImage.cpp173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const {
179 if (pixelStride == nullptr) {
189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep;
192 *pixelStride = (planeIdx == 0) ? 1 : 2;
195 *pixelStride = 1;
198 *pixelStride = 1;
204 *pixelStride = 2;
208 *pixelStride = 4;
212 *pixelStride = 3;
598 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) {
597 AImage_getPlanePixelStride( const AImage* image, int planeIdx, int32_t* pixelStride) 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 {
484 int minRowStride = pixelStride * width;
490 nativeWriteImage(dngOutput, width, height, pixels, rowStride, pixelStride, offset,
472 writeByteBuffer(int width, int height, ByteBuffer pixels, OutputStream dngOutput, int pixelStride, int rowStride, long offset) argument
/frameworks/base/media/java/android/media/
H A DImageReader.java789 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { argument
791 mPixelStride = pixelStride;
H A DImageWriter.java756 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { argument
758 mPixelStride = pixelStride;
/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);
676 int pixelStride = 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) {
652 LOG_ALWAYS_FATAL_IF(pixelStride == NULL, "pixelStride is NULL!!!");
849 *pixelStride = pStride;
646 getLockedImageInfo(LockedImage* buffer, int idx, int32_t containerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) argument

Completed in 79 milliseconds