Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DImageWriter.java606 private SurfacePlane[] mPlanes; field in ImageWriter.WriterSurfaceImage
669 if (mPlanes == null) { in getPlanes()
671 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes()
674 return mPlanes.clone(); in getPlanes()
716 if (mIsImageValid && mPlanes != null) { in clearSurfacePlanes()
717 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
718 if (mPlanes[i] != null) { in clearSurfacePlanes()
719 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
720 mPlanes[i] = null; in clearSurfacePlanes()
DImageReader.java725 return mPlanes.clone(); in getPlanes()
762 for (int i = 0; i < mPlanes.length; i++) { in clearSurfacePlanes()
763 if (mPlanes[i] != null) { in clearSurfacePlanes()
764 mPlanes[i].clearBuffer(); in clearSurfacePlanes()
765 mPlanes[i] = null; in clearSurfacePlanes()
772 mPlanes = new SurfacePlane[ImageReader.this.mNumPlanes]; in createSurfacePlanes()
774 mPlanes[i] = nativeCreatePlane(i, ImageReader.this.mFormat); in createSurfacePlanes()
842 private SurfacePlane[] mPlanes; field in ImageReader.SurfaceImage
DMediaCodec.java3220 private final Plane[] mPlanes; field in MediaImage
3256 return Arrays.copyOf(mPlanes, mPlanes.length); in getPlanes()
3326 mPlanes = new MediaPlane[numPlanes]; in MediaImage()
3343 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp55 jfieldID mPlanes; member
209 gSurfaceImageClassInfo.mPlanes = env->GetFieldID( in ImageWriter_classInit()
211 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageWriter_classInit()
638 planes = env->GetObjectField(thiz, gSurfaceImageClassInfo.mPlanes); in Image_unlockIfLocked()