Home
last modified time | relevance | path

Searched refs:mPlanes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DImageReader.java733 si.mPlanes = null; in detachImage()
911 if (mPlanes == null) { in getPlanes()
912 mPlanes = nativeCreatePlanes(ImageReader.this.mNumPlanes, ImageReader.this.mFormat); in getPlanes()
915 return mPlanes.clone(); in getPlanes()
952 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
953 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
954 if (mPlanes[i] != null) { in clearSurfacePlanes()
955 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
956 mPlanes[i] = null; in clearSurfacePlanes()
1035 private SurfacePlane[] mPlanes; field in ImageReader.SurfaceImage
DImageWriter.java678 private SurfacePlane[] mPlanes; field in ImageWriter.WriterSurfaceImage
765 if (mPlanes == null) { in getPlanes()
767 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes()
770 return mPlanes.clone(); in getPlanes()
812 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
813 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
814 if (mPlanes[i] != null) { in clearSurfacePlanes()
815 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
816 mPlanes[i] = null; in clearSurfacePlanes()
DMediaCodec.java4701 private final Plane[] mPlanes; field in MediaImage
4753 return Arrays.copyOf(mPlanes, mPlanes.length); in getPlanes()
4824 mPlanes = new MediaPlane[numPlanes]; in MediaImage()
4844 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
4874 mPlanes = new MediaPlane[buffers.length]; in MediaImage()
4876 mPlanes[i] = new MediaPlane(buffers[i], rowStrides[i], pixelStrides[i]); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp73 jfieldID mPlanes; member
326 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageReader_classInit()
328 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageReader_classInit()
462 planes = env->GetObjectField(image, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()
Dandroid_media_ImageWriter.cpp57 jfieldID mPlanes; member
340 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageWriter_classInit()
342 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageWriter_classInit()
830 planes = env->GetObjectField(thiz, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()